Server down?

18 views
Skip to first unread message

Emil

unread,
May 4, 2013, 11:22:45 AM5/4/13
to scrap...@googlegroups.com
i get this error from all my scrapers

*** internalwarning: <class 'twisted.internet.error.ConnectionLost'>


what can i do?


https://scraperwiki.com/scrapers/craigs2/

Zarino Zappia

unread,
May 4, 2013, 2:00:39 PM5/4/13
to scrap...@googlegroups.com
Seems to be working for me now. When did the error show up?

Zarino Zappia
VP of Product, ScraperWiki
@zarino




--
You received this message because you are subscribed to the Google Groups "ScraperWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scraperwiki...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Emil

unread,
May 4, 2013, 2:24:07 PM5/4/13
to scrap...@googlegroups.com
Hey yeah its working for me now as well, and thanks fot the quick response.

The error showed up at around 16.00 today

Emil

unread,
May 4, 2013, 2:26:36 PM5/4/13
to scrap...@googlegroups.com
I have another problem now with

https://scraperwiki.com/scrapers/craigs-whirlpool/edit/

i get the:

error: [Errno 32] Broken pipe


what does this mean?

Zarino Zappia

unread,
May 4, 2013, 2:31:27 PM5/4/13
to scrap...@googlegroups.com
The errors are related, and to do with communication being lost between your browser and the server that runs your code.

Broken pipe is usually intermittent – is it happening constantly for you?

Z

Emil

unread,
May 5, 2013, 8:56:48 AM5/5/13
to scrap...@googlegroups.com
I was declaring a variable from a value from a value that didnt exist in the database.
 
last_page = scraperwiki.sqlite.get_var("last_page")

Once i removed that line the brokenpipe error went away.


Im now running into "CPUTimeExceededError: ScraperWiki CPU time exceeded". Im currently trying to rebuild the scrapers to save their progress so they can pick up failed runs.
But im Wondering what does this error mean? Im only saving very light weight craigslist posts.

https://scraperwiki.com/scrapers/craigs-bosch/

Thanks / Emil

Zarino Zappia

unread,
May 5, 2013, 2:42:01 PM5/5/13
to scrap...@googlegroups.com
Here's an FAQ about the CPUTimeout error:


I've taken a quick glance at your scraper, and I can't see any quick wins for making it more efficient. Anybody else got any ideas?

Z

Svavar Kjarrval

unread,
May 5, 2013, 3:12:01 PM5/5/13
to scrap...@googlegroups.com
What I'd do would be to separate the functionality, at least in your case. Let one script worry about collecting the ad urls and another to collect the ad contents. That way, even if the former script fails, the other will still be processing ads. And besides, if the urls are uniform, you can also avoid requesting the same ad more than once.

- Svavar Kjarrval
signature.asc
Reply all
Reply to author
Forward
0 new messages