Exception (Selmer validation error) thrown during crawl
Closed this issue · 0 comments
crispinb commented
20-08-24 03:47:35 bamboo INFO [pegasus.queue:59] - :obtained http://clojuredocs.org/clojure.test.junit/suite-attrs
20-08-24 03:47:35 bamboo INFO [pegasus.defaults:253] - :num-visited 1395
20-08-24 03:47:35 bamboo INFO [pegasus.defaults:262] - :stopping-crawl!
20-08-24 03:47:35 bamboo INFO [pegasus.defaults:267] - :stop-items 2
Exception in thread "main" clojure.lang.ExceptionInfo: resource-path for template.html returned nil, typically means the file doesn't exist in your classpath. {:type :selmer-validation-error, :error "resource-path for template.html returned nil, typically means the file doesn't exist in your classpath.", :error-template "<html>\n<head>\n <font face='arial'>\n <style type='text/css'>\n body {\n margin: 0px;\n background: #ececec;\n }\n #header {\n padding-top: 5px;\n padding-left: 25px;\n color: white;\n background: #a32306;\n text-shadow: 1px 1px #33333;\n border-bottom: 1px solid #710000;\n }\n #error-wrap {\n border-top: 5px solid #d46e6b;\n }\n #error-message {\n color: #800000;\n background: #f5a29f;\n padding: 10px;\n text-shadow: 1px 1px #FFBBBB;\n border-top: 1px solid #f4b1ae;\n }\n #file-wrap {\n border-top: 5px solid #2a2a2a;\n }\n #file {\n color: white;\n background: #333333;\n padding: 10px;\n padding-left: 20px;\n text-shadow: 1px 1px #55 background: #d6d6d6;\n float: left;\n padding: 5px;\n text-shadow: 1px 1px #EEEEEE;\n border-right: 1px solid #b6b6b6;\n }\n #line-content {\n float: left;\n padding: 5px;\n }\n #error-content {\n float: left;\n width: 100%;\n border-top: 5px solid #cdcdcd;\n }\n </style>\n</head>\n<body>\n<div id='header'>\n <h1>Template Compilation Error</h1>\n</div>\n<div id='error-wrap'>\n <div id='error-message'>{{error}}.</div>\n</div>\n{% if template %}\n<div id='file-wrap'>\n <div id='file'>In {{template}}{% if line %} on line {{line}}{% endif %}.</div>\n</div>\n{% for error in validation-errors %}\n<div id='error-content'>\n <div id='line-number'>{{error.line}}</div>\n <div id='line-content'>{{error.tag}}</div>\n</div>\n{% endfor %}\n{% endif %}\n</body>\n</html>", :line nil, :template nil, :validation-errors ({:tag " ", :line nil})}
at clojure.core$ex_info.invokeStatic(core.clj:4617)
at clojure.core$ex_info.invoke(core.clj:4617)
at selmer.validator$validation_error.invokeStatic(validator.clj:33)
at selmer.validator$validation_error.invoke(validator.clj:23)
at selmer.validator$validation_error.invokeStatic(validator.clj:25)
at selmer.validator$validation_error.invoke(validator.clj:23)
at selmer.parser$render_file.invokeStatic(parser.clj:135)
at selmer.parser$render_file.doInvoke(parser.clj:114)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at dash_clojuredocs.core$example_template.invokeStatic(core.clj:53)
at dash_clojuredocs.core$example_template.invoke(core.clj:52)
at dash_clojuredocs.core$handle_content.invokeStatic(core.clj:78)
at dash_clojuredocs.core$handle_content.invoke(core.clj:77)
at dash_clojuredocs.core$map_source.invokeStatic(core.clj:110)
at dash_clojuredocs.core$map_source.invoke(core.clj:100)
at dash_clojuredocs.core$handle_source.invokeStatic(core.clj:139)
at dash_clojuredocs.core$handle_source.invoke(core.clj:128)
at dash_clojuredocs.core$crawl_clojuredocs.invokeStatic(core.clj:210)
at dash_clojuredocs.core$crawl_clojuredocs.invoke(core.clj:195)
at dash_clojuredocs.core$_main.invokeStatic(core.clj:214)
at dash_clojuredocs.core$_main.invoke(core.clj:212)
at clojure.lang.Var.invoke(Var.java:375)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.core$apply.invokeStatic(core.clj:646)
at clojure.main$main_opt.invokeStatic(main.clj:314)
at clojure.main$main_opt.invoke(main.clj:310)
at clojure.main$main.invokeStatic(main.clj:421)
at clojure.main$main.doInvoke(main.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)