Hi Rob,

Can you run:

$ python
>>> import reviewboard
>>> print reviewboard.__file_

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst <backhur...@googlemail.com>
wrote:

> Hi Christian,
>
> Sorry for the slow reply.
>
> It was installed using easy_install, then the DB restored from our live
> reviewboard server.
> There is no reviewboard dir when running the rb-site upgrade.
>
> Thanks
> Rob
>
> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>
>> Hi Rob,
>>
>> How was Review Board installed? It looks like there's some weirdness
>> going on with the module.
>>
>> Can you verify that there's no "reviewboard" directory in the directory
>> you're in when running rb-site upgrade?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>> revie...@googlegroups.com> wrote:
>>
>>> Hi,
>>>
>>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site
>>> upgrade' fails...
>>>
>>> # rb-site upgrade /var/www/my-site/
>>> Traceback (most recent call last):
>>>   File "/usr/bin/rb-site", line 9, in <module>
>>>     load_entry_point('ReviewBoard==2.5.4', 'console_scripts',
>>> 'rb-site')()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 1922, in main
>>>     command.run()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 1704, in run
>>>     diff_dedup_needed = site.get_diff_dedup_needed()
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>> line 477, in get_diff_dedup_needed
>>>     from reviewboard.diffviewer.models import FileDiff
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>> line 14, in <module>
>>>     from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
>>>   File
>>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>> line 19, in <module>
>>>     from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
>>> FileNotFoundError
>>> ImportError: No module named scmtools.core
>>>
>>> This is running on RHEL 6.7.
>>> Doe anyone have any ideas how to fix this?
>>>
>>> Thanks
>>> Rob
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://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.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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