#4 unable to sync ipod

closed-fixed
nobody
ipodslave (5)
9
2006-11-09
2006-01-29
Anonymous
No

Using both the ipod:/ interface in konqueror, and
the mediadevice GUI in amaroK, I'm able to copy files
over to my pod.

However, when I attempt to synchronize, it fails.

Unfortunately, I'm unable to mount my pod, at the
moment, so I can't get the exact error message. When
I can, I'll attach it.

I'm using SuSE 10.0 (unsure of what version of kpod
this means) and my iPod is automounted as:

/dev/sda2 on /media/ipod type subfs
(rw,nosuid,nodev,sync,fs=floppyfss,procuid,utf8=true)

Thanks,
--Jeff

Discussion

  • Jeff Weeks
    Jeff Weeks
    2006-01-31

    Logged In: YES
    user_id=867442

    The following is the error I get (from
    ipod:/Utilities/Synchronize?really=OK):

    An error occurred while loading
    ipod:/Utilities/Synchronize?really=OK:
    The process for the ipod protocol died unexpectedly.

     
  • Logged In: YES
    user_id=585918

    Hi,

    which iPod model do you have?

    Could you please attach any kpod* files in your ipods root
    directory and your itunesdb file (iPod_Control/iTunes)?

    Michael

     
  • Jeff Weeks
    Jeff Weeks
    2006-02-01

    Logged In: YES
    user_id=867442

    I have a 3G iPod (with the four buttons along the top).

    I can attach both the kio_ipod* file and the iTunesDB
    file... I'm unsure of whether the former is current or
    not, however, as I've been trying many different things
    over time.

    If need be, I can certainly start fresh, repeat the
    process, and attach new files.

     
  • Jeff Weeks
    Jeff Weeks
    2006-02-01

    Logged In: YES
    user_id=867442

    The following is the error I get (from
    ipod:/Utilities/Synchronize?really=OK):

    An error occurred while loading
    ipod:/Utilities/Synchronize?really=OK:
    The process for the ipod protocol died unexpectedly.

     
  • Jeff Weeks
    Jeff Weeks
    2006-02-01

    Logged In: YES
    user_id=867442

    Unfortunately, I seem to be unable to attach files to this
    bug report (possibly because I wasn't logged in when I
    submitted the bug, and I'm therefore not listed as the
    submitter?)

    As a temporary solution, I've uploaded them to my
    webserver. They can be downloaded at:
    http://www.neuraldk.org/kio_ipod-1136858758
    http://www.neuraldk.org/iTunesDB

     
  • Logged In: NO

    The version of kpod provided in SuSE 10.0 is 0.6.3. I
    experienced the same problem, downloaded, compiled and
    installed 0.7.2 and that problem went away. However, syncing
    goes very fast and has no effect. The files are apparently
    copied to the ipod, but are never available to it. I can use
    gtkpod to copy files and sync, but I'd really rather use
    konqueror/kpod.

    Tim Doty
    drakki@rollanet.org

     
  • Logged In: YES
    user_id=585918

    Hi,

    thanks for the files. Unfortunately I couldn't reproduce the
    problem so I'll need both files (the kpod* and the ITunesDB)
    from _befor_ pressing the OK button on thy sync tool.
    If you don't wanna mess up your iPod again you can create a
    "virtual iPod" on your hardddrive by copying the whole
    iPod_Control folder to your harddrive and mount the
    directory where you copied it into with
    mount -o bind <folder> <mountpoint>

    Tim: could you please also try to reproduce the problem and
    send me those files over?

    Regards
    Michael

     
    • priority: 5 --> 9
     
  • Jeff Weeks
    Jeff Weeks
    2006-02-28

    Logged In: YES
    user_id=867442

    Unfortunately, I'm having some issues connecting my iPod
    at the moment. I hope to have the files posted by this
    weekend. By the way, does anybody know (or is able to
    correct) the attachment problem with this bug report? It
    would be nice to be able to attach the files right to the
    bug, rather then upload them to my website...
    unfortunately, I don't appear to have that possibility
    right now.

    Thanks,
    Jeff

     
  • Logged In: YES
    user_id=585918

    Great, thanks. Will do try that out later.
    Is the IPod FAT32 or HFS+ formatted?

    Regards
    Michael

     
  • Jeff Weeks
    Jeff Weeks
    2006-03-02

    Logged In: YES
    user_id=867442

    The iPod is FAT32 formatted.

     
    • labels: --> ipodslave
     
  • Logged In: YES
    user_id=585918

    OK, I'm still not able to reproduce the error. With
    version 0.6.3 it still syncs successfully but after
    looking at your ITunesDB file and my code I found some
    other problems that may result in undefined behaviour with
    reading/writing the database.
    I fixed it in the ipodslave-0.7.3-pre1 package. Please
    give that a try and tell me if that solves your problem.
    Be aware though that when saving the changes to your iPod
    you'll lose your smart playlists since these are still
    unsupported.

    Regards
    Michael

    PS: If sending files still doesn't work you can also mail
    them to me. Use the mail adress at my personal page.

     
  • Jeff Weeks
    Jeff Weeks
    2006-03-15

    Logged In: YES
    user_id=867442

    I'm now getting the same issue as was also listed below.
    There is no more error, but the sync doesn't complete.

    I should mention that I'm also a C developer, but I'm
    unaware of how to debug an ioslave such as this. If
    there's a way to debug (or just a way to direct some trace
    to a console) then I can attempt to track down the issue
    here, where it's readily reproduceable.

    If you could give me some advice on where to look in the
    code, and the best way to debug, I'd be glad to look into
    it.

    Thanks,
    Jeff

     
  • Logged In: YES
    user_id=585918

    Hi,

    please checkout the project from CVS with
    cvs -z3
    -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/kpod co
    -r branch_0_7 ipodslave

    There you'll find a directory named test with ipodtest.cpp
    in it - I wrote it to test some core functions.
    Line 87 could be interesting to you:
    ipod->writeItunesDB( "/tmp/iTunesDB" );
    writes the current iTunesDB to a file. You can just start
    to debug there. You need to bring your iPod to a
    "pre-sync" state though (like before: make some changes
    and don't sync).
    Oh and please go to src/ipod.cpp and comment out line 437
    flushLog();
    because this will flush the changes everytime you debug.

    You can also kinda debug the ioslave by using the kde
    debug system with kdDebug(). You'll have to redirect
    debugmessages to a file though by using
    kdebugdialog --fullmode
    and set the properties for the channels 7019 and 7101.

    If you have further questions please feel free to send me
    an email to my sourceforge mail account.

    Regards
    Michael

     
    • status: open --> open-fixed
     
    • status: open-fixed --> closed-fixed