Mailing List Archive

[Zope-PTK] Portals not importable.
OK, I see this as a major issue. I have tried exporting portals, and
reimporting them, with absolutely Zero success. I have just tried a set
of tests on 2.1.6 w/0.7.1, on Linux. and a freshly created Portal. I
exported it, and it was not importable, returning:

Error Type: UnpicklingError
Error Value: invalid load key, '>'.

<!--
Traceback (innermost last):
File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 179, in
publish
File /home/web/Tester/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 165, in
publish
File /home/web/Tester/lib/python/ZPublisher/mapply.py, line 160, in
mapply
(Object: manage_importObject)
File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: manage_importObject)
File /home/web/Tester/lib/python/OFS/ObjectManager.py, line 484, in
manage_importObject
(Object: ApplicationDefaultPermissions)
File /home/web/Tester/lib/python/ZODB/ExportImport.py, line 284, in
importFile
UnpicklingError: (see above)
-->


I get these on _any_ Zope export/import; whether same-zope/machine, or
differing Zopes.

I am curious as to whether or not anyone else is having this problem, or
is it just me and my machines? :/

For those of us who do devel on one server, and deploy to another, or
upgrade through this method, or backup with this method, this is a show
stopper.

Any fixes _very_ appreciated.

Bill

--
In flying I have learned that carelessness and overconfidence are
usually far more dangerous than deliberately accepted risks.
-- Wilbur Wright in a letter to his father, September 1900
RE: [Zope-PTK] Portals not importable. [ In reply to ]
Hi,

Just as another data point I have not seen the import problem
with PTK folders.

I develop, test, and share snapshots of my progress across
three seperate installs of Zope on NT and see no problem.

I use 2.1.6 on NT Server & Wks. My version of the PTK is from
the CVS as of 3/20/00. The CVS as of my last look (3/28/00) has
some changes in the reviewr role security process that still do
not work so I am not using the latest.

Are you seeing the problem in just exporting and then reimporting
an initial portal from the portal wizard?

Best,

Chip

>-----Original Message-----
>From: ucntcme@zope.org [mailto:ucntcme@zope.org]On Behalf Of Bill
>Anderson
>Sent: Saturday, April 01, 2000 7:37 PM
>To: zope-ptk@zope.org
>Subject: [Zope-PTK] Portals not importable.
>
>
>
>
>OK, I see this as a major issue. I have tried exporting portals, and
>reimporting them, with absolutely Zero success. I have just
>tried a set
>of tests on 2.1.6 w/0.7.1, on Linux. and a freshly created Portal. I
>exported it, and it was not importable, returning:
>
>Error Type: UnpicklingError
>Error Value: invalid load key, '>'.
>
><!--
>Traceback (innermost last):
> File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 214, in
>publish_module
> File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 179, in
>publish
> File /home/web/Tester/lib/python/Zope/__init__.py, line 202, in
>zpublisher_exception_hook
> (Object: ApplicationDefaultPermissions)
> File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 165, in
>publish
> File /home/web/Tester/lib/python/ZPublisher/mapply.py, line 160, in
>mapply
> (Object: manage_importObject)
> File /home/web/Tester/lib/python/ZPublisher/Publish.py, line 102, in
>call_object
> (Object: manage_importObject)
> File /home/web/Tester/lib/python/OFS/ObjectManager.py, line 484, in
>manage_importObject
> (Object: ApplicationDefaultPermissions)
> File /home/web/Tester/lib/python/ZODB/ExportImport.py, line 284, in
>importFile
>UnpicklingError: (see above)
>-->
>
>
>I get these on _any_ Zope export/import; whether same-zope/machine, or
>differing Zopes.
>
>I am curious as to whether or not anyone else is having this
>problem, or
>is it just me and my machines? :/
>
>For those of us who do devel on one server, and deploy to another, or
>upgrade through this method, or backup with this method, this is a show
>stopper.
>
>Any fixes _very_ appreciated.
>
>Bill
>
>--
>In flying I have learned that carelessness and overconfidence are
>usually far more dangerous than deliberately accepted risks.
> -- Wilbur Wright in a letter to his father, September 1900
>
>_______________________________________________
>Zope-PTK maillist - Zope-PTK@zope.org
>http://lists.zope.org/mailman/listinfo/zope-ptk
>
>See http://www.zope.org/Products/PTK/Tracker for bug reports
>and feature requests
>
>
Re: [Zope-PTK] Portals not importable. [ In reply to ]
Chip Vanek wrote:
>
> Hi,
>
> Just as another data point I have not seen the import problem
> with PTK folders.
>
> I develop, test, and share snapshots of my progress across
> three seperate installs of Zope on NT and see no problem.

Are you doing this with objects in the prtal, or th eportal itsself?

> I use 2.1.6 on NT Server & Wks. My version of the PTK is from
> the CVS as of 3/20/00. The CVS as of my last look (3/28/00) has
> some changes in the reviewr role security process that still do
> not work so I am not using the latest.
>
> Are you seeing the problem in just exporting and then reimporting
> an initial portal from the portal wizard?
>
> Best,
>


Any full-portal. I haven't tried (yet), a portal folder (or anything in
the portal).

I get it with any portal I export, which reports no errors, btw. I just
tried a freshly created one in an attempt to narrow down the problem.

Will try to export/import something form inside a portal ...

--
In flying I have learned that carelessness and overconfidence are
usually far more dangerous than deliberately accepted risks.
-- Wilbur Wright in a letter to his father, September 1900
Re: [Zope-PTK] Portals not importable. [ In reply to ]
Bill Anderson wrote:
>
> Chip Vanek wrote:
> >
> > Hi,
> >
> > Just as another data point I have not seen the import problem
> > with PTK folders.
> >
> > I develop, test, and share snapshots of my progress across
> > three seperate installs of Zope on NT and see no problem.
>
> Are you doing this with objects in the prtal, or th eportal itsself?
>
> > I use 2.1.6 on NT Server & Wks. My version of the PTK is from
> > the CVS as of 3/20/00. The CVS as of my last look (3/28/00) has
> > some changes in the reviewr role security process that still do
> > not work so I am not using the latest.
> >
> > Are you seeing the problem in just exporting and then reimporting
> > an initial portal from the portal wizard?
> >
> > Best,
> >
>
> Any full-portal. I haven't tried (yet), a portal folder (or anything in
> the portal).
>
> I get it with any portal I export, which reports no errors, btw. I just
> tried a freshly created one in an attempt to narrow down the problem.
>
> Will try to export/import something form inside a portal ...


OK, I can export somethng from the ne wportal, and re-import it fine.

however, when trying to do so from a different portal:
"""
Zope Error

Zope has encountered an error while publishing this resource.

Error Type: UnpicklingError
Error Value: invalid load key, '
"""

:-(
--
In flying I have learned that carelessness and overconfidence are
usually far more dangerous than deliberately accepted risks.
-- Wilbur Wright in a letter to his father, September 1900
RE: [Zope-PTK] Portals not importable. [ In reply to ]
Hi,

I can export a full portal and import that whole
portal into another server and everything works.

I can also export a specific folder (like Wizards) from
one portal and import into another portal or even a normal
Zope folder and the items work.

Best,

Chip

>-----Original Message-----
>From: ucntcme@zope.org [mailto:ucntcme@zope.org]On Behalf Of Bill
>Anderson
>Sent: Saturday, April 01, 2000 9:03 PM
>To: zope-ptk@zope.org
>Subject: Re: [Zope-PTK] Portals not importable.
>
>
>Chip Vanek wrote:
>>
>> Hi,
>>
>> Just as another data point I have not seen the import problem
>> with PTK folders.
>>
>> I develop, test, and share snapshots of my progress across
>> three seperate installs of Zope on NT and see no problem.
>
>Are you doing this with objects in the prtal, or th eportal itsself?
>
>> I use 2.1.6 on NT Server & Wks. My version of the PTK is from
>> the CVS as of 3/20/00. The CVS as of my last look (3/28/00) has
>> some changes in the reviewr role security process that still do
>> not work so I am not using the latest.
>>
>> Are you seeing the problem in just exporting and then reimporting
>> an initial portal from the portal wizard?
>>
>> Best,
>>
>
>
>Any full-portal. I haven't tried (yet), a portal folder (or anything in
>the portal).
>
>I get it with any portal I export, which reports no errors, btw. I just
>tried a freshly created one in an attempt to narrow down the problem.
>
>Will try to export/import something form inside a portal ...
>
>--
>In flying I have learned that carelessness and overconfidence are
>usually far more dangerous than deliberately accepted risks.
> -- Wilbur Wright in a letter to his father, September 1900
>
>_______________________________________________
>Zope-PTK maillist - Zope-PTK@zope.org
>http://lists.zope.org/mailman/listinfo/zope-ptk
>
>See http://www.zope.org/Products/PTK/Tracker for bug reports
>and feature requests
>
>