no attribute new_gc on 5.7.95

General support for problems installing or using Deluge
Post Reply
awkward
New User
New User
Posts: 3
Joined: Sat Dec 01, 2007 8:29 pm

no attribute new_gc on 5.7.95

Post 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
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: no attribute new_gc on 5.7.95

Post 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`
awkward
New User
New User
Posts: 3
Joined: Sat Dec 01, 2007 8:29 pm

Re: no attribute new_gc on 5.7.95

Post by awkward »

Thanks. That worked nicely
Post Reply