2014-11-03 22:05 GMT+01:00 Marc <m...@marcmittag.de>:
> Hello,
>
> just tried to install pootle. Everything went smooth as described at
> http://docs.translatehouse.org/projects/pootle/en/stable-2.5.1/server/installation.html#installing-pootle
>
> Even
> pootle start
>
> did show no error.
>
> Everything did as root.
>
> But after accessing http://localhost:8000/ from my browser (of course
> not root) I got the error with the following trace.
>
> Can you help me? Is it a bug in the software, or did I do anything wrong?

Please try running:

$ pootle collectstatic --noinput
$ pootle assets build


Bye

> thanks in advance,
>
> best
>
> Marc
>
>
> 2014-11-03 20:31:00,930 INFO Starting CherryPy server, listening on port
> 8000
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 109, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/pootle/core/decorators.py", line
> 87, in wrapped
>     return func(request, path_obj, *args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/pootle/apps/pootle_app/views/index/index.py",
> line 143, in view
>     RequestContext(request))
>   File
> "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py",
> line 20, in render_to_response
>     return HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line
> 176, in render_to_string
>     return t.render(context_instance)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 140, in render
>     return self._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 62, in render
>     result = block.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django_assets/templatetags/assets.py",
> line 72, in render
>     for url in bundle.urls():
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 784, in urls
>     urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 744, in _urls
>     return [self._make_output_url(ctx)]
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 701, in _make_output_url
>     version = self.get_version(ctx, refresh=ctx.auto_build)
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 315, in get_version
>     'determined dynamically, because: %s') % (self, reason))
> BundleError: Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder
>
> 2014-11-03 20:31:20,186 ERROR Internal Server Error: /
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 109, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/pootle/core/decorators.py", line
> 87, in wrapped
>     return func(request, path_obj, *args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/pootle/apps/pootle_app/views/index/index.py",
> line 143, in view
>     RequestContext(request))
>   File
> "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py",
> line 20, in render_to_response
>     return HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line
> 176, in render_to_string
>     return t.render(context_instance)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 140, in render
>     return self._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 62, in render
>     result = block.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django_assets/templatetags/assets.py",
> line 72, in render
>     for url in bundle.urls():
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 784, in urls
>     urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 744, in _urls
>     return [self._make_output_url(ctx)]
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 701, in _make_output_url
>     version = self.get_version(ctx, refresh=ctx.auto_build)
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 315, in get_version
>     'determined dynamically, because: %s') % (self, reason))
> BundleError: Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder
> BundleError("Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder",)
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/translate/misc/wsgiserver/wsgiserver2.py",
> line 1302, in communicate
>     req.respond()
>   File
> "/usr/local/lib/python2.7/dist-packages/translate/misc/wsgiserver/wsgiserver2.py",
> line 831, in respond
>     self.server.gateway(self).respond()
>   File
> "/usr/local/lib/python2.7/dist-packages/translate/misc/wsgiserver/wsgiserver2.py",
> line 2135, in respond
>     response = self.req.server.wsgi_app(self.env, self.start_response)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py",
> line 67, in __call__
>     return self.application(environ, start_response)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py",
> line 241, in __call__
>     response = self.get_response(request)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 177, in get_response
>     response = self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 226, in handle_uncaught_exception
>     return callback(request, **param_dict)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py",
> line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/views/defaults.py", line
> 33, in server_error
>     return http.HttpResponseServerError(t.render(Context({})))
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 140, in render
>     return self._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 62, in render
>     result = block.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django_assets/templatetags/assets.py",
> line 72, in render
>     for url in bundle.urls():
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 784, in urls
>     urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 744, in _urls
>     return [self._make_output_url(ctx)]
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 701, in _make_output_url
>     version = self.get_version(ctx, refresh=ctx.auto_build)
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 315, in get_version
>     'determined dynamically, because: %s') % (self, reason))
> BundleError: Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder
> 2014-11-03 20:31:20,250 ERROR Internal Server Error: /favicon.ico/
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 148, in get_response
>     response = callback(request, **param_dict)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py",
> line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/views/defaults.py", line
> 21, in page_not_found
>     return http.HttpResponseNotFound(t.render(RequestContext(request,
> {'request_path': request.path})))
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 140, in render
>     return self._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 62, in render
>     result = block.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django_assets/templatetags/assets.py",
> line 72, in render
>     for url in bundle.urls():
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 784, in urls
>     urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 744, in _urls
>     return [self._make_output_url(ctx)]
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 701, in _make_output_url
>     version = self.get_version(ctx, refresh=ctx.auto_build)
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 315, in get_version
>     'determined dynamically, because: %s') % (self, reason))
> BundleError: Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder
> BundleError("Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder",)
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/translate/misc/wsgiserver/wsgiserver2.py",
> line 1302, in communicate
>     req.respond()
>   File
> "/usr/local/lib/python2.7/dist-packages/translate/misc/wsgiserver/wsgiserver2.py",
> line 831, in respond
>     self.server.gateway(self).respond()
>   File
> "/usr/local/lib/python2.7/dist-packages/translate/misc/wsgiserver/wsgiserver2.py",
> line 2135, in respond
>     response = self.req.server.wsgi_app(self.env, self.start_response)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py",
> line 67, in __call__
>     return self.application(environ, start_response)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py",
> line 241, in __call__
>     response = self.get_response(request)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 151, in get_response
>     response = self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",
> line 226, in handle_uncaught_exception
>     return callback(request, **param_dict)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py",
> line 91, in _wrapped_view
>     response = view_func(request, *args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/views/defaults.py", line
> 33, in server_error
>     return http.HttpResponseServerError(t.render(Context({})))
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 140, in render
>     return self._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 123, in render
>     return compiled_parent._render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 134, in _render
>     return self.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py",
> line 62, in render
>     result = block.nodelist.render(context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 823, in render
>     bit = self.render_node(node, context)
>   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py",
> line 837, in render_node
>     return node.render(context)
>   File
> "/usr/local/lib/python2.7/dist-packages/django_assets/templatetags/assets.py",
> line 72, in render
>     for url in bundle.urls():
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 784, in urls
>     urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 744, in _urls
>     return [self._make_output_url(ctx)]
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 701, in _make_output_url
>     version = self.get_version(ctx, refresh=ctx.auto_build)
>   File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py",
> line 315, in get_version
>     'determined dynamically, because: %s') % (self, reason))
> BundleError: Cannot find version of <Bundle
> output=css/common.min.%(version)s.css,
> filters=[<webassets.filter.cssmin.CSSMin object at 0x7f3d3d9b9710>],
> contents=('css/style.css', 'css/magnific-popup.css', 'css/tipsy.css',
> 'css/markup.css', 'css/sprite.css', 'css/select2.css',
> 'css/select2-pootle.css', 'css/custom/custom.css')>. There is no
> manifest which knows the version, and it cannot be determined
> dynamically, because: output target has a placeholder
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Translate-pootle mailing list
> Translate-pootle@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/translate-pootle

------------------------------------------------------------------------------
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to