<div dir="ltr">Package: python-scrapy<br>Version: 0.22.2-3<br>Severity: important<br><br>Dear Maintainer,<br><br>*** Reporter, please consider answering these questions, where appropriate ***<br><br> * What led up to the situation?<br>
Installing python-scrapy and then running 'scrapy shell<br><a href="http://doc.scrapy.org/en/latest/_static/selectors-sample1.html">http://doc.scrapy.org/en/latest/_static/selectors-sample1.html</a>'<br><br>
* What exactly did you do (or not do) that was effective (or ineffective)?<br> Run the command 'scrapy shell <a href="http://doc.scrapy.org/en/latest/_static">http://doc.scrapy.org/en/latest/_static</a><br>/selectors-sample1.html'<br>
<br> * What was the outcome of this action?<br> Stack trace:<br>$ scrapy shell <a href="http://doc.scrapy.org/en/latest/_static/selectors-sample1.html">http://doc.scrapy.org/en/latest/_static/selectors-sample1.html</a><br>
Traceback (most recent call last):<br> File "/usr/bin/scrapy", line 4, in <module><br> execute()<br> File "/usr/lib/python2.7/dist-packages/scrapy/cmdline.py", line 122, in<br>execute<br> cmds = _get_commands_dict(settings, inproject)<br>
File "/usr/lib/python2.7/dist-packages/scrapy/cmdline.py", line 46, in<br>_get_commands_dict<br> cmds = _get_commands_from_module('scrapy.commands', inproject)<br> File "/usr/lib/python2.7/dist-packages/scrapy/cmdline.py", line 29, in<br>
_get_commands_from_module<br> for cmd in _iter_command_classes(module):<br> File "/usr/lib/python2.7/dist-packages/scrapy/cmdline.py", line 20, in<br>_iter_command_classes<br> for module in walk_modules(module_name):<br>
File "/usr/lib/python2.7/dist-packages/scrapy/utils/misc.py", line 68, in<br>walk_modules<br> submod = import_module(fullpath)<br> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module<br>
__import__(name)<br> File "/usr/lib/python2.7/dist-packages/scrapy/commands/bench.py", line 2, in<br><module><br> from scrapy.tests.spiders import FollowAllSpider<br> File "/usr/lib/python2.7/dist-packages/scrapy/tests/spiders.py", line 11, in<br>
<module><br> from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor<br> File "/usr/lib/python2.7/dist-<br>packages/scrapy/contrib/linkextractors/sgml.py", line 7, in <module><br> from scrapy.selector import Selector<br>
File "/usr/lib/python2.7/dist-packages/scrapy/selector/__init__.py", line 4,<br>in <module><br> from scrapy.selector.unified import *<br> File "/usr/lib/python2.7/dist-packages/scrapy/selector/unified.py", line 13,<br>
in <module><br> from .csstranslator import ScrapyHTMLTranslator, ScrapyGenericTranslator<br> File "/usr/lib/python2.7/dist-packages/scrapy/selector/csstranslator.py",<br>line 1, in <module><br> from cssselect import GenericTranslator, HTMLTranslator<br>
ImportError: No module named cssselect<br><br> * What outcome did you expect instead?<br> Interactive scrapy shell<br><br><br><br><br>-- System Information:<br>Debian Release: jessie/sid<br> APT prefers testing<br>
APT policy: (900, 'testing'), (600, 'stable'), (500, 'testing-updates'), (500, 'stable-updates'), (500, 'unstable')<br>Architecture: amd64 (x86_64)<br><br>Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)<br>
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages python-scrapy depends on:<br>ii python 2.7.5-5<br>ii python-boto 2.27.0-1<br>
ii python-libxml2 2.9.1+dfsg1-3<br>ii python-queuelib 1.1.1-1<br>ii python-twisted-conch 1:13.2.0-1<br>ii python-twisted-core 13.2.0-1<br>ii python-twisted-mail 13.2.0-1<br>ii python-twisted-web 13.2.0-1<br>
ii python-w3lib 1.5-1<br><br>Versions of packages python-scrapy recommends:<br>ii ipython 1.2.1-2<br>ii python-django 1.6.5-1<br>pn python-guppy <none><br>ii python-imaging 2.3.0-2<br>
ii python-lxml 3.3.2-1<br>ii python-mysqldb 1.2.3-2<br>ii python-pygments 1.6+dfsg-1<br><br>Versions of packages python-scrapy suggests:<br>ii python-openssl 0.13.1-2<br><br>-- no debconf information<br></div>