On Ubuntu 7.10, I used svn to check out gpicsync to /usr/bin/gpicsync, and
used the menu editor to add an entry to run gpicsync (thanks for including
an icon file!). The problem was, gpicsync couldn't find the default.jpg file.
I edited gpicsync-GUI.py and replaced the following line:
self.imgWhite=wx.Image('default.jpg', wx.BITMAP_TYPE_ANY).ConvertToBitmap()
With:
self.imgWhite=wx.Image(os.path.abspath(os.path.dirname(sys.argv[0])) + "/"
+ 'default.jpg', wx.BITMAP_TYPE_ANY).ConvertToBitmap()
I'm a programmer with zero experience with Python, so I don't know the
proper way to do this, but it seems to work, and finds the default.jpg file
now just fine.
Thought you might want to know.
Original issue reported on code.google.com by mike.lit...@gmail.com on 4 Mar 2008 at 3:38
Original issue reported on code.google.com by
mike.lit...@gmail.com
on 4 Mar 2008 at 3:38