Opened 18 years ago
Closed 18 years ago
#249 closed bug (Fixed)
Key error and "global name 'log' is not defined"
| Reported by: | jonas@websystem.se | Owned by: | andar |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | 0.6.0svn |
| Keywords: | Cc: |
Description
Don't know what I did to get this, I was about to add torrents and rechecking them.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/systemtray.py", line 157, in _on_get_download_rate
self.download_rate = deluge.common.fsize(download_rate)
File "/usr/lib64/python2.4/site-packages/deluge/common.py", line 264, in fsize
fsize_kb = fsize_b / 1024.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/torrentview.py", line 336, in _on_get_torrents_status
self.update_view()
File "/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/torrentview.py", line 293, in update_view
if torrent_id in status.keys():
AttributeError: 'int' object has no attribute 'keys'
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/peers_tab.py", line 245, in _on_get_torrent_status
for peer in status["peers"]:
KeyError: 'peers'
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/peers_tab.py", line 245, in _on_get_torrent_status
for peer in status["peers"]:
KeyError: 'peers'
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/statistics_tab.py", line 121, in _on_get_torrent_status
log.debug("Unable to get status value: %s", e)
NameError: global name 'log' is not defined
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
This has been fixed in svn. Please re-open if not.
Note:
See TracTickets
for help on using tickets.



Forgot to mention that I used r3188.