Your message dated Sun, 09 Oct 2011 12:17:34 +0000
with message-id <[email protected]>
and subject line Bug#641865: Removed package(s) from unstable
has caused the Debian Bug report #591314,
regarding Server error at the admin pages
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
591314: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591314
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: pootle
version: 2.0.5
I just updated from Pootle 2.0.1 to 2.0.5 and after some initial errors I
got the workflow running again but the administration pages are
unavailable.
Visiting a URL like
http://pootle.lxde.bsnet.se/ca/lxde/gpicview/po/admin_permissions.html
renders the following page:
-----
Server Error
An error has occurred. Thank you for your patience.
get() returned more than one ContentType -- it returned 2! Lookup
parameters were {'name': 'pootle', 'app_label': 'pootle_app'}
-----
and in the log I got:
==> error.log <==
[Mon Aug 02 05:41:02 2010] [error] Traceback (most recent call last):
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 100, in
get_response
[Mon Aug 02 05:41:02 2010] [error] response = callback(request,
*callback_args, **callback_kwargs)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/language/view.py", line 56,
in decorated_f
[Mon Aug 02 05:41:02 2010] [error] return f(request, translation_project,
*args, **kwargs)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/language/view.py", line 66,
in decorated_f
[Mon Aug 02 05:41:02 2010] [error] return f(request, translation_project,
*args, **kwargs)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/language/view.py", line 74,
in translation_project_admin_permissions
[Mon Aug 02 05:41:02 2010] [error] return
tp_admin_permissions_view(request, translation_project)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/admin/util.py", line 48, in
decorated_f
[Mon Aug 02 05:41:02 2010] [error] return f(request, path_obj, *args,
**kwargs)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/language/admin_permissions.py",
line 238, in view
[Mon Aug 02 05:41:02 2010] [error] permission_set_formset =
process_update(request, translation_project.directory)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/language/admin_permissions.py",
line 231, in process_update
[Mon Aug 02 05:41:02 2010] [error] return
PermissionSetFormSet(initial=get_permission_data(directory))
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/pymodules/python2.6/django/forms/formsets.py", line 47, in __init__
[Mon Aug 02 05:41:02 2010] [error] self._construct_forms()
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/pymodules/python2.6/django/forms/formsets.py", line 97, in
_construct_forms
[Mon Aug 02 05:41:02 2010] [error]
self.forms.append(self._construct_form(i))
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/pymodules/python2.6/django/forms/formsets.py", line 116, in
_construct_form
[Mon Aug 02 05:41:02 2010] [error] form = self.form(**defaults)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/views/language/admin_permissions.py",
line 51, in __init__
[Mon Aug 02 05:41:02 2010] [error] permission_choices = [(codename,
_(permission.name)) for codename, permission in
get_pootle_permissions().iteritems()]
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/python2.6/dist-packages/pootle_app/models/permissions.py", line 40,
in get_pootle_permissions
[Mon Aug 02 05:41:02 2010] [error] content_type =
ContentType.objects.get(name='pootle', app_label='pootle_app')
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/pymodules/python2.6/django/db/models/manager.py", line 132, in get
[Mon Aug 02 05:41:02 2010] [error] return self.get_query_set().get(*args,
**kwargs)
[Mon Aug 02 05:41:02 2010] [error] File
"/usr/lib/pymodules/python2.6/django/db/models/query.py", line 343, in get
[Mon Aug 02 05:41:02 2010] [error] % (self.model._meta.object_name, num,
kwargs))
[Mon Aug 02 05:41:02 2010] [error] MultipleObjectsReturned: get() returned more
than one ContentType -- it returned 2! Lookup parameters were {'name':
'pootle', 'app_label': 'pootle_app'}
[Mon Aug 02 05:41:02 2010] [error]
==> pootle-access.log <==
128.59.13.12 - - [02/Aug/2010:05:41:01 +0200] "GET /ca/lxde/gpicview/po/admin_permissions.html
HTTP/1.1" 500 1724 "http://pootle.lxde.bsnet.se/ca/lxde/gpicview/po/review.html"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like
Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/style.css HTTP/1.1" 200 6392
"http://pootle.lxde.bsnet.se/ca/lxde/gpicview/po/admin_permissions.html" "Mozilla/5.0 (X11; U;
Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/js/jquery/jquery.min.js HTTP/1.1" 200
26681 "http://pootle.lxde.bsnet.se/ca/lxde/gpicview/po/admin_permissions.html" "Mozilla/5.0
(X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/images/header-background.png HTTP/1.1" 200
603 "http://pootle.lxde.bsnet.se/html/style.css" "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/images/logo.png HTTP/1.1" 200 978
"http://pootle.lxde.bsnet.se/html/style.css" "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/images/header-background-bottom.png
HTTP/1.1" 200 638 "http://pootle.lxde.bsnet.se/html/style.css" "Mozilla/5.0 (X11; U;
Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/images/footer-border.png HTTP/1.1" 200
3905 "http://pootle.lxde.bsnet.se/html/style.css" "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
128.59.13.12 - - [02/Aug/2010:05:41:02 +0200] "GET /html/images/page-bg.jpg HTTP/1.1" 200 27243
"http://pootle.lxde.bsnet.se/html/style.css" "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9)"
I have pootle running as wsgi application in apache here.
The dependency check says:
* Translate Toolkit version 1.5.3 installed.
* SQLite is installed.
* Django version 1.2.1 is installed.
I looks like it's releated to user privs in some way because all other
admin pages loads with no problem.
Eg. http://pootle.lxde.bsnet.se/admin/languages.html works but not
http://pootle.lxde.bsnet.se/admin/permissions.html.
--
/brother
http://martin.bagge.nu
Bruce Schneier decided the color of the blue box
--- End Message ---
--- Begin Message ---
Version: 2.0.5-0.3+rm
Dear submitter,
as the package pootle has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see http://bugs.debian.org/641865
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)
--- End Message ---