HI , I am trying to build the project from the github master code.
It throws me with the below error. [ERROR] Exception in thread "main" javax.script.ScriptException: ValueError: unknown locale: UTF-8 in <script> at line number 1 [ERROR] at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:191) [ERROR] at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42) [ERROR] at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31) [ERROR] at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264) [ERROR] at org.tomdz.maven.sphinx.SphinxRunner.run(SphinxRunner.java:59) [ERROR] at org.tomdz.maven.sphinx.SphinxRunner.main(SphinxRunner.java:25) [ERROR] Caused by: Traceback (most recent call last): [ERROR] File "<script>", line 1, in <module> [ERROR] File "/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/__init__.py", line 47, in main [ERROR] from sphinx import cmdline [ERROR] File "/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/__init__.py", line 47, in main [ERROR] from sphinx import cmdline [ERROR] File "/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/cmdline.py", line 18, in <module> [ERROR] from docutils.utils import SystemMessage [ERROR] File "/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/utils/__init__.py", line 19, in <module> [ERROR] from docutils.io import FileOutput [ERROR] File "/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/io.py", line 18, in <module> [ERROR] from docutils.error_reporting import locale_encoding, ErrorString, ErrorOutput [ERROR] File "/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/error_reporting.py", line 47, in <module> [ERROR] locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1] [ERROR] File "/Users/vishnu/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py", line 443, in getdefaultlocale [ERROR] File "/Users/vishnu/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py", line 375, in _parse_localename [ERROR] ValueError: unknown locale: UTF-8 [ERROR] [ERROR] at org.python.core.PyException.doRaise(PyException.java:200) [ERROR] at org.python.core.Py.makeException(Py.java:1225) [ERROR] at org.python.core.Py.makeException(Py.java:1229) [ERROR] at locale$py._parse_localename$14(/Users/vishnu/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py:375) [ERROR] at locale$py.call_function(/Users/vishnu/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyBaseCode.call(PyBaseCode.java:134) [ERROR] at org.python.core.PyFunction.__call__(PyFunction.java:317) [ERROR] at locale$py.getdefaultlocale$16(/Users/vishnu/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py:443) [ERROR] at locale$py.call_function(/Users/vishnu/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyBaseCode.call(PyBaseCode.java:301) [ERROR] at org.python.core.PyBaseCode.call(PyBaseCode.java:114) [ERROR] at org.python.core.PyFunction.__call__(PyFunction.java:307) [ERROR] at docutils.error_reporting$py.f$0(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/error_reporting.py:131) [ERROR] at docutils.error_reporting$py.call_function(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/error_reporting.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyCode.call(PyCode.java:18) [ERROR] at org.python.core.imp.createFromCode(imp.java:386) [ERROR] at org.python.core.imp.createFromSource(imp.java:349) [ERROR] at org.python.core.imp.loadFromSource(imp.java:573) [ERROR] at org.python.core.imp.find_module(imp.java:473) [ERROR] at org.python.core.PyModule.impAttr(PyModule.java:100) [ERROR] at org.python.core.imp.import_next(imp.java:715) [ERROR] at org.python.core.imp.import_logic(imp.java:777) [ERROR] at org.python.core.imp.import_name(imp.java:839) [ERROR] at org.python.core.imp.importName(imp.java:884) [ERROR] at org.python.core.ImportFunction.__call__(__builtin__.java:1220) [ERROR] at org.python.core.PyObject.__call__(PyObject.java:357) [ERROR] at org.python.core.__builtin__.__import__(__builtin__.java:1173) [ERROR] at org.python.core.imp.importFromAs(imp.java:978) [ERROR] at org.python.core.imp.importFrom(imp.java:954) [ERROR] at docutils.io $py.f$0(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/io.py:485) [ERROR] at docutils.io $py.call_function(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/io.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyCode.call(PyCode.java:18) [ERROR] at org.python.core.imp.createFromCode(imp.java:386) [ERROR] at org.python.core.imp.createFromSource(imp.java:349) [ERROR] at org.python.core.imp.loadFromSource(imp.java:573) [ERROR] at org.python.core.imp.find_module(imp.java:473) [ERROR] at org.python.core.PyModule.impAttr(PyModule.java:100) [ERROR] at org.python.core.imp.import_next(imp.java:715) [ERROR] at org.python.core.imp.import_logic(imp.java:777) [ERROR] at org.python.core.imp.import_name(imp.java:839) [ERROR] at org.python.core.imp.importName(imp.java:884) [ERROR] at org.python.core.ImportFunction.__call__(__builtin__.java:1220) [ERROR] at org.python.core.PyObject.__call__(PyObject.java:357) [ERROR] at org.python.core.__builtin__.__import__(__builtin__.java:1173) [ERROR] at org.python.core.imp.importFromAs(imp.java:978) [ERROR] at org.python.core.imp.importFrom(imp.java:954) [ERROR] at docutils.utils$py.f$0(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/utils/__init__.py:666) [ERROR] at docutils.utils$py.call_function(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/docutils/utils/__init__.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyCode.call(PyCode.java:18) [ERROR] at org.python.core.imp.createFromCode(imp.java:386) [ERROR] at org.python.core.imp.createFromSource(imp.java:349) [ERROR] at org.python.core.imp.loadFromSource(imp.java:573) [ERROR] at org.python.core.imp.find_module(imp.java:473) [ERROR] at org.python.core.PyModule.impAttr(PyModule.java:100) [ERROR] at org.python.core.imp.import_next(imp.java:715) [ERROR] at org.python.core.imp.import_logic(imp.java:777) [ERROR] at org.python.core.imp.import_name(imp.java:839) [ERROR] at org.python.core.imp.importName(imp.java:884) [ERROR] at org.python.core.ImportFunction.__call__(__builtin__.java:1220) [ERROR] at org.python.core.PyObject.__call__(PyObject.java:357) [ERROR] at org.python.core.__builtin__.__import__(__builtin__.java:1173) [ERROR] at org.python.core.imp.importFromAs(imp.java:978) [ERROR] at org.python.core.imp.importFrom(imp.java:954) [ERROR] at sphinx.cmdline$py.f$0(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/cmdline.py:60) [ERROR] at sphinx.cmdline$py.call_function(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/cmdline.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyCode.call(PyCode.java:18) [ERROR] at org.python.core.imp.createFromCode(imp.java:386) [ERROR] at org.python.core.imp.createFromSource(imp.java:349) [ERROR] at org.python.core.imp.loadFromSource(imp.java:573) [ERROR] at org.python.core.imp.find_module(imp.java:473) [ERROR] at org.python.core.PyModule.impAttr(PyModule.java:100) [ERROR] at org.python.core.PyModule.__findattr_ex__(PyModule.java:127) [ERROR] at org.python.core.PyObject.__findattr__(PyObject.java:863) [ERROR] at org.python.core.imp.import_name(imp.java:849) [ERROR] at org.python.core.imp.importName(imp.java:884) [ERROR] at org.python.core.ImportFunction.__call__(__builtin__.java:1220) [ERROR] at org.python.core.PyObject.__call__(PyObject.java:357) [ERROR] at org.python.core.__builtin__.__import__(__builtin__.java:1173) [ERROR] at org.python.core.imp.importFromAs(imp.java:978) [ERROR] at org.python.core.imp.importFrom(imp.java:954) [ERROR] at sphinx$py.main$1(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/__init__.py:72) [ERROR] at sphinx$py.call_function(/Users/vishnu/Documents/spark/zeppelin-master/zeppelin-docs/target/sphinx/sphinx/__init__.py) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyBaseCode.call(PyBaseCode.java:134) [ERROR] at org.python.core.PyFunction.__call__(PyFunction.java:317) [ERROR] at org.python.pycode._pyx1.f$0(<script>:1) [ERROR] at org.python.pycode._pyx1.call_function(<script>) [ERROR] at org.python.core.PyTableCode.call(PyTableCode.java:165) [ERROR] at org.python.core.PyCode.call(PyCode.java:18) [ERROR] at org.python.core.Py.runCode(Py.java:1261) [ERROR] at org.python.core.__builtin__.eval(__builtin__.java:484) [ERROR] at org.python.core.__builtin__.eval(__builtin__.java:488) [ERROR] at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:198) [ERROR] at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40) [ERROR] ... 4 more [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Zeppelin .......................................... SUCCESS [ 5.422 s] [INFO] Zeppelin: Zengine ................................. SUCCESS [ 14.988 s] [INFO] Zeppelin: Spark ................................... SUCCESS [02:08 min] [INFO] Zeppelin: Markdown interpreter .................... SUCCESS [ 2.713 s] [INFO] Zeppelin: Shell interpreter ....................... SUCCESS [ 1.127 s] [INFO] Zeppelin: web Application ......................... SUCCESS [03:57 min] [INFO] Zeppelin: Server .................................. SUCCESS [01:17 min] [INFO] Zeppelin: Packaging distribution .................. SUCCESS [ 0.301 s] [INFO] Zeppelin: Documentation ........................... FAILURE [ 9.553 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:57 min [INFO] Finished at: 2015-01-19T14:08:23+05:30 [INFO] Final Memory: 76M/364M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.tomdz.maven:sphinx-maven-plugin:1.0.3:generate (default) on project zeppelin-api-ui: Failed to run the report: Sphinx report generation failed -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :zeppelin-api-ui How to fix the error.Did some one face the same issue. Thanks, Vishnu
