[Zope] Batch import of Images to Zope ?

ozric ozric@tampabay.rr.com
Mon, 13 Dec 1999 21:41:56 -0500


I have some images on a file system that are updated daily.
I need to make it easy for a folder manager to import them in Zope.
I have tried the fsimport.py external method but I cant seem to get it to work.
here is the trace back

Traceback (innermost last):
  File /home/httpd/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /home/httpd/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /home/httpd/Zope-2.1.0-src/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
  File /home/httpd/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /home/httpd/Zope-2.1.0-src/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: manage_addExternalMethod)
  File /home/httpd/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 102, in
call_object
    (Object: manage_addExternalMethod)
  File
/home/httpd/Zope-2.1.0-src/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 125, in manage_addExternalMethod
  File
/home/httpd/Zope-2.1.0-src/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 167, in __init__
    (Object: File_system_import)
  File
/home/httpd/Zope-2.1.0-src/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 186, in manage_edit
    (Object: File_system_import)
  File
/home/httpd/Zope-2.1.0-src/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 195, in getFunction
    (Object: File_system_import)
  File /home/httpd/Zope-2.1.0-src/lib/python/App/Extensions.py, line 205, in
getObject
    (Info: ('/home/httpd/Zope-2.1.0-src/Extensions/fsimport.py', 'fsimport'))
SyntaxError: (see above)

What am I doing wrong?  Is there some other method/product I can use to do this?

										Thanks Rick
-- 
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damage per incident.