Bug #397

scenic traceback when clicking on MIDI tab

Added by Simon Piette about 4 years ago. Updated about 4 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Alexandre Quessy % Done:

0%

Category:scenic.gtk Spent time: -
Target version:0.5.1
Resolution: Version:
Trac ticket ID:397

Description

        Traceback (most recent call last):
          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/home/simonp/src/scenic/trunk/py/scenic/devices/midi.py", line 91, in _cb
            deferred.callback(ret)
          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 243, in callback
            self._startRunCallbacks(result)
          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/home/simonp/src/scenic/trunk/py/scenic/application.py", line 317, in _callback
            self.gui.update_midi_devices()
          File "/home/simonp/src/scenic/trunk/py/scenic/gui.py", line 1157, in update_midi_devices
            _set_combobox_choices(self.midi_input_device_widget, input_devices)
          File "/home/simonp/src/scenic/trunk/py/scenic/gui.py", line 117, in _set_combobox_choices
            previous_value = _get_combobox_value(widget)
          File "/home/simonp/src/scenic/trunk/py/scenic/gui.py", line 106, in _get_combobox_value
            raise [[RuntimeError]]("ComboBox widget %s doesn't have value with index %s." % (widget, index))
        exceptions.RuntimeError: [[ComboBox]] widget <gtk.ComboBox object at 0xa1a99b4 (GtkComboBox at 0xa279800)> doesn't have value with index -1.

History

Updated by Alexandre Quessy about 4 years ago

  • Status changed from New to In Progress

Updated by Alexandre Quessy about 4 years ago

I think this happens when midistream crashes.

Updated by Alexandre Quessy about 4 years ago

  • Status changed from In Progress to Closed
  • Resolution set to worksforme

Updated by Alexandre Quessy about 4 years ago

  • Status changed from Closed to Feedback
  • Resolution deleted (worksforme)

Updated by Alexandre Quessy about 4 years ago

  • Status changed from Feedback to Closed
  • Resolution set to needinfo

Also available in: Atom PDF