crawley icon indicating copy to clipboard operation
crawley copied to clipboard

missing dependencies

Open MrTango opened this issue 13 years ago • 5 comments

Hi,

there are some missing dependencies on master branch. If i try to use the shell, the follwoing packages are missing:

  • pymongo
  • couchdb
  • PyQt4

MrTango avatar Jul 05 '12 09:07 MrTango

Thanks,

The dependencies pymongo and couchdb are now added. The PyQt4 can't be solved by the setup.py so I can't add it.

If you use ubuntu you can download it by running -> apt-get install python-qt4

jmg avatar Jul 06 '12 03:07 jmg

Thx, but i use Debian and i already installed python-qt4 und symlinked it into my virtualenv. But python-sip was also missing.

Now i got this trace:

$ crawley shell http://inqbus.de
Traceback (most recent call last):
  File "/home/maik/.virtualenvs/crawley/bin/crawley", line 5, in <module>
    pkg_resources.run_script('crawley==0.2.4', 'crawley')
  File "/home/maik/.virtualenvs/crawley/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/maik/.virtualenvs/crawley/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 1235, in run_script
    execfile(script_filename, namespace, namespace)
  File "/home/maik/.virtualenvs/crawley/lib/python2.7/site-packages/crawley-0.2.4-py2.7.egg/EGG-INFO/scripts/crawley", line 4, in <module>
    manage()
  File "/home/maik/.virtualenvs/crawley/local/lib/python2.7/site-packages/crawley-0.2.4-py2.7.egg/crawley/manager/__init__.py", line 25, in manage
    run_cmd(sys.argv)
  File "/home/maik/.virtualenvs/crawley/local/lib/python2.7/site-packages/crawley-0.2.4-py2.7.egg/crawley/manager/__init__.py", line 18, in run_cmd
    cmd.checked_execute()
  File "/home/maik/.virtualenvs/crawley/local/lib/python2.7/site-packages/crawley-0.2.4-py2.7.egg/crawley/manager/commands/command.py", line 50, in checked_execute
    self.execute()
  File "/home/maik/.virtualenvs/crawley/local/lib/python2.7/site-packages/crawley-0.2.4-py2.7.egg/crawley/manager/commands/shell.py", line 33, in execute
    shell = IPython.Shell.IPShellEmbed(argv=[], user_ns={ 'response' : response })
AttributeError: 'module' object has no attribute 'Shell'

MrTango avatar Jul 06 '12 10:07 MrTango

It seems that the ipython version that you are using doesn't have the Shell module. I tested and it's working with 0.10

jmg avatar Jul 06 '12 14:07 jmg

On 06.07.2012 16:34, Juan Manuel García wrote:

It seems that the ipython version that you are using doesn't have the Shell module. I tested and it's working with 0.10


Reply to this email directly or view it on GitHub: https://github.com/jmg/crawley/issues/12#issuecomment-6806573 i had ipython0.13, but with 0.10 it works now, thx.

regards maik

MrTango avatar Jul 11 '12 11:07 MrTango

ok, I have to see why they removed that attribute in 0.13 then. Thanks!

jmg avatar Jul 11 '12 14:07 jmg