I have managed to run RB in virtualenv, but get (harmless?) repeating error
суббота, 16 ноября 2013 г., 0:43:20 UTC+4 пользователь Christian Hammond
> It's not SITE_ID. Assuming you're using a different database for 2.0
> (really hope you are), then it's something else.
> Most likely, it's not using the proper Djblets. Can you check to make sure
> Djblets 0.8alpha1 is being used within the virtualenv? And if you have any
> tracebacks in the logs that might indicate, that'd help too.
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
> On Fri, Nov 15, 2013 at 3:33 AM, Vlad S. <the...@gmail.com
>> I am trying out new 2.0 beta1 in a staging virtual env and getting this
>> [Fri Nov 15 11:10:01 2013] [error] ERROR:root:Exception thrown for user
>> AnonymousUser at http://rb-dev.
>> [Fri Nov 15 11:10:01 2013] [error]
>> [Fri Nov 15 11:10:01 2013] [error] The file
>> 'djblets/js/jquery.gravy.min.js' could not be found with <pipelin
>> e.storage.PipelineCachedStorage object at 0x7f82acfc24d0>.
>> [Fri Nov 15 11:10:01 2013] [error] Traceback (most recent call last):
>> RB ws installed with
>> $ easy_install -f
>> http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ -U ReviewBoard
>> in python virtual env.
>> reviewboard.wsgi has been fixed to use virtualenv:
>> import os
>> import sys
>> import site
>> # Add the site-packages of the chosen virtualenv to work with
>> os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings"
>> os.environ['PYTHON_EGG_CACHE'] = "/home/rb/www/rb-dev/tmp/egg_cache"
>> os.environ['HOME'] = "/home/rb/www/rb-dev/data"
>> os.environ['PYTHONPATH'] = '/home/rb/www/rb-dev/conf:' +
>> os.environ.get('PYTHONPATH', '')
>> sys.path = ['/home/rb/www/rb-dev/conf'] + sys.path
>> # Activate rb-dev virtual env
>> execfile(activate_env, dict(__file__=activate_env))
>> import django.core.handlers.wsgi
>> application = django.core.handlers.wsgi.WSGIHandler()
>> I think I made things right but still getting this error with no clue on
>> how to fix this.
>> Shall I change SITE_ID=1? The testing environment is on the site as
>> production one, so I had to isolate that with virtualenv.
>> 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
>> For more options, visit https://groups.google.com/groups/opt_out.
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
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.