watho
Joined: 17 Aug 2009 Posts: 13
|
Posted: Wed 16 Dec, 2009 10:16 Post subject: |
|
|
Schade, ich war fast erfolgreich. Nach der Installation der Plugins hänge ich jetzt aber mit nem AttributeError fest, wenn ich mich als Admin angemeldet habe.
Seit dem Release der Betaversion hat sich ja einiges getan und das Skript zum Einrichten der virtuellen Umgebung nutzt ja trunk. Ist es überhaupt sinnvoll, dass jetzt zu installieren? Oder kann man dem Skript mitteilen, dass es eine bestimmte Version nutzen soll?
Achja, ich glaube zwar nicht, dass es etwas damit zu tun hat, aber ich habe den hier beschriebenen Fehler der fehlenden Javascriptdateien.
| Code: | Environment:
Request Method: GET
Request URL: http://www.wathoserver.de/pylucid/
Django Version: 1.2 pre-alpha SVN-11868
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.comments',
'django.contrib.redirects',
'pylucid_project.apps.pylucid',
'pylucid_project.apps.pylucid_admin',
'pylucid_project.apps.pylucid_update',
'dbpreferences',
'dbtemplates',
'reversion',
'tagging',
'pylucid_project.pylucid_plugins.redirect',
'pylucid_project.pylucid_plugins.sub_menu',
'pylucid_project.pylucid_plugins.search',
'pylucid_project.pylucid_plugins.internals',
'pylucid_project.pylucid_plugins.language',
'pylucid_project.pylucid_plugins.update_journal',
'pylucid_project.pylucid_plugins.extrahead',
'pylucid_project.pylucid_plugins.tag_navi',
'pylucid_project.pylucid_plugins.system',
'pylucid_project.pylucid_plugins.auth',
'pylucid_project.pylucid_plugins.admin_menu',
'pylucid_project.pylucid_plugins.blog',
'pylucid_project.pylucid_plugins.breadcrumb',
'pylucid_project.pylucid_plugins.pref_test',
'pylucid_project.pylucid_plugins.lexicon',
'pylucid_project.pylucid_plugins.pylucid_comments',
'pylucid_project.pylucid_plugins.main_menu',
'pylucid_project.pylucid_plugins.page_admin',
'pylucid_project.pylucid_plugins.tools',
'pylucid_project.pylucid_plugins.SiteMap',
'pylucid_project.pylucid_plugins.rss']
Installed Middleware:
('pylucid_project.middlewares.ip_ban.IPBanMiddleware',
'pylucid_project.middlewares.pagestats.PageStatsMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'django_tools.middlewares.ThreadLocal.ThreadLocalMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'dbpreferences.middleware.DBPreferencesMiddleware',
'pylucid_project.middlewares.page_msg.PageMessagesMiddleware',
'pylucid_project.middlewares.pylucid_objects.PyLucidMiddleware',
'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'reversion.middleware.RevisionMiddleware')
Traceback:
File "/home/watho/PyLucid_env/src/django/django/core/handlers/base.py" in get_response
99. response = callback(request, *callback_args, **callback_kwargs)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid/views.py" in root_page
261. return _render_root_page(request)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid/views.py" in _render_root_page
253. return _render_page(request, pagetree, url_lang_code)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid/views.py" in _render_page
176. complete_page = render.render_string_template(page_template, context)
File "/home/watho/PyLucid_env/src/django-tools/django_tools/template/render.py" in render_string_template
29. return t.render(c)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
183. return self._render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in _render
177. return self.nodelist.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
786. bits.append(self.render_node(node, context))
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render_node
799. return node.render(context)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid/defaulttags/lucidTag.py" in render
133. response = plugin_instance.call_plugin_view(request, "views", method_name, method_kwargs)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/system/pylucid_plugins.py" in call_plugin_view
87. response = callable(request, **method_kwargs)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid/decorators.py" in wrapper
149. response = render_to_response(template_name2, context, context_instance=RequestContext(request))
File "/home/watho/PyLucid_env/src/django/django/shortcuts/__init__.py" in render_to_response
20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "/home/watho/PyLucid_env/src/django/django/template/loader.py" in render_to_string
173. return t.render(context_instance)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
183. return self._render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in _render
177. return self.nodelist.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
786. bits.append(self.render_node(node, context))
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render_node
799. return node.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/loader_tags.py" in render
128. return compiled_parent._render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in _render
177. return self.nodelist.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
786. bits.append(self.render_node(node, context))
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render_node
799. return node.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
786. bits.append(self.render_node(node, context))
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render_node
799. return node.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/loader_tags.py" in render
142. return self.template.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
183. return self._render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in _render
177. return self.nodelist.render(context)
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render
786. bits.append(self.render_node(node, context))
File "/home/watho/PyLucid_env/src/django/django/template/__init__.py" in render_node
799. return node.render(context)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid/defaulttags/lucidTag.py" in render
133. response = plugin_instance.call_plugin_view(request, "views", method_name, method_kwargs)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/system/pylucid_plugins.py" in call_plugin_view
87. response = callable(request, **method_kwargs)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/pylucid_plugins/admin_menu/views.py" in panel_extras
68. tree = PyLucidAdminPage.objects.get_tree_for_user(user)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid_admin/models.py" in get_tree_for_user
18. filtered_items = self.get_for_user(user)
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid_admin/models.py" in get_for_user
30. superuser_only, access_permissions = item.get_permissions()
File "/home/watho/PyLucid_env/src/pylucid/pylucid_project/apps/pylucid_admin/models.py" in get_permissions
102. access_permissions = view_func.permissions
Exception Type: AttributeError at /
Exception Value: Error call plugin view admin_menu.views.lucidTag (u'lucidTag admin_menu'): Error call plugin view admin_menu.views.panel_extras (u'lucidTag admin_menu.panel_extras'): 'function' object has no attribute 'permissions' |
MfG WaTho |
|