Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup

10 messages Options
Embed this post
Permalink
binderup-2 () Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
I have an older site that I want to upgrade to a newer version. I have
taken a full backup of the live website and have installed (restored)
it into a new install.

The restore process and migration process works like a charm with no
issues. However when I try and install the CacheSetup I get an error:
Request URL   http://localhost:8084/Intranet/portal_quickinstaller/installProducts
Exception Type TypeError
Exception Value 'NoneType' object is not callable

plus a long more detailed list.

I have tried this process on both Windows 7 and Mac OS 10.6.1 both
using the Plone installer but with no luck.

Any ideas?

------------------------------------------------------------------------------
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
cewing () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
binderup-2 wrote:
 However when I try and install the CacheSetup I get an error:
Request URL   http://localhost:8084/Intranet/portal_quickinstaller/installProducts
Exception Type TypeError
Exception Value 'NoneType' object is not callable

plus a long more detailed list.
It would help us immensely in assisting you if you could include that 'long more detailed list'.  There's likely to be additional information in there that would be informative.  

I've seen other places where errors like this crop up in installations/upgrades, specifically to older sites being upgraded, but to be sure, I'd need to see the full traceback.

C
binderup-2 () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
Below is the traceback output. This time I tried to upgrade just to
Plone 3.2 but the problem was the same when trying to install
CacheSetup.

> It would help us immensely in assisting you if you could include that 'long
> more detailed list'.  There's likely to be additional information in there
> that would be informative.  
>
> I've seen other places where errors like this crop up in
> installations/upgrades, specifically to older sites being upgraded, but to
> be sure, I'd need to see the full traceback.


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 584,
in installProducts
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
in installProduct
   - __traceback_info__: ('CacheSetup',)
  Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
   - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
  Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
Products.CacheSetup-1.2.1-py2.4.egg/Products/CacheSetup/Extensions/
Install.py, line 16, in install
  Module Products.CacheSetup.Extensions.utils, line 53, in
installDependencies
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
in installProduct
   - __traceback_info__: ('CMFSquidTool',)
  Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
   - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
  Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
Products.CMFSquidTool-1.5.1-py2.4.egg/Products/CMFSquidTool/Extensions/
Install.py, line 9, in install
  Module Products.GenericSetup.tool, line 390, in
runAllImportStepsFromProfile
   - __traceback_info__: profile-Products.CMFSquidTool:default
  Module Products.GenericSetup.tool, line 1182, in
_runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
   - __traceback_info__: toolset
  Module Products.GenericSetup.tool, line 141, in importToolset
TypeError: isinstance() arg 2 must be a class, type, or tuple of
classes and types

------------------------------------------------------------------------------
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
Espen Moe-Nilssen () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
To find out if it has something with the migration (or you setup), you could maybe:

1) Install another plone site on the same zope.
2) Install cachesetup on this

Espen

Den 9. nov. 2009 kl. 13.15 skrev binderup:

Below is the traceback output. This time I tried to upgrade just to
Plone 3.2 but the problem was the same when trying to install
CacheSetup.

It would help us immensely in assisting you if you could include that 'long
more detailed list'.  There's likely to be additional information in there
that would be informative.  

I've seen other places where errors like this crop up in
installations/upgrades, specifically to older sites being upgraded, but to
be sure, I'd need to see the full traceback.


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 584,
in installProducts
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
in installProduct
   - __traceback_info__: ('CacheSetup',)
  Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
   - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
  Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
Products.CacheSetup-1.2.1-py2.4.egg/Products/CacheSetup/Extensions/
Install.py, line 16, in install
  Module Products.CacheSetup.Extensions.utils, line 53, in
installDependencies
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
in installProduct
   - __traceback_info__: ('CMFSquidTool',)
  Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
   - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
  Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
Products.CMFSquidTool-1.5.1-py2.4.egg/Products/CMFSquidTool/Extensions/
Install.py, line 9, in install
  Module Products.GenericSetup.tool, line 390, in
runAllImportStepsFromProfile
   - __traceback_info__: profile-Products.CMFSquidTool:default
  Module Products.GenericSetup.tool, line 1182, in
_runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
   - __traceback_info__: toolset
  Module Products.GenericSetup.tool, line 141, in importToolset
TypeError: isinstance() arg 2 must be a class, type, or tuple of
classes and types

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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
binderup-2 () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
On Nov 10, 9:11 am, Espen Moe-Nilssen <[hidden email]> wrote:
> To find out if it has something with the migration (or you setup),  
> you could maybe:
>
> 1) Install another plone site on the same zope.
> 2) Install cachesetup on this

Hi Espen

I tried this on (can't remember if it was on 3.2 or 3.3.1) and that
worked fine.

Yesterday I also on a virtual freebsd server installed the 3.1.7
buildout and imported the intranet site. The very same problem
occurred there aswell. So there must be something funky with the data
I have in my site....

/Peter

------------------------------------------------------------------------------
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
Espen Moe-Nilssen () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
Is your site "mostly content"?
In which case you could try just copy/paste between the two plone  
sites (?)

Espen

Den 10. nov. 2009 kl. 10.07 skrev binderup:

> On Nov 10, 9:11 am, Espen Moe-Nilssen <[hidden email]> wrote:
>> To find out if it has something with the migration (or you setup),
>> you could maybe:
>>
>> 1) Install another plone site on the same zope.
>> 2) Install cachesetup on this
>
> Hi Espen
>
> I tried this on (can't remember if it was on 3.2 or 3.3.1) and that
> worked fine.
>
> Yesterday I also on a virtual freebsd server installed the 3.1.7
> buildout and imported the intranet site. The very same problem
> occurred there aswell. So there must be something funky with the data
> I have in my site....
>
> /Peter
>
> ----------------------------------------------------------------------
> --------
> 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


------------------------------------------------------------------------------
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
Ricardo Newbery-2 () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
In reply to this post by binderup-2

On Nov 9, 2009, at 4:15 AM, binderup wrote:

> Below is the traceback output. This time I tried to upgrade just to
> Plone 3.2 but the problem was the same when trying to install
> CacheSetup.
>
>
> 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 584,
> in installProducts
>  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
> in installProduct
>   - __traceback_info__: ('CacheSetup',)
>  Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
>   - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
>  Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
> Products.CacheSetup-1.2.1-py2.4.egg/Products/CacheSetup/Extensions/
> Install.py, line 16, in install
>  Module Products.CacheSetup.Extensions.utils, line 53, in
> installDependencies
>  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
> in installProduct
>   - __traceback_info__: ('CMFSquidTool',)
>  Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
>   - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
>  Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
> Products.CMFSquidTool-1.5.1-py2.4.egg/Products/CMFSquidTool/
> Extensions/
> Install.py, line 9, in install
>  Module Products.GenericSetup.tool, line 390, in
> runAllImportStepsFromProfile
>   - __traceback_info__: profile-Products.CMFSquidTool:default
>  Module Products.GenericSetup.tool, line 1182, in
> _runImportStepsFromContext
>  Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
>   - __traceback_info__: toolset
>  Module Products.GenericSetup.tool, line 141, in importToolset
> TypeError: isinstance() arg 2 must be a class, type, or tuple of
> classes and types


Looks like it's choking on installing CMFSquidTool.  Taking a quick  
look at the code it appears that this code route is taken if there is  
already an instance of this tool installed, in which case it deletes  
and recreates the tool.  But in your case, this step breaks for some  
reason.

It's possible that this may be a consequence of an old bug already  
fixed (http://dev.plone.org/collective/changeset/81540/Products.CMFSquidTool 
) but not yet released.

Try uninstalling CacheSetup first before moving to the upgraded Plone  
setup, which should also uninstall CMFSquidTool.  Confirm that  
CMFSquidTool in uninstalled -- check the Plone product install page  
and in the ZMI to make sure that the CMFSquidTool object is gone.

Ric





------------------------------------------------------------------------------
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
Espen Moe-Nilssen () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Does this mean he can delete the tool in the zmi and try another install ?

I think I have done something like that with PloneFormgen or ATschemaEditor that wouldnt upgrade..

Espen


Den 12. nov. 2009 kl. 01.09 skrev Ricardo Newbery:


On Nov 9, 2009, at 4:15 AM, binderup wrote:

Below is the traceback output. This time I tried to upgrade just to
Plone 3.2 but the problem was the same when trying to install
CacheSetup.


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 584,
in installProducts
 Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
in installProduct
  - __traceback_info__: ('CacheSetup',)
 Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
  - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
 Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
Products.CacheSetup-1.2.1-py2.4.egg/Products/CacheSetup/Extensions/
Install.py, line 16, in install
 Module Products.CacheSetup.Extensions.utils, line 53, in
installDependencies
 Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 509,
in installProduct
  - __traceback_info__: ('CMFSquidTool',)
 Module Products.ExternalMethod.ExternalMethod, line 231, in __call__
  - __traceback_info__: ((<PloneSite at /Intranet>,), {}, (False,))
 Module /usr/home/zope/instances/intranet/buildout-cache/eggs/
Products.CMFSquidTool-1.5.1-py2.4.egg/Products/CMFSquidTool/ 
Extensions/
Install.py, line 9, in install
 Module Products.GenericSetup.tool, line 390, in
runAllImportStepsFromProfile
  - __traceback_info__: profile-Products.CMFSquidTool:default
 Module Products.GenericSetup.tool, line 1182, in
_runImportStepsFromContext
 Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
  - __traceback_info__: toolset
 Module Products.GenericSetup.tool, line 141, in importToolset
TypeError: isinstance() arg 2 must be a class, type, or tuple of
classes and types


Looks like it's choking on installing CMFSquidTool.  Taking a quick  
look at the code it appears that this code route is taken if there is  
already an instance of this tool installed, in which case it deletes  
and recreates the tool.  But in your case, this step breaks for some  
reason.

It's possible that this may be a consequence of an old bug already  
) but not yet released.

Try uninstalling CacheSetup first before moving to the upgraded Plone  
setup, which should also uninstall CMFSquidTool.  Confirm that  
CMFSquidTool in uninstalled -- check the Plone product install page  
and in the ZMI to make sure that the CMFSquidTool object is gone.

Ric





------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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
Ricardo Newbery-2 () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink

> Den 12. nov. 2009 kl. 01.09 skrev Ricardo Newbery:
>
>>
>> On Nov 9, 2009, at 4:15 AM, binderup wrote:
>>
>>> Below is the traceback output. This time I tried to upgrade just to
>>> Plone 3.2 but the problem was the same when trying to install
>>> CacheSetup.
>>>
>>>
>>> Traceback (innermost last):
>>>  ... snip ...
>>
>>
>> Looks like it's choking on installing CMFSquidTool.  Taking a quick
>> look at the code it appears that this code route is taken if there is
>> already an instance of this tool installed, in which case it deletes
>> and recreates the tool.  But in your case, this step breaks for some
>> reason.
>>
>> It's possible that this may be a consequence of an old bug already
>> fixed (http://dev.plone.org/collective/changeset/81540/Products.CMFSquidTool
>> ) but not yet released.
>>
>> Try uninstalling CacheSetup first before moving to the upgraded Plone
>> setup, which should also uninstall CMFSquidTool.  Confirm that
>> CMFSquidTool in uninstalled -- check the Plone product install page
>> and in the ZMI to make sure that the CMFSquidTool object is gone.
>>
>> Ric



On Nov 12, 2009, at 12:22 AM, Espen Moe-Nilssen wrote:

> Does this mean he can delete the tool in the zmi and try another  
> install ?
>
> I think I have done something like that with PloneFormgen or  
> ATschemaEditor that wouldnt upgrade..
>
> Espen


Shrug.  Maybe.  The error is odd.  It sort of looks like GenericSetup  
doesn't recognize that "Products.CMFSquidTool.SquidTool" is a valid  
class which is strange since the GenericSetup function is being called  
from the Products.CMFSquidTool install code.  I'm not sure what would  
cause this behavior but there was an old issue where CMFSquidTool was  
registering itself twice, as "Products.CMFSquidTool" and  
"CMFSquidTool" so perhaps this is interfering with the GenericSetup  
routine to resolve the class (a wild guess as I don't have time right  
now to dive into this deeper).

Just manually deleting the SquidTool object (called "portal_squid" in  
the ZMI) may not resolve this issue -- it may just make things more  
complicated -- that's why I suggested doing the whole uninstall dance  
to hopefully start with a clean slate before the upgrade.

Ric





------------------------------------------------------------------------------
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
binderup-2 () Re: Upgrading a 3.1.7 site to 3.3.1 - can't install Products.CacheSetup
Reply Threaded More More options
Print post
Permalink
I think I found the problem it appeared that there was a stale
reference to ploneboard as soon as I readded that to the buildout I
could install Cachesetup (then the problem moved to Ploneboard, but
since I plan not to use that on this site that isn't a big issue.

/Peter

------------------------------------------------------------------------------
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