Re: [Zope] Trying to Upload a File
Yvonne Totty writes:
... File C:\Program Files\ATIAnywhere\lib\python\Products\LocalFS\LocalFS.py, line 336, in _save_File (Object: Price_00.pdf) File C:\Program Files\ATIAnywhere\lib\python\ts_regex.py, line 144, in search TypeError: read-only character buffer, ImplicitAcquirerWrapper It looks like wrong parameter passing to "manage_addFile".
"_save_File" gets a Zope object (the Implicit...Wrapper) where it expects a string (the read-only ... buffer). Dieter
OK, then, how can I get this to work? Keep in mind I am on a legacy system and do not know 'why' things are organized how they are or if it is even correct. Anyway, I have a .pdf file going into a directory. I go to 'Add File' and I get the error I sent before. I know there are lots of resources out there, however, I do not even know where to begin to look. Thanks a bunch, -y ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer, x2198 ------------------------- Maximus: What we do in life, echoes in eternity. -- Gladiator
Yvonne Totty writes:
... File C:\Program Files\ATIAnywhere\lib\python\Products\LocalFS\LocalFS.py, line 336, in _save_File (Object: Price_00.pdf) File C:\Program Files\ATIAnywhere\lib\python\ts_regex.py, line 144, in search TypeError: read-only character buffer, ImplicitAcquirerWrapper It looks like wrong parameter passing to "manage_addFile".
"_save_File" gets a Zope object (the Implicit...Wrapper) where it expects a string (the read-only ... buffer).
Dieter
Yvonne Totty writes:
Anyway, I have a .pdf file going into a directory. I go to 'Add File' and I get the error I sent before. The directory happened to be in a "LocalFS".
Maybe, you are affected by a Zope 2.3/LocalFS incompatibility. Search the mailing list archives. I saw recently (today or yesterday) a path for LocalFS. Dieter
participants (2)
-
Dieter Maurer -
Yvonne Totty