After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 481069 - serpentine crashed with TypeError
serpentine crashed with TypeError
Status: RESOLVED FIXED
Product: serpentine
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Serpentine Maint
Serpentine Maint
Depends on:
Blocks:
 
 
Reported: 2007-09-27 19:30 UTC by Pedro Villavicencio
Modified: 2008-03-14 20:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Villavicencio 2007-09-27 19:30:06 UTC
This bug has been filled here:

https://bugs.launchpad.net/ubuntu/+source/serpentine/+bug/144953

"Recently upgraded serpentine from feisty to gutsy. Application crashes on launch. System is Xen domU with "disk = [... , 'phy:/dev/scd0,hdc:cdrom,r']" option to access CD-ROM. I do not expect CD burning to work!

$ serpentine
Traceback (most recent call last):
  • File "/usr/bin/serpentine", line 128 in <module>
    app = SerpentineApplication (locations)
  • File "/usr/lib/python2.5/site-packages/serpentine/__init__.py", line 413 in __init__
    Application.__init__(self, locations)
  • File "/usr/lib/python2.5/site-packages/serpentine/__init__.py", line 164 in __init__
    self.__preferences = RecordingPreferences(locations)
  • File "/usr/lib/python2.5/site-packages/serpentine/preferences.py", line 301 in __init__
    self._on_gconf_device_changed()
  • File "/usr/lib/python2.5/site-packages/serpentine/preferences.py", line 455 in _on_gconf_device_changed
    self._device.data = self.__drive_selection.get_device()
  • File "/usr/lib/python2.5/site-packages/serpentine/gaw.py", line 153 in <lambda>
    fset = lambda self, value: self.__setter (self.key, value)
TypeError: GConfClient.set_string() argument 2 must be string, not None
$ gconftool-2 --all-entries /apps/gaw
$ gconftool-2 --all-entries /apps/serpentine
 y = 25
 eject = true
 height = 281
 disc_size = 1
 use_gap = true
 width = 385
 view_toolbar = true
 speed_select = use_max_speed
 write_speed = 99
 x = 0
"
Comment 1 Pedro Villavicencio 2007-11-30 15:07:26 UTC
A few comments from Ubuntu bug tracker:

"While working on Linux Mint 4.0 (based on Gutsy) I could reproduce this problem under VMWare and VirtualBox. Under both virtual environments Serpentine would crash with the above error message. In /usr/lib/python2.5/site-packages/serpentine/preferences.py, if you comment out line 455 Serpentine shows a GUI error message complaining about the absence of a recording device.

Using the exact same ISO, once burnt and run on a real computer (with a CD writer) Serpentine runs fine and no error message is outputted.

My advice would be for the devs to make sure the error dialog box appears and that Serpentine doesn't crash before that happens."

"So I found the same problem here with my laptop. I don't have an internal CD driver and it only works when I have the external USB one connected."

"I saw this in a fresh installation of Ubuntu 7.10 in VMWare Server, where it is trivial to reproduce. Presumably VMware does not provide a device which looks like a CD writer (hal capabilities say it is only a reader)."
Comment 2 Tiago Cogumbreiro 2008-03-04 00:12:39 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Sam Morris 2008-03-14 16:24:46 UTC
Where is Serpentine's code kept these days? I would like to backport this fix to the Debian package.
Comment 4 Tiago Cogumbreiro 2008-03-14 20:57:27 UTC
It is here:

https://code.launchpad.net/~cogumbreiro/serpentine/main

Thanks!