It's possible the patch fixes the problem if you run prepare-dev.py prior
to running `setup.py develop` (generally, you should run the latter first
-- prepare-dev.py is mostly running it to sanity-check). We'll take a look
and see if that fixes this particular problem for development servers.

Neil's issue would involve a different fix, as prepare-dev.py is never
called there. Neil, how did you install Review Board?

Christian

On Sun, Oct 15, 2017 at 10:23 AM, Erik Johansson <[email protected]> wrote:

> Hi again,
>
> At least for prepare-dev.py it seems to be a problem with ordering. As it
> is now, pkg_resources.iter_entry_points("reviewboard.scmtools") does not
> return any entry points. Applying the attached patch fixes that. No idea if
> that is the correct fix, but it seems to work here at least.
>
> // Erik
>
>
> On 15 October 2017 at 18:47, Erik Johansson <[email protected]> wrote:
>
>> Hi,
>>
>> As an experiment I removed my virtualenv and created a new one. Then I
>> ran python setup.py develop in djblets master followed by python
>> contrib/internal/prepare-dev.py and ./contrib/internal/devserver.py. The
>> installation had no scmtools registered.
>>
>> % ./reviewboard/cmdline/rbsite.py manage . registerscmtools
>> 2017-10-15 16:44:44,711 - DEBUG -  - root - Logging to ./reviewboard.log
>> with a minimum level of DEBUG
>> 2017-10-15 16:44:44,922 - DEBUG -  - root - Log file for Review Board
>> v3.0 RC1 (dev) (PID 20709)
>> 2017-10-15 16:44:45,467 - INFO -  - root - Using
>> reviewboard.scmtools.svn.subvertpy backend for SVN
>> Registering new SCM Tool Subversion (reviewboard.scmtools.svn.SVNTool)
>> in database
>> Registering new SCM Tool Git (reviewboard.scmtools.git.GitTool) in
>> database
>> Registering new SCM Tool Bazaar (reviewboard.scmtools.bzr.BZRTool) in
>> database
>> Registering new SCM Tool CVS (reviewboard.scmtools.cvs.CVSTool) in
>> database
>> Registering new SCM Tool Perforce 
>> (reviewboard.scmtools.perforce.PerforceTool)
>> in database
>> Registering new SCM Tool Plastic SCM 
>> (reviewboard.scmtools.plastic.PlasticTool)
>> in database
>> Registering new SCM Tool ClearCase 
>> (reviewboard.scmtools.clearcase.ClearCaseTool)
>> in database
>> Registering new SCM Tool Mercurial (reviewboard.scmtools.hg.HgTool) in
>> database
>>
>> After that it works as expected.
>>
>> // Erik
>>
>>
>> On 15 October 2017 at 18:30, David Trowbridge <[email protected]> wrote:
>>
>>> This sounds like the tools didn’t get properly registered. You can run:
>>>
>>> rb-site manage /path/to/site registerscmtools
>>>
>>> To try this again. It’s possible it failed due to some dependency issue,
>>> but that command should show you the relevant error in that case.
>>>
>>> -David
>>>
>>> On Sun, Oct 15, 2017 at 9:15 AM Erik Johansson <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've seen the same thing when setting up reviewboard for development.
>>>> For me the problem was solved by removing the database and setting it up
>>>> from scratch. I assumed it was something in my environment, but perhaps
>>>> it's a real bug?
>>>>
>>>> Anyway, you could try dropping the database and creating the site from
>>>> scratch and see if it helps. Perhaps save a database dump first in case the
>>>> devs want to see the database to debug the issue.
>>>>
>>>> // Erik
>>>>
>>>>
>>>> On 15 October 2017 at 16:12, Neil Beresford <[email protected]>
>>>> wrote:
>>>>
>>>>>   just install review board on our local server (Windows server 2008)
>>>>> and noticed, when adding a repository - the only options available are for
>>>>> the team foundation.
>>>>>
>>>>>   There is no option to support GIT, SVN etc as per the old version.
>>>>>
>>>>>   Am I missing sometihng?
>>>>>
>>>>>   many thanks,  Neil
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Erik Johansson
>>>> Home Page: http://ejohansson.se/
>>>> PGP Key: http://ejohansson.se/erik.asc
>>>>
>>>> --
>>>> 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 [email protected].
>>>> 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 [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Erik Johansson
>> Home Page: http://ejohansson.se/
>> PGP Key: http://ejohansson.se/erik.asc
>>
>
>
>
> --
> Erik Johansson
> Home Page: http://ejohansson.se/
> PGP Key: http://ejohansson.se/erik.asc
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



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

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to