3932: ValueError: Extension "__builtin__.NoneType" must be of type: "markdown.Extension".

MjB****@gmai***** (Google Code) (Is this you? Claim this profile.)
What version are you running?
Review Board 2.5 beta 1

What's the URL of the page containing the problem?
On our local reviewboard while opening 
http://review.office.xxx.xxx/r/1001/

What steps will reproduce the problem?
1. Publish a review
2. Other user added some comments
3.

What is the expected output? What do you see instead?
Expected to see the review. Instead I see 'Something broke! (Error 500)' and receive the attached error report.

What operating system are you using? What browser?
martijn@virtualix ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:        12.04
Codename:       precise

Google chrome Version 45.0.2454.7 dev (64-bit)


Please provide any additional information below.

We recently upgraded reviewboard from 2.x to 2.5b1
Traceback (most recent call last):
  File "/var/www/review.office/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/var/www/review.office/lib/python2.7/site-packages/ReviewBoard-2.5beta1-py2.7.egg/reviewboard/accounts/decorators.py", line 25, in _check
    return view_func(*args, **kwargs)
  File "/var/www/review.office/lib/python2.7/site-packages/ReviewBoard-2.5beta1-py2.7.egg/reviewboard/site/decorators.py", line 35, in _check
    return view_func(request, local_site=local_site, *args, **kwargs)
  File "/var/www/review.office/lib/python2.7/site-packages/ReviewBoard-2.5beta1-py2.7.egg/reviewboard/reviews/views.py", line 765, in review_detail
    RequestContext(request, context_data))
  File "/var/www/review.office/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/shortcuts/__init__.py", line 29, in render_to_response
    return
chipx86
#1 chipx86
What version of python-markdown is installed? And what version of Djblets?

Can you give beta 2 a try?

Note that we really do not recommend using beta releases for production installs, as we can't offer any timeframe for fixes, nor any guarantee of stability. However, in this case, it looks like an installation issue or version compatibility problem. Knowing the versions above will help determine that.
  • +NeedInfo
#2 MjB****@gmai***** (Google Code) (Is this you? Claim this profile.)
This is with Markdown-2.4 and Djblets 0.9beta1. Reviewboard was installed using 
easy_install -d lib/python2.7/site-packages -f http://downloads.reviewboard.org/releases/ReviewBoard/2.5/ -U ReviewBoard

I just ran this command again but it still takes the 2.5b1. Any idea how I can force the b2?
chipx86
#3 chipx86
Can you show me the entire output when running that command? Also, what version of easy_install? You may need to upgrade that (the Python packaging world has sorta recently standardized on new versioning naming that we're forced into, and it results in compatibility issues with some older tools).
#4 MjB****@gmai***** (Google Code) (Is this you? Claim this profile.)
Output of that command is pasted below. easy_install has version distribute 0.6.24dev-r0 . We upgraded reviewboard because of bug #3928 (which is actually a chrome bug). 

I tried to update ReviewBoard to b2 using the egg file which required Djblets>=0.9beta2. I installed that but then easy_upgrade still couldn't find it. I suspect its because beta2 vs b2. It indeed sounds like our easy_install is too old. For now, we'll just downgrade reviewboard to stable version since that worked fine for us. Thanks for looking into this. 


martijn@virtualix /var/www/review.office $ easy_install -d lib/python2.7/site-packages -f http://downloads.reviewboard.org/releases/ReviewBoard/2.5/ -U ReviewBoard
Searching for ReviewBoard
Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.5/
Reading http://pypi.python.org/simple/ReviewBoard/
Best match: ReviewBoard 2.5beta1
Downloading http://downloads.reviewboard.org/releases/ReviewBoard/2.5/ReviewBoard-2.5beta1-py2.7.egg#md5=1091441aa41f3e7e973ef65ca5b7dfb7
Processing ReviewBoard-2.5beta1-py2.7.egg
removing '/var/www/review.office/lib/python2.7/site-packages/ReviewBoard-2.5beta1-py2.7.egg' (and everything under it)
creating /var/www/review.office/lib/python2.7/site-packages/ReviewBoard-2.5beta1-py2.7.egg
Extracting ReviewBoard-2.5beta1-py2.7.egg to /var/www/review.office/lib/python2.7/site-packages
ReviewBoard 2.5beta1 is already the active version in easy-install.pth
Installing rb-site script to lib/python2.7/site-packages
Installing rbssh script to lib/python2.7/site-packages

Installed /var/www/review.office/lib/python2.7/site-packages/ReviewBoard-2.5beta1-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
Finished processing dependencies for ReviewBoard
chipx86
#5 chipx86
If you downgrade, you must restore to a database from before the upgrade, or you're going to hit versioning problems later when upgrading again.

It is an easy_install problem. That version is very old. You can update it with:

    sudo easy_install -U setuptools
david
#6 david
  • -NeedInfo
    +SetupIssue