Don't use pip. Use easy_install. I don't know that pip supports Python
entrypoints.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Tue, Jul 17, 2012 at 2:41 PM, tchap <ondr...@salsitasoft.com> wrote:

> Difficult to remember how I installed it. Used virtualenv to create the
> environment, as usual. Then pip install ReviewBoard.
>
> For upgrade I always do pip install --upgrade ReviewBoard, then rb-site
> upgrade site.
>
> Can try to reinstall it and see if anything gets better. Database will
> stay where it is, so it will be easy to set up...
>
> And I use uWSGI, not Apache, with virtualenv option pointing to my
> virtualenv.
>
> Cheers,
> Ondra
>
>
> On Tuesday, July 17, 2012 11:27:57 PM UTC+2, Christian Hammond wrote:
>>
>> Can you go over how you installed Review Board, and how you upgraded it?
>>
>> Were there any changes you made to the virtualenv before/after the
>> upgrade? And are you 100% sure that Apache is running it fully out of that
>> virtualenv? It looks like it can't find the registrations.
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Tue, Jul 17, 2012 at 2:25 PM, tchap <ondr...@salsitasoft.com> wrote:
>>
>>> Ah, I am stupid, cut the log message too early, the first one ends with
>>>
>>> DistributionNotFound: PIL
>>>
>>> Strange, since PIL is installed:
>>>
>>> PIL                       - Python Imaging Library
>>>   INSTALLED: 1.1.7
>>>   LATEST:    1.1.6
>>>
>>> Anyway, I really have no idea what is happening so I am sorry if I am
>>> posting something completely off :-)
>>>
>>> Cheers,
>>> Ondra
>>>
>>> On Tuesday, July 17, 2012 10:49:00 PM UTC+2, tchap wrote:
>>>>
>>>> Hi Christian,
>>>>
>>>> Thanks a lot for the reply.
>>>>
>>>> It's Python 2.7.1, Ubuntu 11.04, using virtualenv for Review Board.
>>>>
>>>> I am sorry I didn't check the logs earlier, it of course holds probably
>>>> the right information. But I still don't know what to do :-)
>>>>
>>>> 2012-07-17 22:27:51,890 - ERROR - Error loading authentication backend
>>>> {ldap|ad|nis|x509}: PIL # get the same for all the backends mentioned
>>>> Traceback (most recent call last):
>>>>   File "/var/www/wsgi/reviewboard/**pyt**honenv/lib/python2.7/site-**
>>>> pack**ages/reviewboard/accounts/**back**ends.py", line 526, in
>>>> get_registered_auth_backends
>>>>     yield entry.name, entry.load()
>>>>   File "/var/www/wsgi/reviewboard/**pyt**honenv/lib/python2.7/site-**
>>>> pack**ages/pkg_resources.py", line 1988, in load    if require:
>>>> self.require(env, installer)
>>>>   File "/var/www/wsgi/reviewboard/**pyt**honenv/lib/python2.7/site-**
>>>> pack**ages/pkg_resources.py", line 2001, in require
>>>>     working_set.resolve(self.dist.****requires(self.extras),env,**inst*
>>>> *aller))  File "/var/www/wsgi/reviewboard/**pyt**
>>>> honenv/lib/python2.7/site-**pack**ages/pkg_resources.py", line 584, in
>>>> resolve
>>>>     raise DistributionNotFound(req)
>>>>
>>>> And then, for all the hosting services, I get
>>>>
>>>> ERROR:root:Unable to load repository hosting service github =
>>>> reviewboard.hostingsvcs.**github**:GitHub: PIL
>>>> 2012-07-17 12:38:52,179 - ERROR - Unable to load repository hosting
>>>> service github = reviewboard.hostingsvcs.**github**:GitHub: PIL
>>>>
>>>> Thanks a lot again!
>>>>
>>>> Cheers,
>>>> Ondra
>>>>
>>>> On Tuesday, July 17, 2012 8:10:23 PM UTC+2, Christian Hammond wrote:
>>>>>
>>>>> Hi tchap,
>>>>>
>>>>> Items for that list are generated based on Python modules that are
>>>>> registered on the system during package installation. These are called
>>>>> Entrypoints. It sounds like this registration is missing.
>>>>>
>>>>> What version of Python are you using, and which OS/distribution?
>>>>>
>>>>> Can you scan your reviewboard.log and your web server's log file for
>>>>> any errors?
>>>>>
>>>>> Christian
>>>>>
>>>>>
>>>>>
>>>>> On Jul 17, 2012, at 4:36, tchap <ondr...@salsitasoft.com> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I am having a problem with our Review Board instance. I've upgraded
>>>>> from 1.6.4 (I think) to 1.6.9 recently, because of the GitHub issue, and
>>>>> trying to set up repositories correctly to communicate with GitHub, I've
>>>>> discovered that the Hosted service list is completely empty. How is that
>>>>> possible? Is it possible that DB is somehow messed up?  And to be honest, 
>>>>> I
>>>>> don't know if there were any items in that droplist before the upgrade, so
>>>>> I have no idea when it got messed up. Any ideas what to do about it? What
>>>>> info/dump do you need, do you want me to provide?
>>>>>
>>>>> Thanks a lot!
>>>>>
>>>>> --
>>>>> Want to help the Review Board project? Donate today at
>>>>> http://www.reviewboard.org/**don**ate/<http://www.reviewboard.org/donate/>
>>>>> Happy user? Let us know at 
>>>>> http://www.reviewboard.org/**use**rs/<http://www.reviewboard.org/users/>
>>>>> -~----------~----~----~----~--****----~----~------~--~---
>>>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@
>>>>> **google**groups.com <reviewboard+unsubscr...@googlegroups.com>
>>>>> For more options, visit this group at http://groups.google.com/**group
>>>>> **/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>>>>
>>>>>   --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/>
>>> Happy user? Let us know at 
>>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/>
>>> -~----------~----~----~----~--**----~----~------~--~---
>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@**
>>> googlegroups.com <reviewboard%2bunsubscr...@googlegroups.com>
>>> For more options, visit this group at http://groups.google.com/**
>>> group/reviewboard?hl=en<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
>

-- 
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