Hi all,
I want to upload a file of 6 MB with the function manage_upload
def manage_upload(self,file='',REQUEST=None):
"""
Replaces the current contents of the File or Image object with file.
The file or images contents are replaced with the contents of 'file'.
"""
if self.wl_isLocked():
raise Re
This is not a ZODB question. Ask on Zope User's mailing list.
2009/4/1 Sandra :
> Hi all,
> I want to upload a file of 6 MB with the function manage_upload
>
>
> def
>
> manage_upload(self,file='',REQUEST=None):
>
> """
>
> Replaces the current contents of the File or Image object with file.
>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01.04.2009 14:17 Uhr, Sandra wrote:
> Anybody knows any way to solve
> it ?
> N.B: i am using Relstorage + Oracle 10i.
You might want to use the Python debugger pdb and figure out where the
code hangs - either within your application or somewhere
Sandra wrote at 2009-4-1 12:17 +:
> ...
>def manage_upload(self,file='',REQUEST=None):
> ...
> in python/OFS/image.py. But my Programm run without end.
Zope is not very efficient with uploading large files.
Thus, I may take some time -- but it should work.
>I'm making some mistake ?
You shou