#1936: free variable 'host' referenced before assignment in enclosing scope
---------------------+------------------------------------------------------
 Reporter:  rmanola  |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  major    |   Milestone:  1.3.x
Component:  other    |     Version:  1.3.3
 Keywords:           |  
---------------------+------------------------------------------------------
 When I start deluge-web I get the following:

 NameError: free variable 'host' referenced before assignment in enclosing
 scope
 [ERROR   ] 00:41:35 json_api:227 Error calling method
 `web.get_host_status`
 [ERROR   ] 00:41:35 json_api:228 free variable 'host' referenced before
 assignment in enclosing scope
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line
 219, in _handle_request
     result = self._exec_local(method, params, request)
   File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line
 186, in _exec_local
     return meth(*params)
   File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line
 750, in get_host_status
     return response(_("Offline"))
   File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line
 745, in response
     return host_id, host, port, status, info


 > deluge-web --version
 deluge-web: 1.3.3
 libtorrent: 0.15.7.0


 >python --version
 Python 3.2.1

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1936>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to