[Zope] Fsimport problems
Jim Bickford
jim.bickford@flinders.edu.au
Fri, 12 Mar 1999 18:22:47 +0930
Hi... I'm having no luck importing an existing file tree using fsimport
with Zope-1.10.2 with pcgi Apache... it seemed to work well under 1.9
...
but then I was also using ZopeHttpServer Could that be the problem or
something I have done..
Thanks guys for a great system...
Cheers
JimB
This is the dump:
Sorry, an error occurred.
Traceback (innermost last):
File lib/python/ZPublisher/Publish.py, line 877, in publish_module
File lib/python/ZPublisher/Publish.py, line 590, in publish
(Info: /Bio/fsimport)
File lib/python/Products/ExternalMethod/ExternalMethod.py, line 254,
in __call__
(Object: CopySource)
(Info: ((<Folder instance at 0x82caab0>,
'/home/jimb/AAA-work/bio.www/body', form:
fsdir: '/home/jimb/AAA-work/bio.www/body'
environ:
DOCUMENT_ROOT: '/usr/local/Zope-1.10.2-linux2-x86/Zap/htdocs'
HTTP_ACCEPT_ENCODING: 'gzip'
SCRIPT_FILENAME:
'/usr/local/Zope-1.10.2-linux2-x86/Zap/../Zope.cgi'
PCGI_NAME: 'Main'
PCGI_MODULE_PATH:
'/usr/local/Zope-1.10.2-linux2-x86/lib/python/Main.py'
SERVER_PORT: '9673'
PATH_TRANSLATED:
'/usr/local/Zope-1.10.2-linux2-x86/Zap/htdocs/Bio/fsimport'
REMOTE_ADDR: '129.96.230.155'
SCRIPT_NAME: '/Zope'
PCGI_EXE: '/usr/local/Zope-1.10.2-linux2-x86/bin/python'
HTTP_ACCEPT_LANGUAGE: 'en,de,af'
PCGI_PUBLISHER:
'/usr/local/Zope-1.10.2-linux2-x86/pcgi/pcgi_publisher.py'
GATEWAY_INTERFACE: 'CGI/1.1'
SERVER_NAME: 'daphne.bio.flinders.edu.au'
HTTP_CONNECTION: 'Keep-Alive'
HTTP_USER_AGENT: 'Mozilla/4.5 [en] (WinNT; I)'
HTTP_ACCEPT_CHARSET: 'iso-8859-1,*,utf-8'
HTTP_ACCEPT: 'image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */*'
REQUEST_URI:
'/Zope/Bio/fsimport?fsdir=/home/jimb/AAA-work/bio.www/body'
PCGI_INFO_FILE:
'/usr/local/Zope-1.10.2-linux2-x86/Zap/../Zope.cgi'
HTTP_COOKIE: 'tree-s="eJyLjjaMjQUABOIBog"; dtpref_rows="55";
dtpref_cols="100"'
PATH: '/sbin:/usr/sbin:/bin:/usr/bin'
QUERY_STRING: 'fsdir=/home/jimb/AAA-work/bio.www/body'
SERVER_PROTOCOL: 'HTTP/1.0'
HTTP_HOST: 'daphne.bio.flinders.edu.au:9673'
SCRIPT_URL: '/Zope/Bio/fsimport'
REMOTE_PORT: '1931'
PCGI_PID_FILE: '/usr/local/Zope-1.10.2-linux2-x86/var/pcgi.pid'
SERVER_SIGNATURE: ''
SCRIPT_URI:
'http://daphne.bio.flinders.edu.au:9673/Zope/Bio/fsimport'
PCGI_SOCKET_FILE:
'/usr/local/Zope-1.10.2-linux2-x86/var/pcgi.soc'
SERVER_ADMIN: '[no address given]'
SERVER_SOFTWARE: 'Apache/1.3.4 (Unix)'
PYTHONHOME: '/usr/local/Zope-1.10.2-linux2-x86'
PCGI_DISPLAY_ERRORS: '1'
PATH_INFO: '/Bio/fsimport'
BOBO_REALM: 'Zope'
BOBO_DEBUG_MODE: '1'
HTTP_PRAGMA: 'no-cache'
REQUEST_METHOD: 'GET'
PCGI_ERROR_LOG: '/usr/local/Zope-1.10.2-linux2-x86/var/pcgi.log'
), {}, (None,)))
TypeError: read-only buffer, class
--
---------------------------------------------------------------------
Jim.Bickford@flinders.edu.au Biological Sci Flinders University
61 8 8201 3179(v) 61 8 8201 3015(f) South Australia 5042
---------------------------------------------------------------------