If you're installing from the egg, it shouldn't be trying to build media
files. What command did you run to get that output?

-David

On Tue, Jun 14, 2016 at 7:17 AM Mátyás Papp <koczka...@gmail.com> wrote:

> Hey there!
>
> I wanna installing rb 2.0.11 but I get these errors:
>
> 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-1.6.11-py2.7.egg/django/core/management/__init__
>   .py", line 159, in call_command
>     return klass.execute(*args, **defaults)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/base.py"
>   , line 285, in execute
>     output = self.handle(*args, **options)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/base.py"
>   , line 415, in handle
>     return self.handle_noargs(**options)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/mana
>   gement/commands/collectstatic.py", line 173, in handle_noargs
>     collected = self.collect()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/mana
>   gement/commands/collectstatic.py", line 102, in collect
>     for finder in finders.get_finders():
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 253, in get_finders
>     yield get_finder(finder_path)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/functional.py"
> , li   ne 32, in wrapper
>     result = func(*args)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 265, in _get_finder
>     return Finder()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 125, in __init__
>     app_storage = self.storage_class(app)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/stor
>   age.py", line 303, in __init__
>     mod = import_module(app)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/importlib.py"
> , lin   e 40, in import_module
>     __import__(name)
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/__init__.py
>   ", line 10, in <module>
>     from haystack.utils import loading
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/utils/loadi
>   ng.py", line 18, in <module>
>     from haystack.utils.app_loading import haystack_get_app_modules
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/utils/app_l
>   oading.py", line 4, in <module>
>     from django.apps import apps
> ImportError: No module named apps
> Traceback (most recent call last):
>   File "setup.py", line 233, 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/bdist_egg.py",
> line 152, 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 installed ReviewBoard-2.0.11 egg with easy_install and dependencies.
> What should I do?
> Thanks for the help!
>
> Best regards,
> Matyas
>
> --
> 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.
>

-- 
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