error going from 2.1.6 to 2.2b3
Hi, when trying to import an object made in 2.1.6 into 2.2b3 i get this error. What could be the problem ? Error Type: AttributeError Error Value: stop_syn Traceback (innermost last): File C:\PROGRA~1\WebSite2.2\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\WebSite2.2\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\WebSite2.2\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File C:\PROGRA~1\WebSite2.2\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\WebSite2.2\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_importObject) File C:\PROGRA~1\WebSite2.2\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_importObject) File C:\PROGRA~1\WebSite2.2\lib\python\OFS\ObjectManager.py, line 494, in manage_importObject (Object: ApplicationDefaultPermissions) File C:\PROGRA~1\WebSite2.2\lib\python\OFS\ObjectManager.py, line 260, in _setObject (Object: ApplicationDefaultPermissions) File C:\PROGRA~1\WebSite2.2\lib\python\OFS\ObjectManager.py, line 267, in manage_afterAdd (Object: ElementWithAttributes) File C:\PROGRA~1\WebSite2.2\lib\python\OFS\ObjectManager.py, line 267, in manage_afterAdd (Object: ElementWithAttributes) File C:\PROGRA~1\WebSite2.2\lib\python\Products\ZCatalog\CatalogAwareness.py, line 114, in manage_afterAdd (Object: CatalogAware) File C:\PROGRA~1\WebSite2.2\lib\python\Products\ZCatalog\CatalogAwareness.py, line 182, in index_object (Object: CatalogAware) File C:\PROGRA~1\WebSite2.2\lib\python\Products\ZCatalog\ZCatalog.py, line 377, in catalog_object (Object: ElementWithAttributes) File C:\PROGRA~1\WebSite2.2\lib\python\Products\ZCatalog\Catalog.py, line 373, in catalogObject File C:\PROGRA~1\WebSite2.2\lib\python\SearchIndex\UnTextIndex.py, line 253, in index_object File C:\PROGRA~1\WebSite2.2\lib\python\SearchIndex\Lexicon.py, line 165, in Splitter AttributeError: (see above) -- Regards ------------------------------------------------- Anders Holmbech Nielsen | Tlf: (+45) 70 22 56 00 Software Engineer | Fax: (+45) 70 22 57 00 Integrator Uniware A/S | http:/www.integrator.dk
+----[ Anders Holmbech Nielsen ]--------------------------------------------- | Hi, | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | error. What could be the problem ? I can't help with the error, but, you can try exporting as XML and importing the XML. I find this to work a little more reliably between Zope Versions when zexp fails. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
+----[ Anders Holmbech Nielsen ]--------------------------------------------- | Hi, | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | error. What could be the problem ?
I can't help with the error, but, you can try exporting as XML and importing the XML. I find this to work a little more reliably between Zope Versions when zexp fails.
Sorry to say: That didn't do it! Same error.
-- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Regards ------------------------------------------------- Anders Holmbech Nielsen | Tlf: (+45) 70 22 56 00 Software Engineer | Fax: (+45) 70 22 57 00 Integrator Uniware A/S | http:/www.integrator.dk
+----[ Anders Holmbech Nielsen ]--------------------------------------------- | >+----[ Anders Holmbech Nielsen ]--------------------------------------------- | >| Hi, | >| | >| when trying to import an object made in 2.1.6 into 2.2b3 i get this | >| error. What could be the problem ? | > | >I can't help with the error, but, you can try exporting as XML and | >importing the XML. I find this to work a little more reliably between | >Zope Versions when zexp fails. | | | Sorry to say: That didn't do it! Same error. Do you have the same classes and Zclasses installed on both ? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
+----[ Anders Holmbech Nielsen ]--------------------------------------------- | >+----[ Anders Holmbech Nielsen ]--------------------------------------------- | >| Hi, | >| | >| when trying to import an object made in 2.1.6 into 2.2b3 i get this | >| error. What could be the problem ? | > | >I can't help with the error, but, you can try exporting as XML and | >importing the XML. I find this to work a little more reliably between | >Zope Versions when zexp fails. | | | Sorry to say: That didn't do it! Same error.
Do you have the same classes and Zclasses installed on both ?
Yes. I have just triple checked the products, folders etc. It is not the catalogs either because they are in the folder I try to import. Could that be the problem ? The folder I want to export/import includes two ZCatalogs, an user_folder, som other folders includíng own ZClass objects. The first thing I did was to import the ZClasses I use and that worked nicely.
-- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Regards ------------------------------------------------- Anders Holmbech Nielsen | Tlf: (+45) 70 22 56 00 Software Engineer | Fax: (+45) 70 22 57 00 Integrator Uniware A/S | http:/www.integrator.dk
On Wed, 05 Jul 2000, Anders Holmbech Nielsen wrote:
Hi,
when trying to import an object made in 2.1.6 into 2.2b3 i get this error. What could be the problem ?
brian put out an updated file Lexicon.py which fix the error. file is attached. make a backup first. copy it to /lib/python/SearchIndex/Lexicon.py -- ------------------------------------------------------ http://www.kedai.com.my/kk Am I Evil?
participants (3)
-
Anders Holmbech Nielsen -
Andrew Kenneth Milton -
Bak @ kedai