You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both glueqt and Glue.app will execute any python script passed as an argument. However, they run from a different working directory:
cwd.py:
import os
print "Current directory: ', os.getcwd()
glueqt:
beaumont@beaumont-2:~$ glueqt ~/cwd.py
Current directory: /Users/beaumont
Glue.app
beaumont@beaumont-2:~$ /Applications/Glue.app/Contents/MacOS/Glue ~/cwd.py
Current directory: /Applications/Glue.app/Contents/Resources
Because of this, the full path to any script passed to Glue.app must be provided:
beaumont@beaumont-2:~$ /Applications/Glue.app/Contents/MacOS/Glue cwd.py
CRITICAL: File "/Applications/Glue.app/Contents/Resources/__boot__.py", line 39, in <module>
<trimmed>
Error: [Errno 2] No such file or directory: 'cwd.py'
2012-09-12 15:59:23.614 Glue[95094:707] Glue Error
Does py2app provide a way around this? If not, we can figure out a hack to put in Glue
The text was updated successfully, but these errors were encountered:
Both glueqt and Glue.app will execute any python script passed as an argument. However, they run from a different working directory:
cwd.py:
glueqt:
Glue.app
Because of this, the full path to any script passed to Glue.app must be provided:
Does py2app provide a way around this? If not, we can figure out a hack to put in Glue
The text was updated successfully, but these errors were encountered: