Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Error in Windmill

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


sraji.me at gmail

Nov 12, 2009, 1:07 AM

Post #1 of 3 (361 views)
Permalink
Error in Windmill

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


himanshu.garg at gmail

Nov 12, 2009, 4:28 AM

Post #2 of 3 (340 views)
Permalink
Re: Error in Windmill [In reply to]

2009/11/12 Raji Seetharaman <sraji.me [at] gmail>:
>
> 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
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>

Google or See http://groups.google.com/group/windmill-dev/browse_thread/thread/c921f7a25c0200c9
--
http://mail.python.org/mailman/listinfo/python-list


sraji.me at gmail

Nov 12, 2009, 5:20 AM

Post #3 of 3 (338 views)
Permalink
Re: Error in Windmill [In reply to]

On Thu, Nov 12, 2009 at 5:58 PM, Himanshu <himanshu.garg [at] gmail> wrote:

> 2009/11/12 Raji Seetharaman <sraji.me [at] gmail>:
> >
> > 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
> >
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
> >
>
> Google or See
> http://groups.google.com/group/windmill-dev/browse_thread/thread/c921f7a25c0200c9
>

Thanks for your help.

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.