You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by VISHNU SUBRAMANIAN <jo...@gmail.com> on 2015/01/19 09:47:02 UTC

Issue while building from master.

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

Re: Issue while building from master.

Posted by Alex <ab...@nflabs.com>.
Well, thank you for your interest Vishnu and contributions are very welcome as there so much can be done!

I'll try my best introducing technical part as we do not have that documented yet (BTW that can be a great start to contribute) and patches are welcome.

Zeppelin is a standalone Java application with embedded web-server Jetty, it is built by Maven (but hopefully going to switched to Gradle soon) and has a set of shell wrapper scripts to run it under ./bin. It also includes a frontend web application based on Angular.js and built by Grunt under zeppelin-web dir. As Grunt depends on Node.js Maven takes care of installing it in same dir on the "mvn package".

Using this web ui zeppelin-server is capable of running notebooks over different "interpreters" with Apache Spark being the most useful right now, so you may think of zeppelin as SparkDriver in terms on architecture. 
It also includes Spark itself in a local mode, so to start developing or analysing data you do not need to install it separately on your machine.

Hope this helps and welcome aboard!

--
--
Kind regards,
Alexander


> On 19 Jan 2015, at 18:50, VISHNU SUBRAMANIAN <jo...@gmail.com> wrote:
> 
> Thanks Alex,
> 
> It worked fine for me. I am interested in this project and would like to
> contribute towards it. Can you give me an idea like what is the technology
> stack used for the project and architecture.
> 
> Thanks,
> Vishnu
> 
>> On Mon, Jan 19, 2015 at 2:56 PM, Alex B <ab...@nflabs.com> wrote:
>> 
>> Hi,
>> 
>> this error is safe to ignore - looks like everything built fine and the
>> failure comes only from generating the documentation site (wich will be
>> removed very soon anyway https://github.com/NFLabs/zeppelin/pull/289)
>> 
>> You should be safe running bin/zeppelin-deamon.sh by now!
>> 
>> On Mon, Jan 19, 2015 at 5:47 PM, VISHNU SUBRAMANIAN <
>> johnfedrickenator@gmail.com> wrote:
>> 
>>> 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
>> 
>> 
>> 
>> --
>> --
>> Kind regards,
>> Alexander.
>> 

Re: Issue while building from master.

Posted by VISHNU SUBRAMANIAN <jo...@gmail.com>.
Thanks Alex,

It worked fine for me. I am interested in this project and would like to
contribute towards it. Can you give me an idea like what is the technology
stack used for the project and architecture.

Thanks,
Vishnu

On Mon, Jan 19, 2015 at 2:56 PM, Alex B <ab...@nflabs.com> wrote:

> Hi,
>
> this error is safe to ignore - looks like everything built fine and the
> failure comes only from generating the documentation site (wich will be
> removed very soon anyway https://github.com/NFLabs/zeppelin/pull/289)
>
> You should be safe running bin/zeppelin-deamon.sh by now!
>
> On Mon, Jan 19, 2015 at 5:47 PM, VISHNU SUBRAMANIAN <
> johnfedrickenator@gmail.com> wrote:
>
> > 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
> >
>
>
>
> --
> --
> Kind regards,
> Alexander.
>

Re: Issue while building from master.

Posted by Alex B <ab...@nflabs.com>.
Hi,

this error is safe to ignore - looks like everything built fine and the
failure comes only from generating the documentation site (wich will be
removed very soon anyway https://github.com/NFLabs/zeppelin/pull/289)

You should be safe running bin/zeppelin-deamon.sh by now!

On Mon, Jan 19, 2015 at 5:47 PM, VISHNU SUBRAMANIAN <
johnfedrickenator@gmail.com> wrote:

> 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
>



-- 
--
Kind regards,
Alexander.