TRACE nova ScriptError: You can only have one Python script

Asked by eugene lin

recently ,i git pull newest nova source
my OS is precise 12.04
but run "nova-manage db sync" meets following problem:

http://pastebin.com/w2v9PX88

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
eugene lin
Solved:
Last query:
Last reply:
Revision history for this message
Vish Ishaya (vishvananda) said :
#1

My guess would be old *.pyc files in the nova/db/sqlalchemy/migrate_repo/versions/ directory
try deleting all the *.pyc files there.

Vish

On May 13, 2012, at 7:40 PM, eugene lin wrote:

> New question #197126 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/197126
>
> recently ,i git pull newest nova source
> my OS is precise 12.04
> but run "nova-manage db sync" meets following problem:
>
> http://pastebin.com/w2v9PX88
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
eugene lin (linyouqing7) said :
#2

Thanks , I just remove file /usr/local/lib/python2.7/dist-packages/nova-2012.2-py2.7.egg/nova/db/sqlalchemy/migrate_repo/versions/082_zone_to_cell.py

then everything work well