Package: nikola
Version: 5.4.2-1
Severity: important

If I run:

  $ nikola init blog --demo
  $ cd blog
  $ nikola install_theme -l

I get a stack trace:

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/doit/doit_cmd.py", line 102, in run
      return self.sub_cmds[command].parse_execute(args)
    File "/usr/lib/python2.7/dist-packages/doit/cmd_base.py", line 58, in 
parse_execute
      return self.execute(params, args)
    File "/usr/lib/python2.7/dist-packages/nikola/plugin_categories.py", line 
68, in execute
      self._execute(options, args)
    File 
"/usr/lib/python2.7/dist-packages/nikola/plugins/command_install_theme.py", 
line 77, in _execute
      data = requests.get(url).text
  AttributeError: 'NoneType' object has no attribute 'get'

"requests" is None, and seems to come from here:

  try:
      import requests
  except ImportError:
      requests = None  # NOQA

Missing dependency? dependency not versioned correctly? missing file? where is 
this requests module supposed to come from?

Thanks,
Carlo



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (995, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.6-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages nikola depends on:
ii  libjs-jquery             1.7.2+dfsg-1
ii  libjs-jquery-colorbox    1.4.10-1
ii  libjs-jquery-slides      8-2
ii  libjs-twitter-bootstrap  2.0.2+dfsg-2
ii  python                   2.7.3-4
ii  python-configparser      3.3.0r2-1
ii  python-docutils          0.8.1-8
ii  python-doit              0.20.0-1
ii  python-imaging           1.1.7-4
ii  python-lxml              2.3.2-1
ii  python-mako              0.7.0-1.1
ii  python-pygments          1.5+dfsg-1
ii  python-pyrss2gen         1.0.0-9
ii  python-tz                2012c-1
ii  python-unidecode         0.04.9-1
ii  python-yapsy             1.10.1-2
ii  python2.7                2.7.3-6

Versions of packages nikola recommends:
ii  python-webassets  3:0.8-1

Versions of packages nikola suggests:
ii  python-jinja2  2.6-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to