[railroad-dev] Re: Problems with Railroad + Zope
Floyd May
Fmay at okcareertech.org
Fri Apr 8 17:03:15 MEST 2005
> there are some simple issues on the svn'd trunk of Railroad that
create
> the RuntimeError that you're seeing below.
>
> 1. parsing error on the railroadServiceAdd.zpt...no matching <table>
for
> </table> at line 118.
> - add <table> at line 46 in railroadServiceAdd.zpt
Okay, got that much done. That worked.
> 2. it will then complain that here/services_url can't be found in
> railroadServiceAdd.zpt:
> - either tal:define this variable or don't use the
tal:attributes
> for that <input>
> - same with respository_name and client_name
> 3. add <input> for repository_url.
> - add <input name="repository_url" size="50" />
Okay, you lost me there.
Is it safe to assume that the version I pulled down is
broken enough that i probably can't use it?
>
> that being said...you're using elementtree instead of lxml's etree
and i
> imagine you're going to hit issues with that after you get the
railroad
> service instance instantiated...but someone here would know more than
i.
I had the most hellacious time even locating lxml, so I assumed that
the
version I pulled down from infrae's CVS server had renamed etree to
elementtree. Using CVS was the only way I could even GET lxml, so if
you know of a better way to locate lxml, or, specifically, etree,
please
let me know, because I'm pulling my hair out.
Floyd
>
> d
>
> Floyd May wrote:
> > Hello all,
>
> Hello! :)
>
> > I'm having trouble getting Railroad to work with Zope. Following
a
> > long run-around locating the lxml python module (and modifying
rrxml.py
> > to use elementtree instead of etree), I was able to get Zope to
start-up
> > with Railroad loaded as a product.
>
> What system are you running it all on/under?
>
>
> > However, I am unable to actually
> > create a Railroad Service object. When I attempt to add a
Railroad
> > Service object to Zope, I see:
> >
> > Site Error
> >
> > An error was encountered while publishing this resource.
> >
> > Error Type: PTRuntimeError
> > Error Value: Page Template has errors.
> >
> > Any help?
>
> Is there an associated trace with this?
> Either the error log, or the page itself (if you find it
> in the Zope Management Interface) should tell you what
> specifically is wrong with it...
> (And which page it's upset about)
>
>
>
> J,
More information about the railroad-dev
mailing list