Re: Plone Upgrade von 3.0.3 auf 4.0.3 : AttributeError('isBibliographyExportable', )
Thomas von Larcher <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo,
@Andreas: ich benutze CMFBibAT 1.1.1.1 (aus einem egg)
Ein Zwischenstand:
Nach langer erfolgloser Detailsuche bin ich heute abend auf die wirklich glorreiche Idee gekommen, unter Plone 4.0.3 die 'portal_actions' meiner migrierten (alten) 3.0.3 Instanz einfach komplett zu loeschen und gegen eine unverfaengliche 'portal_actions' einer voellig neu aufgesetzten 4.0.3 Instanz auszutauschen. Und siehe da, damit laeuft meine migrierte Instanz. Das ist zwar noch kein wirklicher Loesungsansatz aber ein weiterer Schritt in Richtung Fehleranalyse.
Viele Gruesse,
Thomas
Am 06.02.2011 um 19:55 schrieb Andreas Jung:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Und welche CMFBibAT Version?
>
> Die Definition der entsprechenden Action
>
> 4 <action title="Export Bibliography" action_id="exportBib"
> 5 category="document_actions"
> 6 condition_expr="object/@@isBibliographyExportable"
> 7 url_expr="string:${object_url}/bibliography_exportForm"
> visible="True">
> 8 <permission>View</permission>
> 9 </action>
>
>
> verwendet @@isBibliographyExportable
>
> und nicht wie der Traceback implizit 'isBibliographyExportable'
>
> Irgendeine Altlast aus einer alten Installation?
>
> - -aj
>
> Thomas von Larcher wrote:
>> Hallo,
>>
>> entschuldigt, hier der zugehoerige Traceback.
>>
>> Gruß, Thomas
>>
>> Traceback (innermost last):
>> Module ZPublisher.Publish, line 127, in publish
>> Module ZPublisher.mapply, line 77, in mapply
>> Module ZPublisher.Publish, line 47, in call_object
>> Module Shared.DC.Scripts.Bindings, line 324, in __call__
>> Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
>> Module Products.CMFCore.FSPageTemplate, line 240, in _exec
>> Module Products.CMFCore.FSPageTemplate, line 180, in pt_render
>> Module Products.PageTemplates.PageTemplate, line 80, in pt_render
>> Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>> Module zope.tal.talinterpreter, line 271, in __call__
>> Module zope.tal.talinterpreter, line 343, in interpret
>> Module zope.tal.talinterpreter, line 888, in do_useMacro
>> Module zope.tal.talinterpreter, line 343, in interpret
>> Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>> Module zope.tal.talinterpreter, line 518, in do_optTag
>> Module zope.tal.talinterpreter, line 513, in no_tag
>> Module zope.tal.talinterpreter, line 343, in interpret
>> Module zope.tal.talinterpreter, line 852, in do_condition
>> Module zope.tal.talinterpreter, line 343, in interpret
>> Module zope.tal.talinterpreter, line 531, in do_optTag_tal
>> Module zope.tal.talinterpreter, line 513, in no_tag
>> Module zope.tal.talinterpreter, line 343, in interpret
>> Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
>> Module Products.PageTemplates.Expressions, line 220, in evaluateStructure
>> Module zope.tales.tales, line 696, in evaluate
>> - URL: file:/Applications/Plone/buildout-cache/eggs/Plone-4.0.3-py2.6.egg/Products/CMFPlone/skins/plone_templates/main_template.pt
>> - Line 80, Column 8
>> - Expression: <StringExpr u'plone.portaltop'>
>> - Names:
>> {'container': <PloneSite at /Webseite>,
>> 'context': <ATDocument at /Webseite/front-page>,
>> 'default': <object object at 0x3206d8>,
>> 'here': <ATDocument at /Webseite/front-page>,
>> 'loop': {},
>> 'nothing': None,
>> 'options': {'args': ()},
>> 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x62d2660>,
>> 'request': <HTTPRequest, URL=http://localhost:8080/Webseite/front-page/document_view>,
>> 'root': <Application at >,
>> 'template': <FSPageTemplate at /Webseite/document_view used for /Webseite/front-page>,
>> 'traverse_subpath': [],
>> 'user': <PropertiedUser 'plone'>}
>> Module zope.contentprovider.tales, line 77, in __call__
>> Module zope.viewlet.manager, line 112, in update
>> Module zope.viewlet.manager, line 118, in _updateViewlets
>> Module plone.app.layout.viewlets.common, line 204, in update
>> Module plone.memoize.view, line 44, in memogetter
>> Module plone.app.layout.globals.context, line 221, in actions
>> Module Products.CMFPlone.ActionsTool, line 79, in listActionInfos
>> Module Products.CMFCore.ActionInformation, line 209, in __getitem__
>> Module Products.CMFCore.ActionInformation, line 364, in testCondition
>> Module Products.CMFCore.Expression, line 50, in __call__
>> Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
>> - __traceback_info__: portal.isBibliographyExportable(object)
>> Module PythonExpr, line 1, in <expression>
>> AttributeError: isBibliographyExportable
>>
>>
>> Am 06.02.2011 um 14:39 schrieb Maik Derstappen, Derstappen IT:
>>
>>> Am 06.02.2011 13:24, schrieb Thomas von Larcher:
>>>> Hallo Liste,
>>>>
>>>> ich versuche ein Plone Upgrade von 3.0.3 auf 4.0.3 und erhalte beim
>>>> Aufruf meiner Instance folgende Fehlermeldung:
>>>> ----
>>>> AttributeError('isBibliographyExportable',) (Also, the following
>>>> error occurred while attempting to render the standard error message,
>>>> please see the event log for full details: isBibliographyExportable)
>>>> ----
>>>>
>>>> Die Plone 3.0.3 Versionsübersicht ist:
>>>>
>>>> * Plone 3.0.3
>>>> * CMF-2.1.0
>>>> * Zope (Zope 2.10.5-final, python 2.4.4, linux2)
>>>> * Python 2.4.4 (#1, Feb 4 2008, 15:07:56) [GCC 3.3.5 (Debian
>>>> 1:3.3.5-13)]
>>>> * PIL 1.1.6
>>>>
>>>> und enthaelt folgende Zusatzprodukte:
>>>> - CMFBibliographyAT
>>>> - windowZ
>>>>
>>>> Fuer die neue Plone 4 Instance habe ich folgende eggs installiert:
>>>>
>>>> - Products.ATExtensions = 1.1a3
>>>> - Products.LinguaPlone = 4.0.1
>>>> - Products.windowZ = 1.3-beta
>>>> - bibliograph.core = 1.0.3
>>>> - bibliograph.parsing = 1.0.0
>>>> - bibliograph.rendering = 1.0.2
>>>> - pyisbn = 0.5.2
>>>>
>>>> Die Installation von Plone 4.0.3 und der Zusatzprodukte klappt und
>>>> eine neue Instance kann ich einrichten sowie die Zusatzprodukte
>>>> ('Erweiterungen') darin implementieren. Soweit so gut.
>>>>
>>>> Nach der Kopie der Data.fs (aus Plone 3.0.3) in 'filestorage' bin ich
>>>> auch insofern zufrieden, als dass das update der Version beim Start
>>>> (Meldung aehnlich wie: 'Die Version ihrer Webseite ist veraltet, Sie
>>>> muessen ein Update durchfuehren.) fehlerlos geklappt hat.
>>>>
>>>> Leider erhalte ich aber beim Aufruf der Instance unter
>>>> 'http://localhost:8080/webseite' die Fehlermeldung:
>>>> AttributeError('isBibliographyExportable',) (Also, the following
>>>> error occurred while attempting to render the standard error message,
>>>> please see the event log for full details: isBibliographyExportable)
>>>>
>>>> Zur Loesung fehlt mir leider mittlerweile ein vernuenftiger Ansatz.
>>>> Ich probiere seit 2 Tagen verschiedene Fehler-Denkmodelle aus, ohne
>>>> Erfolg. Vielleicht ist das aber auch ein offenkundiger Fehler - nur
>>>> fuer ich nicht - und jemand aus der Liste kann mir schnell
>>>> weiterhelfen? Das Durchforsten des WWW hat mir bislang leider nicht
>>>> weitergeholfen.
>>> klingt nach einer action die von CMFBibliographyAT kommt, schau mal in
>>> portal actions ob du da was findest, ansonsten schieb mal den vollen
>>> trace rüber ;)
>>>
>>> Gruß Maik
>>>
>>>
>>> --
>>> ========================================================================
>>>
>>> Derstappen I T Consulting Tel: +49 ( 341 ) 600 13 0 31
>>> Zope/E-Mail/Backup/Monitoring Mobil: +49 ( 178 ) 861 2 833
>>> M a i k D e r s t a p p e n Fax: +49 ( 180 ) 5 021 121 90 56
>>> H e r l o ß s o h n s t r 12 Email:
>>> [email protected]
>>> <mailto:[email protected]>
>>> 0 4 1 5 5 L e i p z i g Internet: http://www.derstappen-it.de
>>>
>>> ========================================================================
>>>
>>>
>>>
>>> _______________________________________________
>>> zope mailing list
>>> [email protected] <mailto:[email protected]>
>>> https://mail.dzug.org/mailman/listinfo/zope
>>
>>
>> _______________________________________________
>> zope mailing list
>> [email protected]
>> https://mail.dzug.org/mailman/listinfo/zope
>
>
> - --
> ZOPYX Limited | zopyx group
> Charlottenstr. 37/1 | The full-service network for Zope & Plone
> D-72070 Tübingen | Produce & Publish
> www.zopyx.com | www.produce-and-publish.com
> - ------------------------------------------------------------------------
> E-Publishing, Python, Zope & Plone development, Consulting
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQGUBAEBAgAGBQJNTu6uAAoJEADcfz7u4AZjsnULwKqxheJXFpstDI9gotS1aESz
> 2KgJjouEELUAGLuhKMcpAIqCPB5qK7sLyy3wpQaAFRzpEFtQE92/RlU6Ou548K4X
> TDZVjgLTJK71madM1TZimVlsepbHh1gHHSVz4rsAbv9fYmA+AxkAux+NWPcs//Vl
> c1tlc2heWUcwnoKroUgxvrxSKW3h5cikCeu3G7sPOPGU4VhJirlDkbXsnNf08w6E
> VGHZBiuXWniGz5C5P1J8nvJcLUQkuHMo082EGLJZKvQFfgpykgyB536J1PRvWQgo
> YR/8MZkPN6nVVv1vK8NK4gvHtDNO4AJPXAkVtCa65PbZ76kamCvP3mKw4I8UPs87
> Pyf/gQqHTdoTqBca/qXSHSi2eG5f0SuayhlTbdn1GKJGMqP+xIWNutgbHO7KH3fh
> n82vxaWcbTGGDPoLl6iXmc4mtw1L1vn1ouYAHowkA9hjJS1mcQ52hAHv29gwybOV
> 2bLEZSSu2HXAAc5MyFFnPN0oDkIhFf4=
> =FFSw
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope
--
Thomas von Larcher
Freie Universitaet Berlin
Dept. of Mathematics + Computer Sciences
Institute for Mathematics
Arnimallee 6
D-14195 Berlin-Dahlem, Germany
-------------------------------------
Phone: #49 (30) 838-56963
e-mail: [email protected]
URL: http://page.mi.fu-berlin.de/larcher
-------------------------------------
URL: http://www.math.fu-berlin.de/groups/fluid-dyn/
URL: http://metstroem.mi.fu-berlin.de
-------------------------------------
_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf
(text/x-vcard, 316 B)
begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[email protected] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard