[ZODB-Dev] upload a file of 6 MB with the function manage_upload

2009-04-01 Thread 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. The file or images contents are replaced with the contents of 'file'. """ if self.wl_isLocked(): raise Re

Re: [ZODB-Dev] upload a file of 6 MB with the function manage_upload

2009-04-01 Thread Alan Runyan
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. > >

Re: [ZODB-Dev] upload a file of 6 MB with the function manage_upload

2009-04-01 Thread Andreas Jung
-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

Re: [ZODB-Dev] upload a file of 6 MB with the function manage_upload

2009-04-01 Thread Dieter Maurer
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