[Tramline-dev] Tramline with Plone

Nate Aune natea at jazkarta.com
Sun Jan 28 18:29:02 CET 2007


There are several of us at the Snow Sprint who are trying to get
Tramline working with Plone. I've started a howto here:

http://plone.org/events/sprints/snow-sprint-2007/tramline/

Are we missing any steps?

I uninstalled attramline and installed PloneTramline, but the same
problem occurs when trying to upload a file. When I try to upload a
file, the following error occurs in Apache's error_log:

[Sun Jan 28 17:04:54 2007] [error] [client 127.0.0.1] tramline_input
tramline.core::inputfilter: Traceback (most recent call last):,
referer: http://localhost:81/Members/admin/portal_factory/File/file.2007-01-28.2850597567/edit
[Sun Jan 28 17:04:54 2007] [error] [client 127.0.0.1] tramline_input
tramline.core::inputfilter:   File
"/opt/local/lib/python2.4/site-packages/mod_python/apache.py", line
187, in FilterDispatch\n    object(filter), referer:
http://localhost:81/Members/admin/portal_factory/File/file.2007-01-28.2850597567/edit
[Sun Jan 28 17:04:54 2007] [error] [client 127.0.0.1] tramline_input
tramline.core::inputfilter:   File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/tramline-0.5.1-py2.4.egg/tramline/core.py",
line 76, in inputfilter\n    s = filter.read(), referer:
http://localhost:81/Members/admin/portal_factory/File/file.2007-01-28.2850597567/edit
[Sun Jan 28 17:04:54 2007] [error] [client 127.0.0.1] tramline_input
tramline.core::inputfilter: IOError: Input filter read error, referer:
http://localhost:81/Members/admin/portal_factory/File/file.2007-01-28.2850597567/edit

Since it seems to be an IOError, I tried changing the path to
something that I know the Apache user should be able to write to.

I have tried setting in httpd.conf:

    PythonOption tramline_path /tmp

and in PloneTramline/filefield_patch.py:

    REPOSITORY_PATH = "/tmp"

thanks for any help you can offer.

Nate


-- 
Nate Aune - natea at jazkarta.com
http://www.jazkarta.com
Plone solutions, consulting and development


More information about the Tramline-dev mailing list