Hi,

I have to make a particular dev - change in reviewboard .

For this, I cloned the new reviewboard version from GIT repository.

When I tried to install using setup.py as :

python setup.py install

It throws an error:

Traceback (most recent call last):
  File "contrib/internal/build-media.py", line 29, in <module>
    ret = call_command('collectstatic', interactive=False, verbosity=2)
  File 
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", 
line 159, in call_command
    return klass.execute(*args, **defaults)
  File 
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", 
line 285, in execute
    output = self.handle(*args, **options)
  File 
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", 
line 415, in handle
    return self.handle_noargs(**options)
  File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
 
line 173, in handle_noargs
    collected = self.collect()
  File 
"/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
 
line 119, in collect
    for original_path, processed_path, processed in processor:
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/storage.py",
 
line 32, in post_process
    packager.pack_stylesheets(package)
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/packager.py",
 
line 94, in pack_stylesheets
    variant=package.variant, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/packager.py",
 
line 103, in pack
    paths = self.compile(package.paths, force=True)
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/packager.py",
 
line 97, in compile
    return self.compiler.compile(paths, force=force)
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/compilers/__init__.py",
 
line 55, in compile
    return list(executor.map(_compile, paths))
  File 
"/usr/local/lib/python2.7/dist-packages/futures-3.0.2-py2.7.egg/concurrent/futures/_base.py",
 
line 579, in result_iterator
    yield future.result()
  File 
"/usr/local/lib/python2.7/dist-packages/futures-3.0.2-py2.7.egg/concurrent/futures/_base.py",
 
line 403, in result
    return self.__get_result()
  File 
"/usr/local/lib/python2.7/dist-packages/futures-3.0.2-py2.7.egg/concurrent/futures/thread.py",
 
line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/compilers/__init__.py",
 
line 40, in _compile
    outdated=outdated, force=force)
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/compilers/less.py",
 
line 22, in compile_file
    return self.execute_command(command, cwd=dirname(infile))
  File 
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.27-py2.7.egg/pipeline/compilers/__init__.py",
 
line 99, in execute_command
    raise CompilerError(stderr)
*pipeline.exceptions.CompilerError: /usr/bin/env: lessc: No such file or 
directory*

Traceback (most recent call last):
  File "setup.py", line 231, in <module>
    "Topic :: Software Development :: Quality Assurance",
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", 
line 73, in run
    self.do_egg_install()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", 
line 88, in do_egg_install
    self.run_command('bdist_egg')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", 
line 177, in run
    self.run_command("egg_info")
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 80, in run
    self.run_command('build_media')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 100, in run
    raise RuntimeError('Failed to build media files')
*RuntimeError: Failed to build media files*

I have seen many posts with same error, but none of them helped me to solve 
this issue.

There was post mentioning that settings_local.py file must be present on 
the top directory of reviewboard to avoid this annoying error, but I didnt 
see any change in the error. 

It would be great if there is a step-by-step instruction to install 
reviewboard from GIT.

Please guide me on installing the reviewboard.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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