Error in Windmill

Raji Seetharaman sraji.me at gmail.com
Thu Nov 12 04:07:22 EST 2009


Hi

Im learning Web scraping with Python from here
http://www.packtpub.com/article/web-scraping-with-python-part-2

>From the above link, the complete code is here http://pastebin.com/m10046dc6

When i run the program in the terminal i receive following errors

File "nasa.py", line 41, in <module>
    test_scrape_iotd_gallery()
  File "nasa.py", line 24, in test_scrape_iotd_gallery
    client = WindmillTestClient(__name__)
  File
"/usr/local/lib/python2.6/dist-packages/windmill-1.3-py2.6.egg/windmill/authoring/__init__.py",
line 142, in __init__
    method_proxy = windmill.tools.make_jsonrpc_client()
  File
"/usr/local/lib/python2.6/dist-packages/windmill-1.3-py2.6.egg/windmill/tools/__init__.py",
line 35, in make_jsonrpc_client
    url = urlparse(windmill.settings['TEST_URL'])
AttributeError: 'module' object has no attribute 'settings'

Suggest me

Thanks
Raji. S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091112/cb7fe3e1/attachment.html>


More information about the Python-list mailing list