[railroad-dev] unable to get test form to work

David, Lysander LDavid at verisign.com
Fri Mar 16 18:42:02 CET 2007


Hi Kit,

Actually only the client is on windows. The server is running
on a linux box along with an instance of postgres.

I'm using railroad because I need some way to allow upload and download
of large ( > 2Gig ) files.
We are currently using an issue tracking system ( sourcefore ee ) which
does allow attaching
files. However, before uploading or downloading a file, it reads it
entirely into memory.

I was hoping to use plone in conjunction with railroad to allow large
files to be uploaded and downloaded
in a secure ( and possibly auditable ) manner.

I was not able to identify which specific version of plone has been
verified to work with railroad.
I googled it, but no luck :^(

>From you comments, it seems like railroad may not be the best solution.

Would you be able to suggest a more suitable one ?

Thanks,
Lysander

-----Original Message-----
From: railroad-dev-bounces at codespeak.net
[mailto:railroad-dev-bounces at codespeak.net] On Behalf Of kit BLAKE
Sent: Thursday, March 15, 2007 1:10 AM
To: Railroad server development list
Subject: Re: [railroad-dev] unable to get test form to work

Hi,
The error 'Name or service not known' makes me suspect there's an
incompatibility with a newer version of Plone. But what specifically, I
don't know.

I'm sure you've seen that PloneRailroad was built some time ago. The
customer had a very load intensive use case (terabytes of video) and as
far as I know they haven't upgraded their Plone.

Why do you need Railroad? I notice you're running on windows, which
means you don't have the database for metadata in the mix. That's the
aspect that makes RR interesting as opposed to other options; when the
metadata is stored on the server, the repository can be accessed and
managed from disparate systems.

Kit

2007/3/15, David, Lysander <LDavid at verisign.com>:
>
>
> Hi,
>
> I was able to almost complete install railroad for plone however when 
> I get to test test form in plone ( 
> http://assetmgmt02:8080/test/portal_railroad/plone_railroad_service.20
> 07-03-14.3762220305/railroad_service_test_form
> )
> I get this error:
>
>
> This site encountered an error trying to fulfill your request. The 
> errors
> were: Error Type IOError Error Value [Errno socket error] (-2, 'Name 
> or service not known') Request made at 2007/03/14 12:06:47.003 GMT-7 
> And the zope log contains this:
>
> 10.25.17.141 - Anonymous [14/Mar/2007:10:43:16 -0700] "GET 
> /test/portal_railroad/plone_railroad_service.2007-03-14.3762220305/rai
> lroad_service_test_form
> HTTP/1.1" 500 13349
>
"http://assetmgmt02:8080/test/portal_railroad/plone_railroad_service.200
7-03-14.3762220305/"
> "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) 
> Gecko/20070216 Firefox/1.5.0.10"
>
> ==> event.log <==
> ------
> 2007-03-14T10:45:09 ERROR Zope.SiteErrorLog 
> http://assetmgmt02:8080/test/portal_railroad/plone_railroad_service.20
> 07-03-14.3762220305/railroad_service_test_form
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 115, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 41, in call_object
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>   Module Products.CMFCore.FSPageTemplate, line 195, in _exec
>   Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
>   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
>    - <FSPageTemplate at /test/railroad_service_test_form used for 
> /test/portal_railroad/plone_railroad_service.2007-03-14.3762220305>
>   Module TAL.TALInterpreter, line 238, in __call__
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 749, in do_useMacro
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 457, in do_optTag_tal
>   Module TAL.TALInterpreter, line 442, in do_optTag
>   Module TAL.TALInterpreter, line 437, in no_tag
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 780, in do_defineSlot
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 457, in do_optTag_tal
>   Module TAL.TALInterpreter, line 442, in do_optTag
>   Module TAL.TALInterpreter, line 437, in no_tag
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 728, in do_defineMacro
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 772, in do_defineSlot
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 531, in do_insertText_tal
>   Module Products.PageTemplates.TALES, line 227, in evaluateText
>   Module Products.PageTemplates.TALES, line 221, in evaluate
>    - URL:
> file:PloneRailroad/skins/PloneRailroad/railroad_service_test_form.pt
>    - Line 10, Column 4
>    - Expression: standard:'here/generate_unique_id'
>    - Names:
>       {'container': <PloneSite at /test>,
>        'context': <PloneRailroadService at 
> /test/portal_railroad/plone_railroad_service.2007-03-14.3762220305>,
>        'default': <Products.PageTemplates.TALES.Default
> instance at 0xb74626cc>,
>        'here': <PloneRailroadService at 
> /test/portal_railroad/plone_railroad_service.2007-03-14.3762220305>,
>        'loop': <Products.PageTemplates.TALES.SafeMapping
> object at 0xb2bd2d0c>,
>        'modules':
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
> instance at 0xb740732c>,
>        'nothing': None,
>        'options': {'args': ()},
>        'repeat': <Products.PageTemplates.TALES.SafeMapping
> object at 0xb2bd2d0c>,
>        'request': <HTTPRequest,
>
URL=http://assetmgmt02:8080/test/portal_railroad/plone_railroad_service.
2007-03-14.3762220305/railroad_service_test_form>,
>        'root': <Application at >,
>        'template': <FSPageTemplate at
> /test/railroad_service_test_form used for 
> /test/portal_railroad/plone_railroad_service.2007-03-14.3762220305>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'admin'>}
>   Module Products.PageTemplates.Expressions, line 185, in __call__
>   Module Products.PageTemplates.Expressions, line 180, in _eval
>   Module Products.PageTemplates.Expressions, line 85, in render
>   Module Products.Railroad.service, line 90, in generate_unique_id
>   Module urllib, line 84, in urlopen
>   Module urllib, line 192, in open
>   Module urllib, line 313, in open_http
>   Module httplib, line 798, in endheaders
>   Module httplib, line 679, in _send_output
>   Module httplib, line 646, in send
>   Module httplib, line 614, in connect
> IOError: [Errno socket error] (-2, 'Name or service not known')
>
> Would any one happen to know how to fix this or at least debug the
problem ?
> I have verified that the webdav interface is working because the 
> pydavclient test completes successfully.
>
> The line reference in the .pt is
>
>     <h1 tal:content="here/generate_unique_id"/>
>
> It seems tantallizingly close to working.
>
> Any help would be greatly appreciated.
>
> By the way, does infrae sell support contracts ?
>
> Thanks,
> Lysander
>
> _______________________________________________
> railroad-dev mailing list
> railroad-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/railroad-dev
>
>


--
Kit BLAKE * Infrae * http://infrae.com/ + 31 10 243 7051 Hoevestraat 10
* 3033 GC * Rotterdam + The Netherlands Contact =
http://xri.net/=kitblake _______________________________________________
railroad-dev mailing list
railroad-dev at codespeak.net
http://codespeak.net/mailman/listinfo/railroad-dev


More information about the railroad-dev mailing list