Hi Stephen,

Hmm, that's concerning. My upgrade simulations aren't reproducing that.

The same issue should be hit for any 1.6 release. 

Is this for the packages or FedoraHosted?

It almost sounds like the syncdb didn't set up the site app. We're there any 
warnings? Do you see those in the database?

Christian


On Apr 23, 2012, at 8:32, Stephen Gallagher <step...@gallagherhome.com> wrote:

> I'm getting the following error while trying to upgrade my 1.5.7 install
> to the newer 1.6.5 package during 'rb-site upgrade'.
> 
> I am using django_evolution 0.6.7. This error is resulting in an outage
> situation, so I could really use some help quickly :(
> 
> 
>  File "/usr/bin/rb-site", line 9, in <module>
>    load_entry_point('ReviewBoard==1.6.5', 'console_scripts',
> 'rb-site')()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py",
> line 1760, in main
>    command.run()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py",
> line 1650, in run
>    site.migrate_database()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py",
> line 353, in migrate_database
>    self.run_manage_command("evolve", ["--noinput", "--execute"])
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py",
> line 469, in run_manage_command
>    execute_manager(reviewboard.settings, [__file__, cmd] + params)
>  File
> "/usr/lib/python2.6/site-packages/django/core/management/__init__.py",
> line 438, in execute_manager
>    utility.execute()
>  File
> "/usr/lib/python2.6/site-packages/django/core/management/__init__.py",
> line 379, in execute
>    self.fetch_command(subcommand).run_from_argv(self.argv)
>  File
> "/usr/lib/python2.6/site-packages/django/core/management/base.py", line
> 191, in run_from_argv
>    self.execute(*args, **options.__dict__)
>  File
> "/usr/lib/python2.6/site-packages/django/core/management/base.py", line
> 220, in execute
>    output = self.handle(*args, **options)
>  File
> "/usr/lib/python2.6/site-packages/django_evolution/management/commands/evolve.py",
>  line 60, in handle
>    self.evolve(*app_labels, **options)
>  File
> "/usr/lib/python2.6/site-packages/django_evolution/management/commands/evolve.py",
>  line 140, in evolve
>    database))
>  File "/usr/lib/python2.6/site-packages/django_evolution/mutations.py",
> line 426, in mutate
>    return self.add_column(app_label, proj_sig, database)
>  File "/usr/lib/python2.6/site-packages/django_evolution/mutations.py",
> line 434, in add_column
>    self.field_attrs, model)
>  File "/usr/lib/python2.6/site-packages/django_evolution/mutations.py",
> line 33, in create_field
>    related_model_sig = proj_sig[related_app_name][related_model_name]
> KeyError: 'site'
> 
> 
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to