[Zope] 2.1.1 and fsimport.py?

Nick Garcia ngarcia@codeit.com
Mon, 20 Dec 1999 14:35:48 -0800


Steen Suder wrote:
> 
> Steen Suder wrote:
> >
> > 1. Does anyone have a version of fsimport.py that works with 2.1.1?
> > 2. How is it supposed to work?
> 
> OK, by digging deeper into the archives, I found out that it is supposed
> to work like:
> URL/fsimport?fsdir=somefilesystemdir
>
> (Btw., is the somefilesystemdir supposed to be on the server on which
> Zope runs or on the client machine?)

It's a directory on the server.
 
> It gives the following error:
> 
> Error Type: Bad Request
> Error Value: The id windows is invalid - it is already in use.

It's just telling you that it tried to create an object called
'windows', but there was already an object with that id there.  So it
failed.  It won't update objects that already exist in your ZODB, it
will only create new ones.

[traceback snipped]

> Does it mean that it won't work with the 2.1.1 release? (Hint for Michel
> ;-)
> 
> --
> Best regards / Mvh.,
> Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time
> 
> Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
> 
> _______________________________________________
> 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 )