[natty] TypeError: could not convert type int to gchararray required for parameter 1

Bug #702837 reported by Severin H
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LottaNZB
Fix Released
High
Severin H

Bug Description

When launching LottaNZB on a clean and up-to-date installation of Ubuntu 11.04 Alpha 1, the dialog allowing the user to select a session is not displayed.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/__init__.py", line 63, in on_component_loading_failure
    self.show_session_selection_dialog(error)
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/__init__.py", line 94, in show_session_selection_dialog
    dialog = self._component_manager.load(sessions.SelectionDialog)
  File "/usr/lib/pymodules/python2.7/lottanzb/core/component.py", line 361, in load
    component = component_class(self)
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/sessions/__init__.py", line 56, in __init__
    MainDelegateComponent.__init__(self, component_manager)
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/framework/__init__.py", line 319, in __init__
    MainDelegate.__init__(self)
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/framework/__init__.py", line 59, in __init__
    self.create_ui()
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/sessions/__init__.py", line 65, in create_ui
    view = self._component_manager.load(view_cls)
  File "/usr/lib/pymodules/python2.7/lottanzb/core/component.py", line 361, in load
    component = component_class(self)
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/sessions/local/__init__.py", line 34, in __init__
    View.__init__(self, component_manager)
  File "/usr/lib/pymodules/python2.7/lottanzb/gui/sessions/base.py", line 58, in __init__
    self._session = self._component_manager.load(self.get_session_type())
  File "/usr/lib/pymodules/python2.7/lottanzb/core/component.py", line 361, in load
    component = component_class(self)
  File "/usr/lib/pymodules/python2.7/lottanzb/backend/sessions/local.py", line 87, in __init__
    self.sabnzbd_config = SmartLocalConfig()
  File "/usr/lib/pymodules/python2.7/lottanzb/config/sabnzbd/__init__.py", line 104, in __init__
    ConfigObjRoot.__init__(self, config_file, "lottanzb.config.sabnzbd")
  File "/usr/lib/pymodules/python2.7/lottanzb/config/roots.py", line 305, in __init__
    LocalConfigRoot.__init__(self, config_file, name)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/roots.py", line 187, in __init__
    ConfigRoot.__init__(self, config_file, name)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/roots.py", line 53, in __init__
    ConfigSection.__init__(self, name, options=options)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 117, in __init__
    self[key] = {}
  File "/usr/lib/pymodules/python2.7/lottanzb/util/gobject_extras.py", line 136, in __setitem__
    self.set_property(key, value)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 258, in set_property
    value = validation_function(key, value)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 415, in _validate_dict
    value = cls(key, parent=self, options=value)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/sabnzbd/__init__.py", line 165, in __init__
    _ListConfigSection.__init__(self, name, parent, options)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 707, in __init__
    ConfigSection.__init__(self, name, parent, options)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 103, in __init__
    self.reset_object_options()
  File "/usr/lib/pymodules/python2.7/lottanzb/config/sabnzbd/categories.py", line 43, in reset_object_options
    "dir": value
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 778, in append
    self[len(self._list_items)] = value
  File "/usr/lib/pymodules/python2.7/lottanzb/util/gobject_extras.py", line 136, in __setitem__
    self.set_property(key, value)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 271, in set_property
    self.report_changed_property(key, value)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 405, in report_changed_property
    self._report_property("property-changed", key, value)
  File "/usr/lib/pymodules/python2.7/lottanzb/config/section.py", line 388, in _report_property
    section.emit(signal_name, self, key, value)
TypeError: could not convert type int to gchararray required for parameter 1

Severin H (severinh)
Changed in lottanzb:
status: Confirmed → Fix Committed
assignee: LottaNZB Development Team (lottanzb) → Severin Heiniger (lantash)
Severin H (severinh)
Changed in lottanzb:
status: Fix Committed → Fix Released
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.