[Zope] Can not add Zope Tutorial with 2.2
Jochen Knuth
jok2@gmx.net
Sun, 25 Jun 2000 22:23:53 +0200
Hi Martijn, Brian,
Martijn Pieters wrote:
>
> On Sun, Jun 25, 2000 at 10:15:21AM -0400, Brian Lloyd wrote:
> > > in preparation for the LinuxTag 2000 i tried to add the Zope
> > > Tutorial to
> > > Zope 2.2.0b2 (and fresh CVS versions of the last three days) but i get
> > > the following error (i think it's the same error as Oleg mentioned):
> > >
> > > Error Type: TypeError
> > > Error Value: ('len() of unsized object', <class
> > > Shared.DC.ZRDB.DA.SQL at
> > > 85fb7e0>, None)
> >
> > Jochen,
> >
> > Did you try to _import_ the tutorial or add it from the "add list"
> > in the management interface?
[...]
> Adding does nothing but create a Folder and do the import for you there. This
> is a bug, I can reproduce it by either:
>
> 1.
> - Add -> Zope Tutorial
> - fill in ID
> - Add
This way i produced the error with the traceback.
> 2.
> - Create a Folder
> - enter Folder
> - Import/Export
> - fill 'ZopeTutorialExamples.zexp' in 'Import file name' field.
> - Leave the Ownership setting, although it doesn't make any difference.
> - Import
I tried this and it produces the same error.
> All this on:
>
> Zope version: Zope 2.2.0b2 (binary release, python 1.5.2, linux2-x86)
> Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3]
> System Platform: linux2
> clean out of the box, but after creating a Manager Role user, and
> reauthenticated.
and on:
Zope version: (unreleased version)
Python version: 1.5.2 (#2, Jun 23 2000, 00:00:07) [GCC 2.95.2 19991024
(release)]
System Platform: freebsd4
Ciao,
Jochen