We keep seeing this reported, but it never ends up making any sense. It's 
attempting to get the mercurial version from their module, which is just a 
string, but I gets None instead. We haven't figured out why or how that happens.

However, we will be putting out a release tonight, and we'll change that to log 
the error and have a fallback.

Christian


On Jan 27, 2013, at 22:21, Mukund Rajamannar <muk...@synerzip.com> wrote:

> I use Postgres.  The upgrade progressed from this step and then I had the 
> issue with assets (CSS/JS) not showing up.  Googling around helped me add an 
> entry in my Apache conf file to add an alias for 'static'.  Review board 
> works afterwards, but I frequently get errors like this. 
> 
> -------
> 2013-01-28 00:10:34,709 - ERROR - Internal Server Error: /r/1215/
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.3-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.2-py2.7.egg/reviewboard/accounts/decorators.py",
>  line 20, in _check
>     return login_required(view_func)(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Djblets-0.7.8-py2.7.egg/djblets/auth/util.py",
>  line 47, in _checklogin
>     return view_func(request, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/reviews/views.py",
>  line 728, in review_detail
>     'screenshots': screenshots,
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/reviews/views.py",
>  line 124, in _make_review_request_context
>     upload_diff_form = UploadDiffForm(review_request)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/reviews/forms.py",
>  line 276, in __init__
>     data, *args, **kwargs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/diffviewer/forms.py",
>  line 51, in __init__
>     if self.repository.get_scmtool().get_diffs_use_absolute_paths():
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/scmtools/models.py",
>  line 134, in get_scmtool
>     return cls(self)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/scmtools/hg.py",
>  line 31, in __init__
>     self.client = HgClient(repository.path, repository.local_site)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.2-py2.7.egg/reviewboard/scmtools/hg.py",
>  line 215, in __init__
>     if parse_version(version) <= parse_version("1.2"):
>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1920, in 
> parse_version
>     for part in _parse_version_parts(s.lower()):
> TypeError: 'NoneType' object is not callable
> ---------
> 
> rb-site doesn't show any problems / running the upgrade again doesn't do 
> anything.  Restarting the apache instance seems to help, but how do I fix 
> this?
> 
> 
> Thanks,
> Mukund
> 
> 
> On Friday, January 25, 2013 1:33:59 AM UTC+5:30, Christian Hammond wrote:
>> 
>> It looks like it's at the database migration stage. I've never seen this 
>> take a long time before. What type of database are you using, and how big is 
>> it?
>> 
>> Christian
>> 
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>> 
>> 
>> On Thu, Jan 24, 2013 at 11:39 AM, Christian Hammond <chi...@gmail.com> wrote:
>>> It shouldn't take more than a few seconds. I'm not sure what it'd be 
>>> blocking on... I'll check the list of steps when I'm back at the computer 
>>> in 20 mins or so.
>>> 
>>> Christian
>>> 
>>> 
>>> On Jan 24, 2013, at 0:58, Mukund Rajamannar <muk...@synerzip.com> wrote:
>>> 
>>>> Hi,
>>>> 
>>>>  I have an extensively used reviewboard site with a lot of reviews.  Doing 
>>>> a rb-site upgrade from 1.6.11 to 1.7.2 seems to be stuck at 
>>>> 
>>>> ------------
>>>> 
>>>> Rebuilding directory structure
>>>> Updating database. This may take a while.
>>>> 
>>>> The log output below, including warnings and errors,
>>>> can be ignored unless upgrade fails.
>>>> 
>>>> ------------------ <begin log output> ------------------
>>>> Creating tables ...
>>>> There are unapplied evolutions for auth.
>>>> There are unapplied evolutions for accounts.
>>>> There are unapplied evolutions for diffviewer.
>>>> 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)
>>>> 
>>>> 
>>>> -------
>>>> 
>>>> for more than 10 minutes.  How long is this supposed to take?  
>>>> 
>>>> Thanks,
>>>> Mukund
>>>> 
>>>> 
>>>> This e-mail, including any attached files, may contain confidential and 
>>>> privileged information for the sole use of the intended recipient. Any 
>>>> review, use, distribution, or disclosure by others is strictly prohibited. 
>>>> If you are not the intended recipient (or authorized to receive 
>>>> information for the intended recipient), please contact the sender by 
>>>> reply e-mail and delete all copies of this message.
>>>> 
>>>> -- 
>>>> 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...@googlegroups.com
>>>> For more options, visit this group at 
>>>> http://groups.google.com/group/reviewboard?hl=en
> 
> This e-mail, including any attached files, may contain confidential and 
> privileged information for the sole use of the intended recipient. Any 
> review, use, distribution, or disclosure by others is strictly prohibited. If 
> you are not the intended recipient (or authorized to receive information for 
> the intended recipient), please contact the sender by reply e-mail and delete 
> all copies of this message.
> 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to