Changes between Initial Version and Version 3 of Ticket #1936


Ignore:
Timestamp:
11/26/2011 02:19:15 AM (12 years ago)
Author:
Cas
Comment:

Ok I see that the problem, there is an exception at line 749 (because deluged is not found) which results in 'host' and 'port' variables not being defined when the response return tries to use them.

damoxc not sure how you wish to fix this.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1936

    • Property Status changed from new to reopened
    • Property Component changed from other to webui
    • Property Priority changed from major to trivial
    • Property Milestone changed from 1.3.x to 1.3.4
  • Ticket #1936 – Description

    initial v3  
    11When I start deluge-web I get the following: 
    22 
     3{{{ 
    34NameError: free variable 'host' referenced before assignment in enclosing scope 
    45[ERROR   ] 00:41:35 json_api:227 Error calling method `web.get_host_status` 
     
    1314  File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 745, in response 
    1415    return host_id, host, port, status, info 
     16}}} 
    1517 
    16  
     18{{{ 
    1719> deluge-web --version 
    1820deluge-web: 1.3.3 
     
    2224>python --version 
    2325Python 3.2.1 
     26}}}