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