Ahaa, that looks better...

>>> print reviewboard.__file__
/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc

Thanks
Rob

On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>
> Sorry, typo. Should have been reviewboard.__file__
>
> (That's two underscores on each side.)
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst <backh...@googlemail.com 
> <javascript:>> wrote:
>
>> Hi Christian,
>>
>> Here you go...
>>
>> # python
>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import reviewboard
>> >>> print reviewboard.__file_
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> AttributeError: 'module' object has no attribute '__file_'
>> >>>
>>
>> Obviously something not quite right with the installation..?
>>
>> Thanks
>> Rob
>>
>>
>> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>>
>>> 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 <backh...@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