Re: reviewboard 2.5.4 installation fails due to django version mismatch

2017-04-05 Thread Christian Hammond
Ah, this is the problem. Yeah, 2.5.4 was more lax on the version of
Haystack, and since then Haystack had put out a version that was
incompatible with our version of Django. It installs a newer version when
installed. That's how you ended up in this situation.

This was fixed in 2.5.6 (2.5.6.1, really -- 2.5.6 had a major regression).

You'll need to remove Haystack and upgrade to a newer version of Review
Board. I recommend using 2.5.10, which came out a few days ago. Amongst
other things, it fixes security issues in the product.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Wed, Apr 5, 2017 at 1:25 PM, Kartthik Raghunathan 
wrote:

> I traced all the Django installed versions and removed them. Later I
> installed Django 1.6.11 using pip and tried installing RB 2.5.4 still
> hitting the same issue but with different message. I feel we made some
> progress this time.
>
> I cleaned up Django-haystack files too before RB installation ! Thanks for
> all your help.
>
>  pip install Django==1.6.11
>
> [root@scmchroot6 ~]# easy_install ReviewBoard==2.5.4
> Searching for ReviewBoard==2.5.4
> Best match: ReviewBoard 2.5.4
> Processing ReviewBoard-2.5.4-py2.7.egg
> ReviewBoard 2.5.4 is already the active version in easy-install.pth
> Installing rbssh script to /usr/bin
> Installing rb-site script to /usr/bin
>
> Using /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
> Processing dependencies for ReviewBoard==2.5.4
> Searching for django-haystack>=2.3.1
> Reading http://downloads.reviewboard.org/mirror/
> Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
> Reading https://pypi.python.org/simple/django-haystack/
> Downloading https://pypi.python.org/packages/e8/84/
> 443bb35dfc0bee6ff103434c37eb1c089215edb30147ed660aca1ca5d20b
> /django-haystack-2.6.0.tar.gz#md5=4d29cc2a42ac903a78f19745e021611a
> Best match: django-haystack 2.6.0
> Processing django-haystack-2.6.0.tar.gz
> Writing /tmp/easy_install-vbpkfp/django-haystack-2.6.0/setup.cfg
> Running django-haystack-2.6.0/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-vbpkfp/django-haystack-2.6.0/egg-dist-tmp-sGEv1r
> creating /usr/lib/python2.7/site-packages/django_haystack-2.6.0-py2.7.egg
> Extracting django_haystack-2.6.0-py2.7.egg to /usr/lib/python2.7/site-
> packages
> Adding django-haystack 2.6.0 to easy-install.pth file
>
> *Installed
> /usr/lib/python2.7/site-packages/django_haystack-2.6.0-py2.7.egg*
> *error: Django 1.6.11 is installed but Django>=1.8 is required by
> set(['django-haystack'])*
>
>
> On Wednesday, April 5, 2017 at 12:09:37 PM UTC-7, Christian Hammond wrote:
>>
>> You need to locate and remove the older version of Django being used. You
>> should locate the site-packages directory for the version of Python used
>> for Review Board and try to find the offending version.
>>
>> My guess is there's a Wheel package taking precedence over the one you're
>> trying to install. Instead of using easy_install, try upgrading pip and
>> installing Django using that:
>>
>> pip install - U pip
>> pip install Django==1.6.11
>>
>> Christian
>>
>>
>> On Wed, Apr 5, 2017 at 11:14 Kartthik Raghunathan 
>> wrote:
>>
>>> I have RB 2.5.4 in production and trying to bring up the same version
>>> for QA too. This command will install the latest version and there might be
>>> some DB changes so I'm trying to stick to 2.5.4
>>>
>>>
>>> On Tuesday, April 4, 2017 at 5:57:05 PM UTC-7, Stephen Gallagher wrote:
>>>
 You can also try using the EPEL packages for ReviewBoard which will
 pull in the correct Django RPM. See https://fedoraproject.org/wiki/EPEL
 for information on how to install the EPEL repository. Then do:
 yum install --enablerepo=epel-testing ReviewBoard

 (The reason for enabling the testing repo is that the latest security
 fix release hasn't made it to the stable repo yet, but the previous release
 would work without the testing repo)

 On Tue, Apr 4, 2017, 8:43 PM Christian Hammond 
 wrote:

>>> Hi,
>
> Looks like you have a newer version of Django on the system, which
> Review Board is not compatible with. You need to explicitly install the
> 1.6.11 version (or, preferably, a security-patched version of this from
> http://downloads.reviewboard.org/releases/Django/1.6/ -- a new
> version will be coming out tonight). You can download a build from there
> and use it with easy_install or pip install.
>
> If you are running multiple apps on this server that require different
> versions of Django, then you'll need to use something like a virtualenv to
> separate the environments so that each can have their own correct versions
> of Django and other dependencies.
>
> Christian
>
> 

Re: Form Data Custom Payload

2017-04-05 Thread Christian Hammond
Hi Chris,

We do need to include examples there...

Try:

token=secret={{review_request.absolute_url}}

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Wed, Apr 5, 2017 at 1:37 PM, Chris Eagan  wrote:

> I am trying to trigger a Jenkins Job using WebHooks in Review Board and I
> need to submit a custom payload as form data. After installing the
> https://plugins.jenkins.io/build-token-root plugin, I tried using the
> following settings.
>
> URL: https://jenkins.example.com/buildByToken/buildWithParameters?job=
> FolderName/JobName
> Events: Review request published
> Apply to: Only review requests on selected repositories
> Repositories: Example
> Encoding: Form Data
> Use custom payload content: Enabled
> Custom content:
>
> token=secret
>
> review.url={{review_request.absolute_url}}
>
>
> Unfortunately, this doesn't appear to trigger the job. I cam able to
> trigger the job using curl with the following command and it works.
>
> curl "https://jenkins.example.com/buildByToken/buildWithParameters?job=
> FolderName/JobName" -d token=secret -d review.url="https://
> reviewboard.example.com/r/12345/"
>
>
> Am I using the custom content section incorrectly with respect to Form
> Data? There are no examples on the Review Board documentation yet for this
> use case.
>
> --
> 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.
>

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


Form Data Custom Payload

2017-04-05 Thread Chris Eagan
I am trying to trigger a Jenkins Job using WebHooks in Review Board and I 
need to submit a custom payload as form data. After installing 
the https://plugins.jenkins.io/build-token-root plugin, I tried using the 
following settings.

URL: 
https://jenkins.example.com/buildByToken/buildWithParameters?job=FolderName/JobName
Events: Review request published
Apply to: Only review requests on selected repositories
Repositories: Example
Encoding: Form Data
Use custom payload content: Enabled
Custom content:

token=secret

review.url={{review_request.absolute_url}}


Unfortunately, this doesn't appear to trigger the job. I cam able to 
trigger the job using curl with the following command and it works.

curl 
"https://jenkins.example.com/buildByToken/buildWithParameters?job=FolderName/JobName;
 
-d token=secret -d review.url="https://reviewboard.example.com/r/12345/;


Am I using the custom content section incorrectly with respect to Form 
Data? There are no examples on the Review Board documentation yet for this 
use case.

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


Re: reviewboard 2.5.4 installation fails due to django version mismatch

2017-04-05 Thread Kartthik Raghunathan
I traced all the Django installed versions and removed them. Later I 
installed Django 1.6.11 using pip and tried installing RB 2.5.4 still 
hitting the same issue but with different message. I feel we made some 
progress this time.

I cleaned up Django-haystack files too before RB installation ! Thanks for 
all your help.

 pip install Django==1.6.11

[root@scmchroot6 ~]# easy_install ReviewBoard==2.5.4
Searching for ReviewBoard==2.5.4
Best match: ReviewBoard 2.5.4
Processing ReviewBoard-2.5.4-py2.7.egg
ReviewBoard 2.5.4 is already the active version in easy-install.pth
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin

Using /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
Processing dependencies for ReviewBoard==2.5.4
Searching for django-haystack>=2.3.1
Reading http://downloads.reviewboard.org/mirror/
Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
Reading https://pypi.python.org/simple/django-haystack/
Downloading 
https://pypi.python.org/packages/e8/84/443bb35dfc0bee6ff103434c37eb1c089215edb30147ed660aca1ca5d20b/django-haystack-2.6.0.tar.gz#md5=4d29cc2a42ac903a78f19745e021611a
Best match: django-haystack 2.6.0
Processing django-haystack-2.6.0.tar.gz
Writing /tmp/easy_install-vbpkfp/django-haystack-2.6.0/setup.cfg
Running django-haystack-2.6.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-vbpkfp/django-haystack-2.6.0/egg-dist-tmp-sGEv1r
creating /usr/lib/python2.7/site-packages/django_haystack-2.6.0-py2.7.egg
Extracting django_haystack-2.6.0-py2.7.egg to 
/usr/lib/python2.7/site-packages
Adding django-haystack 2.6.0 to easy-install.pth file

*Installed /usr/lib/python2.7/site-packages/django_haystack-2.6.0-py2.7.egg*
*error: Django 1.6.11 is installed but Django>=1.8 is required by 
set(['django-haystack'])*


On Wednesday, April 5, 2017 at 12:09:37 PM UTC-7, Christian Hammond wrote:
>
> You need to locate and remove the older version of Django being used. You 
> should locate the site-packages directory for the version of Python used 
> for Review Board and try to find the offending version.
>
> My guess is there's a Wheel package taking precedence over the one you're 
> trying to install. Instead of using easy_install, try upgrading pip and 
> installing Django using that:
>
> pip install - U pip
> pip install Django==1.6.11
>
> Christian
>
>
> On Wed, Apr 5, 2017 at 11:14 Kartthik Raghunathan  > wrote:
>
>> I have RB 2.5.4 in production and trying to bring up the same version for 
>> QA too. This command will install the latest version and there might be 
>> some DB changes so I'm trying to stick to 2.5.4
>>
>>
>> On Tuesday, April 4, 2017 at 5:57:05 PM UTC-7, Stephen Gallagher wrote:
>>
>>> You can also try using the EPEL packages for ReviewBoard which will pull 
>>> in the correct Django RPM. See https://fedoraproject.org/wiki/EPEL for 
>>> information on how to install the EPEL repository. Then do:
>>> yum install --enablerepo=epel-testing ReviewBoard 
>>>
>>> (The reason for enabling the testing repo is that the latest security 
>>> fix release hasn't made it to the stable repo yet, but the previous release 
>>> would work without the testing repo) 
>>>
>>> On Tue, Apr 4, 2017, 8:43 PM Christian Hammond  
>>> wrote:
>>>
>> Hi,

 Looks like you have a newer version of Django on the system, which 
 Review Board is not compatible with. You need to explicitly install the 
 1.6.11 version (or, preferably, a security-patched version of this from 
 http://downloads.reviewboard.org/releases/Django/1.6/ -- a new version 
 will be coming out tonight). You can download a build from there and use 
 it 
 with easy_install or pip install.

 If you are running multiple apps on this server that require different 
 versions of Django, then you'll need to use something like a virtualenv to 
 separate the environments so that each can have their own correct versions 
 of Django and other dependencies.

 Christian

 -- 
 Christian Hammond
 President/CEO of Beanbag 
 Makers of Review Board 

>>> On Tue, Apr 4, 2017 at 3:57 PM, Kartthik Raghunathan  
 wrote:

>>> I'm trying to install RB 2.5.4 on a Centos7.3 linux box and keep getting 
> this below error message. I tried with 2.5.6 and 2.5.8 too but still 
> facing 
> the same issue.
>
> I tried removing django (yum remove Django) and reinstalling the RB 
> but still getting struck at the same point. Can someone shed some light 
> on 
> this installation issue.
>
> [root@qa ~]# easy_install reviewboard==2.5.4
> Searching for reviewboard==2.5.4
> Reading https://pypi.python.org/simple/reviewboard/
> Best match: ReviewBoard 2.5.4
> Downloading 
> 

Re: LDAP Configuration

2017-04-05 Thread Christian Hammond
What version of Review Board are you using?

Can you verify that the server can resolve that hostname from a terminal?

Christian


On Fri, Mar 31, 2017 at 07:53 Martin Dew-Hattens 
wrote:

> New to Review Board and trying to get LDAP config to work.
>
> in log file getting
>
> 2017-03-31 10:14:41,923 - WARNING -  - LDAP error: {'desc': "Can't contact 
> LDAP server"}
>
>
>
>
> I know the parameters I use are correct since they are used elsewhere
>
> ldap://host:389
> Bindaccount  accountusedbefore
> passwrd  passusedbefore
> LDAP base  dc=company:dc=dtt, dc=ad
>
> So how does one debug this ?
>
> nmap tells me that port 389 is open
>
> --
> 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.
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

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


Re: reviewboard 2.5.4 installation fails due to django version mismatch

2017-04-05 Thread Christian Hammond
You need to locate and remove the older version of Django being used. You
should locate the site-packages directory for the version of Python used
for Review Board and try to find the offending version.

My guess is there's a Wheel package taking precedence over the one you're
trying to install. Instead of using easy_install, try upgrading pip and
installing Django using that:

pip install - U pip
pip install Django==1.6.11

Christian


On Wed, Apr 5, 2017 at 11:14 Kartthik Raghunathan 
wrote:

I have RB 2.5.4 in production and trying to bring up the same version for
QA too. This command will install the latest version and there might be
some DB changes so I'm trying to stick to 2.5.4


On Tuesday, April 4, 2017 at 5:57:05 PM UTC-7, Stephen Gallagher wrote:

You can also try using the EPEL packages for ReviewBoard which will pull in
the correct Django RPM. See https://fedoraproject.org/wiki/EPEL for
information on how to install the EPEL repository. Then do:
yum install --enablerepo=epel-testing ReviewBoard

(The reason for enabling the testing repo is that the latest security fix
release hasn't made it to the stable repo yet, but the previous release
would work without the testing repo)

On Tue, Apr 4, 2017, 8:43 PM Christian Hammond 
wrote:

Hi,

Looks like you have a newer version of Django on the system, which Review
Board is not compatible with. You need to explicitly install the 1.6.11
version (or, preferably, a security-patched version of this from
http://downloads.reviewboard.org/releases/Django/1.6/ -- a new version will
be coming out tonight). You can download a build from there and use it with
easy_install or pip install.

If you are running multiple apps on this server that require different
versions of Django, then you'll need to use something like a virtualenv to
separate the environments so that each can have their own correct versions
of Django and other dependencies.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Tue, Apr 4, 2017 at 3:57 PM, Kartthik Raghunathan 
wrote:

I'm trying to install RB 2.5.4 on a Centos7.3 linux box and keep getting
this below error message. I tried with 2.5.6 and 2.5.8 too but still facing
the same issue.

I tried removing django (yum remove Django) and reinstalling the RB but
still getting struck at the same point. Can someone shed some light on this
installation issue.

[root@qa ~]# easy_install reviewboard==2.5.4
Searching for reviewboard==2.5.4
Reading https://pypi.python.org/simple/reviewboard/
Best match: ReviewBoard 2.5.4
Downloading
https://pypi.python.org/packages/3f/04/e0f4d4754cc5a9bf05b5322f59b28fdb404f69648223786546e5d2be5225/ReviewBoard-2.5.4-py2.7.egg#md5=bf3557e0dc1ebc1951f6ad638b3ba29a
Processing ReviewBoard-2.5.4-py2.7.egg
creating /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
Extracting ReviewBoard-2.5.4-py2.7.egg to /usr/lib/python2.7/site-packages
Adding ReviewBoard 2.5.4 to easy-install.pth file
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin

Installed /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
Reading http://downloads.reviewboard.org/mirror/
Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
Processing dependencies for reviewboard==2.5.4
*error: Installed distribution Django 1.6.11 conflicts with requirement
Django>=1.8*

Thanks in advance.

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

Re: reviewboard 2.5.4 installation fails due to django version mismatch

2017-04-05 Thread Kartthik Raghunathan
I have RB 2.5.4 in production and trying to bring up the same version for 
QA too. This command will install the latest version and there might be 
some DB changes so I'm trying to stick to 2.5.4

On Tuesday, April 4, 2017 at 5:57:05 PM UTC-7, Stephen Gallagher wrote:
>
> You can also try using the EPEL packages for ReviewBoard which will pull 
> in the correct Django RPM. See https://fedoraproject.org/wiki/EPEL for 
> information on how to install the EPEL repository. Then do:
> yum install --enablerepo=epel-testing ReviewBoard 
>
> (The reason for enabling the testing repo is that the latest security fix 
> release hasn't made it to the stable repo yet, but the previous release 
> would work without the testing repo) 
>
> On Tue, Apr 4, 2017, 8:43 PM Christian Hammond  > wrote:
>
>> Hi,
>>
>> Looks like you have a newer version of Django on the system, which Review 
>> Board is not compatible with. You need to explicitly install the 1.6.11 
>> version (or, preferably, a security-patched version of this from 
>> http://downloads.reviewboard.org/releases/Django/1.6/ -- a new version 
>> will be coming out tonight). You can download a build from there and use it 
>> with easy_install or pip install.
>>
>> If you are running multiple apps on this server that require different 
>> versions of Django, then you'll need to use something like a virtualenv to 
>> separate the environments so that each can have their own correct versions 
>> of Django and other dependencies.
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Tue, Apr 4, 2017 at 3:57 PM, Kartthik Raghunathan > > wrote:
>>
>>> I'm trying to install RB 2.5.4 on a Centos7.3 linux box and keep getting 
>>> this below error message. I tried with 2.5.6 and 2.5.8 too but still facing 
>>> the same issue.
>>>
>>> I tried removing django (yum remove Django) and reinstalling the RB but 
>>> still getting struck at the same point. Can someone shed some light on this 
>>> installation issue.
>>>
>>> [root@qa ~]# easy_install reviewboard==2.5.4
>>> Searching for reviewboard==2.5.4
>>> Reading https://pypi.python.org/simple/reviewboard/
>>> Best match: ReviewBoard 2.5.4
>>> Downloading 
>>> https://pypi.python.org/packages/3f/04/e0f4d4754cc5a9bf05b5322f59b28fdb404f69648223786546e5d2be5225/ReviewBoard-2.5.4-py2.7.egg#md5=bf3557e0dc1ebc1951f6ad638b3ba29a
>>> Processing ReviewBoard-2.5.4-py2.7.egg
>>> creating /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>>> Extracting ReviewBoard-2.5.4-py2.7.egg to 
>>> /usr/lib/python2.7/site-packages
>>> Adding ReviewBoard 2.5.4 to easy-install.pth file
>>> Installing rbssh script to /usr/bin
>>> Installing rb-site script to /usr/bin
>>>
>>> Installed /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>>> Reading http://downloads.reviewboard.org/mirror/
>>> Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
>>> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
>>> Processing dependencies for reviewboard==2.5.4
>>> *error: Installed distribution Django 1.6.11 conflicts with requirement 
>>> Django>=1.8*
>>>
>>> Thanks in advance.
>>>
>>> -- 
>>> 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...@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.


Re: reviewboard 2.5.4 installation fails due to django version mismatch

2017-04-05 Thread Kartthik Raghunathan
Hi,

I installed Django 1.6.11 using easy_install still it throws the same error 
when I try to install RB, something really strange. This was working few 
months back, not sure what changed. I have RB 2.5.4 in production and 
trying to bring up the QA machine with fresh OS installation.

[root@scmchroot6 ~]# easy_install Django==1.6.11
Searching for Django==1.6.11
Best match: Django 1.6.11
Processing Django-1.6.11-py2.7.egg
Django 1.6.11 is already the active version in easy-install.pth
Installing django-admin.py script to /usr/bin

Using /usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg
Processing dependencies for Django==1.6.11
Finished processing dependencies for Django==1.6.11

[root@scmchroot6 ~]# easy_install ReviewBoard==2.5.4
Searching for ReviewBoard==2.5.4
Best match: ReviewBoard 2.5.4
Processing ReviewBoard-2.5.4-py2.7.egg
ReviewBoard 2.5.4 is already the active version in easy-install.pth
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin

Using /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
Processing dependencies for ReviewBoard==2.5.4
error: Installed distribution Django 1.6.11 conflicts with requirement 
Django>=1.8

The requires.txt seems to be fine. I'm trying to figure out which file it 
looking for Django 1.8 version.

cat 
/usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg/EGG-INFO/requires.txt
 
| more
Django>=1.6.11,<1.7
django_evolution>=0.7.6,<=0.7.999

[root@scmchroot6 ~]# rpm -qa |grep -i django
[root@scmchroot6 ~]#

Any help is much appreciated!


On Tuesday, April 4, 2017 at 5:43:50 PM UTC-7, Christian Hammond wrote:
>
> Hi,
>
> Looks like you have a newer version of Django on the system, which Review 
> Board is not compatible with. You need to explicitly install the 1.6.11 
> version (or, preferably, a security-patched version of this from 
> http://downloads.reviewboard.org/releases/Django/1.6/ -- a new version 
> will be coming out tonight). You can download a build from there and use it 
> with easy_install or pip install.
>
> If you are running multiple apps on this server that require different 
> versions of Django, then you'll need to use something like a virtualenv to 
> separate the environments so that each can have their own correct versions 
> of Django and other dependencies.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Tue, Apr 4, 2017 at 3:57 PM, Kartthik Raghunathan  > wrote:
>
>> I'm trying to install RB 2.5.4 on a Centos7.3 linux box and keep getting 
>> this below error message. I tried with 2.5.6 and 2.5.8 too but still facing 
>> the same issue.
>>
>> I tried removing django (yum remove Django) and reinstalling the RB but 
>> still getting struck at the same point. Can someone shed some light on this 
>> installation issue.
>>
>> [root@qa ~]# easy_install reviewboard==2.5.4
>> Searching for reviewboard==2.5.4
>> Reading https://pypi.python.org/simple/reviewboard/
>> Best match: ReviewBoard 2.5.4
>> Downloading 
>> https://pypi.python.org/packages/3f/04/e0f4d4754cc5a9bf05b5322f59b28fdb404f69648223786546e5d2be5225/ReviewBoard-2.5.4-py2.7.egg#md5=bf3557e0dc1ebc1951f6ad638b3ba29a
>> Processing ReviewBoard-2.5.4-py2.7.egg
>> creating /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>> Extracting ReviewBoard-2.5.4-py2.7.egg to /usr/lib/python2.7/site-packages
>> Adding ReviewBoard 2.5.4 to easy-install.pth file
>> Installing rbssh script to /usr/bin
>> Installing rb-site script to /usr/bin
>>
>> Installed /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>> Reading http://downloads.reviewboard.org/mirror/
>> Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
>> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
>> Processing dependencies for reviewboard==2.5.4
>> *error: Installed distribution Django 1.6.11 conflicts with requirement 
>> Django>=1.8*
>>
>> Thanks in advance.
>>
>> -- 
>> 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