uncaught RuntimeError: could not open display

Bug #988259 reported by Michael Schwendt on 2012-04-25
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SoundConverter
Critical
GautierPortet

Bug Description

If one runs "soundconverter" with no X and forgets the -b/--batch option, it crashes with a Python exception rather than catching it and displaying an own (possibly more helpful) error message.

Reproducible with 2.0.x: https://bugzilla.redhat.com/807075

Dunno whether this is something you would want to fix. :-) It triggers tools like ABRT (the Automatic Bug Reporting Tool in Fedora), which then prompt the user to report it as a bug.

Michael Schwendt (mschwendt) wrote :

Related to the soundconverter.settings['mode'] variable, I fail to find code that evaluates it:

$ grep settings *|grep mode
$
$ grep gui *
settings.py: 'mode': 'gui',
Binary file settings.pyc matches
Binary file settings.pyo matches
ui.py:def gui_main(name, version, gladefile, input_files):
Binary file ui.pyc matches
Binary file ui.pyo matches

Changed in soundconverter:
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → GautierPortet (kassoulet)
GautierPortet (kassoulet) wrote :

In fact, I just forgot the batch mode when refactoring version 2...

Changed in soundconverter:
milestone: none → 2.0.4
Changed in soundconverter:
status: Confirmed → Fix Committed
Changed in soundconverter:
status: Fix Committed → Fix Released
Michael Schwendt (mschwendt) wrote :

This is back in 2.1.2 (as a regression tests in response to bug 988256).

Changed in soundconverter:
status: Fix Released → New
GautierPortet (kassoulet) wrote :

This is not so simple to fix.
GTK code is used all over the application now...

Changed in soundconverter:
status: New → Confirmed
milestone: 2.0.4 → 2.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers