crashes on refresh - "unexpected keyword argument"

Bug #321368 reported by Avery
2
Affects Status Importance Assigned to Milestone
Gwibber
Invalid
Undecided
Unassigned

Bug Description

avery@daxyne:~/gwibber$ ./run

// First the message appears at runtime but Gwibber still works

Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 460, in __bootstrap
    self.run()
  File "threading.py", line 440, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/avery/gwibber/gwibber/client.py", line 866, in process
    view.load_messages()
  File "/home/avery/gwibber/gwibber/gwui.py", line 67, in load_messages
    indent=4, default=str)
  File "/var/lib/python-support/python2.5/simplejson/__init__.py", line 216, in dumps
    **kw).encode(obj)
TypeError: __init__() got an unexpected keyword argument 'default'

// Then it appears again when it loads the messages, and everything breaks

Exception in thread Thread-2:
Traceback (most recent call last):
  File "threading.py", line 460, in __bootstrap
    self.run()
  File "threading.py", line 440, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/avery/gwibber/gwibber/client.py", line 866, in process
    view.load_messages()
  File "/home/avery/gwibber/gwibber/gwui.py", line 67, in load_messages
    indent=4, default=str)
  File "/var/lib/python-support/python2.5/simplejson/__init__.py", line 216, in dumps
    **kw).encode(obj)
TypeError: __init__() got an unexpected keyword argument 'default'

Killed

Revision history for this message
Avery (avery) wrote :

I neglected to mention that this is on Gutsy so it's possible something needs to be upgraded.

Revision history for this message
Ryan Paul (segphault) wrote :

The version of simplejson that you are using is too old. This specific bug will go away if you install simplejson >= 1.9.1. I suspect that you will probably encounter other dependency issues, however. We don't really support gutsy.

Changed in gwibber:
status: New → Invalid
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.