Re: Self Registration fault

2013-12-31 Thread Christian Hammond
Hi Ben,

I can confirm this is a bug on our end. It's being triggered, most likely,
due to people trying to register someone else's username.

I'll fix this in the next 10 minutes and put out a release. Give me 20
minutes or so just in case, and try an upgrade to 0.7.28.

Christian

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


On Tue, Dec 31, 2013 at 5:14 PM, Ben Cooksley bcooks...@kde.org wrote:

 Hi all,

 Since migrating one of our Reviewboard instances (we have two) to a
 new system, I have been receiving mails from Reviewboard complaining
 of various traceback errors.

 The most common one of these relates to /account/register, and seems
 to be a bug in Reviewboard. Does anyone know if this is a fault on our
 side, or if a bug should be reported to Reviewboard/Djblets? It looks
 to me like an import is missing, but i'm not sure if this is a defect
 in our installation.

 The traceback is below. We run Reviewboard on Debian Wheezy using
 Apache's mod_wsgi and memcached for caching. The instance at question
 is at https://svn.reviewboard.kde.org/. Our Git instance of
 Reviewboard is unaffected as registrations for it are handled through
 a separate system.

 Thanks,
 Ben Cooksley
 KDE Sysadmin

 Traceback (most recent call last):

   File
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py,
 line 111, in get_response
 response = callback(request, *callback_args, **callback_kwargs)

   File
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.20-py2.7.egg/reviewboard/accounts/views.py,
 line 29, in account_register
 form_class=RegistrationForm)

   File
 /usr/local/lib/python2.7/dist-packages/Djblets-0.7.27-py2.7.egg/djblets/auth/views.py,
 line 95, in register
 user = form.save()

   File
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.20-py2.7.egg/reviewboard/accounts/forms.py,
 line 157, in save
 user = DjbletsRegistrationForm.save(self)

   File
 /usr/local/lib/python2.7/dist-packages/Djblets-0.7.27-py2.7.egg/djblets/auth/forms.py,
 line 76, in save
 if get_object_or_none(User,

 NameError: global name 'get_object_or_none' is not defined

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://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/groups/opt_out.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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/groups/opt_out.


Re: Self Registration fault

2013-12-31 Thread Ben Cooksley
On Wednesday, January 1, 2014 3:28:39 PM UTC+13, Christian Hammond wrote:

 Hi Ben,

 I can confirm this is a bug on our end. It's being triggered, most likely, 
 due to people trying to register someone else's username.

 I'll fix this in the next 10 minutes and put out a release. Give me 20 
 minutes or so just in case, and try an upgrade to 0.7.28.


Thanks Christian, I can confirm that fixed the issue for us.
The quick response is much appreciated.


 Christian


Thanks,
Ben
 


 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Tue, Dec 31, 2013 at 5:14 PM, Ben Cooksley bcoo...@kde.orgjavascript:
  wrote:

 Hi all,

 Since migrating one of our Reviewboard instances (we have two) to a
 new system, I have been receiving mails from Reviewboard complaining
 of various traceback errors.

 The most common one of these relates to /account/register, and seems
 to be a bug in Reviewboard. Does anyone know if this is a fault on our
 side, or if a bug should be reported to Reviewboard/Djblets? It looks
 to me like an import is missing, but i'm not sure if this is a defect
 in our installation.

 The traceback is below. We run Reviewboard on Debian Wheezy using
 Apache's mod_wsgi and memcached for caching. The instance at question
 is at https://svn.reviewboard.kde.org/. Our Git instance of
 Reviewboard is unaffected as registrations for it are handled through
 a separate system.

 Thanks,
 Ben Cooksley
 KDE Sysadmin

 Traceback (most recent call last):

   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py,
 line 111, in get_response
 response = callback(request, *callback_args, **callback_kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.20-py2.7.egg/reviewboard/accounts/views.py,
 line 29, in account_register
 form_class=RegistrationForm)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.7.27-py2.7.egg/djblets/auth/views.py,
 line 95, in register
 user = form.save()

   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.20-py2.7.egg/reviewboard/accounts/forms.py,
 line 157, in save
 user = DjbletsRegistrationForm.save(self)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.7.27-py2.7.egg/djblets/auth/forms.py,
 line 76, in save
 if get_object_or_none(User,

 NameError: global name 'get_object_or_none' is not defined

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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/groups/opt_out.