Skip to content

converted obamenu from python 2 to 3 using 2to3 tool to fix Invalid output from pipe-menu "obamenu"#74

Open
Giuncan wants to merge 1 commit intoRemoteConnectionManager:devfrom
Giuncan:dev
Open

converted obamenu from python 2 to 3 using 2to3 tool to fix Invalid output from pipe-menu "obamenu"#74
Giuncan wants to merge 1 commit intoRemoteConnectionManager:devfrom
Giuncan:dev

Conversation

@Giuncan
Copy link
Collaborator

@Giuncan Giuncan commented Mar 24, 2026

It seems that obamenu fails because it is written for python2 while latest RCM servers are installed with python3
image

$ "<RCM_PATH>/RCM/rcm/server/bin/obamenu"
  File "<RCM_PATH>/RCM/rcm/server/bin/obamenu", line 140
    print "Error: Invalid .desktop line'" + l + "'"
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Error: Invalid .desktop line'" + l + "'")?

I converted the script using 2to3 tool.

@Giuncan Giuncan requested a review from luigi-calori March 24, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant