Open GoogleCodeExporter opened 9 years ago
Looks like Pwytter tries to find the theme directory in whatever directory you
are
launching the program from. This assumption is fine for the Windows version but
it is
not a good assumption when the program is running on Linux. If you run the
installed
pwytter.py file from the main source directory, it works fine. The pwTheme.py
file
should take advantage of __file__ to find out where the module is located
(os.path.dirname (__file__)). This won't work with a py2exe build since
__file__ does
not exist so both cases have to be handled. Also, theme files don't get
installed
with Pwytter.
Original comment by nickles....@gmail.com
on 24 Mar 2009 at 5:09
Looks like the try method that I tested is already implemented in trunk. Should
have
checked out trunk before making the last comment. However, I don't like the
design of
pwytter.py importing pwTheme which then imports values from pwytter.py.
__app_path__
should probably be defined in another module which will be imported by both
pwytter.py and pwTheme.
Original comment by nickles....@gmail.com
on 24 Mar 2009 at 5:45
Original issue reported on code.google.com by
dryfter@gmail.com
on 29 Oct 2008 at 2:06