Re: Upgrade problem 1.0.5 to 1.5 RC2
The carriage returns in the settings fields of django_project_version were indeed the problem. I converted all cr/lf pairs to lf and the upgrade worked perfectly. Thanks for the help. On Oct 1, 4:52 pm, D Krueger wrote: > I've tracked down the source of the problem, but I don't know of a > solution (if there is one). > > I invoked rb-site on the test site we created when first testing > 1.0.5. > It worked perfectly. > > So I started using pdb to investigate where rb-site was failing on our > standard site, which led me to: > django_evolution/management/__init__.py(54)evolution()->None -> > old_proj_sig = pickle.loads(str(latest_version.signature)) > > Then I investigated the differences in the signature values in > django_project_version for the working and non-working > installations. The non-working one had ^M after every line because it > had been migrated from a Windows server. > > My suspicion is that the signature pickled by the Windows server isn't > compatible with the Linux server. Is that a possbility? > > I'm at a loss as to how to proceed. Any help would be much appreciated > (as is the help already given). -- 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
I've tracked down the source of the problem, but I don't know of a solution (if there is one). I invoked rb-site on the test site we created when first testing 1.0.5. It worked perfectly. So I started using pdb to investigate where rb-site was failing on our standard site, which led me to: django_evolution/management/__init__.py(54)evolution()->None -> old_proj_sig = pickle.loads(str(latest_version.signature)) Then I investigated the differences in the signature values in django_project_version for the working and non-working installations. The non-working one had ^M after every line because it had been migrated from a Windows server. My suspicion is that the signature pickled by the Windows server isn't compatible with the Linux server. Is that a possbility? I'm at a loss as to how to proceed. Any help would be much appreciated (as is the help already given). -- 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
On Sep 30, 11:23 am, D Krueger wrote: > This is on Fedora 10 with Django 1.1.1. Just as an aside, you know that Fedora 10 was declared end-of-life in December of last year, right? It's not a safe platform to deploy any server on, as it no longer receives security patches or bugfixes. On Fedora 13, I maintain 1.0.x ReviewBoard packages (as well as djblets and django_evolution) in the main Fedora repositories, so you will probably have better luck with those. Fedora 14 will be carrying ReviewBoard 1.5 packages as well. -- 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
You didn't. Sorry, I thought it would have outputted something different there. Well, something is installed wrong, and it's hard to say what off-hand, but I would suspect either Djblets or Django is not installed correctly with the right version and right Python version. Can you do this: $ python >>> import django, djblets >>> print django.__file__ >>> print djblets.__file__ >>> print django.VERSION >>> print djblets.__version__ And paste the output. Thanks, Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Sep 30, 2010 at 5:16 PM, D Krueger wrote: > I'm sorry, I must be missing something. Here is what I did and the > output produced: > > $ sudo rb-site manage /srv/rb/review syncdb > There are unapplied evolutions for diffviewer. > There are unapplied evolutions for reviews. > There are unapplied evolutions for scmtools. > > [!] Unable to execute the manager command syncdb: No module named >fields > $ > > I apologize for being dense. I just don't understand where I erred. > > > On Sep 30, 6:20 pm, Christian Hammond wrote: > > It needs to be the command I pasted. Running just rb-site won't help to > > debug it. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > > > > > > On Thu, Sep 30, 2010 at 3:06 PM, D Krueger wrote: > > > The full output is: > > > Upgrading Review Board from 1.0.5 to 1.5 RC2 > > > There are unapplied evolutions for diffviewer. > > > There are unapplied evolutions for reviews. > > > There are unapplied evolutions for scmtools. > > > > > [!] Unable to execute the manager command syncdb: No module named > > >fields > > > > > On Sep 30, 5:27 pm, Christian Hammond wrote: > > > > What happens if you `rb-site manage /path/to/site syncdb` ? Can you > see a > > > > full backtrace? > > > > > > Christian > > > > > > -- > > > > Christian Hammond - chip...@chipx86.com > > > > Review Board -http://www.reviewboard.org > > > > VMware, Inc. -http://www.vmware.com > > > > > > On Thu, Sep 30, 2010 at 2:05 PM, D Krueger > wrote: > > > > > On Sep 30, 4:38 pm, Christian Hammond wrote: > > > > > > How did you install Review Board? > > > > > > > I used easy_install to do the installation. > > > > > > > > What version of Djblets do you have installed? > > > > > > > The installation upgraded Djblets to 0.6.4. > > > > > > > > On Thu, Sep 30, 2010 at 8:23 AM, D Krueger > > > wrote: > > > > > > > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to > 1.5 > > > > > > > RC2. The installation works fine. When I attempt to execute > > > "rb-site > > > > > > > upgrade", it fails. > > > > > > > > > The errors are: > > > > > > > [!] Unable to execute the manager command syncdb: No module > named > > > > > > >fields > > > > > > > > > [!] Unable to execute the manager command evolve: No module > named > > > > > > >fields > > > > > > > > > This is on Fedora 10 with Django 1.1.1. > > > > > > > > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the > same > > > > > > > errors. > > > > > > > > > Any ideas? > > > > > > > > > -- > > > > > > > Want to help the Review Board project? Donate today at > > > > > > >http://www.reviewboard.org/donate/ > > > > > > > Happy user? Let us know athttp://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-Hidequotedtext - > > > > > > > > - Show quoted text - > > > > > > > -- > > > > > Want to help the Review Board project? Donate today at > > > > >http://www.reviewboard.org/donate/ > > > > > Happy user? Let us know athttp://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-Hide quoted text - > > > > > > - Show quoted text - > > > > > -- > > > Want to help the Review Board project? Donate today at > > >http://www.reviewboard.org/donate/ > > > Happy user? Let us know athttp://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- Hide quoted text - > > > > - Show quoted text - > > -- > 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/ > -~-
Re: Upgrade problem 1.0.5 to 1.5 RC2
I'm sorry, I must be missing something. Here is what I did and the output produced: $ sudo rb-site manage /srv/rb/review syncdb There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. [!] Unable to execute the manager command syncdb: No module named fields $ I apologize for being dense. I just don't understand where I erred. On Sep 30, 6:20 pm, Christian Hammond wrote: > It needs to be the command I pasted. Running just rb-site won't help to > debug it. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > > > On Thu, Sep 30, 2010 at 3:06 PM, D Krueger wrote: > > The full output is: > > Upgrading Review Board from 1.0.5 to 1.5 RC2 > > There are unapplied evolutions for diffviewer. > > There are unapplied evolutions for reviews. > > There are unapplied evolutions for scmtools. > > > [!] Unable to execute the manager command syncdb: No module named > > fields > > > On Sep 30, 5:27 pm, Christian Hammond wrote: > > > What happens if you `rb-site manage /path/to/site syncdb` ? Can you see a > > > full backtrace? > > > > Christian > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > Review Board -http://www.reviewboard.org > > > VMware, Inc. -http://www.vmware.com > > > > On Thu, Sep 30, 2010 at 2:05 PM, D Krueger wrote: > > > > On Sep 30, 4:38 pm, Christian Hammond wrote: > > > > > How did you install Review Board? > > > > > I used easy_install to do the installation. > > > > > > What version of Djblets do you have installed? > > > > > The installation upgraded Djblets to 0.6.4. > > > > > > On Thu, Sep 30, 2010 at 8:23 AM, D Krueger > > wrote: > > > > > > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to 1.5 > > > > > > RC2. The installation works fine. When I attempt to execute > > "rb-site > > > > > > upgrade", it fails. > > > > > > > The errors are: > > > > > > [!] Unable to execute the manager command syncdb: No module named > > > > > > fields > > > > > > > [!] Unable to execute the manager command evolve: No module named > > > > > > fields > > > > > > > This is on Fedora 10 with Django 1.1.1. > > > > > > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the same > > > > > > errors. > > > > > > > Any ideas? > > > > > > > -- > > > > > > Want to help the Review Board project? Donate today at > > > > > >http://www.reviewboard.org/donate/ > > > > > > Happy user? Let us know athttp://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-Hidequoted text - > > > > > > - Show quoted text - > > > > > -- > > > > Want to help the Review Board project? Donate today at > > > >http://www.reviewboard.org/donate/ > > > > Happy user? Let us know athttp://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-Hide quoted text - > > > > - Show quoted text - > > > -- > > Want to help the Review Board project? Donate today at > >http://www.reviewboard.org/donate/ > > Happy user? Let us know athttp://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- Hide quoted text - > > - Show quoted text - -- 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
It needs to be the command I pasted. Running just rb-site won't help to debug it. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Sep 30, 2010 at 3:06 PM, D Krueger wrote: > The full output is: > Upgrading Review Board from 1.0.5 to 1.5 RC2 > There are unapplied evolutions for diffviewer. > There are unapplied evolutions for reviews. > There are unapplied evolutions for scmtools. > > [!] Unable to execute the manager command syncdb: No module named >fields > > > > On Sep 30, 5:27 pm, Christian Hammond wrote: > > What happens if you `rb-site manage /path/to/site syncdb` ? Can you see a > > full backtrace? > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > > > > > > On Thu, Sep 30, 2010 at 2:05 PM, D Krueger wrote: > > > On Sep 30, 4:38 pm, Christian Hammond wrote: > > > > How did you install Review Board? > > > > > I used easy_install to do the installation. > > > > > > What version of Djblets do you have installed? > > > > > The installation upgraded Djblets to 0.6.4. > > > > > > On Thu, Sep 30, 2010 at 8:23 AM, D Krueger > wrote: > > > > > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to 1.5 > > > > > RC2. The installation works fine. When I attempt to execute > "rb-site > > > > > upgrade", it fails. > > > > > > > The errors are: > > > > > [!] Unable to execute the manager command syncdb: No module named > > > > >fields > > > > > > > [!] Unable to execute the manager command evolve: No module named > > > > >fields > > > > > > > This is on Fedora 10 with Django 1.1.1. > > > > > > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the same > > > > > errors. > > > > > > > Any ideas? > > > > > > > -- > > > > > Want to help the Review Board project? Donate today at > > > > >http://www.reviewboard.org/donate/ > > > > > Happy user? Let us know athttp://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-Hide quoted text - > > > > > > - Show quoted text - > > > > > -- > > > Want to help the Review Board project? Donate today at > > >http://www.reviewboard.org/donate/ > > > Happy user? Let us know athttp://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- Hide quoted text - > > > > - Show quoted text - > > -- > 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
The full output is: Upgrading Review Board from 1.0.5 to 1.5 RC2 There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. [!] Unable to execute the manager command syncdb: No module named fields On Sep 30, 5:27 pm, Christian Hammond wrote: > What happens if you `rb-site manage /path/to/site syncdb` ? Can you see a > full backtrace? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > > > On Thu, Sep 30, 2010 at 2:05 PM, D Krueger wrote: > > On Sep 30, 4:38 pm, Christian Hammond wrote: > > > How did you install Review Board? > > > I used easy_install to do the installation. > > > > What version of Djblets do you have installed? > > > The installation upgraded Djblets to 0.6.4. > > > > On Thu, Sep 30, 2010 at 8:23 AM, D Krueger wrote: > > > > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to 1.5 > > > > RC2. The installation works fine. When I attempt to execute "rb-site > > > > upgrade", it fails. > > > > > The errors are: > > > > [!] Unable to execute the manager command syncdb: No module named > > > > fields > > > > > [!] Unable to execute the manager command evolve: No module named > > > > fields > > > > > This is on Fedora 10 with Django 1.1.1. > > > > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the same > > > > errors. > > > > > Any ideas? > > > > > -- > > > > Want to help the Review Board project? Donate today at > > > >http://www.reviewboard.org/donate/ > > > > Happy user? Let us know athttp://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-Hide quoted text - > > > > - Show quoted text - > > > -- > > Want to help the Review Board project? Donate today at > >http://www.reviewboard.org/donate/ > > Happy user? Let us know athttp://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- Hide quoted text - > > - Show quoted text - -- 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
What happens if you `rb-site manage /path/to/site syncdb` ? Can you see a full backtrace? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Sep 30, 2010 at 2:05 PM, D Krueger wrote: > On Sep 30, 4:38 pm, Christian Hammond wrote: > > How did you install Review Board? > > I used easy_install to do the installation. > > > What version of Djblets do you have installed? > > The installation upgraded Djblets to 0.6.4. > > > > On Thu, Sep 30, 2010 at 8:23 AM, D Krueger wrote: > > > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to 1.5 > > > RC2. The installation works fine. When I attempt to execute "rb-site > > > upgrade", it fails. > > > > > The errors are: > > > [!] Unable to execute the manager command syncdb: No module named > > >fields > > > > > [!] Unable to execute the manager command evolve: No module named > > >fields > > > > > This is on Fedora 10 with Django 1.1.1. > > > > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the same > > > errors. > > > > > Any ideas? > > > > > -- > > > Want to help the Review Board project? Donate today at > > >http://www.reviewboard.org/donate/ > > > Happy user? Let us know athttp://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- Hide quoted text - > > > > - Show quoted text - > > -- > 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
On Sep 30, 4:38 pm, Christian Hammond wrote: > How did you install Review Board? I used easy_install to do the installation. > What version of Djblets do you have installed? The installation upgraded Djblets to 0.6.4. > On Thu, Sep 30, 2010 at 8:23 AM, D Krueger wrote: > > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to 1.5 > > RC2. The installation works fine. When I attempt to execute "rb-site > > upgrade", it fails. > > > The errors are: > > [!] Unable to execute the manager command syncdb: No module named > > fields > > > [!] Unable to execute the manager command evolve: No module named > > fields > > > This is on Fedora 10 with Django 1.1.1. > > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the same > > errors. > > > Any ideas? > > > -- > > Want to help the Review Board project? Donate today at > >http://www.reviewboard.org/donate/ > > Happy user? Let us know athttp://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- Hide quoted text - > > - Show quoted text - -- 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
Re: Upgrade problem 1.0.5 to 1.5 RC2
How did you install Review Board? What version of Djblets do you have installed? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Sep 30, 2010 at 8:23 AM, D Krueger wrote: > I'm trying to upgrade my ReviewBoard installation from 1.0.5 to 1.5 > RC2. The installation works fine. When I attempt to execute "rb-site > upgrade", it fails. > > The errors are: > [!] Unable to execute the manager command syncdb: No module named >fields > > [!] Unable to execute the manager command evolve: No module named >fields > > > This is on Fedora 10 with Django 1.1.1. > > I then tried to upgrade from 1.0.5 to 1.0.9, but received the same > errors. > > Any ideas? > > -- > 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