Hi Vlad,

Can you show me the contents of your site's htdocs/static/ directory,
recursively?

Christian


On Monday, November 18, 2013, Vlad S. wrote:

> Hi Christian,
>
> upgrade went fine, djblets is 0.8alpha1 installed.
>
> (rb-dev)[rb@xxx ~]$ rb-site upgrade /home/rb/www/rb-dev
> /home/rb/envs/rb-dev/lib/python2.6/site-packages/pkg_resources.py:979:
> UserWarning: /home/rb/.python-eggs is writable by group/others and
> vulnerable to attack when used with get_resource_filename. Consider a more
> secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE
> environment variable).
>   warnings.warn(msg, UserWarning)
> Rebuilding directory structure
> Updating database. This may take a while.
>
> The log output below, including warnings and errors,
> can be ignored unless upgrade fails.
>
> ------------------ <begin log output> ------------------
> /home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:465:
> DeprecationWarning: The 'execute_manager' function is deprecated, you
> likely need to update your 'manage.py'; please see the Django 1.4 release
> notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
>   DeprecationWarning)
> /home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:409:
> DeprecationWarning: The 'setup_environ' function is deprecated, you likely
> need to update your 'manage.py'; please see the Django 1.4 release notes (
> https://docs.djangoproject.com/en/dev/releases/1.4/).
>   DeprecationWarning)
> Creating tables ...
> Installing custom SQL ...
> Installing indexes ...
> Installed 0 object(s) from 0 fixture(s)
> No evolution required.
> ------------------- <end log output> -------------------
>
> Resetting in-database caches.
>
> Upgrade complete!
>
> (rb-dev)[rb@xxx ~]$ pip list
> Django (1.5.5)
> django-evolution (0.6.9)
> django-pipeline (1.3.16)
> Djblets (0.8alpha1)
> docutils (0.11)
> ecdsa (0.10)
> feedparser (5.1.3)
> futures (2.1.5)
> Markdown (2.3.1)
> mimeparse (0.1.3)
> MySQL-python (1.2.4)
> osso (0.1)
> paramiko (1.12.0)
> PIL (1.1.7)
> pip (1.4.1)
> pycrypto (2.6.1)
> Pygments (1.6)
> python-dateutil (1.5)
> python-memcached (1.53)
> pytz (2013.8)
> recaptcha-client (1.0.6)
> ReviewBoard (2.0beta1)
> setuptools (1.3.2)
>
> воскресенье, 17 ноября 2013 г., 4:03:28 UTC+4 пользователь Christian
> Hammond написал:
>
> That's the result of either Djblets not being installed correctly, or
> rb-site upgrade not being run after fixing up Djblets (or it pulling in the
> wrong version). I expect the site won't work correctly without it.
>
> Christian
>
>
> On Saturday, November 16, 2013, Vlad S. wrote:
>
> I have managed to run RB in virtualenv, but get (harmless?) repeating
> error - https://groups.google.com/forum/#!topic/reviewboard/NGKUWOeJobI
>
> /v
>
> суббота, 16 ноября 2013 г., 0:43:20 UTC+4 пользователь Christian Hammond
> написал:
>
> Hi,
>
> 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.
>
> Christian
>
> --
> Christian Hammond - chi...@chipx86.com
> 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> wrote:
>
> Hi!
>
> I am trying out new 2.0 beta1 in a staging virtual env and getting this
> error:
>
> [Fri Nov 15 11:10:01 2013] [error] ERROR:root:Exception thrown for user
> AnonymousUser at http://rb-dev.[..]/rb/account/login/?next_page=/rb/
> dashboard/
> [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.o
> rg/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
> site.addsitedir('/home/rb/envs/rb-dev/lib/python2.6/site-packages')
>
> 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
> activate_env=os.path.expanduser("/home/rb/envs/rb-dev/bin/
> activate_this.py")
> 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.
>
> --
> V.
> ~
>
> ~
>
>
>  --
> 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 <javascript:_e({},
> 'cvml', 'reviewboard%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
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/groups/opt_out.

Reply via email to