[Tramline-dev] Re: [Plone4Artists Tracker/236] Tramline Support
(#9/comment)
Chris Miles
miles.chris at gmail.com
Fri Jan 6 00:16:47 CET 2006
Hi Nate,
Nope I haven't had time to do any more testing since the last time I
played with it.
I noticed in the mean time that someone had corrected the problem
with the Plone login form, by patching it to only effect multipart
form data (I think that was the fix).
That's good news, but obviously needs plenty more testing. I'm not
sure when I'll get a chance next, but I'll certainly keep everyone
updated when I do.
Cheers
CM
--
Chris Miles
http://chrismiles.info/
On 4 Jan 2006, at 01:47, Nate Aune wrote:
> Hi Chris,
>
> have you and Martijn come any further in getting Tramline working
> with Plone?
>
> Nate
>
> Begin forwarded message:
>
>> From: natea at jazkarta.com
>> Date: January 3, 2006 7:37:16 PM CST
>> To: natea at jazkarta.com,miles.chris at gmail.com,rocky at serverzen.com
>> Subject: [Plone4Artists Tracker/236] Tramline Support (#9/comment)
>> Reply-To: natea at jazkarta.com
>>
>> Issue: #236: Tramline Support, Topic: Uploading, Status:
>> accepted, Importance: Medium, Classification: Feature
>> Issue URL: http://plone4artists.org/tracker/236
>> ---------------------------------------------------------------------
>> ------
>>
>> Description:
>> ----------------------------------------
>> Investigate Martijn Faasen's Tramline product for improved
>> handling of
>> large file uploads/downloads. The tarball for this product is
>> posted at
>> http://plone4artists.org/tramline-prelease.tgz
>>
>> #9 2006-01-03 07:37 PM (nateaune)
>> ---------------------------------------------------------------------
>> ------
>> Change: description: "Investigate Martijn Faasen's Tramline
>> product for improved handling of large file uploads/downloads. The
>> tarball for this product is posted at http://plone4artists.org/
>> tramline-prelease.tgz
>> " -> "Investigate Martijn Faasen's (Infrae) Tramline product for
>> improved handling of large file uploads/downloads. More info about
>> this product is posted at http://www.infrae.com/products/tramline
>> "
>>
>> #8 comment 2005-09-29 03:56 PM (nateaune)
>> ---------------------------------------------------------------------
>> ------
>> Comment:
>> Maybe we could use this Funkload software to do testing and
>> get hard
>> numbers on where the bottlenecks are.
>> http://public.dev.nuxeo.com/~ben/funkload/
>>
>> #7 comment 2005-09-28 07:11 AM (chrismiles)
>> ---------------------------------------------------------------------
>> ------
>> Comment:
>> I have managed to get tramline to successfully intercept and
>> save an
>> uploaded file, for the Image type in Plone 2.1. However, the
>> Image type
>> or template still needs to be modified to send back the
>> headers needed
>> for Tramline to send the image back to the client. This part
>> isn't
>> clear to me and I am asking Martijn for more help.
>> For the above to work, I had to disable portal_factory for the
>> Image
>> type, then add request.response.addHeader('tramline_ok', '') to
>> atct_edit. However, even then it didn't work consistently. I
>> think I'm
>> still to new to Plone to understand the best place to put this
>> header so
>> have asked Martijn for his recommendation. (Adding the header
>> to the
>> global "header" template didn't effect the Image "add" page,
>> atct_edit.)
>> I also found that when tramline is enabled, Plone logins stop
>> working.
>> I have informed Martijn.
>>
>> #6 2005-09-27 09:38 PM (nateaune)
>> ---------------------------------------------------------------------
>> ------
>> Change: topic: "Audio" -> "Uploading"
>>
>> #5 comment 2005-09-27 07:34 PM (chrismiles)
>> ---------------------------------------------------------------------
>> ------
>> Comment:
>> Notes for building Apache and mod_python for Tramline. Your
>> paths may
>> vary)
>> Python: build Python 2.3.5 *[1]
>> Apache 2.0.x (latest svn snapshot):
>> $ svn checkout
>> http://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x
>> httpd-2.0.x-svn
>> $ cd httpd-2.0.x-svn
>> $ cd srclib
>> $ svn co https://svn.apache.org/repos/asf/apr/apr/branches/
>> 0.9.x apr
>> $ svn co https://svn.apache.org/repos/asf/apr/apr-util/
>> branches/0.9.x
>> apr-util
>> $ cd ..
>> $ ./configure --prefix=/opt/httpd-2.0.x-svn --enable-proxy --
>> enable-
>> proxy-http --enable-ssl --enable-info --enable-rewrite --
>> enable-so
>> $ make
>> $ sudo make install
>> mod_python (requires a patch):
>> $ wget
>> http://apache.mirror.netmonic.com/httpd/modpython/
>> mod_python-3.1.4.tgz
>> $ tar xvzf mod_python-3.1.4.tgz
>> $ cd mod_python-3.1.4
>> $ vim lib/python/mod_python/apache.py
>> Comment out 'filter.flush()' in FilterDispatch(). Around line
>> 192.
>> $ ./configure --with-apxs=/opt/httpd-2.0.x-svn/bin/apxs --with-
>> python=/opt/python235/bin/python
>> $ make
>> $ sudo make install
>> *[1] Solaris:
>> Make sure Python is configured with "--enable-shared" or
>> linking with
>> mod_python will fail horribly.
>> *[2] OS X:
>> $ ./configure --prefix=/opt/httpd-2.0.x-svn --enable-proxy --
>> enable-
>> proxy-http --enable-ssl --enable-info --enable-rewrite --
>> enable-so
>> -with-mpm=worker
>> (CM Note: this still didn't build for me .. TODO)
>>
>> #4 comment 2005-09-27 06:48 PM (chrismiles)
>> ---------------------------------------------------------------------
>> ------
>> Comment:
>> Have setup Apache/mod_python (svn Apache & patched mod_python)
>> and am
>> now testing tramline with a simple cgi to verify its
>> behaviour. I
>> cannot get it to accept uploads (it should do so when sending
>> back
>> "tramline_ok" header response) so am talking to Martijn about
>> this.
>>
>> #3 2005-09-27 11:31 AM (nateaune)
>> ---------------------------------------------------------------------
>> ------
>> Change: topic: "" -> "Audio"
>> Change: title: " Tramline Support
>> " -> " Tramline Support"
>> Change: classification: "Bug" -> "Feature"
>> Change: description: " .
>> " -> "Investigate Martijn Faasen's Tramline product for improved
>> handling of large file uploads/downloads. The tarball for this
>> product is posted at http://plone4artists.org/tramline-prelease.tgz
>> "
>>
>> #2 assign 2005-09-27 11:24 AM (nateaune)
>> ---------------------------------------------------------------------
>> ------
>> Change: assignees: "['rockyburt']" -> "['chrismiles', 'rockyburt']"
>>
>> #1 accept 2005-09-23 06:47 AM (nateaune)
>> ---------------------------------------------------------------------
>> ------
>> Change: status: "pending" -> "accepted"
>> Change: assignees: "[]" -> "['rockyburt']"
>
> --
> Nate Aune - natea at jazkarta.com
> http://www.jazkarta.com
>
More information about the Tramline-dev
mailing list