|
|
|
|
Ralf Hemmecke-2
()
|
|
||||||||||||
|
Hello,
here is some more input for the problem of installing PloneFormGen 1.5.4. It seems that it is related to my database still containing traces of CMFBibliographyAT. What I did was: 1) Uninstall (quick-installer) CMFBibliographyAT 1.0 and ATExtensions 0.9.6. 2) Remove bibaware-to-html, html-to-bibaware from portal_transforms. 3) Remove "Bibliography Setup" from portal_controlpanel. 4) Under portal_skins --> Properties: remove bibliography bibliography_deprecated bibliography_selenium_tests at_extensions CMFPlacefulWorkflow LanguageToolFlags 5) Stop plone 6) Remove CMFBibliographyAT from buildout.cfg. And start bin/buildout. (What I had before you find in the second "eggs" entry below.) 7) Remove CMFBibliographyAT and ATExtensions from the Products section in the root of the ZMI. (/Control_Panel/Products) 8) Go to Plone site setup --> Add-on Products. (I have no additional products installed.) Check PloneFormGen 1.5.4 and "Install". That ends with the following error. ===================================================================== eggs = Plone Products.PloneFormGen develop = ==================================================================== 2009-11-08 00:08:48 INFO GenericSetup.rolemap Role / permission map imported. 2009-11-08 00:08:48 ERROR Zope.SiteErrorLog 1257635328.020.393480147078 https://test.dkcm.jku.at/dk/portal_quickinstaller/installProducts Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 589, in installProducts Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 514, in installProduct - __traceback_info__: ('PloneFormGen',) Module Products.ExternalMethod.ExternalMethod, line 231, in __call__ - __traceback_info__: ((<PloneSite at /dk>,), {}, None) Module /usr/local/Plone-3.3/buildout-cache/eggs/Products.PloneFormGen-1.5.4-py2.4.egg/Products/PloneFormGen/Extensions/Install.py, line 21, in install Module Products.GenericSetup.tool, line 390, in runAllImportStepsFromProfile - __traceback_info__: profile-Products.PloneFormGen:default Module Products.GenericSetup.tool, line 1179, in _runImportStepsFromContext Module Products.GenericSetup.tool, line 1090, in _doRunImportStep - __traceback_info__: toolset Module Products.GenericSetup.tool, line 128, in importToolset TypeError: 'NoneType' object is not callable =========================================================================== After that, I put my references to CMFBibliographyAT back into buildout.cfg (see below). Then bin/buildout. Then I can install PloneFormGen with the Quickinstaller, but it gives the following trace. Why is there anything called related to CMFBibliographyAT? Is that to be expected? I would have thought that CMFBibliographyAT sits quiet in my filesystem until I quick-install it. What should happen? I can only imagine that I still have some traces of CMFBibliographyAT left in my database. But where? How can I find and remove them? Ralf ============================================================================ eggs = Plone Products.ATExtensions Products.CMFBibliographyAT bibliograph.core bibliograph.parsing bibliograph.rendering Products.PloneFormGen develop = src/bibliograph.core src/bibliograph.parsing src/bibliograph.rendering src/Products.CMFBibliographyAT ============================================================================ 2009-11-08 00:12:18 INFO GenericSetup.actions Actions tool imported. 2009-11-08 00:12:18 INFO GenericSetup.controlpanel Control panel imported. 2009-11-08 00:12:18 INFO GenericSetup.types Types tool imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FieldsetFolder' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormBooleanField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormCaptchaField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormCustomScriptAdapter' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormDateField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormFileField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormFixedPointField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormFolder' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormIntegerField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormLabelField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormLikertField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormLinesField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormMailerAdapter' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormMultiSelectionField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormPasswordField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormRichLabelField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormRichTextField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormSaveDataAdapter' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormSelectionField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormStringField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormTextField' type info imported. 2009-11-08 00:12:18 INFO GenericSetup.types 'FormThanksPage' type info imported. 2009-11-08 00:12:19 INFO GenericSetup.workflow Workflow tool imported. 2009-11-08 00:12:19 INFO GenericSetup.factorytool FactoryTool settings imported. 2009-11-08 00:12:19 INFO GenericSetup. ArchetypeTool settings imported. 2009-11-08 00:12:19 INFO GenericSetup.memberdata Nothing to import. 2009-11-08 00:12:19 INFO GenericSetup.plone.app.viewletmanager Nothing to import 2009-11-08 00:12:19 INFO GenericSetup.resourceregistry Stylesheet registry: Nothing to import 2009-11-08 00:12:19 INFO GenericSetup.resourceregistry KSS registry imported. 2009-11-08 00:12:19 INFO GenericSetup.propertiestool Properties tool imported. 2009-11-08 00:12:19 INFO GenericSetup.bibliography Adding new mimetype Add transform Checked transformation policy Migrating CMFBibliographyAT 0.7 -> 0.8 authorSchema migration to FormattableNames field ----------------------------------------------- No authorSchema migration needed. Migrating CMFBibliographyAT 0.8 -> 0.9 BibliographyTool migration: --------------------------- Tool is up-to-date ImportCriteriasManager schema migration: ---------------------------------------- No ImportCriteriasManager upgrade needed. typeField schema migration: --------------------------- No typeField schema upgrade needed. general schema upgrade of bibliographical reference items --------------------------------------------------------- No general schema upgrade needed. upgrade of bibliography folders' duplicate bibliographical reference engine --------------------------------------------------------------------------- No duplication engine migration needed. Migrating CMFBibliographyAT 0.9 -> 1.0 BibliographyTool migration: --------------------------- Tool is up-to-date 2009-11-08 00:12:19 INFO GenericSetup.resourceregistry Javascript registry: Nothing to import 2009-11-08 00:12:19 INFO GenericSetup.properties Nothing to import. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plone-Users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/plone-users |
||||||||||||||
|
|
ajung
()
|
|
|
Why don't you stick as unexperienced user with released versions?
CMFBibAT 1.0 is not released, the latest official version is V 0.9.2 afaik. And of course: you perform such changes and testing on a dedicated testing system. Please don't tell use that you were trying those changes in production. -aj
|
||
|
|
Ralf Hemmecke-2
()
|
|
||||||||||||
|
On 11/08/2009 08:36 AM, ajung wrote:
> Why don't you stick as unexperienced user with released versions? I would like, but there are two reasons. 1) I have CMFBibAT 1.0 installed and cannot get properly rid of it. 2) Because of https://mail.das-netzwerkteam.de/pipermail/plone-biblio/2009-November/001275.html (Note that is an installation in a clean Plone 3.3.1 system with a fresh Data.fs.) > CMFBibAT 1.0 is not released, the latest official version is V 0.9.2 afaik. Of course, you are right, but see my problem with a fresh installation of 0.9.2 above. Also note https://mail.das-netzwerkteam.de/pipermail/plone-biblio/2009-June/001200.html and follow-up mails. And http://plone.org/products/cmfbibliographyat/ even today points to 0.8.0. What would you do as a beginner? Unfortunately, there is seemingly no "The up-to-date Add-on Products" page for Plone. I understand that because it's all volunteer work, but then what is plone-user for if not to help people to get things straight? > And of course: you perform such changes and testing on a dedicated > testing system. Please don't tell use that you were trying those > changes in production. Call me stupid or whatever you like. But I tried CMFBibAT 1.0 and several other things in non-production. Installed and uninstalled again. Then (unfortunately I don't remember exactly) I must have taken that Data.fs, because I thought at that time that uninstalling a product means just that. Today, I know I shouldn't trust any products uninstallation routine, but I didn't know when I started. So now I have a Data.fs that somehow only works if I keep the CMFBibAT 1.0 installed. :-( It does not help me if I just being told that I should not have done something in production mode. I know that already. I kindly ask you or someone else on this list to help me to make my error undone. I know everything is on a volunteer basis so I cannot force anybody. I accept that. Regards, Ralf ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plone-Users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/plone-users |
||||||||||||||
|
|
Raphael Ritz
()
|
|
||||||||||||
|
In reply to this post
by Ralf Hemmecke-2
Ralf Hemmecke wrote:
> Hello, > Hi Ralf, > here is some more input for the problem of installing PloneFormGen 1.5.4. > > It seems that it is related to my database still containing traces of > CMFBibliographyAT. Wild guess: you still have a utility registered who's registration didn't get removed by the uninstall. On a dev copy of your site try to figure out what lookup attempt resulted in the "NoneType Object" using pdb or if that's too much of a hassle you can try-and-error like work your way through the registered components in ZMI. To that end, go to your Plone site root in ZMI and select the 'Components' tab. Look for CMFBib related utility registrations. Remove those. Does that make a difference? Raphael > > What I did was: > > 1) Uninstall (quick-installer) CMFBibliographyAT 1.0 and > ATExtensions 0.9.6. > 2) Remove bibaware-to-html, html-to-bibaware from portal_transforms. > 3) Remove "Bibliography Setup" from portal_controlpanel. > 4) Under portal_skins --> Properties: remove > bibliography > bibliography_deprecated > bibliography_selenium_tests > at_extensions > CMFPlacefulWorkflow > LanguageToolFlags > 5) Stop plone > 6) Remove CMFBibliographyAT from buildout.cfg. And start bin/buildout. > (What I had before you find in the second "eggs" entry below.) > 7) Remove CMFBibliographyAT and ATExtensions from the Products section > in the root of the ZMI. (/Control_Panel/Products) > 8) Go to Plone site setup --> Add-on Products. (I have no additional > products installed.) Check PloneFormGen 1.5.4 and "Install". > That ends with the following error. > > ===================================================================== > eggs = > Plone > Products.PloneFormGen > > develop = > ==================================================================== > 2009-11-08 00:08:48 INFO GenericSetup.rolemap Role / permission map > imported. > 2009-11-08 00:08:48 ERROR Zope.SiteErrorLog 1257635328.020.393480147078 > https://test.dkcm.jku.at/dk/portal_quickinstaller/installProducts > > Traceback (innermost last): > > Module ZPublisher.Publish, line 119, in publish > > Module ZPublisher.mapply, line 88, in mapply > > Module ZPublisher.Publish, line 42, in call_object > > Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 589, > in installProducts > > Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 514, > in installProduct > > - __traceback_info__: ('PloneFormGen',) > > Module Products.ExternalMethod.ExternalMethod, line 231, in __call__ > > - __traceback_info__: ((<PloneSite at /dk>,), {}, None) > > Module > /usr/local/Plone-3.3/buildout-cache/eggs/Products.PloneFormGen-1.5.4-py2.4.egg/Products/PloneFormGen/Extensions/Install.py, > line 21, in install > Module Products.GenericSetup.tool, line 390, in > runAllImportStepsFromProfile > - __traceback_info__: profile-Products.PloneFormGen:default > > Module Products.GenericSetup.tool, line 1179, in > _runImportStepsFromContext > Module Products.GenericSetup.tool, line 1090, in _doRunImportStep > > - __traceback_info__: toolset > > Module Products.GenericSetup.tool, line 128, in importToolset > > TypeError: 'NoneType' object is not callable > > =========================================================================== > > After that, I put my references to CMFBibliographyAT back into > buildout.cfg (see below). > Then bin/buildout. > Then I can install PloneFormGen with the Quickinstaller, but it gives > the following trace. > > Why is there anything called related to CMFBibliographyAT? Is that to be > expected? I would have thought that CMFBibliographyAT sits quiet in my > filesystem until I quick-install it. What should happen? > > I can only imagine that I still have some traces of CMFBibliographyAT > left in my database. But where? How can I find and remove them? > > Ralf > > ============================================================================ > eggs = > Plone > Products.ATExtensions > Products.CMFBibliographyAT > bibliograph.core > bibliograph.parsing > bibliograph.rendering > Products.PloneFormGen > > develop = > src/bibliograph.core > src/bibliograph.parsing > src/bibliograph.rendering > src/Products.CMFBibliographyAT > ============================================================================ > 2009-11-08 00:12:18 INFO GenericSetup.actions Actions tool imported. > > 2009-11-08 00:12:18 INFO GenericSetup.controlpanel Control panel > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types Types tool imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FieldsetFolder' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormBooleanField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormCaptchaField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormCustomScriptAdapter' > type info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormDateField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormFileField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormFixedPointField' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormFolder' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormIntegerField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormLabelField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormLikertField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormLinesField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormMailerAdapter' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormMultiSelectionField' > type info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormPasswordField' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormRichLabelField' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormRichTextField' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormSaveDataAdapter' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormSelectionField' type > info imported. > > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormStringField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormTextField' type info > imported. > 2009-11-08 00:12:18 INFO GenericSetup.types 'FormThanksPage' type info > imported. > 2009-11-08 00:12:19 INFO GenericSetup.workflow Workflow tool imported. > > 2009-11-08 00:12:19 INFO GenericSetup.factorytool FactoryTool settings > imported. > 2009-11-08 00:12:19 INFO GenericSetup. ArchetypeTool settings imported. > > 2009-11-08 00:12:19 INFO GenericSetup.memberdata Nothing to import. > > 2009-11-08 00:12:19 INFO GenericSetup.plone.app.viewletmanager Nothing > to import > 2009-11-08 00:12:19 INFO GenericSetup.resourceregistry Stylesheet > registry: Nothing to import > > 2009-11-08 00:12:19 INFO GenericSetup.resourceregistry KSS registry > imported. > 2009-11-08 00:12:19 INFO GenericSetup.propertiestool Properties tool > imported. > 2009-11-08 00:12:19 INFO GenericSetup.bibliography Adding new mimetype > > Add transform > > Checked transformation policy > > > Migrating CMFBibliographyAT 0.7 -> 0.8 > authorSchema migration to FormattableNames field > ----------------------------------------------- > No authorSchema migration needed. > > > Migrating CMFBibliographyAT 0.8 -> 0.9 > BibliographyTool migration: > --------------------------- > Tool is up-to-date > > ImportCriteriasManager schema migration: > ---------------------------------------- > No ImportCriteriasManager upgrade needed. > > typeField schema migration: > --------------------------- > No typeField schema upgrade needed. > > general schema upgrade of bibliographical reference items > --------------------------------------------------------- > No general schema upgrade needed. > > upgrade of bibliography folders' duplicate bibliographical reference engine > --------------------------------------------------------------------------- > No duplication engine migration needed. > > > Migrating CMFBibliographyAT 0.9 -> 1.0 > BibliographyTool migration: > --------------------------- > Tool is up-to-date > > > 2009-11-08 00:12:19 INFO GenericSetup.resourceregistry Javascript > registry: Nothing to import > 2009-11-08 00:12:19 INFO GenericSetup.properties Nothing to import. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plone-Users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/plone-users |
||||||||||||||
|
|
Ralf Hemmecke-2
()
|
|
||||||||||||
|
>> It seems that it is related to my database still containing traces of
>> CMFBibliographyAT. > Wild guess: you still have a utility registered who's registration > didn't get removed by the uninstall. > On a dev copy of your site try to figure out what lookup attempt > resulted in the "NoneType Object" using pdb or if that's too much Indeed, I first have to find out how to do that. > of a hassle you can try-and-error like work your way through the > registered components in ZMI. To that end, go to your Plone site > root in ZMI and select the 'Components' tab. Look for CMFBib related > utility registrations. Remove those. > > Does that make a difference? The componenst are the same with and without CMFBib installed or not installed. I don't see any obvious component that is extra. Any hints. The only difference is that I have the following additional entries. They don't look suspicious to me. To you? <adapter name="plone.colophon" factory="five.customerize.zpt.zope.interface.interface-plone.colophon" for_="zope.interface.Interface zope.publisher.interfaces.browser.IDefaultBrowserLayer zope.publisher.interfaces.browser.IBrowserView plone.app.layout.viewlets.interfaces.IPortalFooter" provides="zope.viewlet.interfaces.IViewlet"/> <adapter name="plone.footer" factory="five.customerize.zpt.zope.interface.interface-plone.footer" for_="zope.interface.Interface zope.publisher.interfaces.browser.IDefaultBrowserLayer zope.publisher.interfaces.browser.IBrowserView plone.app.layout.viewlets.interfaces.IPortalFooter" provides="zope.viewlet.interfaces.IViewlet"/> and <utility interface="Products.ResourceRegistries.interfaces.registries.IKSSRegistry" object="portal_kss"/> In portal_kss I only see checked the following items at.kss plone.kss ++resource++plone.app.form.kss Ralf ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plone-Users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/plone-users |
||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |