Missing six module

Issue #127 resolved
Paul Rentschler created an issue

Following the release version in a virtualenv instructions, I did the

pip install kallithea

followed by

paster make-config Kallithea my.ini

which resulted in the traceback:

Traceback (most recent call last):
  File "/opt/kallithea/venv/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/opt/kallithea/venv/local/lib/python2.7/site-packages/paste/script/command.py", line 103, in run
    command = commands[command_name].load()
  File "/opt/kallithea/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/opt/kallithea/venv/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 17, in <module>
    import paste.script.templates
  File "/opt/kallithea/venv/local/lib/python2.7/site-packages/paste/script/templates.py", line 9, in <module>
    from paste.util.template import paste_script_template_renderer
  File "/opt/kallithea/venv/local/lib/python2.7/site-packages/paste/util/template.py", line 34, in <module>
    import six
ImportError: No module named six

Running:

pip install six

Solved the problem.

Comments (8)

  1. Mads Kiilerich

    :-(

    That must be a an undeclared dependency in paste. But I also use PasteScript 1.7.5 and don't see any problem. Perhaps something else happened to have installed it but no longer does.

    Please, can you report it to PasteScript? Then we will have to figure out if we should add a workaround ...

  2. Victor Stinner

    Could you please try the development branch of Paste? I moved the six dependency from extras_require to install_requires.

  3. Marc Abramowitz

    Yep, I just did:

    $ .tox/py27-pytest/bin/pip install 'hg+ssh://hg@bitbucket.org/ianb/paste'
    ...
    $ tox -e py27
    ...
      py27: commands succeeded
      congratulations :)
    

    Problem fixed. Please push out a new version to PyPI with that fix! Thank you!

  4. Victor Stinner

    Problem fixed. Please push out a new version to PyPI with that fix! Thank you!

    Cool. I just released Paste 2.0.1. More Python 3 tests pass.

    Oh. I don't see how to close the issue!?

  5. Victor Stinner

    Oh. I don't see how to close the issue!?

    Hu. I didn't notice that the issue was reported on kallithea bug tracker, sorry :-) I expected an issue on the Paste project :-)

  6. Log in to comment