Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSM Session Connection stopped to work after update to Version 0.24.1 that enable Warp terminal #519

Open
Qbandev opened this issue Jan 15, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Qbandev
Copy link

Qbandev commented Jan 15, 2024

Describe the bug
SSM Session Connection stopped to work after update to Version 0.24.1

Leapp Version
Version 0.24.1

To Reproduce
Update to Version 0.24.1

  1. Go to 'Options --> General --> MacOS Terminal'
  2. Choose 'Warp' and save
  3. Login into your integration
  4. Go to 'View SSM Sessions' and Click on 'Connect'
  5. See error
Command failed: /usr bin/osascript -e 'if application "Warp" is running then tell application "Warp" set newWindow to (create window with default profile) tell current session of newWindow write text "source
/Users/xxxx/Leapp/ssm-env" delay 3.5
write text "clear" delay 2.5 write text "aws ssm start-session --region --target xxxxx
&& unset
AWS_SESSION_TOKEN && unset
AWS_SECRET_ACCESS_KEY && unset
AWS_ACCESS_KEY ID" end tell end tell else tell application "Warp" reopen delay 1 tell current session of current window write text
"aws ssm start-session --region target xxxx
&& unset
AWS_ SESSION_TOKEN && unset
AWS_SECRET_ACCESS_KEY && unset
AWS_ACCESS_KEY_ID" end tell end tell end if'
132:138: syntax error: Expected", but found class name. (-2741)
  1. If I choose another MacOS Terminal still do not work
  2. If I revert to version 0.24.0 that worked before I get the same error.

Expected behavior
SSM Session Connected as version 0.24.0 but in Warp terminal

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS Sonoma
  • OS Version 14.2.1
  • Leapp Version 0.24.1

Additional context
It seems related to the #510 in these lines.

@Qbandev Qbandev added the bug Something isn't working label Jan 15, 2024
@andreacavagna01
Copy link
Contributor

@blyzer, I cannot reproduce this issue. Can you confirm that is working for you in 0.24.1?

@Qbandev
Copy link
Author

Qbandev commented Jan 15, 2024

I'm used a MacBook Pro with chip Apple M1 Pro and failed with Leapp-0.24.1-arm64.dmg installed.

@andreacavagna01
Copy link
Contributor

Thanks for the feedback! I have the same MacBook and it works as expected. Still need to be able to reproduce the issue!

@lincetto
Copy link

lincetto commented Mar 1, 2024

Hi, I've the same exact issue, I'm not able to use Warp terminal. I get the same error of the screenshot on the first submission.
I'm using MBPRO with M2 Pro chip.

OS: macOS Sonoma
OS Version 14.2.1
Leapp Version 0.25.0

image

@dlm6693
Copy link

dlm6693 commented May 9, 2024

I just downloaded leapp for the first time and set it to use Warp which is my preferred Terminal emulator. Seeing this exact same error.

@moemoeq
Copy link

moemoeq commented Sep 11, 2024

i got same error.
when i tried find what line makes error and this line seems suspicious.
set newWindow to (create window with default profile)
but i don't any about apple script..

Pasted_Image_2024-09-11__7_34 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants