bugGNUpod - Bugs: bug #29265, gnupod_addsong.pl --restore unable...


bug #29265: gnupod_addsong.pl --restore unable to write XML file

Submitted by:  None
Submitted on:  Fri 19 Mar 2010 12:02:02 PM UTC  
Category: Adding songsSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: Heinrich Langos <hlangos>
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 23 Sep 2010 09:11:01 PM UTC, comment #1:

Hi there,

GNUpod does not mount or unmount any device.

Two possible error sources come to mind:

A) The device was indeed remounted read-only. This can happen
if a device has hardware errors. You should check the output of "dmesg" to see if there is any kernel output indicating problems with your device. I've had my share of problems with aging notebooks where the USB ports died one by one ...

B) Did you check if the device was indeed mounted read-only after the error occurred? The error message of GNUpod could be wrong. I didn't check the code yet and seeing that you left no means of contacting you I will not spend too much time on the issue unless "A)" can be ruled out first. But if the write error is not simply passed on by GNUpod, the error could be caused by something else, e.g. a full filesystem.

Heinrich Langos <hlangos>
Project AdministratorIn charge of this item.
Fri 19 Mar 2010 12:02:02 PM UTC, original submission:

Mounted iPod (on /media/IPOD), verified that it was read/write. Ran:

gnupod_addsong.pl --restore -m /media/IPOD

Goes through 5000+ songs, then bombs out with this:

> Writing new XML File, added 5263 file(s)
Could not write to '/media/IPOD/iPod_Control/.gnupod/GNUtunesDB.xml_tmp_1268999089' : Read-only file system

It looks like your code is re-mounting the iPod filesystem as read-only, so it can't write the XML file. Tried it several times, all with same results.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hlangos (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Sep 2010 09:43:22 PM UTChlangosStatusNone=>Need Info
    Thu 23 Sep 2010 09:11:01 PM UTChlangosAssigned toNone=>hlangos

    Back to the top

    Powered by Savane 3.1-cleanup1