#2 — Attribute Error trackbackenabled when publishing draft TTW in trunk
by
Tom Lazar
—
last modified
Jan 08, 2009 04:14 PM
| State | Resolved |
|---|---|
| Version: |
—
|
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Tom Lazar |
| Submitted on | Dec 25, 2005 |
| Responsible | Tim Hicks |
| Target release: |
—
|
Attribute Error trackbackenabled when publishing draft TTW in trunk r15254
Trackback:
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 188, in _exec
Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /site/weblogentry_view used for /site/trunk/archive/2005/12/25/manual-entry>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 742, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 690, in do_defineMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 677, in do_condition
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 676, in do_condition
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:Quills/skins/Quills/weblogentry_view.pt
- Line 55, Column 14
- Expression: standard:'parent/trackbackEnabled'
- Names:
{'container': <PloneSite at /site>,
'context': <WeblogEntry at /site/trunk/archive/2005/12/25/manual-entry>,
'default': <Products.PageTemplates.TALES.Default instance at 0x142ebc0>,
'here': <WeblogEntry at /site/trunk/archive/2005/12/25/manual-entry>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x5d56c60>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x1419df0>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x5d56c60>,
'request': <HTTPRequest, URL=http://127.0.0.1:18087/[…]/weblogentry_view>,
'root': <Application at >,
'template': <FSPageTemplate at /site/weblogentry_view used for /site/trunk/archive/2005/12/25/manual-entry>,
'traverse_subpath': [],
'user': tomster}
Module Products.PageTemplates.Expressions, line 185, in __call__
Module Products.PageTemplates.Expressions, line 173, in _eval
Module Products.PageTemplates.Expressions, line 127, in _eval
- __traceback_info__: parent
Module Products.PageTemplates.Expressions, line 286, in restrictedTraverse
- __traceback_info__: {'path': ['trackbackEnabled'], 'TraversalRequestNameStack': []}
Module Products.Five.traversable, line 85, in __bobo_traverse__
Module Products.Archetypes.BaseObject, line 1037, in __bobo_traverse__
AttributeError: trackbackEnabled
- Steps to reproduce:
create a weblogentry, save it, then click on 'publish'
Added by
Tim Hicks
on
Dec 25, 2005 11:59 PM
Should be resolved by checkin detailed at http://svn.plone.org/view/collective?rev=15259&view=rev
Responsible manager:
(UNASSIGNED)
→
tim2p
Added by
Tom Lazar
on
Dec 28, 2005 12:53 AM
Still can't publish a weblogentry in trunk. I now get:('Could not adapt', , )
Why can't I re-open this issue? should I post a new one?
Time
2005/12/28 01:48:21.527 GMT+1
User Name (User Id)
tomster (tomster)
Request URL
http://localhost:18103/[…]/content_status_modify
Exception Type
TypeError
Exception Value
('Could not adapt', <WeblogEntry at /site/trunkblog/first-manual-entry>, <InterfaceClass Products.plonetrackback.interfaces.ITrackbackOutManager>)
Traceback (innermost last):
- Module ZPublisher.Publish, line 113, in publish
- Module ZPublisher.mapply, line 88, in mapply
- Module ZPublisher.Publish, line 40, in call_object
- Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__
- Module Products.CMFFormController.Script, line 141, in __call__
- Module Products.CMFCore.FSPythonScript, line 108, in __call__
- Module Shared.DC.Scripts.Bindings, line 311, in __call__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.CMFCore.FSPythonScript, line 163, in _exec
- Module None, line 41, in content_status_modify
<FSControllerPythonScript at /site/content_status_modify used for /site/trunkblog/first-manual-entry>
Line 41
- Module Products.CMFCore.WorkflowTool, line 301, in doActionFor
- Module Products.CMFCore.WorkflowTool, line 616, in _invokeWithNotification
- Module Products.DCWorkflow.DCWorkflow, line 287, in doActionFor
- Module Products.DCWorkflow.DCWorkflow, line 472, in _changeStateOf
- Module Products.DCWorkflow.DCWorkflow, line 575, in _executeTransition
- Module Products.ExternalMethod.ExternalMethod, line 232, in __call__
__traceback_info__: ((<Products.DCWorkflow.Expression.StateChangeInfo instance at 0x5e40260>,), {}, None)
- Module /opt/zope/instances/quillstrunk/zope/Products/Quills/Extensions/workflow_scripts.py, line 36, in moveToArchive
- Module zope.interface.interface, line 682, in __call__
TypeError: ('Could not adapt', <WeblogEntry at /site/trunkblog/first-manual-entry>, <InterfaceClass Products.plonetrackback.interfaces.ITrackbackOutManager>)
Display traceback as text
REQUEST formworkflow_action 'publish'
cookieslazy itemsSESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
otherURL4 'http://localhost:18103'
URL3 'http://localhost:18103/site'
URL2 'http://localhost:18103/site/trunkblog'
AUTHENTICATION_PATH 'site'
LANGUAGE 'en'
AUTHENTICATED_USER tomster
SERVER_URL 'http://localhost:18103'
traverse_subpath []
ACTUAL_URL 'http://localhost:18103/[…]/content_status_modify'
URL 'http://localhost:18103/[…]/content_status_modify'
PUBLISHED <FSControllerPythonScript at /site/content_status_modify used for /site/trunkblog/first-manual-entry>
workflow_action 'publish'
controller_state <Products.CMFFormController.ControllerState.ControllerState object at 0x5a788f0>
TraversalRequestNameStack []
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0x5e4bd00>
BASE1 'http://localhost:18103'
BASE2 'http://localhost:18103/site'
BASE3 'http://localhost:18103/site/trunkblog'
BASE4 'http://localhost:18103/site/trunkblog/first-manual-entry'
BASE5 'http://localhost:18103/[…]/content_status_modify'
URL1 'http://localhost:18103/site/trunkblog/first-manual-entry'
URL0 http://localhost:18103/[…]/content_status_modify
URL1 http://localhost:18103/site/trunkblog/first-manual-entry
URL2 http://localhost:18103/site/trunkblog
URL3 http://localhost:18103/site
URL4 http://localhost:18103
BASE0 http://localhost:18103
BASE1 http://localhost:18103
BASE2 http://localhost:18103/site
BASE3 http://localhost:18103/site/trunkblog
BASE4 http://localhost:18103/site/trunkblog/first-manual-entry
BASE5 http://localhost:18103/[…]/content_status_modify
environHTTP_COOKIE '__ac="dG9tc3RlcjprbG9iYmVyNDQ%3D"'
SERVER_SOFTWARE 'Zope/(Zope 2.8.5-final, python 2.3.5, darwin) ZServer/1.1 Plone/Unknown'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
HTTP_KEEP_ALIVE '300'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING 'workflow_action=publish'
channel.creation_time 1135730773
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051107 Camino/1.0b1'
HTTP_REFERER 'http://localhost:18103/site[…]nges%20have%20been%20saved.'
SERVER_NAME 'localhost'
REMOTE_ADDR '127.0.0.1'
PATH_TRANSLATED '/site/trunkblog/first-manual-entry/content_status_modify'
SERVER_PORT '18103'
HTTP_HOST 'localhost:18103'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'en,ja;q=0.9,fr;q=0.9,de;q=0.8,es;q=0.7,it;q=0.7,nl;q=0.6,sv;q=0.5,nb;q=0.5,da;q=0.4,fi;q=0.3,pt;q=0.3,zh-Hans;q=0.2,zh-Hant;q=0.1,ko;q=0.1'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
PATH_INFO '/site/trunkblog/first-manual-entry/content_status_modify'
How to report this issue
Added by
(anonymous)
on
Dec 28, 2005 01:09 AM
Not sure why you can't reopen the issue - I guess it's some permissions thing.
As to the substance of the issue, I can't reproduce it here. Have you 'svn up'd your plonetrackback product (which has gone through a few changes in the last day or so)?
Added by
Tom Lazar
on
Dec 28, 2005 01:13 AM
thanks for the swift response ;-)I'm using the fatsyndication and basesyndication products from the bundles/with-friends-trunk plus Zope 2.8.5 and plone 2.1.1, clean install.
Added by
Tom Lazar
on
Dec 28, 2005 01:17 AM
oh, and plonetrackback, too, of course ;-)
Added by
Tim Hicks
on
Dec 28, 2005 01:18 AM
Yes, but have you done an 'svn up' to make sure *all* your products from that bundle - including the 'plonetrackback' product that is the relevant one here - are up to date?
Added by
Tom Lazar
on
Dec 28, 2005 01:21 AM
well, I've done a svn up at the root of my Quills folder, which then in turn seemed to update the bundles/with-friends-trunk directory okay. anything else i should do beyond that?
Added by
Tim Hicks
on
Dec 28, 2005 01:26 AM
You should be at revision #15278 for plonetrackback. Are you?
BTW, I'm online on #plone right now if you want slightly better interactive help ;-).
Added by
Tim Hicks
on
Dec 28, 2005 02:02 AM
Turns out this problem was due to not using a new enough version of Five. The one bundled with zope 2.8.5 is *not* good enough. You (currently) need an svn checkout of the Five 1.2 branch from http://codespeak.net/svn/z3/Five/branch/Five-1.2/, although in the very near future, you should be able to use a tarball of the Five 1.2 release.
Added by
Tom Lazar
on
Dec 28, 2005 02:05 AM
turns out, that an outdated Five was the culprit - needed to update the one shipped with zope 2.8.5 to the current svn branch of 1.2.if poi would let me, i'd resolve this ticket...
No responses can be added.
If you can, please log in before submitting a reaction.
