BTW, my code runs well standalone. Only on web2py I get this error.
Could it be a locking issue? I'm running web2py with passenger wsgi
and tried to kill the process but still get the error.

Any help would be appreciated...

Thanks,
Roberto

On Dec 30 2009, 4:52 pm, robsan <rob...@gmail.com> wrote:
> Hi all,
>
> I'm usinghttp://www.crummy.com/software/ScrapeNFeed/to scrape a
> webpage and produce a RSS feed. ScrapeNFeed uses a pickle file to
> store information/history about this feed. The code below works fine
> on the 1st run when the pickle file does not exist, but after it gets
> created I get the following error:
>
> "File "/home/robsan/run/lib/python2.6/pickle.py", line 1126, in
> find_class
>     klass = getattr(mod, name)
> AttributeError: 'module' object has no attribute 'SSDFeed'"
>
> Code on controllers/default.py:
>
> def feed():
>     class SSDFeed(ScrapeNFeed.ScrapedFeed):
>
>         def HTML2RSS(self, headers, body):
>         [...]
>
>     SSDFeed.load(<parameters>)
>
> Any ideas, please?
>
> Roberto

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to