Re: [Zope] work around for importing zexp into zope2.8.1?
Well in the FAQ I see it says to call manage_convertIndexes of the ZCatalog which is a lot like what it says on the iungo site """ If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """ However, step 3 is the importing of the zexp (which doesn't work). I followed the iungo installation procedure on a box that runs zope 2.9 and the zexp went smoothly and the call to manage_convertIndexes went smoothly but on the production box, I can't call this url because the iungo instance doesn't exist. The url is not valid, because the import failed. perhaps I need to call a different url? Tim On 2/6/06, Andreas Jung <lists@andreas-jung.com> wrote:
--On 6. Februar 2006 11:50:40 -0800 Tim Nash <thedagdae@gmail.com> wrote:
from my import """ Site Error
An error was encountered while publishing this resource.
Error Type: AttributeError Error Value: _length
This is documented in doc/FAQ.txt of the Zope distribution.
-aj
--On 6. Februar 2006 12:20:52 -0800 Tim Nash <thedagdae@gmail.com> wrote:
Well in the FAQ I see it says to call manage_convertIndexes of the ZCatalog which is a lot like what it says on the iungo site """
If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """
You should ask Maik to provide a zexp for Zope 2.9. As discussed already some days ago. .zexp is basically a format to provide export/import support between identical software versions (which is not the case here). It does not deal with migration issues. -aj
--On 6. Februar 2006 12:20:52 -0800 Tim Nash <thedagdae@gmail.com> wrote:
Well in the FAQ I see it says to call manage_convertIndexes of the ZCatalog which is a lot like what it says on the iungo site """
If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """
Perhaps you can install Iungo on a 2.8 installation and migrate that in-place to Zope 2.9 (then manage_convertIndexes should do the job)...but no idea if Iungo will work on Zope 2.9....ask Maik. -aj
Andreas, BTW, There is no ZCatalog objects found on my site. Tim On 2/6/06, Tim Nash <thedagdae@gmail.com> wrote:
Well in the FAQ I see it says to call manage_convertIndexes of the ZCatalog which is a lot like what it says on the iungo site """
If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """
However, step 3 is the importing of the zexp (which doesn't work).
I followed the iungo installation procedure on a box that runs zope 2.9 and the zexp went smoothly and the call to manage_convertIndexes went smoothly but on the production box, I can't call this url because the iungo instance doesn't exist. The url is not valid, because the import failed.
perhaps I need to call a different url? Tim
On 2/6/06, Andreas Jung <lists@andreas-jung.com> wrote:
--On 6. Februar 2006 11:50:40 -0800 Tim Nash <thedagdae@gmail.com> wrote:
from my import """ Site Error
An error was encountered while publishing this resource.
Error Type: AttributeError Error Value: _length
This is documented in doc/FAQ.txt of the Zope distribution.
-aj
Andreas. iungo.zexp imports fine into zope 2.9 it doesn't import into zope2.8.1. Thanks for trying to help. It looks like I'm just stuck. Thanks, Tim On 2/6/06, Tim Nash <thedagdae@gmail.com> wrote:
Andreas, BTW, There is no ZCatalog objects found on my site. Tim
On 2/6/06, Tim Nash <thedagdae@gmail.com> wrote:
Well in the FAQ I see it says to call manage_convertIndexes of the ZCatalog which is a lot like what it says on the iungo site """
If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """
However, step 3 is the importing of the zexp (which doesn't work).
I followed the iungo installation procedure on a box that runs zope 2.9 and the zexp went smoothly and the call to manage_convertIndexes went smoothly but on the production box, I can't call this url because the iungo instance doesn't exist. The url is not valid, because the import failed.
perhaps I need to call a different url? Tim
On 2/6/06, Andreas Jung <lists@andreas-jung.com> wrote:
--On 6. Februar 2006 11:50:40 -0800 Tim Nash <thedagdae@gmail.com> wrote:
from my import """ Site Error
An error was encountered while publishing this resource.
Error Type: AttributeError Error Value: _length
This is documented in doc/FAQ.txt of the Zope distribution.
-aj
--On 6. Februar 2006 17:22:12 -0800 Tim Nash <thedagdae@gmail.com> wrote:
Andreas. iungo.zexp imports fine into zope 2.9 it doesn't import into zope2.8.1. Thanks for trying to help. It looks like I'm just stuck. Thanks,
As I said: .zexp is not a format to import into _any_ Zope version. Ask Maik - the author Iungo - to provide a .zexp for the Zope version you need....we can not solve your problem here. -aj
iungo.zexp imports fine into zope 2.9 it doesn't import into zope2.8.1. Thanks for trying to help. It looks like I'm just stuck.
Yeah you are. Use another Version of Zope 2.8 as the iungo page suggests. It clearly states that .zexp import is *broken* in 2.8.1 - use 2.8.5 instead. Regards Maik
Tim Nash wrote:
Well in the FAQ I see it says to call manage_convertIndexes of the If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """
I personally worry about the quality of any product that distributes software as a .zexp :-/ cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
--On 7. Februar 2006 11:35:13 +0000 Chris Withers <chris@simplistix.co.uk> wrote:
Tim Nash wrote:
Well in the FAQ I see it says to call manage_convertIndexes of the If you want to use iungo with Zope 2.8.X or Zope 2.9.x (please note: Zope 2.8.1 is broken regarding .zexp-Imports ), you'll need to recreate all Catalog-Indices. After step 3) of the iungo-installation simply call: http://localhost:8080/iungo/Catalog/manage_convertIndexes """
I personally worry about the quality of any product that distributes software as a .zexp :-/
It is sometimes convenient. I do sometimes ship DCWorkflow definitions as .zexp. Why? Because I am fine with editing my workflows in the ZMI and dumping the stuff without having the need to write a single line of code except some lines to import the workflow definition into the workflow tool. -aj
participants (4)
-
Andreas Jung -
Chris Withers -
Maik Ihde -
Tim Nash