Filename not quoted when calling cdrecord

Bug #79436 reported by Facundo Batista
2
Affects Status Importance Assigned to Milestone
serpentine (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: serpentine

If I add a file named, for example (quotes for clarity) "03. Salsa.wav" to the main window, Serpentine uses that name (without the quotes) when calling cdrecord, actually "breaking" the command line.

Example of real life:

mirta@selene:~$ serpentine --debug
launching command: cdrecord fs=16m dev=/dev/hdc -eject driveropts=burnfree -v -copy -audio -pad /home/mirta/tmpAhl1nw.wav -copy -audio -pad /home/mirta/tmpGR3NXF.wav -copy -audio -pad /home/mirta/music/03. Salsa.wav -copy -audio -pad /home/mirta/tmpLVZAYK.wav -copy -audio -pad /home/mirta/tmpBlpZrl.wav -copy -audio -pad /home/mirta/tmpzlfGT8.wav -copy -audio -pad /home/mirta/tmpU86ZnR.wav .......

That leads to cdrecord giving a cryptic message of error (No such file or directory. Cannot open ''.), and then Serpentine saying that an error ocurred.

If I call cdrecord with the same as before but that problematic filename quoted, like the following sentence, everything goes ok:

cdrecord fs=16m dev=/dev/hdc -eject driveropts=burnfree -v -copy -audio -pad /home/mirta/tmpAhl1nw.wav -copy -audio -pad /home/mirta/tmpGR3NXF.wav -copy -audio -pad "/home/mirta/music/03. Salsa.wav" -copy -audio -pad /home/mirta/tmpLVZAYK.wav -copy -audio -pad /home/mirta/tmpBlpZrl.wav -copy -audio -pad /home/mirta/tmpzlfGT8.wav -copy -audio -pad /home/mirta/tmpU86ZnR.wav .......

Regards,

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Which version of Ubuntu and serpentine do you use?

Changed in serpentine:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

This bug is relevant to nautilus-cd-burner, not serpentine.

Revision history for this message
Facundo Batista (facundo) wrote :

Daniel, versions:

Ubuntu: Edgy (2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux)
Serpentine: 0.6.91

Tiago, nautilus-cd-burner?? why? I'm not using it. If you see in the report, I'm starting "serpentine" from command line, and it then executes "cdrecord", but it calls it badly (with a broken command line). Or do you mean that "serpentine" is not executing "cdrecord" itself?

I'm getting into the trouble of opening a bug report, you could give more explanations. Please.

Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

The nautilus-cd-burner is the library used by Serpentine. This library uses the program 'cdrecord' to implement disc recording. What I mean is that the bug is a defect of the library, not Serpentine.

I am sorry for not being clear :) I considered everyone knew what nautilus-cd-burner was. :D

Revision history for this message
Facundo Batista (facundo) wrote :

Ah, ok! My ignorance, :p.

Another question, just to know what to do next.

How can I know If Serpentine is calling nautilus-cd-burner ok? Better, how can I *prove*, that nautilus-cd-burner being called ok, is not having a good behaviour?

(all this is just to open a better bug ticket in the library)

Regards,

Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

The thing is, serpentine is not responsible for shell escaping the filenames it sends to nautiluscdburner. Thus, I am not envisioning how this bug could possibly be related to serpentine.

To sum it up, just copy/paste the same bugreport on the nautilus-cd-burner's bugzilla and it should be enough. CC me on that one, if you may.

Thanks!

Revision history for this message
Facundo Batista (facundo) wrote :

I opened the bug #83573 in nautilus-cd-burner regarding this problem (with a backreference to this bug).

Please, could you close this? Thanks!

Revision history for this message
Daniel Holbach (dholbach) wrote :

Closing the bug. Thanks for following up.

Changed in serpentine:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.