Re: Review Board 2.5 beta 2 is out!

2015-07-24 Thread Greg Jacobs
Another bug noticed during index cron job execution with the beta2 2.5
release:

Output from command /usr/bin/python /usr/local/bin/rb-site manage
/var/www/reviews.clearpathrobotics.com update_index -- -a 1 ..

Indexing 11 users
Indexing 1 review requests
Exception TypeError: TypeError('isinstance() arg 2 must be a class,
type, or tuple of classes and types',) in bound method
Signal._remove_receiver of django.dispatch.dispatcher.Signal object
at 0x7f9b106be750 ignored


Looks like index data was generated:

drwxr-xr-x 2 www-data www-data  4096 Jul 24 15:06 .
drwxr-xr-x 4 www-data www-data  4096 Jul 24 14:49 ..
-rw-r--r-- 1 www-data www-data  7598 Jul 24 15:06 _MAIN_2.toc
-rw-r--r-- 1 www-data www-data 32089 Jul 24 15:06 MAIN_lus9ypwhsxh8aoou.seg
-rw-r--r-- 1 www-data www-data 16268 Jul 24 15:06 MAIN_rwa5uuswnd19j6kl.seg
-rwxr-xr-x 1 www-data www-data 0 Jul 24 15:06 MAIN_WRITELOCK


If you want logs let me know (do you want me to file in bug tracking
instead?)

I can also confirm same error with second cron job that cleans up old
sessions etc...

Output from command /usr/bin/python /usr/local/bin/rb-site manage
/var/www/reviews.clearpathrobotics.com clearsessions ..

Exception TypeError: TypeError('isinstance() arg 2 must be a class,
type, or tuple of classes and types',) in bound method
Signal._remove_receiver of django.dispatch.dispatcher.Signal object
at 0x7f8819587750 ignored



On Thu, Jul 23, 2015 at 11:39 AM, Greg Jacobs gjac...@clearpathrobotics.com
 wrote:

 One other note. I had to re-assert group ownership on the RB site, it was
 breaking LDAP auth.

 sudo chgrp -R www-data /var/www/your-site-name

 I was getting the following in debug logs...

 2015-07-23 13:35:57,514 - WARNING -  - LDAP error: {'info': 'invalid DN',
 'desc': 'Invalid DN syntax'}

 This seemed to resolve my issue. Had noticed (I was root when doing
 update) root had group perms to assets again.

 On Wed, Jul 22, 2015 at 5:32 PM, Greg Jacobs 
 gjac...@clearpathrobotics.com wrote:

 That did the trick ( ReviewBoard==2.5b2) ... so PEBKAC on my end.
 Thanks all!

 So I upgraded a test 2.5 beta1 system to beta2 by doing the following for
 reference by others - you can give this blessing or scream that its a bad
 idea:

 sudo service apache2 stop
 sudo easy_install \
 -f http://downloads.reviewboard.org/releases/ReviewBoard/2.5/ \
 -U ReviewBoard==2.5b2
 sudo rb-site upgrade /var/www/your-existing-install-location

 As far as output if anyone is curious...
 -- begin log output --
 Creating tables ...
 Upgrading Review Board from 2.5 beta 1 to 2.5 beta 2


 *There are unapplied evolutions for accounts.There are unapplied
 evolutions for reviews.Project signature has changed - an evolution is
 required*
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)
 Evolution successful.
 --- end log output ---

 Things seem to work fine, will continue to test on my end. Cheers.


 On Wed, Jul 22, 2015 at 4:43 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Ah, looks like the problem is due to the package name you used. You want
 ReviewBoard (or ReviewBoard==2.5b2) and not ReviewBoard-2.5b2. The
 latter isn't being found as a package name, and it's trying hard to fulfill
 the request by finding a source tarball matching the name given as a last
 resort.

 If you hit further problems, it's also probably worth upgrading your
 version to setuptools (18.0.1 is the latest), as a lot has changed
 involving package versioning and location since 3.3.

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Wed, Jul 22, 2015 at 1:36 PM, Greg Jacobs 
 gjac...@clearpathrobotics.com wrote:

 # easy_install --version
 setuptools 3.3

 On Wed, Jul 22, 2015 at 4:34 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Hi,

 Looks like for whatever reason, your install pulled down an old
 version of Djblets. It should have grabbed 0.9 beta 2, not beta 1.

 The whole install process in your log looks questionable, though. It
 pulled down the .tar.gz and not the .egg, which I'm surprised about. So,
 that's also a problem. Review Board cannot be installed from a .tar.gz
 without a bunch of extra packaging tools for the CSS/JavaScript also being
 installed.

 What does `easy_install --version` say?

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Tue, Jul 21, 2015 at 6:27 AM, gjac...@clearpathrobotics.com
 wrote:

 Pasted full logs here if that helps... Let me know how I can be of
 assistance.

 http://pastebin.com/kRqq6vfG



 On Tuesday, July 21, 2015 at 8:56:37 AM UTC-4, Greg Jacobs wrote:

 I should also note, I do have markdown installed and working
 correctly etc. Beta1 ran fine prior.



 On Tue, Jul 21, 2015 at 8:53 AM, gjac

Re: Review Board 2.5 beta 2 is out!

2015-07-23 Thread Greg Jacobs
One other note. I had to re-assert group ownership on the RB site, it was
breaking LDAP auth.

sudo chgrp -R www-data /var/www/your-site-name

I was getting the following in debug logs...

2015-07-23 13:35:57,514 - WARNING -  - LDAP error: {'info': 'invalid DN',
'desc': 'Invalid DN syntax'}

This seemed to resolve my issue. Had noticed (I was root when doing update)
root had group perms to assets again.

On Wed, Jul 22, 2015 at 5:32 PM, Greg Jacobs gjac...@clearpathrobotics.com
wrote:

 That did the trick ( ReviewBoard==2.5b2) ... so PEBKAC on my end.
 Thanks all!

 So I upgraded a test 2.5 beta1 system to beta2 by doing the following for
 reference by others - you can give this blessing or scream that its a bad
 idea:

 sudo service apache2 stop
 sudo easy_install \
 -f http://downloads.reviewboard.org/releases/ReviewBoard/2.5/ \
 -U ReviewBoard==2.5b2
 sudo rb-site upgrade /var/www/your-existing-install-location

 As far as output if anyone is curious...
 -- begin log output --
 Creating tables ...
 Upgrading Review Board from 2.5 beta 1 to 2.5 beta 2


 *There are unapplied evolutions for accounts.There are unapplied
 evolutions for reviews.Project signature has changed - an evolution is
 required*
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)
 Evolution successful.
 --- end log output ---

 Things seem to work fine, will continue to test on my end. Cheers.


 On Wed, Jul 22, 2015 at 4:43 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Ah, looks like the problem is due to the package name you used. You want
 ReviewBoard (or ReviewBoard==2.5b2) and not ReviewBoard-2.5b2. The
 latter isn't being found as a package name, and it's trying hard to fulfill
 the request by finding a source tarball matching the name given as a last
 resort.

 If you hit further problems, it's also probably worth upgrading your
 version to setuptools (18.0.1 is the latest), as a lot has changed
 involving package versioning and location since 3.3.

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Wed, Jul 22, 2015 at 1:36 PM, Greg Jacobs 
 gjac...@clearpathrobotics.com wrote:

 # easy_install --version
 setuptools 3.3

 On Wed, Jul 22, 2015 at 4:34 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Hi,

 Looks like for whatever reason, your install pulled down an old version
 of Djblets. It should have grabbed 0.9 beta 2, not beta 1.

 The whole install process in your log looks questionable, though. It
 pulled down the .tar.gz and not the .egg, which I'm surprised about. So,
 that's also a problem. Review Board cannot be installed from a .tar.gz
 without a bunch of extra packaging tools for the CSS/JavaScript also being
 installed.

 What does `easy_install --version` say?

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Tue, Jul 21, 2015 at 6:27 AM, gjac...@clearpathrobotics.com wrote:

 Pasted full logs here if that helps... Let me know how I can be of
 assistance.

 http://pastebin.com/kRqq6vfG



 On Tuesday, July 21, 2015 at 8:56:37 AM UTC-4, Greg Jacobs wrote:

 I should also note, I do have markdown installed and working
 correctly etc. Beta1 ran fine prior.



 On Tue, Jul 21, 2015 at 8:53 AM, gjac...@clearpathrobotics.com
 wrote:

 Is there an upgrade path from beta1 to beta2?

 Running into the following error trying an upgrade ( I'll debug
 further if sane path - else if not supported assuming nuke the Django 
 site
 and leave db in place?)

 The upgrade fails at:


  File
 /tmp/easy_install-LxFRjB/ReviewBoard-2.5b2/reviewboard/reviews/fields.py,
 line 9, in module
 from djblets.markdown import iter_markdown_lines
 django.core.exceptions.ImproperlyConfigured: Error importing module
 djblets.extensions.staticfiles: No module named markdown
 Traceback (most recent call last):
   File /usr/bin/easy_install, line 9, in module
 load_entry_point('setuptools==3.3', 'console_scripts',
 'easy_install')()



 On Monday, July 20, 2015 at 1:30:08 PM UTC-4, Christian Hammond
 wrote:

 Hey everyone,

 We've put out the second beta of Review Board 2.5. We're hoping to
 wrap this release cycle up soon, get an RC out the door in the next two
 weeks and then ship the final 2.5 release shortly after. We'd love your
 testing to help make this happen.

 You can read our announcement, complete with screenshots, here:
 https://www.reviewboard.org/news/2015/07/20/review-board-2-5-beta-2-out/

 We also have an announcements mailing list available, for those not
 on it: https://www.reviewboard.org/mailing-lists/

 And as a reminder, we're posting the latest development news,
 feature additions, design ideas, etc. over at the Review Board 
 ChangeLog:
 http://changelog.assembly.com/reviewboard

Re: Review Board 2.5 beta 2 is out!

2015-07-22 Thread Greg Jacobs
# easy_install --version
setuptools 3.3

On Wed, Jul 22, 2015 at 4:34 PM, Christian Hammond christ...@beanbaginc.com
 wrote:

 Hi,

 Looks like for whatever reason, your install pulled down an old version of
 Djblets. It should have grabbed 0.9 beta 2, not beta 1.

 The whole install process in your log looks questionable, though. It
 pulled down the .tar.gz and not the .egg, which I'm surprised about. So,
 that's also a problem. Review Board cannot be installed from a .tar.gz
 without a bunch of extra packaging tools for the CSS/JavaScript also being
 installed.

 What does `easy_install --version` say?

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Tue, Jul 21, 2015 at 6:27 AM, gjac...@clearpathrobotics.com wrote:

 Pasted full logs here if that helps... Let me know how I can be of
 assistance.

 http://pastebin.com/kRqq6vfG



 On Tuesday, July 21, 2015 at 8:56:37 AM UTC-4, Greg Jacobs wrote:

 I should also note, I do have markdown installed and working correctly
 etc. Beta1 ran fine prior.



 On Tue, Jul 21, 2015 at 8:53 AM, gjac...@clearpathrobotics.com wrote:

 Is there an upgrade path from beta1 to beta2?

 Running into the following error trying an upgrade ( I'll debug further
 if sane path - else if not supported assuming nuke the Django site and
 leave db in place?)

 The upgrade fails at:


  File
 /tmp/easy_install-LxFRjB/ReviewBoard-2.5b2/reviewboard/reviews/fields.py,
 line 9, in module
 from djblets.markdown import iter_markdown_lines
 django.core.exceptions.ImproperlyConfigured: Error importing module
 djblets.extensions.staticfiles: No module named markdown
 Traceback (most recent call last):
   File /usr/bin/easy_install, line 9, in module
 load_entry_point('setuptools==3.3', 'console_scripts',
 'easy_install')()



 On Monday, July 20, 2015 at 1:30:08 PM UTC-4, Christian Hammond wrote:

 Hey everyone,

 We've put out the second beta of Review Board 2.5. We're hoping to
 wrap this release cycle up soon, get an RC out the door in the next two
 weeks and then ship the final 2.5 release shortly after. We'd love your
 testing to help make this happen.

 You can read our announcement, complete with screenshots, here:
 https://www.reviewboard.org/news/2015/07/20/review-board-2-5-beta-2-out/

 We also have an announcements mailing list available, for those not on
 it: https://www.reviewboard.org/mailing-lists/

 And as a reminder, we're posting the latest development news, feature
 additions, design ideas, etc. over at the Review Board ChangeLog:
 http://changelog.assembly.com/reviewboard

 Christian

 --
 Christian Hammond - chri...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

  --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/Mv4Y183SAVM/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




 --

 *Greg Jacobs* | Test Engineering Manager  | Clearpath Robotics, Inc.
 1425 Strasburg Rd., Suite 2A, Kitchener, Ontario N2R 1H2 Canada
 *T: * 519-513-2416 x861  | *E:* gjac...@clearpathrobotics.com  | *W:*
 www.clearpathrobotics.com
 *Your Unmanned Experts **TM *





-- 

*Greg Jacobs* | Test Engineering Manager  | Clearpath Robotics, Inc.
1425 Strasburg Rd., Suite 2A, Kitchener, Ontario N2R 1H2 Canada
*T: * 519-513-2416 x861  | *E:* gjac...@clearpathrobotics.com  | *W:*
www.clearpathrobotics.com
*Your Unmanned Experts **TM *

-- 
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: Review Board 2.5 beta 2 is out!

2015-07-22 Thread Greg Jacobs
That did the trick ( ReviewBoard==2.5b2) ... so PEBKAC on my end. Thanks
all!

So I upgraded a test 2.5 beta1 system to beta2 by doing the following for
reference by others - you can give this blessing or scream that its a bad
idea:

sudo service apache2 stop
sudo easy_install \
-f http://downloads.reviewboard.org/releases/ReviewBoard/2.5/ \
-U ReviewBoard==2.5b2
sudo rb-site upgrade /var/www/your-existing-install-location

As far as output if anyone is curious...
-- begin log output --
Creating tables ...
Upgrading Review Board from 2.5 beta 1 to 2.5 beta 2


*There are unapplied evolutions for accounts.There are unapplied evolutions
for reviews.Project signature has changed - an evolution is required*
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Evolution successful.
--- end log output ---

Things seem to work fine, will continue to test on my end. Cheers.


On Wed, Jul 22, 2015 at 4:43 PM, Christian Hammond christ...@beanbaginc.com
 wrote:

 Ah, looks like the problem is due to the package name you used. You want
 ReviewBoard (or ReviewBoard==2.5b2) and not ReviewBoard-2.5b2. The
 latter isn't being found as a package name, and it's trying hard to fulfill
 the request by finding a source tarball matching the name given as a last
 resort.

 If you hit further problems, it's also probably worth upgrading your
 version to setuptools (18.0.1 is the latest), as a lot has changed
 involving package versioning and location since 3.3.

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Wed, Jul 22, 2015 at 1:36 PM, Greg Jacobs 
 gjac...@clearpathrobotics.com wrote:

 # easy_install --version
 setuptools 3.3

 On Wed, Jul 22, 2015 at 4:34 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Hi,

 Looks like for whatever reason, your install pulled down an old version
 of Djblets. It should have grabbed 0.9 beta 2, not beta 1.

 The whole install process in your log looks questionable, though. It
 pulled down the .tar.gz and not the .egg, which I'm surprised about. So,
 that's also a problem. Review Board cannot be installed from a .tar.gz
 without a bunch of extra packaging tools for the CSS/JavaScript also being
 installed.

 What does `easy_install --version` say?

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Tue, Jul 21, 2015 at 6:27 AM, gjac...@clearpathrobotics.com wrote:

 Pasted full logs here if that helps... Let me know how I can be of
 assistance.

 http://pastebin.com/kRqq6vfG



 On Tuesday, July 21, 2015 at 8:56:37 AM UTC-4, Greg Jacobs wrote:

 I should also note, I do have markdown installed and working correctly
 etc. Beta1 ran fine prior.



 On Tue, Jul 21, 2015 at 8:53 AM, gjac...@clearpathrobotics.com
 wrote:

 Is there an upgrade path from beta1 to beta2?

 Running into the following error trying an upgrade ( I'll debug
 further if sane path - else if not supported assuming nuke the Django 
 site
 and leave db in place?)

 The upgrade fails at:


  File
 /tmp/easy_install-LxFRjB/ReviewBoard-2.5b2/reviewboard/reviews/fields.py,
 line 9, in module
 from djblets.markdown import iter_markdown_lines
 django.core.exceptions.ImproperlyConfigured: Error importing module
 djblets.extensions.staticfiles: No module named markdown
 Traceback (most recent call last):
   File /usr/bin/easy_install, line 9, in module
 load_entry_point('setuptools==3.3', 'console_scripts',
 'easy_install')()



 On Monday, July 20, 2015 at 1:30:08 PM UTC-4, Christian Hammond wrote:

 Hey everyone,

 We've put out the second beta of Review Board 2.5. We're hoping to
 wrap this release cycle up soon, get an RC out the door in the next two
 weeks and then ship the final 2.5 release shortly after. We'd love your
 testing to help make this happen.

 You can read our announcement, complete with screenshots, here:
 https://www.reviewboard.org/news/2015/07/20/review-board-2-5-beta-2-out/

 We also have an announcements mailing list available, for those not
 on it: https://www.reviewboard.org/mailing-lists/

 And as a reminder, we're posting the latest development news,
 feature additions, design ideas, etc. over at the Review Board 
 ChangeLog:
 http://changelog.assembly.com/reviewboard

 Christian

 --
 Christian Hammond - chri...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

  --
 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 a topic in
 the Google Groups reviewboard group.
 To unsubscribe

Re: Review Board 2.5 beta 2 is out!

2015-07-21 Thread Greg Jacobs
I should also note, I do have markdown installed and working correctly etc.
Beta1 ran fine prior.



On Tue, Jul 21, 2015 at 8:53 AM, gjac...@clearpathrobotics.com wrote:

 Is there an upgrade path from beta1 to beta2?

 Running into the following error trying an upgrade ( I'll debug further if
 sane path - else if not supported assuming nuke the Django site and leave
 db in place?)

 The upgrade fails at:


  File
 /tmp/easy_install-LxFRjB/ReviewBoard-2.5b2/reviewboard/reviews/fields.py,
 line 9, in module
 from djblets.markdown import iter_markdown_lines
 django.core.exceptions.ImproperlyConfigured: Error importing module
 djblets.extensions.staticfiles: No module named markdown
 Traceback (most recent call last):
   File /usr/bin/easy_install, line 9, in module
 load_entry_point('setuptools==3.3', 'console_scripts',
 'easy_install')()



 On Monday, July 20, 2015 at 1:30:08 PM UTC-4, Christian Hammond wrote:

 Hey everyone,

 We've put out the second beta of Review Board 2.5. We're hoping to wrap
 this release cycle up soon, get an RC out the door in the next two weeks
 and then ship the final 2.5 release shortly after. We'd love your testing
 to help make this happen.

 You can read our announcement, complete with screenshots, here:
 https://www.reviewboard.org/news/2015/07/20/review-board-2-5-beta-2-out/

 We also have an announcements mailing list available, for those not on
 it: https://www.reviewboard.org/mailing-lists/

 And as a reminder, we're posting the latest development news, feature
 additions, design ideas, etc. over at the Review Board ChangeLog:
 http://changelog.assembly.com/reviewboard

 Christian

 --
 Christian Hammond - chri...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

  --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/Mv4Y183SAVM/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 

*Greg Jacobs* | Test Engineering Manager  | Clearpath Robotics, Inc.
1425 Strasburg Rd., Suite 2A, Kitchener, Ontario N2R 1H2 Canada
*T: * 519-513-2416 x861  | *E:* gjac...@clearpathrobotics.com  | *W:*
www.clearpathrobotics.com
*Your Unmanned Experts **TM *

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