wting / flyback

Automatically exported from code.google.com/p/flyback
0 stars 0 forks source link

All files are open with an absolute path #8

Closed GoogleCodeExporter closed 9 years ago

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

Original issue reported on code.google.com by vincenzo...@gmail.com on 8 Nov 2007 at 9:01

GoogleCodeExporter commented 9 years ago
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 <module>
    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 <module>
    GPL = open( 'GPL.txt', 'r' ).read()
IOError: [Errno 2] No such file or directory: 'GPL.txt'

Thanks!

Original comment by pub...@kered.org on 8 Nov 2007 at 5:56

GoogleCodeExporter commented 9 years ago
fixed in svn

Original comment by pub...@kered.org on 8 Nov 2007 at 9:06