I'm running zope 2.8.3, python 2.3.5 and CPS SVN trunk. I update CPS and get this traceback: 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.ExternalMethod.ExternalMethod, line 229, in __call__ __traceback_info__: ((<CPSDefaultSite at /dedie>, None, 0, 'portlets'), {}, (None, 0, 'portlets')) AttributeError: _v_func_code So that I could not update my CPS. I have no more messages. What could I do? I must update that CPS site... -- A powerfull GroupWare, CMS, CRM, ECM: CPS (Open Source & GPL). Opengroupware, SPIP, Plone, PhpBB, JetSpeed... are good: CPS is better. http://www.cps-project.org for downloads & documentation. Free hosting of CPS groupware: http://www.objectis.org.
Rakotomandimby Mihamina wrote:
I'm running zope 2.8.3, python 2.3.5 and CPS SVN trunk. I update CPS and get this traceback:
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.ExternalMethod.ExternalMethod, line 229, in __call__ __traceback_info__: ((<CPSDefaultSite at /dedie>, None, 0, 'portlets'), {}, (None, 0, 'portlets')) AttributeError: _v_func_code
So that I could not update my CPS. I have no more messages. What could I do? I must update that CPS site...
Add a self.getFunction() before the 'if' at line 229. Please report if it works, I'll add it in the Zope code. <rant>Another stupid use of _v_ attributes...</rant> Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
Add a self.getFunction() before the 'if' at line 229. Please report if it works, I'll add it in the Zope code.
Well. The update worked, but the cpsupdate ext method did not display the usual report saying what have been done. Then when I restart Zope just to see what happens, the site was broken. I had this on the web page: http://www.cps-project.org/workspaces/members/mihamina/traceback/ I had his on the command line: ##################################################### root-H9-20>>>>./bin/runzope WARNING: rdflib is not installed (or no compatible version): no RDF feature will be available WARNING: Redland is not installed, no RDF feature will be available /home/mihamina/websites/7/Products/FCKeditor/__init__.py:7: DeprecationWarning: The module, 'Prod ucts.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permiss ions'; please use the new module instead. from Products.CMFCore.CMFCorePermissions import View /home/mihamina/websites/7/Products/CMFQuickInstallerTool/__init__.py:34: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: QuickInstallerTo ol icon='tool.gif' /home/mihamina/websites/7/Products/CMFonFive/__init__.py:21: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: CMFonFive , icon='tool.gif' /usr/local/zope/lib/python/zope/configuration/fields.py:382: UserWarning: You did not specify an i18n translation domain for the 'title' field in /home/mihamina/websites/7/Products/CPSMailAccess /permissions.zcml warnings.warn( /usr/local/zope/lib/python/zope/configuration/fields.py:382: UserWarning: You did not specify an i18n translation domain for the 'title' field in /home/mihamina/websites/7/Products/CPSSharedCale ndar/../CalZope/permissions.zcml warnings.warn( /usr/local/zope/lib/python/zope/configuration/fields.py:382: UserWarning: You did not specify an i18n translation domain for the 'title' field in /home/mihamina/websites/7/Products/CPSSharedCale ndar/configure.zcml warnings.warn( /usr/local/zope/lib/python/zope/configuration/fields.py:382: UserWarning: You did not specify an i18n translation domain for the 'label' field in /home/mihamina/websites/7/Products/CalZope/brows er/configure.zcml warnings.warn( /usr/local/zope/lib/python/zope/configuration/fields.py:382: UserWarning: You did not specify an i18n translation domain for the 'label' field in /home/mihamina/websites/7/Products/CPSSharedCale ndar/overrides.zcml warnings.warn( /home/mihamina/websites/7/Products/CMFCore/DirectoryView.py:423: UserWarning: DirectoryView cps_d efault_installer refers to a non-existing path CPSDefault/skins/cps_default_installer % (self.id, dirpath), UserWarning) /home/mihamina/websites/7/Products/CMFCore/DirectoryView.py:423: UserWarning: DirectoryView epoz refers to a non-existing path Epoz/skins/epoz % (self.id, dirpath), UserWarning) /home/mihamina/websites/7/Products/CMFCore/DirectoryView.py:423: UserWarning: DirectoryView cps_r ss refers to a non-existing path CPSRSS/skins % (self.id, dirpath), UserWarning) /home/mihamina/websites/7/Products/CMFCore/DirectoryView.py:423: UserWarning: DirectoryView cpsca lendar_images refers to a non-existing path CPSCalendar/skins/cps_calendar_images % (self.id, dirpath), UserWarning) /home/mihamina/websites/7/Products/CMFCore/DirectoryView.py:423: UserWarning: DirectoryView cpsca lendar_skins refers to a non-existing path CPSCalendar/skins/cps_calendar % (self.id, dirpath), UserWarning) /home/mihamina/websites/7/Products/CMFCore/DirectoryView.py:423: UserWarning: DirectoryView cpspo rtlets_widgets_cps3 refers to a non-existing path CPSPortlets/skins/cpsportlets_widgets_cps3 % (self.id, dirpath), UserWarning) ########################################################### I switch to CPS-devel ML. -- A powerfull GroupWare, CMS, CRM, ECM: CPS (Open Source & GPL). Opengroupware, SPIP, Plone, PhpBB, JetSpeed... are good: CPS is better. http://www.cps-project.org for downloads & documentation. Free hosting of CPS groupware: http://www.objectis.org.
participants (2)
-
Florent Guillaume -
Rakotomandimby Mihamina