2815: Can't install new ReviewBoard 1.7rc1 - Djblets Pipeline error

kozlenk*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 20, 2012
Currently have installed Django 1.4.2, django-evolution 0.6.7, Djblets 0.7.5, django-pipeline 1.2.16 but it looks like that problem is not in reviewboard.

Was trying to install new Reviewboard 1.7rc1 and get error on the collectstatic command:

Traceback (most recent call last):
  File "./contrib/internal/build-media.py", line 20, in <module>
    ret = call_command('collectstatic', interactive=False, verbosity=2)
  File "/usr/lib/python2.5/site-packages/Django-1.4.2-py2.5.egg/django/core/management/__init__.py", line 150, in call_command
    return klass.execute(*args, **defaults)
  File "/usr/lib/python2.5/site-packages/Django-1.4.2-py2.5.egg/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.5/site-packages/Django-1.4.2-py2.5.egg/django/core/management/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/python2.5/site-packages/Django-1.4.2-py2.5.egg/django/contrib/staticfiles/management/commands/collectstatic.py", line 163, in handle_noargs
    collected = self.collect()
  File "/usr/lib/python2.5/site-packages/Django-1.4.2-py2.5.egg/django/contrib/staticfiles/management/commands/collectstatic.py", line 119, in collect
    dry_run=self.dry_run)
  File "/usr/lib/python2.5/site-packages/django_pipeline-1.2.21-py2.5.egg/pipeline/storage.py", line 30, in post_process
    packager.pack_stylesheets(package)
  File "/usr/lib/python2.5/site-packages/django_pipeline-1.2.21-py2.5.egg/pipeline/packager.py", line 90, in pack_stylesheets
    variant=package.variant, **kwargs)
  File "/usr/lib/python2.5/site-packages/django_pipeline-1.2.21-py2.5.egg/pipeline/packager.py", line 99, in pack
    paths = self.compile(package.paths, force=True)
  File "/usr/lib/python2.5/site-packages/django_pipeline-1.2.21-py2.5.egg/pipeline/packager.py", line 93, in compile
    return self.compiler.compile(paths, force=force)
  File "/usr/lib/python2.5/site-packages/django_pipeline-1.2.21-py2.5.egg/pipeline/compilers/__init__.py", line 41, in compile
    compiler.compile_file(infile, outfile, outdated=outdated, force=force)
  File "/usr/lib/python2.5/site-packages/Djblets-0.7.5-py2.5.egg/djblets/pipeline/compilers/bless.py", line 67, in compile_file
    content = urllib2.urlopen(r).read()
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

As I understood, djblets-pipeline-bless trying to get the url that didn't exists.

What steps will reproduce the problem?
1. Install corresponding libs 
  a. Install Django (https://www.djangoproject.com/download/1.4.2/tarball)
  b. Install django_evolution (http://django-evolution.googlecode.com/svn/trunk/)
  c. Install Djblets (http://downloads.reviewboard.org/releases/Djblets/0.7/Djblets-0.7.5.tar.gz)
  d. Install django-pipeline (pip install django-pipeline)
2. Download RB (http://downloads.reviewboard.org/releases/ReviewBoard/1.7/ReviewBoard-1.7rc1.tar.gz)
3. untar
4. Run Install - I've tried to run general setup.py install, but then to localize problem was forced to run:
   >> python ./contrib/internal/build-media.py

Expected result - RB was installed and do a lot of joy for me and team :)

Actual result - backtrace above.

OS: Linux debian 2.6.26-2-686 #1 SMP Sun Mar 4 22:19:19 UTC 2012 i686 GNU/LinuxOS
chipx86
#1 chipx86
You shouldn't be installing from the tarball unless you're doing development on RB itself. Building from source is a release thing and requires a whole extra set of dependencies.

Make sure to follow the installation documentation to install RB. You should be using the distributed packages only. Then you'll have more luck getting up and running.
#2 kozlenk*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Thanks! Will try to use distribs, but not sure that they will correspont requirements bor RB. I'll report as soon as try.
david
#3 david
We've eliminated the blesscss service dependency in favor of requiring a local lessc
  • +Fixed
#4 kozlenk*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Ok, thanks.