From emyr.thomas at gmail.com Wed Apr 2 13:47:35 2008 From: emyr.thomas at gmail.com (Emyr Thomas) Date: Wed, 2 Apr 2008 11:47:35 +0000 Subject: [Tramline-dev] Files not being transferred from upload dir to repository dir Message-ID: <8fb874820804020447ic163eabx510e1afde078ef9@mail.gmail.com> I've used tramline in a project a while back (version 0.4 I think) and it worked very well for me. I'm now starting another project but this time I thought I'd try the latest version (I'm actually using trunk from svn, but there doesn't seem to have been any changes since 0.5.1). I'm using apache 2.2.3, and mod_python 3.2.8 (which I've patched to remove the flush call as per the tramline docs). Integration with Plone (3.0.6) is being done using attramline[1], which includes a patch[2] for tramline which I've applied. The problem I'm having is that during uploads, files do appear in the tramline temporary upload dir, but once they've finished uploading, they don't seem to get moved over to the repository dir, they just dissappear. Anyone else had this problem before? Regards --Emyr [1] http://plone.org/products/attramline [2] http://svn.plone.org/svn/collective/attramline/trunk/tramline_explicit.patch From emyr.thomas at gmail.com Fri Apr 25 18:40:37 2008 From: emyr.thomas at gmail.com (Emyr Thomas) Date: Fri, 25 Apr 2008 17:40:37 +0100 Subject: [Tramline-dev] Files not being transferred from upload dir to repository dir In-Reply-To: <8fb874820804020447ic163eabx510e1afde078ef9@mail.gmail.com> References: <8fb874820804020447ic163eabx510e1afde078ef9@mail.gmail.com> Message-ID: <8fb874820804250940t3e069e8aga8f98c8b6ffe1928@mail.gmail.com> On Wed, Apr 2, 2008 at 12:47 PM, Emyr Thomas wrote: [snip] > The problem I'm having is that during uploads, files do appear in the > tramline temporary upload dir, but once they've finished uploading, > they don't seem to get moved over to the repository dir, they just > dissappear. Anyone else had this problem before? I've got this working now by modifying attramline. However, attramline isn't broken per se - it's correctly expecting a header named 'tramline'. Tramline is actually sending this header, but it isn't getting through to attramline - it seems to be getting lost somewhere along the way, but I'm unsure if this is down to mod_python, Apache or Zope. --Emyr From emyr.thomas at gmail.com Fri Apr 25 18:48:04 2008 From: emyr.thomas at gmail.com (Emyr Thomas) Date: Fri, 25 Apr 2008 17:48:04 +0100 Subject: [Tramline-dev] Files not being transferred from upload dir to repository dir In-Reply-To: <8fb874820804250940t3e069e8aga8f98c8b6ffe1928@mail.gmail.com> References: <8fb874820804020447ic163eabx510e1afde078ef9@mail.gmail.com> <8fb874820804250940t3e069e8aga8f98c8b6ffe1928@mail.gmail.com> Message-ID: <8fb874820804250948i7bbecd6fha37b6c1785564977@mail.gmail.com> On Fri, Apr 25, 2008 at 5:40 PM, Emyr Thomas wrote: > On Wed, Apr 2, 2008 at 12:47 PM, Emyr Thomas wrote: > [snip] > > The problem I'm having is that during uploads, files do appear in the > > tramline temporary upload dir, but once they've finished uploading, > > they don't seem to get moved over to the repository dir, they just > > dissappear. Anyone else had this problem before? > > I've got this working now by modifying attramline. However, attramline > isn't broken per se - it's correctly expecting a header named > 'tramline'. Tramline is actually sending this header, but it isn't > getting through to attramline - it seems to be getting lost somewhere > along the way, but I'm unsure if this is down to mod_python, Apache or > Zope. Maybe something to do with this: http://preview.tinyurl.com/4vlvcd --Emyr