2864: cannot upgrade reviewboard from 1.6.13 to 1.7.1

revom*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 15, 2013
What version are you running?
1.6.13

What's the URL of the page containing the problem?
nil

What steps will reproduce the problem?
1. upgrade rb from 1.6.13 to 1.7.1 using command easy_install
2.
3.

What is the expected output? What do you see instead?


What operating system are you using? What browser?
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)

Please provide any additional information below.

error message during upgrading ReviewBoard from 1.6.13 to 1.7.1

----start----
# easy_install -U ReviewBoard
Searching for ReviewBoard
Reading http://pypi.python.org/simple/ReviewBoard/
Reading http://www.reviewboard.org/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
Reading http://www.review-board.org/
Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
Reading http://downloads.review-board.org/releases/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
Best match: ReviewBoard 1.7.1
Downloading http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7.1.tar.gz
Processing ReviewBoard-1.7.1.tar.gz
Running ReviewBoard-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-frExKE/ReviewBoard-1.7.1/egg-dist-tmp--YrAvu
Traceback (most recent call last):
  File "./contrib/internal/build-media.py", line 19, in ?
    ret = call_command('collectstatic', interactive=False, verbosity=2)
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/management/__init__.py", line 153, in call_command
    klass = load_command_class(app_name, name)
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/management/__init__.py", line 68, in load_command_class
    return module.Command()
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/contrib/staticfiles/management/commands/collectstatic.py", line 41, in __init__
    self.storage = get_storage_class(settings.STATICFILES_STORAGE)()
  File "/usr/lib/python2.4/site-packages/Django-1.3.3-py2.4.egg/django/core/files/storage.py", line 265, in get_storage_class
    raise ImproperlyConfigured('Error importing storage module %s: "%s"' % (module, e))
django.core.exceptions.ImproperlyConfigured: Error importing storage module pipeline.storage: "No module named pipeline.storage"
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 1712, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
    return f()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 446, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 476, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py", line 919, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/sandbox.py", line 61, in run_setup
    DirectorySandbox(setup_dir).run(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/sandbox.py", line 105, in run
    return func()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/sandbox.py", line 64, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 173, in ?
  File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/bdist_egg.py", line 167, in run
    self.run_command("egg_info")
  File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "setup.py", line 63, in run
  File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "setup.py", line 81, in run
RuntimeError: Failed to build media files

---end----
chipx86
#1 chipx86
Review Board 1.7 only works with Python 2.5 and up. You'll have to upgrade Python in order to use it.

In the next release of Review Board 1.7.2, it will properly tell you that you can't install without upgrading Python.
  • +SetupIssue