[2.0.5] Linux: App.Open(some.sh) does not work and hangs

Asked by Javier Gonzales Rodriguez

Hello there ....

I did an update from [SikuliX 2.0.4] to [SikuliX 2.0.5] and I got an issue when I try to use: App.Open('/home/user/Documents/App/start-app-launcher.sh') ... When I execute this code on version 2.0.4 it opens the app properly and returns to my sikuliX IDE or execute the rest of the code, but when I run that code on 2.0.5 it keeps waiting and never returns to my sikuliX IDE or execute the rest of the code.

it happens with "sikulixide-2.0.5-lux.jar" and "sikulixide-2.0.5.jar"

Am using:
Linux Mint 20.1 Cinnamon
Kernel: 5.4.0-58-generic
Jython: 2.7.2
Python: Python 3.8.5

Did something change on the new version?, should I set something manually?

Regards!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

I will check and come back.

If urgent, try instead with Jython's os.Popen
https://www.jython.org/jython-old-sites/docs/library/subprocess.html

Revision history for this message
Javier Gonzales Rodriguez (stonegarden21) said :
#2

Hello there RaiMan,

Thanks for your reply, of course it worked.

Am just wondering if you found an issue on sikuliX 2.0.5 (App.Open)

Thanks, regards!

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Javier Gonzales Rodriguez (stonegarden21) said :
#4

Bump!

Revision history for this message
RaiMan (raimund-hocke) said :
#5

I am on the way to get my Ubuntu working ;-)

Having done the meetings with the the EasterBunny, I will surely find a way out.

Revision history for this message
Javier Gonzales Rodriguez (stonegarden21) said :
#6

Thanks RaiMaan!

I know you will, we appreciate your help!

Thanks!

Revision history for this message
Javier Gonzales Rodriguez (stonegarden21) said :
#7

Bump!

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Javier Gonzales Rodriguez (stonegarden21) said :
#9

Bump!

Revision history for this message
RaiMan (raimund-hocke) said :
#10

Sorry for the delay - other priorities.

I am currently preparing snapshot versions for the next version of SikuliX (most probably 2.1.0), which contains a new implementation of the App class.

see: https://github.com/RaiMan/SikuliX1/issues/438

Until then you should find a workaround using Python's os.Popen().

Revision history for this message
Javier Gonzales Rodriguez (stonegarden21) said :
#11

Thanks for you reply Raiman!

Ok!

So ... should I close this case?

Revision history for this message
RaiMan (raimund-hocke) said :
#12

Thanks for your patience.

We should keep this in answered mode, so I can give you a hint, if something to test is available.

Can you help with this problem?

Provide an answer of your own, or ask Javier Gonzales Rodriguez for more information if necessary.

To post a message you must log in.