On Sat, Jul 20, 2013 at 4:54 PM, Igor Russkih <iruss...@gmail.com> wrote: > Hello, after pootle deployment (apache2, debian server), I observe the > following email reports (end of email). > > At the same time server seems to be functional and works fine. Could > somebody suggest if thats a pootle issue, or some configuration problem? > > Traceback (most recent call last): > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", > line 150, in get_response > response = callback(request, **param_dict) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/utils/decorators.py", > line 91, in _wrapped_view > response = view_func(request, *args, **kwargs) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/views/defaults.py", > line 21, in page_not_found > return http.HttpResponseNotFound(t.render(RequestContext(request, > {'request_path': request.path}))) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 140, in render > return self._render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 134, in _render > return self.nodelist.render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 823, in render > bit = self.render_node(node, context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 837, in render_node > return node.render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/loader_tags.py", > line 123, in render > return compiled_parent._render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 134, in _render > return self.nodelist.render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 823, in render > bit = self.render_node(node, context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 837, in render_node > return node.render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/loader_tags.py", > line 62, in render > result = block.nodelist.render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 823, in render > bit = self.render_node(node, context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django/template/base.py", > line 837, in render_node > return node.render(context) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/django_assets/templatetags/assets.py", > line 69, in render > for url in bundle.urls(env=get_env()): > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", > line 681, in urls > urls.extend(bundle._urls(env, extra_filters, *args, **kwargs)) > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", > line 650, in _urls > for org, cnt in self.resolve_contents(env): > > File > "/var/www/pootle/env/local/lib/python2.7/site-packages/webassets/bundle.py", > line 148, in resolve_contents > raise BundleError(e) > > BundleError: > '/var/www/pootle/env/local/lib/python2.7/site-packages/pootle/assets/css_common' > does not exist
Hi, it might be that the assets are not being built. Run the following commands: manage.py collectstatic --clear --noinput manage.py assets build Bye > <WSGIRequest > path:/pootle/es/xxxx/translate.html, > GET:<QueryDict: {u'unit': [u'21506']}>, > POST:<QueryDict: {}>, > COOKIES:{}, > META:{'CSRF_COOKIE': 'CRImuekrGQOUyjdOQtjnOMkXwOoS1DYT', > 'DOCUMENT_ROOT': '/etc/apache2/htdocs', > 'GATEWAY_INTERFACE': 'CGI/1.1', > 'HTTP_ACCEPT': '*/*', > 'HTTP_ACCEPT_CHARSET': 'utf-8;q=0.7,iso-8859-1;q=0.2,*;q=0.1', > 'HTTP_HOST': 'translate.xxxx.com', > 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Ezooms/1.0; > ezooms....@gmail.com)', > 'PATH_INFO': u'/pootle/es/xxxx/translate.html', > 'PATH_TRANSLATED': '/var/www/pootle/wsgi.py/pootle/es/xxxx/translate.html', > 'POOTLE_SETTINGS': '/root/.pootle/pootle.conf', > 'QUERY_STRING': 'unit=21506', > 'REMOTE_ADDR': '208.115.111.70', > 'REMOTE_PORT': '56161', > 'REQUEST_METHOD': 'GET', > 'REQUEST_URI': '/pootle/es/xxxx/translate.html?unit=21506', > 'SCRIPT_FILENAME': '/var/www/pootle/wsgi.py', > 'SCRIPT_NAME': u'', > 'SERVER_ADDR': 'xxxx', > 'SERVER_ADMIN': '[no address given]', > 'SERVER_NAME': 'translate.xxxx.com', > 'SERVER_PORT': '80', > 'SERVER_PROTOCOL': 'HTTP/1.1', > 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at > translate.xxxx.com Port 80</address>\n', > 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', > 'mod_wsgi.application_group': 'tra.xxxx.com|', > 'mod_wsgi.callable_object': 'application', > 'mod_wsgi.handler_script': '', > 'mod_wsgi.input_chunked': '0', > 'mod_wsgi.listener_host': '', > 'mod_wsgi.listener_port': '80', > 'mod_wsgi.process_group': 'pootle', > 'mod_wsgi.request_handler': 'wsgi-script', > 'mod_wsgi.script_reloading': '1', > 'mod_wsgi.version': (3, 3), > 'wsgi.errors': <mod_wsgi.Log object at 0x7faefd749730>, > 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter > object at 0x7faefd747210>, > 'wsgi.input': <mod_wsgi.Input object at 0x7faefd7496f0>, > 'wsgi.multiprocess': True, > 'wsgi.multithread': True, > 'wsgi.run_once': False, > 'wsgi.url_scheme': 'http', > 'wsgi.version': (1, 1)}> > > > > > Igor > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle