Strange warning after removing products
Hello, A while ago I used the products 'Superlogger' and 'Quicklinks.' I Also removed 'PlacelessTranslationService'. All the products were available in the control_panel. But I still get the following warnings ? 2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks' Does anybody has a solutiuon for this ? Zope is still running..... but the warning isn't there without a reason. regards, Martin Koekenberg
On 9/10/05, Martin Koekenberg <martin@digital-adventures.nl> wrote:
<snip>
But I still get the following warnings ?
2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks'
Does anybody has a solutiuon for this ? Zope is still running..... but the warning isn't there without a reason.
probably because you still have instances of these products? try and remove all broken instances of the products. hth regards,
Martin Koekenberg
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- http://myzope.kedai.com.my - my-zope org
Hello, These were all products for the configuration panel. Ik see that they are broken, but how can I remove them there ? Martin Koekenberg Bakhtiar A Hamid schreef:
On 9/10/05, *Martin Koekenberg* <martin@digital-adventures.nl <mailto:martin@digital-adventures.nl>> wrote:
<snip>
But I still get the following warnings ?
2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger ' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks'
Does anybody has a solutiuon for this ? Zope is still running..... but the warning isn't there without a reason.
probably because you still have instances of these products? try and remove all broken instances of the products.
hth
regards,
Martin Koekenberg
_______________________________________________ Zope maillist - Zope@zope.org <mailto:Zope@zope.org> http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev <http://mail.zope.org/mailman/listinfo/zope-dev> )
-- http://myzope.kedai.com.my - my-zope org
PlacelessTranslationService is very nasty to remove. It leaves remnants in the zodb. I do not know about the other two products. Have you also made sure you have removed from your products management in ZMI since even if you remove products in Products folder sometime they will stay unless you explicitly delete from products management. I have had a nasty PTS experience and would advise against removing it unless you are willing to start with a clean zodb or potentially damage your zodb trying to remove it. I chose a fresh zodb since I did not need PTS any longer since I am doing translation with Five. PTS does not uninstall cleanly at all and I think many more people are going to experience this same trouble as they look to the services of Five. Regards, David On Saturday, September 10, 2005, at 04:18 PM, Martin Koekenberg wrote:
Hello,
These were all products for the configuration panel. Ik see that they are broken, but how can I remove them there ?
Martin Koekenberg Bakhtiar A Hamid schreef:
On 9/10/05, *Martin Koekenberg* <martin@digital-adventures.nl <mailto:martin@digital-adventures.nl>> wrote:
<snip>
But I still get the following warnings ?
2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger ' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks'
Does anybody has a solutiuon for this ? Zope is still running..... but the warning isn't there without a reason.
probably because you still have instances of these products? try and remove all broken instances of the products.
hth
regards,
Martin Koekenberg
_______________________________________________ Zope maillist - Zope@zope.org <mailto:Zope@zope.org> http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev <http://mail.zope.org/mailman/listinfo/zope-dev> )
-- http://myzope.kedai.com.my - my-zope org
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Martin Koekenberg wrote at 2005-9-10 17:20 +0200:
... A while ago I used the products 'Superlogger' and 'Quicklinks.' I Also removed 'PlacelessTranslationService'. All the products were available in the control_panel.
But I still get the following warnings ?
2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks'
As you observed, the products installed objects in "Control_Panel". Removing the products cannot remove these objects automatically. When the "Control_Panel" is accessed, these object can not be loaded (because their classes are not longer importable). This gives you the warnings above. You can manually remove the objects in an interactive Python interpreter. Under *nix, you enter such an interpreter with "bin/zopectl debug". The deletion looks then like: app.Control_Panel.manage_delObjects(['id1', 'id2', ...]) get_transaction().commit() -- Dieter
participants (4)
-
Bakhtiar A Hamid -
David Pratt -
Dieter Maurer -
Martin Koekenberg