Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221277 - app-pda/gpixpod: fails to start
Summary: app-pda/gpixpod: fails to start
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-10 22:00 UTC by James A Shepherd
Modified: 2011-09-14 22:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gpixpod-fix_path.patch (gpixpod.diff,248 bytes, patch)
2008-07-06 23:31 UTC, Guilherme Amadio
Details | Diff
gpixpod-fix_glade_file_path.patch (gpixpod.py.diff,4.03 KB, patch)
2008-07-06 23:33 UTC, Guilherme Amadio
Details | Diff
here's an ebuild that fixes the path problems above (gpixpod-0.6.2.ebuild,1.10 KB, text/plain)
2008-09-01 13:48 UTC, Kirk Diviney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James A Shepherd 2008-05-10 22:00:16 UTC
(1) /usr/bin/gpixpod references a non-existent .py. equery files reveals it should reference /usr/lib/python2.4/site-packages/gpixpod.py or /usr/lib64/python2.4/site-packages/gpixpod.py

(2) Fixing the above then gets the following error:

Using default preferences

(gpixpod.py:13405): libglade-WARNING **: could not find glade file 'gpixpod.glade'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/gpixpod.py", line 1808, in ?
    gpixpod.GUI()
  File "/usr/lib/python2.4/site-packages/gpixpod.py", line 112, in GUI
    self.win = gtk.glade.XML('gpixpod.glade', 'window1', 'gpixpod')
RuntimeError: could not create GladeXML object


I've no idea what this application actually does/looks like, as I've never used it.


Reproducible: Always

Steps to Reproduce:
1. /usr/bin/gpixpod

Actual Results:  
Using default preferences

(gpixpod.py:13405): libglade-WARNING **: could not find glade file 'gpixpod.glade'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/gpixpod.py", line 1808, in ?
    gpixpod.GUI()
  File "/usr/lib/python2.4/site-packages/gpixpod.py", line 112, in GUI
    self.win = gtk.glade.XML('gpixpod.glade', 'window1', 'gpixpod')
RuntimeError: could not create GladeXML object

Expected Results:  
Dunno. But this seems wrong to me :-)
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2008-05-12 13:41:03 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 ?
Comment 2 Martin McClure 2008-05-13 04:50:40 UTC
(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.
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2008-05-13 13:33:23 UTC
can you try re-installing it? There are some regexps in the ebuild that are supposed to replace those paths.. 
Comment 4 James A Shepherd 2008-05-13 15:16:05 UTC
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 ...
Comment 5 Guilherme Amadio gentoo-dev 2008-07-06 23:31:01 UTC
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.
Comment 6 Guilherme Amadio gentoo-dev 2008-07-06 23:33:39 UTC
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.
Comment 7 Kirk Diviney 2008-09-01 13:48:28 UTC
Created attachment 164237 [details]
here's an ebuild that fixes the path problems above
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2011-06-15 19:14:05 UTC
This is now p.masked for removal as discussed with maintainer some time ago.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-09-14 22:02:08 UTC
Removed from tree, closing