[Zope] Uploading file and transaction error?

Evan Gibson egibson@connect.com.au
Mon, 6 Mar 2000 12:29:08 +1100


On Wed, Mar 01, 2000 at 12:41:09PM +0100, Thomas Weiner wrote:
> Evan Gibson schrieb:
> 
> [Transaction error / Error value: commit_sub]
> > I get this exact same problem trying to add completely normal File Objects
> > to my Zope site.
> > I can create the object empty if I don't include an upload, but the instant
> > I try and upload anything it dies with the above error.
> > It happens _constantly_ for me, not just time to time.
> 
> Hmm .. this sounds really weird. 
> In my case I observed the following.
.
.
. 
> Then I changed the upload method in my test folder by inserting a
> <dtml-with "Intermobil.daten"> in order to redirect the upload into a
> category subfolder of the original daten folder .. and -surprisingly for
> me- the upload of the test file worked, too.
> 
> I deleted the file, went back to daten, tried again and got the same
> error as before.
> 
> So here I'm really confused, cause I don't know where to look and what
> exactly could have caused this problem.

What I've observed is that I'm running Zope on Linux and accessing it from
a browser on a Windows box. I can create empty File objects and file
objects containing _text_ files without a problem, but as soon as I try and
include or upload an _.exe_ file it barfs with the commit_sub error.
I'm wondering whether there's something occuring inside the .exe file
that's playing up with the storage mechanism, maybe some kind of terminator
or something...

(I tried uploading files from Solaris and uploaded text files from there
fine, so I was thinking it was a windows problem, but upon trying them text
files worked under windows as well. It definitely seems to be an exe
problem instead.)

-- 
  Evan ~ThunderFoot~ Gibson    ~ nihil mutatem, omni deletum ~
      May the machines watch over you with loving grace.