setup glance in eclipse

Asked by Hu

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/", line 1397, in <module>['file'], None, None)
  File "/usr/lib/eclipse/plugins/org.python.pydev_2.7.1.2012100913/pysrc/", 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/", line 29, in <module>
    from paste import deploy
ImportError: cannot import name deploy

Question information

English Edit question
Glance Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
yong sheng gong (gongysh) said :

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.