Page 1 of 1

no attribute new_gc on 5.7.95

Posted: Tue Dec 25, 2007 9:01 am
by awkward
I'm using the 5.7.95 x86_64 Deluge on Ubuntu 7.10. Since I installed that, the behaviour has been odd.

If I add a torrent, then I end up with the following report in the terminal:

Code: Select all

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1272, in update_torrent_info_widget
    self.tab_details.update(unique_id)
  File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 172, in update
    self.paint_customprogress()
  File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 82, in paint_customprogress
    gc = progress_window.new_gc()
AttributeError: 'NoneType' object has no attribute 'new_gc'
I get very similar messages if I minimise the Deluge window. I also get similar messages if I remove a torrent, however the torrent remains in the window.

There's no update to the Deluge screen, the data remains static like it's frozen however I know it's doing something because if I minimise the window, then restore, I can see a change.

thanks

Re: no attribute new_gc on 5.7.95

Posted: Tue Dec 25, 2007 5:47 pm
by markybob
awkward wrote:I'm using the 5.7.95 x86_64 Deluge on Ubuntu 7.10. Since I installed that, the behaviour has been odd.

If I add a torrent, then I end up with the following report in the terminal:

Code: Select all

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1272, in update_torrent_info_widget
    self.tab_details.update(unique_id)
  File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 172, in update
    self.paint_customprogress()
  File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 82, in paint_customprogress
    gc = progress_window.new_gc()
AttributeError: 'NoneType' object has no attribute 'new_gc'
I get very similar messages if I minimise the Deluge window. I also get similar messages if I remove a torrent, however the torrent remains in the window.

There's no update to the Deluge screen, the data remains static like it's frozen however I know it's doing something because if I minimise the window, then restore, I can see a change.

thanks
that error looks like your prefs.state is corrupted. `rm ~/.config/deluge/prefs.state`

Re: no attribute new_gc on 5.7.95

Posted: Thu Dec 27, 2007 10:32 am
by awkward
Thanks. That worked nicely