Summary: | app-pda/gpixpod: fails to start | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James A Shepherd <spam123> |
Component: | New packages | Assignee: | Olivier Crete (RETIRED) <tester> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | martin, pda |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gpixpod-fix_path.patch
gpixpod-fix_glade_file_path.patch here's an ebuild that fixes the path problems above |
Description
James A Shepherd
2008-05-10 22:00:16 UTC
whats the content of /usr/bin/gpixpod ? and what is the file at the line containing "gtk.glade.XML" in /usr/lib/python2.4/site-packages/gpixpod.py ? (In reply to comment #1) I'm also seeing this following my first emerge of gpixpod... > whats the content of /usr/bin/gpixpod ? #!/bin/bash exec python2.4 /usr/lib/gpixpod/gpixpod.py "$@" That's it. On my amd64 box, it should most likely be invoking /usr/lib64/python2.4/site-packages/gpixpod.py > > and what is the file at the line containing "gtk.glade.XML" in > /usr/lib/python2.4/site-packages/gpixpod.py ? > Not quite sure what you mean by this question. As James said in the original report, /usr/lib64/python2.4/site-packages/gpixpod.py line 112 is: self.win = gtk.glade.XML('gpixpod.glade', 'window1', 'gpixpod') By editing /usr/bin/gpixpod to invoke /usr/lib/python2.4/site-packages/gpixpod.py and in that file replacing 7 occurrences of 'gpixpod.glade' with '/usr/share/gpixpod/gpixpod.glade', I at least get a main window to open and can do some interaction with it. can you try re-installing it? There are some regexps in the ebuild that are supposed to replace those paths.. Still doesn't work for me, sorry. This might help: (sed error) ----------8<----------------------- >>> Emerging (1 of 1) app-pda/gpixpod-0.6.2 to / * gpixpod-0.6.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking gpixpod-0.6.2.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gpixpod-0.6.2.tar.gz to /var/tmp/portage/app-pda/gpixpod-0.6.2/work sed: can't read /gpixpod.py: No such file or directory >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-pda/gpixpod-0.6.2/work/gpixpod-0.6.2 ... Created attachment 159751 [details, diff]
gpixpod-fix_path.patch
This fixes the gpixpod script at /usr/bin if you are using python 2.5. Please change 2.5 to 2.4 if you use python 2.4.
Created attachment 159753 [details, diff]
gpixpod-fix_glade_file_path.patch
This file fixes the gpixpod.py file by adding the correct path to gpixpod.glade in the python script. If you apply this and the above patch, your gpixpod should start working normally. If you experience problems adding albums to your iPod, i.e., gpixpod crashes, try deleting the ~/.gpixpod config dir.
Created attachment 164237 [details]
here's an ebuild that fixes the path problems above
This is now p.masked for removal as discussed with maintainer some time ago. Removed from tree, closing |