setup glance in eclipse

Asked by Hu on 2012-10-17

I tried to setup glance in Eclipse, but i got a problem when i tried to debug it.

pydev debugger: starting
Traceback (most recent call last):
  File "/usr/lib/eclipse/plugins/org.python.pydev_2.7.1.2012100913/pysrc/pydevd.py", line 1397, in <module>
    debugger.run(setup['file'], None, None)
  File "/usr/lib/eclipse/plugins/org.python.pydev_2.7.1.2012100913/pysrc/pydevd.py", line 1090, in run
    pydev_imports.execfile(file, globals, locals) #execute the script
  File "/home/openstack/glance/bin/glance-registry", line 39, in <module>
    from glance.common import config
  File "/home/openstack/glance/glance/common/config.py", line 29, in <module>
    from paste import deploy
ImportError: cannot import name deploy

Question information

Language:
English Edit question
Status:
Answered
For:
Glance Edit question
Assignee:
No assignee Edit question
Last query:
2012-10-17
Last reply:
2012-10-31
yong sheng gong (gongysh) said : #1

Can u run it? it seems you are lacking paste.deploy module.

Can you help with this problem?

Provide an answer of your own, or ask Hu for more information if necessary.

To post a message you must log in.