Closed ghost closed 11 years ago
I cannot run APAF (default configuration) unless txtorcon.launch_tor (apaf/run/base.py, line 73) is changed to: return txtorcon.launch_tor(torconfig, reactor, progress_updates=progress_updates)
in lieu of:
return txtorcon.launch_tor(torconfig, reactor, progress_updates=progress_updates, data_directory=data_directory, tor_binary=config.tor_binary, )
Error:
vemr@m:~/apaf/APAF$ python apaf/main.py 2012-10-21 13:12:57+0200 [-] Log opened. 2012-10-21 13:12:57+0200 [-] Application starting on 5545 2012-10-21 13:12:57+0200 [-] Starting factory <cyclone.web.Application instance at 0x913da4c> 2012-10-21 13:12:58+0200 [-] Site starting on 5310 2012-10-21 13:12:58+0200 [-] Starting factory <twisted.web.server.Site instance at 0x94039ec> 2012-10-21 13:12:58+0200 [-] 'Cannot import service zinniablog' 2012-10-21 13:12:58+0200 [-] Traceback (most recent call last): 2012-10-21 13:12:58+0200 [-] File "apaf/main.py", line 48, in 2012-10-21 13:12:58+0200 [-] main() 2012-10-21 13:12:58+0200 [-] File "apaf/main.py", line 31, in std_main 2012-10-21 13:12:58+0200 [-] base.main().addCallback(base.setup_complete).addErrback(base.setup_failed) 2012-10-21 13:12:58+0200 [-] File "/home/vemr/apaf/APAF/apaf/../apaf/run/base.py", line 76, in main 2012-10-21 13:12:58+0200 [-] tor_binary=config.tor_binary,) 2012-10-21 13:12:58+0200 [-] TypeError: launch_tor() got an unexpected keyword argument 'data_directory'
Configuration:
OS: Debian unstable Python: python 2.7 Python modules: zope.component-4.0.0.egg-info zope.component-4.0.0-nspkg.pth PyYAML-3.10.egg-info twisted zope.event-4.0.0.egg-info Twisted-12.2.0.egg-info zope.event-4.0.0-nspkg.pth zope.interface-4.0.1.egg-info txtorcon-0.6.egg-info zope.interface-4.0.1-nspkg.pth
Thanks for the report, it was a problem related to a change of APIs provided by txtorcon.
fixed
I cannot run APAF (default configuration) unless txtorcon.launch_tor (apaf/run/base.py, line 73) is changed to: return txtorcon.launch_tor(torconfig, reactor, progress_updates=progress_updates)
in lieu of:
Error:
vemr@m:~/apaf/APAF$ python apaf/main.py 2012-10-21 13:12:57+0200 [-] Log opened. 2012-10-21 13:12:57+0200 [-] Application starting on 5545 2012-10-21 13:12:57+0200 [-] Starting factory <cyclone.web.Application instance at 0x913da4c> 2012-10-21 13:12:58+0200 [-] Site starting on 5310 2012-10-21 13:12:58+0200 [-] Starting factory <twisted.web.server.Site instance at 0x94039ec> 2012-10-21 13:12:58+0200 [-] 'Cannot import service zinniablog' 2012-10-21 13:12:58+0200 [-] Traceback (most recent call last): 2012-10-21 13:12:58+0200 [-] File "apaf/main.py", line 48, in
2012-10-21 13:12:58+0200 [-] main()
2012-10-21 13:12:58+0200 [-] File "apaf/main.py", line 31, in std_main
2012-10-21 13:12:58+0200 [-] base.main().addCallback(base.setup_complete).addErrback(base.setup_failed)
2012-10-21 13:12:58+0200 [-] File "/home/vemr/apaf/APAF/apaf/../apaf/run/base.py", line 76, in main
2012-10-21 13:12:58+0200 [-] tor_binary=config.tor_binary,)
2012-10-21 13:12:58+0200 [-] TypeError: launch_tor() got an unexpected keyword argument 'data_directory'
Configuration:
OS: Debian unstable Python: python 2.7 Python modules: zope.component-4.0.0.egg-info zope.component-4.0.0-nspkg.pth PyYAML-3.10.egg-info twisted
zope.event-4.0.0.egg-info Twisted-12.2.0.egg-info
zope.event-4.0.0-nspkg.pth zope.interface-4.0.1.egg-info txtorcon-0.6.egg-info
zope.interface-4.0.1-nspkg.pth