2007-08-29 13:29:56 |
Diogo Matsubara |
description |
When I try to change the release version, I get this error:
Time:
Wed Nov 23 10:06:36 2005
User:
Carlos Perell? Mar?n, 98, Carlos Perell? Mar?n, Carlos Perell? Mar?n
Request URL:
<security proxied zope.publisher.http.URLGetter instance at 0x2aa529f1a0>
Exception Type:
ForbiddenAttribute
Exception Value:
('__module__', <class 'canonical.launchpad.database.productrelease.ProductRelease'>)
Traceback:
Traceback (innermost last):
* Module zope.publisher.publish, line 138, in publish
result = publication.callObject(request, object)
* Module zope.app.publication.zopepublication, line 161, in callObject
return mapply(ob, request.getPositionalArguments(), request)
* Module zope.publisher.publish, line 113, in mapply
return debug_call(object, args)
__traceback_info__: <security proxied zope.app.pagetemplate.simpleviewclass.SimpleViewClass from /srv/launchpad.net/production/launchpad/lib/canonical/launchpad/templates/launchpad-editform.pt instance at 0x2ab458c610>
* Module zope.publisher.publish, line 119, in debug_call
return object(*args)
* Module zope.app.pagetemplate.simpleviewclass, line 45, in __call__
return self.index(*args, **kw)
* Module zope.app.pagetemplate.viewpagetemplatefile, line 80, in __call__
return self.im_func(im_self, *args, **kw)
* Module zope.app.pagetemplate.viewpagetemplatefile, line 49, in __call__
sourceAnnotations=debug_flags.sourceAnnotations)
* Module zope.pagetemplate.pagetemplate, line 120, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
* Module zope.tal.talinterpreter, line 236, in __call__
self.interpret(self.program)
* Module zope.tal.talinterpreter, line 311, in interpret
handlers[opcode](self, args)
* Module zope.tal.talinterpreter, line 748, in do_condition
if not self.tal or self.engine.evaluateBoolean(condition):
* Module zope.tales.tales, line 703, in evaluateBoolean
return not not self.evaluate(expr)
* Module zope.tales.tales, line 698, in evaluate
return expression(self)
/srv/launchpad.net/production/launchpad/lib/canonical/launchpad/templates/launchpad-editform.pt
Line 1, Column 0
Expression: <PathExpr standard:'view/update'>
- Names:
{'args': (),
'context': <ProductRelease at 0x1e802c90>,
'default': <object object at 0x2a955c01d0>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <canonical.launchpad.webapp.servers.LaunchpadBrowserRequest instance URL=https://launchpad.net/products/synaptic/+series/main/unknown/+review>,
'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0x2a9f6b31d0>,
'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at 0x2ac16b35d0>,
'view': <zope.app.pagetemplate.simpleviewclass.SimpleViewClass from /srv/launchpad.net/production/launchpad/lib/canonical/launchpad/templates/launchpad-editform.pt object at 0x2ab458c610>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2ac16b3910>}
* Module zope.tales.expressions, line 204, in __call__
return self._eval(econtext)
* Module zope.tales.expressions, line 198, in _eval
return ob()
* Module zope.app.form.browser.editview, line 104, in update
target=content, names=self.fieldNames)
* Module zope.app.form.utility, line 227, in applyWidgetsChanges
changed = widget.applyChanges(target) or changed
* Module zope.app.form.browser.widget, line 318, in applyChanges
field.set(content, value)
* Module zope.schema._bootstrapfields, line 175, in set
raise TypeError("Can't set values on read-only fields "
ForbiddenAttribute: ('__module__', <class 'canonical.launchpad.database.productrelease.ProductRelease'>)
Display traceback as text
Request
HTTP_ACCEPT : text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
field.productseries-empty-marker : 1
HTTP_MAX_FORWARDS : 10
HTTP_REFERER : https://launchpad.net/products/synaptic/+series/main/unknown/+review
HTTP_X_FORWARDED_HOST : launchpad.net
SERVER_SOFTWARE : zope.server.http (HTTP)
SCRIPT_NAME :
REQUEST_METHOD : POST
HTTP_HOST : localhost:9030
PATH_INFO : /++vh++https:launchpad.net:443/++/products/synaptic/+series/main/unknown/+review
SERVER_PROTOCOL : HTTP/1.1
CHANNEL_CREATION_TIME : 1132740396.2
UPDATE_SUBMIT : Change
HTTP_X_FORWARDED_SERVER : launchpad.net
CONTENT_LENGTH : 570
HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT : Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)
HTTP_COOKIE : launchpad=2tz3eh8v6cnY8SxwypCvjAy7yyouIJKJvuFTm3Dv4lJBkkXUOfC1f4
SERVER_NAME : gangotri
REMOTE_ADDR : 127.0.0.1
HTTP_X_FORWARDED_FOR : 83.49.60.81, 127.0.0.1
CONTENT_TYPE : multipart/form-data; boundary=---------------------------4458416311185458150609836145
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT_LANGUAGE : en-gb,en;q=0.5
launchpad : 2tz3eh8v6cnY8SxwypCvjAy7yyouIJKJvuFTm3Dv4lJBkkXUOfC1f4
HTTP_VIA : 1.1 launchpad.net
SERVER_PORT : 9031
field.version : 0.57.2
field.productseries : 195
HTTP_ACCEPT_ENCODING : gzip,deflate |
Steps to reproduce:
1. Open http://launchpad.dev/firefox/trunk/0.9.2/+review
2. Change the version to 0.9.3
3. Click Change
4. OOPS-604E140 ForbiddenAttribute ('__module__', <class 'canonical.launchpad.database.productrelease.ProductRelease'>)
TypeError("Can't set values on read-only fields "
|
|