Personal tools
You are here: Home News Upgraded to Kupu 1.3.9 Tonight
Navigation
Log in


Forgot your password?
New user?
Google AdSense
 
Document Actions

Upgraded to Kupu 1.3.9 Tonight

by Paul Kieper last modified 2010-05-12 02:31

Issues with installing Kupu 1.4 or later on Plone 2.1.2


This isn't a post for my usual readers.  Just a reference for other Plone users who might run into the same issue I did when trying to upgrade from Kupu 1.3.3 to Kupu 1.4 on Plone 2.1.2 (also wanted to save this so I could refer back to it later if needed).


I was interested in upgrading the Kupu WYSIWYG XHTML editor because I'd read that, as of version 1.4, it now supports embedding Flash video.  In the past, I'd tried making all the necessary changes to the HTML filtering configuration of Kupu 1.3.3 (which ships with Plone 2.1.2), but it was still stripping out embed tags, which I had explicity allowed.  I also tried disabling the HTML filtering altogether, but it would never actually disable.


Tonight I tried installing the latest full release of Kupu (1.4.11) and received the following error:

failed:
Traceback (most recent call last):

  File "/home/zopeuser/zope/instance1/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 320, in installProduct
    res=install(portal)

  File "/usr/local/zope/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
    try: return f(*args, **kw)

  File "/home/zopeuser/zope/instance1/Products/kupu/Extensions/Install.py", line 243, in install
    install_plone(self, out)

  File "/home/zopeuser/zope/instance1/Products/kupu/Extensions/Install.py", line 61, in install_plone
    install_resources(self, out)

  File "/home/zopeuser/zope/instance1/Products/kupu/Extensions/Install.py", line 138, in install_resources
    cookable=True)

TypeError: manage_addScript() got an unexpected keyword argument 'compression'


I tried several other releases (1.4, 1.4.1, 1.4.12) with the same results.  Then I tried some older builds (kupu 1.3.6-plone, 1.3.7-plone, kupu 1.3.8, kupu 1.3.9) and had success with each of them.


My Google searches for that error came up with squat.  It was only when I searched the Plone bug tracker that I found one other poor soul who had encountered the same issue - ticket #8611 (Kupu 1.4.11 install fails in Plone 2.1.1).


That ticket was closed with the comment "Plone 2.1.1 is no longer supported."  What's interesting is that if you look at the Plone product page for Kupu, it says that 1.4.11 has been "tested with Plone 3.1, Plone 3.0, Plone 2.5, Plone 2.1."


According to mwinkle, who submitted the bug, Kupu 1.4.11 will install on Plone 2.1.1 if you edit /Products/kupu/Extensions/Install.py and remove the "compression" argument.  I don't know what effect (if any) that will have on Kupu's performance.  And seeing that one of the developers said that Plone 2.1.1 (and I'm assuming 2.1.2) is no longer supported, I'll just hold out until I decide to upgrade my Plone installation (most likely to Plone 3).


tweet tweet
 

Powered by Plone, the Open Source Content Management System