[Zope] Can not add Zope Tutorial with 2.2
Martijn Pieters
mj@digicool.com
Sun, 25 Jun 2000 17:27:22 +0200
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? It is intended that you should add it
> from the add list (this should be better documented though...)
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
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
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.
--
Martijn Pieters
| Software Engineer mailto:mj@digicool.com
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
| The Open Source Web Application Server
---------------------------------------------