[OPEN-ILS-DEV] Troubleshooting Woodchip install
Dan Scott
denials at gmail.com
Tue Dec 11 15:24:23 EST 2007
Hey - good news, I finished a Woodchip install following Bill's
instructions at
http://open-ils.org/dokuwiki/doku.php?id=acq:installing (on Gentoo -
no real changes required), fired up the application, and things mostly
seem to work. Yay!
The bad news is that there are some pieces that need to be fixed.
#0: Ultra minor, the Evergreen logo is missing from opentaps_images/egreen.jpg.
#1: In applications/woodchip/config we provide
WoodchipUiLabels_en_US.properties and
WoodchipUiLabels_fr_CA.properties, but we need to provide a fallback
WoodchipUiLabels.properties for those who foolishly have their browser
set to en-CA (or any other locale). Simply copying or linking the
en_US file is good enough. We can also copy or link the fr_CA file to
_fr for now, if we want to provide a French translation rather than
throwing fr and fr-* users to the English wolves. (And yes, I realize
there are only a handful of strings in the file at the moment; just
laying the groundwork!)
#2: More serious, we're missing at least one more defined label - and
I'm having a hard time tracking down where this is supposed to be
defined. The error is thrown on the Woodchip login screen:
Expression layoutSettings.libraryName is undefined on line 36, column
14 in header.ftl. The problematic instruction: ---------- ==>
${layoutSettings.libraryName} [on line 36, column 12 in header.ftl]
---------- Java backtrace for programmers: ----------
freemarker.core.InvalidReferenceException: Expression
layoutSettings.libraryName is undefined on line 36, column 14 in
header.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118) at
freemarker.core.Expression.getStringValue(Expression.java:93) at
freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.Environment.process(Environment.java:176) at
freemarker.template.Template.process(Template.java:232) at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:182)
at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:80)
at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:116)
at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:67)
at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:809)
at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:136)
at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:397)
at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:136)
at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:492)
at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:154)
at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:247)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:136)
at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:108)
at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:81)
at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:645)
at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:429)
at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:358)
at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) Error rendering included
template at location
[component://common/webcommon/includes/header.ftl]:
freemarker.core.InvalidReferenceException: Expression
layoutSettings.libraryName is undefined on line 36, column 14 in
header.ftl.
--
Dan Scott
Laurentian University
More information about the Open-ils-dev
mailing list