Error when trying Scrapy 0.10 shell

111 views
Skip to first unread message

chaitanyasai

unread,
Sep 11, 2010, 3:01:53 AM9/11/10
to scrapy-users
I get the following error:

IOError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
packages/Scrapy-0.10-py2.6.egg/scrapy/core/downloader/responsetypes/
mime.types'

Any ideas why? I've been using scrapy 0.7 on my desktop without any
problems (installed 0.10 on my laptop).

Thanks!

chaitanyasai

unread,
Sep 11, 2010, 3:13:28 AM9/11/10
to scrapy-users
Solved this by just copying over mime.types to this location. Guess
setup.py doesn't automatically do this

Pablo Hoffman

unread,
Sep 11, 2010, 3:43:42 AM9/11/10
to scrapy...@googlegroups.com
Hi chaitanyasai,

Thanks for reporting this so quickly. It seems the Ubuntu package and the
Windows installer were, in fact, including that file, but not other
distributions (source tarball, or using setup.py install) which made me
overlooked it in the pre-release tests.

Given that this issue was reported so quickly I've decided to rebuild the 0.10
release including this missing file. Here's the change:
http://dev.scrapy.org/changeset/2310:3b32720c96a3

The new release files are already published.

Thanks again,
Pablo.

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

Reply all
Reply to author
Forward
0 new messages