Hi Christian,

I can't risk taking RB down. I've cloned the RB directory and the mysql DB 
it's connected to but haven't had much luck getting the clone to point to 
the new database. Am I missing an obvious command in rb-site manage?

On Tuesday, September 23, 2014 1:20:10 PM UTC-5, Christian Hammond wrote:
>
> Hey Austin, 
>
> There was another issue reported recently with 'importlib'-related issues, 
> but we haven't had any responses yet, so we'll have to do some 
> investigating with your server. 
>
> I think the culprit is the Markdown module. Can you try downgrading to 
> Markdown-2.3.1? You can 
> delete /usr/lib/python2.6/site-packages/Markdown-2.5-py2.6.egg and then do: 
>
>     easy_install Markdown==2.3.1 
>
> This is the version I'm using, so I know it works at least. 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com <javascript:> 
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>
>
> On September 23, 2014 at 8:33:28 AM, Austin Hanson (ber...@gmail.com 
> <javascript:>) wrote: 
> > Trying to upgrade RB from 1.7.25 to 2.0.7 and having some problems. 
> >   
> > *[root@codereview www]#* uname -morvs 
> > Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 
> > GNU/Linux 
> >   
> > *[root@codereview www]#* python --version 
> > Python 2.6.6 
> >   
> > *[root@codereview www]#* rb-site --version 
> > rb-site 2.0.7 
> >   
> > *[root@codereview www]#* django-admin --version 
> > 1.6.7 
> >   
> > *[root@codereview www]#* rb-site upgrade reviewboard 
> > Rebuilding directory structure 
> > Updating database. This may take a while. 
> >   
> > The log output below, including warnings and errors, 
> > can be ignored unless upgrade fails. 
> >   
> > ------------------ ------------------ 
> >   
> > [!] Unable to execute the manager command syncdb: No module named 
> > importlib 
> >   
> > [!] Unable to execute the manager command registerscmtools: No module 
> > named importlib 
> >   
> > [!] Unable to execute the manager command evolve: No module named 
> > importlib 
> > ------------------- ------------------- 
> >   
> > Resetting in-database caches. 
> >   
> > [!] Unable to execute the manager command fixreviewcounts: cannot 
> > import name FileAttachment 
> >   
> > Upgrade complete! 
> >   
> > There are duplicate copies of diffs in your database that can be 
> condensed. 
> > These are the result of posting several iterations of a change for 
> review on 
> > older versions of Review Board. 
> >   
> > Removing duplicate diff data will save space in your database and speed 
> up 
> > future upgrades. 
> >   
> > To condense duplicate diffs, type the following: 
> >   
> > $ rb-site manage /var/www/reviewboard condensediffs 
> >   
> > *[root@codereview www]#* tail -f /var/log/httpd/error_log 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] from 
> > reviewboard.admin.widgets import increment_sync_num, referer: 
> > http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] File 
> > 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/admin/widgets.py",
>  
>   
> > line 17, in , referer: http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] from 
> > reviewboard.attachments.models import FileAttachment, referer: 
> > http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] File 
> > 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/attachments/models.py",
>  
>   
> > line 12, in , referer: http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] from 
> > reviewboard.attachments.mimetypes import MimetypeHandler, referer: 
> > http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] File 
> > 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/attachments/mimetypes.py",
>  
>   
> > line 17, in , referer: http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] import 
> > markdown, referer: http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] File 
> > 
> "/usr/lib/python2.6/site-packages/Markdown-2.5-py2.6.egg/markdown/__init__.py",
>  
>   
> > line 40, in , referer: http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] import 
> > importlib, referer: http://cr.carsforsale.local/r/ 
> > [Tue Sep 23 15:12:02 2014] [error] [client 192.168.2.13] 
> > ImproperlyConfigured: Error importing module 
> reviewboard.admin.middleware: 
> > "No module named importlib", referer: http://cr.carsforsale.local/r/ 
> >   
> > -- 
> > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ 
> > --- 
> > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ 
> > --- 
> > Happy user? Let us know at http://www.reviewboard.org/users/ 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "reviewboard"   
> > group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to reviewboard...@googlegroups.com <javascript:>.   
> > For more options, visit https://groups.google.com/d/optout. 
> >   
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to