I'm upgrading the RB install for my organization from 1.5.4 to 1.6.1.  I 
have been using RB since the first version years ago and I've been through 
this a number of times but this time I'm running into an error performing 
the site upgrade. I ran the easy_install command to update RB and it kept 
failing attempting to update Django

Using /usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg
Reading http://downloads.reviewboard.org/mirror/
Processing dependencies for ReviewBoard
Searching for Django>=1.3.1
Reading http://pypi.python.org/simple/Django/
Reading http://www.djangoproject.com/
Download error: (110, 'Connection timed out') -- Some packages may not be 
found!
Reading http://www.djangoproject.com/
Download error: (110, 'Connection timed out') -- Some packages may not be 
found!
Reading http://www.djangoproject.com/
Download error: (110, 'Connection timed out') -- Some packages may not be 
found!
Reading http://www.djangoproject.com/
Download error: (110, 'Connection timed out') -- Some packages may not be 
found!
Reading http://www.djangoproject.com/
^Cinterrupted


I then manually downloaded Django 1.3.1 and installed it an re-ran 
easy_install for RB which then completed quickly without errors.  Next I 
performed the site upgrade but ran into errors.  Below is the output from 
the command.  Can someone help me get past this?

# rb-site upgrade /var/www/rbserver.xyz.com/
Xlib:  extension "RANDR" missing on display ":1.0".
Rebuilding directory structure
Updating database. This may take a while.
Traceback (most recent call last):
  File "/usr/bin/rb-site", line 8, in <module>
    load_entry_point('ReviewBoard==1.6.1', 'console_scripts', 'rb-site')()
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 1747, in main
    command.run()
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 1644, in run
    site.sync_database()
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 346, in sync_database
    self.run_manage_command("syncdb", params)
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg/reviewboard/cmdline/rbsite.py",
 
line 472, in run_manage_command
    execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File 
"/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 
438, in execute_manager
    utility.execute()
  File 
"/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 
379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.5/site-packages/django/core/management/base.py", 
line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.5/site-packages/django/core/management/base.py", 
line 219, in execute
    self.validate()
  File "/usr/lib/python2.5/site-packages/django/core/management/base.py", 
line 249, in validate
    num_errors = get_validation_errors(s, app)
  File 
"/usr/lib/python2.5/site-packages/django/core/management/validation.py", 
line 35, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 
146, in get_app_errors
    self._populate()
  File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 
61, in _populate
    self.load_app(app_name, True)
  File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 
78, in load_app
    models = import_module('.models', app_name)
  File "/usr/lib/python2.5/site-packages/django/utils/importlib.py", line 
35, in import_module
    __import__(name)
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg/reviewboard/accounts/models.py",
 
line 10, in <module>
    from reviewboard.reviews.models import Group, ReviewRequest
  File 
"/usr/lib/python2.5/site-packages/ReviewBoard-1.6.1-py2.5.egg/reviewboard/reviews/models.py",
 
line 14, in <module>
    from djblets.util.misc import get_object_or_none
  File 
"/usr/lib/python2.5/site-packages/Djblets-0.6.12-py2.5.egg/djblets/util/misc.py",
 
line 347
    except Exception as e:
                      ^
SyntaxError: invalid syntax
rbserver.xyz.com:/home/jbm>
# 

Thanks

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

Reply via email to