← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #683846]: [1.1.4] PyCharm: running a script: getBundleFolder() seems to return None

 

Question #683846 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/683846

matteoa posted a new comment:
hello,
I tried your workaround but there were an error:
Traceback (most recent call last):
  File "MYPerfectlyWorkingScript.py", line 95, in <module>
    scriptFile = argv[0] # Python standard behavior
NameError: name 'argv' is not defined
Picked up _JAVA_OPTIONS: -Xmx1024M
Process finished with exit code -1

I solved it by using sys.argv[0], thanks!

The little problem remaining is that within the IDE "my old version"
works, and also using PyCharm works well, but only with older version of
SikulixAPI, but it is something we can overcome until fixing.

Thanks for your, usual and very rare, prompt support!!!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.