[Zope] 2.1.1 and fsimport.py?

Steen Suder CAB@Earthling.net
Mon, 20 Dec 1999 22:34:11 +0100


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 gives the following error:

Error Type: Bad Request
Error Value: The id windows is invalid - it is already in use.

Traceback:
Traceback (innermost last):
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /usr/local/Zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: fsimport)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
    (Object: fsimport)
  File
/usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 248, in __call__
    (Object: fsimport)
    (Info: ((<Application instance at 850fed0>, 


(Here was the actual data of the file)



  File /usr/local/Zope/Extensions/fsimport.py, line 14, in fsimport
    (Object: ApplicationDefaultPermissions)
  File /usr/local/Zope/Extensions/fsimport.py, line 61, in rcimport
  File /usr/local/Zope/Extensions/fsimport.py, line 61, in rcimport
  File /usr/local/Zope/Extensions/fsimport.py, line 60, in rcimport
  File /usr/local/Zope/lib/python/OFS/Folder.py, line 119, in
manage_addFolder
    (Object: ElementWithAttributes)
  File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 225, in
_setObject
    (Object: ElementWithAttributes)
  File /usr/local/Zope/lib/python/OFS/ObjectManager.py, line 209, in
_checkId
    (Object: ElementWithAttributes)
Bad Request: (see above)

> 
<CUT>

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/