Export to GitHub

flyback - issue #8

All files are open with an absolute path


Posted on Nov 8, 2007 by Quick Bear

What steps will reproduce the problem? 1. run flyback.py from a different directory 2. get an IOError

Comment #1

Posted on Nov 8, 2007 by Swift Cat

also from flyback-discuss:

Thanks for updating the application. It seems to work fine when I execute the flyback.py file from within the same directory in which it resides. However, when I try to execute the application from another location in the file system (I was trying to a a launcher in my Ubuntu 7.10 menu) it doesn't work. Running the command from / at the console results in the following error:

Traceback (most recent call last): File "/opt/flyback/flyback.py", line 21, in GPL = open( 'GPL.txt', 'r' ).read() IOError: [Errno 2] No such file or directory: 'GPL.txt' lars@n0deal-centrino:/$ /opt/flyback/flyback.py Traceback (most recent call last): File "/opt/flyback/flyback.py", line 21, in GPL = open( 'GPL.txt', 'r' ).read() IOError: [Errno 2] No such file or directory: 'GPL.txt'

Thanks!

Comment #2

Posted on Nov 8, 2007 by Swift Cat

fixed in svn

Status: Fixed

Labels:
Type-Defect Priority-Medium