Menus are working again! Seems to have fixed all of my issues.
From: <Grobauer>, Bernd <[hidden email]>
Date: Wednesday, January 22, 2014 2:58 PM To: Patrick Maroney <[hidden email]>, Justin Borland <[hidden email]>, "[hidden email]" <[hidden email]> Subject: RE: [Mantis-ti-discussion] MANTIS on centos 6.4 Hi Patrick, I have just pushed the change to github ... test away! Kind regards, Bernd From: Patrick Maroney [[hidden email]]
Bernd, Sounds like a plan. I will test on my various Vagrant deployment packages as soon as you update the repo. Patrick Maroney
From: <Grobauer>, Bernd <[hidden email]> Hi Justin, thanks for the pointer to
https://github.com/django-debug-toolbar/django-debug-toolbar/issues/529 in your mail: somebody else had reported the same problem in installing MANTIS and until now we overlooked this debug-toolbar issue and could not make heads or tails of it. So it seems there is a general problem Django has during initialization and in this case the debug-toolbar runs into it. A quick fix you could try is to remove the debug-toolbar for now -- after all, you probably first want to have a look around Mantis and do not plan to start developing new views right away :) What you need to do to disable the debug-toolbar is to comment out / remove the lines in in mantis/settings/local.py where the debug toolbar is added to the list of applications: # MIDDLEWARE_CLASSES_list.append('debug_toolbar.middleware.DebugToolbarMiddleware') ... INSTALLED_APPS = tuple(INSTALLED_APPS_list # + ['debug_toolbar'] + ['south']) Alternatively, you could try to implement the explicit setup referenced in the debug-toolbar issue you found. Since this is the second time the issue has been a blocking point for installing MANTIS, I guess I will also comment out the use of the debug toolbar in the repository...
Kind regards, Bernd ------ Bernd Grobauer, Siemens CERT From:[hidden email]
[[hidden email]]
On Behalf Of Justin Borland Hey all, I’m trying to get MANTIS to run on CentOS 6.4 but am having an issue with django namespaces (
NoReverseMatch: u'djdt' is not a registered namespace ). Dump of the issue is as follows: <snip> (mantis)[root@smc-nix-03 django-mantis-master]# python2.7 manage.py runserver 127.0.0.1:8000 --settings=mantis.settings.local Validating models... 0 errors found January 22, 2014 - 20:02:34 Django version 1.6.1, using settings 'mantis.settings.local' Starting development server at
http://127.0.0.1:8000/ Quit the server with CONTROL-C. Internal Server Error: / Traceback (most recent call last): File "/root/python/mantis/lib/python2.7/site-packages/django/core/handlers/base.py", line 201, in get_response response = middleware_method(request, response) File "/root/python/mantis/lib/python2.7/site-packages/debug_toolbar/middleware.py", line 114, in process_response toolbar_content = toolbar.render_toolbar() File "/root/python/mantis/lib/python2.7/site-packages/debug_toolbar/toolbar.py", line 67, in render_toolbar return render_to_string('debug_toolbar/base.html', context) File "/root/python/mantis/lib/python2.7/site-packages/django/template/loader.py", line 164, in render_to_string return t.render(Context(dictionary)) File "/root/python/mantis/lib/python2.7/site-packages/django/template/base.py", line 140, in render return self._render(context) File "/root/python/mantis/lib/python2.7/site-packages/django/test/utils.py", line 85, in instrumented_test_render return self.nodelist.render(context) File "/root/python/mantis/lib/python2.7/site-packages/django/template/base.py", line 840, in render bit = self.render_node(node, context) File "/root/python/mantis/lib/python2.7/site-packages/django/template/debug.py", line 78, in render_node return node.render(context) File "/root/python/mantis/lib/python2.7/site-packages/django/template/defaulttags.py", line 447, in render six.reraise(*exc_info) File "/root/python/mantis/lib/python2.7/site-packages/django/template/defaulttags.py", line 433, in render url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app) File "/root/python/mantis/lib/python2.7/site-packages/django/core/urlresolvers.py", line 505, in reverse key) NoReverseMatch: u'djdt' is not a registered namespace [22/Jan/2014 20:02:45] "GET / HTTP/1.1" 500 115956 </snip> I see a similar issue came up recently
here, however I’m wondering what the best fix for this would be. Any ideas? Thanks in advance. Justin Borland
CTY GCIH GREM Sr. Security Analyst Cyber Intelligence Center, Equifax Inc. _______________________________________________ Mantis-ti-discussion mailing list [hidden email] https://tiss.trusted-introducer.org/mailman/listinfo/mantis-ti-discussion |
Free forum by Nabble | Edit this page |