serpentine crashes from GConf-related error on start-up

Bug #154585 reported by Chris Wagner
8
Affects Status Importance Assigned to Milestone
serpentine (Ubuntu)
In Progress
Medium
Ubuntu Desktop Bugs

Bug Description

This seems to be a problem since upgrading to Gutsy...

chris@chris-desktop:~$ serpentine

** (serpentine:14945): WARNING **: hal_initialize failed: (null)
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

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, is the crash reproducible with a new user?

Changed in serpentine:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Chris Wagner (chris-wagner) wrote :

The problem seems to have dissipated. I'll reopen if it comes back. Thanks. :)

Changed in serpentine:
status: Incomplete → Fix Released
Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

While the simptoms have disapeared, the bug does exist.

I'll reopen it.

Revision history for this message
Lilian ROBERT (lilian-robert) wrote :

Hi,

I just encountered exactly the same problem...

Is there a workaround ?

My system is Ubuntu Gutsy up to date.

Thanks

Revision history for this message
Chris Wagner (chris-wagner) wrote :

Hey Lilian. Are you seeing the exact same stack trace that I posted?

Changed in serpentine:
status: Fix Released → Confirmed
Revision history for this message
Tiago Cogumbreiro (cogumbreiro) wrote :

I'll try to look into in the next few days.

Revision history for this message
Lilian ROBERT (lilian-robert) wrote :

Yes Chris, the exact same stack trace than you.

Revision history for this message
wvarner (winshipvarner) wrote :

Same problem here.

Revision history for this message
Suco (sucotronic) wrote :

Importance 'Medium'?? Come on!! This program is a direct dependency of ubuntu-desktop package, it's installed by default in all ubuntu machines. My windows converted users only want to record a music cd, and I have to install k3b to do it.
Please, one patch.

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

I (upstream maintainer) have no time to do it.

Will gladly accept a working patch, though.

Revision history for this message
Suco (sucotronic) wrote : Re: [Bug 154585] Re: serpentine crashes from GConf-related error on start-up

Ups, sorry for my pressure, but my users are driven my crazy. I'll
take a look to the code.
Thanks for the reply.

On Mon, Mar 3, 2008 at 4:56 PM, Tiago Cogumbreiro
<email address hidden> wrote:
> I (upstream maintainer) have no time to do it.
>
> Will gladly accept a working patch, though.
>
>
>
> --
> serpentine crashes from GConf-related error on start-up
> https://bugs.launchpad.net/bugs/154585
> You received this bug notification because you are a direct subscriber
> of the bug.
>

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

I am not sure, but I think this is solved in trunk. You can verify it by yourself in Launchpad.

Revision history for this message
Suco (sucotronic) wrote :

Looking for a solution(or a patch), I've found this thread:
http://ubuntuforums.org/showthread.php?t=619031
It seems that if serpentine is unable to detect a valid cd-rw unit, the execution of the program fails.
The solution consist in better detection, showing a message box with the failed detection and by the command line.

Revision history for this message
Chris Wagner (chris-wagner) wrote :

Suco: which version of Ubuntu are you on? 7.10? 8.04? An older version?

And, does this problem always arise upon launching serpentine, for others?

Revision history for this message
Suco (sucotronic) wrote :

I'm on 7.10. And yes, this occurs in almost all the computers, except in those that have a cd-writer. It can be crazy to launch serpentine in a pc without a burner, but at least serpentinde should show a messagebox, no?

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

Yes, it should.

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

It's not fixed in trunk.

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

OK, I have tried fixing it. Could you try the version from trunk?

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

Revision history for this message
Suco (sucotronic) wrote :

Now It works perfectly. Thank you very much for the help.

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

Fixed in trunk. Will be available in the next release.

Changed in serpentine:
status: Confirmed → In Progress
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.