Tomek
unread,May 24, 2011, 3:46:13 AM5/24/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Windmill Developers
Hi,
I'm using windmill with python tests and would like to debug them now.
With eclipse i can already debug "normal" python scripts, but windmill
is started from python. I suppose, that it is started an another
thread. I became the following error on start:
pydev debugger: warning: psyco not available for speedups (the
debugger will still work correctly, but a bit slower)
pydev debugger: starting
Traceback (most recent call last):
File "/home/tomek/.eclipse/org.eclipse.platform_3.5.0_155965261/
plugins/org.python.pydev.debug_1.6.5.2011020317/pysrc/pydevd.py", line
1133, in <module>
debugger.run(setup['file'], None, None)
File "/home/tomek/.eclipse/org.eclipse.platform_3.5.0_155965261/
plugins/org.python.pydev.debug_1.6.5.2011020317/pysrc/pydevd.py", line
918, in run
execfile(file, globals, locals) #execute the script
File "/home/tomek/workspace/adx/develop/test/windmill/pythontests/
test_dialogs/test_RoleManagement.py", line 14, in <module>
client = WindmillTestClient(__name__)
File "/home/tomek/workspace/windmill/windmill/authoring/
__init__.py", line 142, in __init__
method_proxy = windmill.tools.make_jsonrpc_client()
File "/home/tomek/workspace/windmill/windmill/tools/__init__.py",
line 35, in make_jsonrpc_client
url = urlparse(windmill.settings['TEST_URL'])
AttributeError: 'module' object has no attribute 'settings'
Has anyone an idea how to pass the environment to the debugger? Or
maybe another solution how to debug in windmill?
Thx
Tomek