[Zope] Re: Can't export only an ObjectManager

Andy McKay andym@ActiveState.com
Mon, 25 Sep 2000 17:09:31 -0700


Well its easier to edit XML, i could export a folderish object and then edit
it.
But is it my hooped version of Zope or can Zope not import its own exported
XML?

Error Type: TypeError
Error Value: first argument must be sequence of strings

Traceback (innermost last):
  File D:\zope\lib\python\ZPublisher\Publish.py, line 222, in publish_module
  File D:\zope\lib\python\ZPublisher\Publish.py, line 187, in publish
  File D:\zope\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File D:\zope\lib\python\ZPublisher\Publish.py, line 171, in publish
  File D:\zope\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: manage_importObject)
  File D:\zope\lib\python\ZPublisher\Publish.py, line 112, in call_object
    (Object: manage_importObject)
  File D:\zope\lib\python\OFS\ObjectManager.py, line 504, in
manage_importObject
    (Object: ApplicationDefaultPermissions)
  File D:\zope\lib\python\ZODB\ExportImport.py, line 142, in importFile
  File D:\zope\lib\python\OFS\XMLExportImport.py, line 189, in importXML
  File D:\zope\lib\python\Shared\DC\xml\xyap.py, line 57, in unknown_endtag
  File D:\zope\lib\python\Shared\DC\xml\ppml.py, line 704, in <lambda>
TypeError: (see above)


----- Original Message -----
From: "Andy McKay" <andym@ActiveState.com>
To: "Chris Withers" <chrisw@nipltd.com>
Cc: <zope@zope.org>
Sent: Monday, September 25, 2000 10:15 AM
Subject: [Zope] Re: Can't export only an ObjectManager


> Yes sorry I mean without (Friday afternoon y'know)
>
> A hack is my best bet. Sigh.
>
> ----- Original Message -----
> From: "Chris Withers" <chrisw@nipltd.com>
> To: "Andy McKay" <andym@activestate.com>
> Cc: <zope@zope.org>
> Sent: Monday, September 25, 2000 2:42 AM
> Subject: Can't export only an ObjectManager
>
>
> > Andy McKay wrote:
> > > How do I export a folder using the Import/Export tab with exporting
all
> the
> > > subobjects?
> >
> > You do mean 'wihout', don't you?
> >
> > > (Stupidest suggestion so far: delete all subjects, export, undelete)
> >
> > That's the only way I can think of...
> >
> > A patch that added a checkbox and a little more logic to the export code
> > should do the job...
> >
> > cheers,
> >
> > Chris
> >
>
>
> _______________________________________________
> 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 )
>