For the error below, the problem is that you upgraded Django to 1.6. Review 
Board 1.7.x requires Django 1.4.x.

You can downgrade using this command:

easy_install Django==1.4

-David

> On Mar 24, 2014, at 12:26 PM, Josephine O'Para <jo.ak....@gmail.com> wrote:
> 
> I have been trying to configure reviewoard and was getting some 404 errors.  
> Now the situation is worse.  I tried to use an upgrade to clear  the problem 
> but alas I am in a worse place than when I started. I am ready to pay for ono 
> on on consultation if someone contacts me.
> Below is my error and rb-site tool is not working
> 
>  rb-site upgrade /proj/web/reviewboard
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==1.7.22', 'console_scripts', 'rb-site')()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
> 2055, in main
>     command.run()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
> 1865, in run
>     static_media_upgrade_needed = site.get_static_media_upgrade_needed()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
> 412, in get_static_media_upgrade_needed
>     siteconfig = SiteConfiguration.objects.get_current()
>   File "/usr/src/djblets/djblets/siteconfig/managers.py", line 50, in 
> get_current
>     site = Site.objects.get_current()
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/contrib/sites/models.py",
>  line 47, in get_current
>     current_site = self.get(pk=sid)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/manager.py",
>  line 151, in get
>     return self.get_queryset().get(*args, **kwargs)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/query.py",
>  line 298, in get
>     clone = self.filter(*args, **kwargs)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/query.py",
>  line 590, in filter
>     return self._filter_or_exclude(False, *args, **kwargs)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/query.py",
>  line 608, in _filter_or_exclude
>     clone.query.add_q(Q(*args, **kwargs))
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/sql/query.py",
>  line 1198, in add_q
>     clause = self._add_q(where_part, used_aliases)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/sql/query.py",
>  line 1234, in _add_q
>     current_negated=current_negated)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/sql/query.py",
>  line 1100, in build_filter
>     allow_explicit_fk=True)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/sql/query.py",
>  line 1357, in setup_joins
>     names, opts, allow_many, allow_explicit_fk)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/sql/query.py",
>  line 1265, in names_to_path
>     field, model, direct, m2m = opts.get_field_by_name(name)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/options.py",
>  line 373, in get_field_by_name
>     cache = self.init_name_map()
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/options.py",
>  line 402, in init_name_map
>     for f, model in self.get_all_related_m2m_objects_with_model():
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/options.py",
>  line 518, in get_all_related_m2m_objects_with_model
>     cache = self._fill_related_many_to_many_cache()
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/options.py",
>  line 532, in _fill_related_many_to_many_cache
>     for klass in get_models(only_installed=False):
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/loading.py",
>  line 232, in get_models
>     self._populate()
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/loading.py",
>  line 75, in _populate
>     self.load_app(app_name, True)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/db/models/loading.py",
>  line 97, in load_app
>     app_module = import_module(app_name)
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.2-py2.6.egg/django/utils/importlib.py",
>  line 40, in import_module
>     __import__(name)
> ImportError: No module named markup
> 
> Josephine
> -- 
> 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/d/optout.

-- 
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/d/optout.

Reply via email to