Menu

#24 gpixpod crashes when I try to save the albums

open-accepted
None
5
2006-10-16
2006-09-25
mbeltagy
No

I am running gpixpod 0.6 under SUSE 10.1 x86_64, AMD
3700+ machine, on KDE.
The rpm package didn't work. I thought this has to do
with 64 bit OS, so I downloaded the source and compiled
it to get the crucial imgconvert.so working.
I started gpixpod and ran nicely, I download the photos
from my iPod video and everything looked great.
It crashes after I I creat and album add pictures and
try to save the changes to my ipod.

Is says segmentation fault. HEare is what it looks like:

python gpixpod.py
iPod HAL autodetection disabled
Segmentation fault

In /var/log/messages, it says
Sep 25 12:44:07 Apollo kernel: python[16104]: segfault
at 00000000292a7767 rip 00002aad4430e010 rsp
0000000042002490 error 4
Sep 25 12:45:56 Apollo kernel: python[16142] general
protection rip:2b142550c010 rsp:41000490 error:0

Here are python packages I have. Am I missing something

> smart query '*python*' --installed
Loading cache...
Updating cache...
######################################################
[100%]

kdebindings3-python-3.5.3-2.5@x86_64
python-2.4.2-18@x86_64
python-32bit-2.4.2-18@x86_64
python-bibtex-1.2.2-14@x86_64
python-cairo-1.0.2-14@x86_64
python-devel-2.4.2-18@x86_64
python-elementtree-1.2.6-18@x86_64
python-gnome-2.12.3-18@x86_64
python-gtk-2.8.2-21@x86_64
python-numeric-24.2-14@x86_64
python-orbit-2.0.1-19@x86_64
python-qt-3.5.3-2.5@x86_64
python-tk-2.4.2-18@x86_64
python-xml-2.4.2-18@x86_64
rpm-python-4.4.2-40@x86_64

Discussion

  • Flavio Gargiulo

    Flavio Gargiulo - 2006-10-11

    Logged In: YES
    user_id=889721

    I got some segmentation fault when using DBUS. I don't know
    whether this could be related to the same cause, but please
    try again testing the newer 0.6.2 version which disables
    completely the DBUS features (versions <= 0.6 disabled it
    just partially).
    Please let me know.

     
  • Flavio Gargiulo

    Flavio Gargiulo - 2006-10-11
    • assigned_to: nobody --> flagar
    • status: open --> pending-accepted
     
  • mbeltagy

    mbeltagy - 2006-10-16
    • status: pending-accepted --> open-accepted
     
  • mbeltagy

    mbeltagy - 2006-10-16

    Logged In: YES
    user_id=1606021

    I tried the new 0.62 gpixpod. Still the problem persists. It
    is actually a bit worse now.
    When I try to get download the photos from the iPod I get:
    ========
    Thumbnails cache checksum failed. Extracting from *.ithumb
    files.
    Exception in thread Thread-1:
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/threading.py", line 442, in
    __bootstrap
    self.run()
    File "/usr/lib64/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
    File "/home/elbeltagy/temp/gpixpod-0.6.2/mh.py", line 117,
    in Open
    self._ThumbsExtract()
    File "/home/elbeltagy/temp/gpixpod-0.6.2/mh.py", line 453,
    in _ThumbsExtract
    ithumbs = [open(j(self.dbdir, 'Thumbs', 'F%s_1.ithmb' %
    self.thumbfnames[x]), 'rb') for x in self.thumbdims]
    KeyError: 691200

    ========

    When I try to see and image in one of the Albums, I get

    Traceback (most recent call last):
    File "gpixpod.py", line 1045, in ExpandThumbnail
    convthumb = self.ConvertThumbnail(self.current_photo_id,
    thumb_index)
    File "gpixpod.py", line 1019, in ConvertThumbnail
    thumbf = open(thumb)
    IOError: [Errno 2] No such file or directory:
    '/media/ipod/Photos/.SingleThumbs/720x480/235'
    Traceback (most recent call last):
    File "gpixpod.py", line 1045, in ExpandThumbnail
    convthumb = self.ConvertThumbnail(self.current_photo_id,
    thumb_index)
    File "gpixpod.py", line 1019, in ConvertThumbnail
    thumbf = open(thumb)
    IOError: [Errno 2] No such file or directory:
    '/media/ipod/Photos/.SingleThumbs/320x240/235'
    ===========================
    Though I can see the files Okay in windows.
    When I try to add a new Album, I still get a segmentation
    fault !!!

     
  • Nobody/Anonymous

    Logged In: NO

    When adding an album and a photo, gpixpod crashes. In the terminal window I started gpixpod from, I find

    Fontconfig error: "~/.fonts.conf", line 1: XML declaration not well-formed
    Traceback (most recent call last):
    File "/usr/lib/gpixpod/gpixpod.py", line 211, in HALdetect
    ipod_hal = ipodhal.iPodHal()
    UnboundLocalError: local variable 'ipodhal' referenced before assignment

    (this was before the crash)

    Thumbnails cache checksum failed. Extracting from *.ithumb files.
    Exception in thread Thread-1:
    Traceback (most recent call last):
    File "threading.py", line 460, in __bootstrap
    self.run()
    File "threading.py", line 440, in run
    self.__target(*self.__args, **self.__kwargs)
    File "/usr/lib/gpixpod/mh.py", line 117, in Open
    self._ThumbsExtract()
    File "/usr/lib/gpixpod/mh.py", line 453, in _ThumbsExtract
    ithumbs = [open(j(self.dbdir, 'Thumbs', 'F%s_1.ithmb' % self.thumbfnames[x]), 'rb') for x in self.thumbdims]
    KeyError: 77440

    Traceback (most recent call last):
    File "/usr/lib/gpixpod/gpixpod.py", line 512, in Save
    self.DB.AddPhoto(*photo_to_add)
    File "/usr/lib/gpixpod/mh.py", line 787, in AddPhoto
    photo_id = self._AddPhotoToList(filename, photofullres, behaviour, autorotate)
    File "/usr/lib/gpixpod/mh.py", line 686, in _AddPhotoToList
    self.PX_ADDED.append(photo_id)
    AttributeError: MH instance has no attribute 'PX_ADDED'
    Traceback (most recent call last):
    File "/usr/lib/gpixpod/gpixpod.py", line 1809, in <module>
    gtk.main()
    KeyboardInterrupt

    My system is Ubuntu Feisty Fawn, Linux 2.6.20-16-generic (x86_64) on AMD64 x2 3800+

    email mkutzke@nikotel.com

     

Log in to post a comment.

MongoDB Logo MongoDB