sunilskar

7 years 4 months ago

the youtube link video is perfectly working.
the speaking language is perfectly ok.
but while we download the http://34.201.4.170/deploy/develop/myrobotlab.jar this jar file and put in the old setup it stuck up at one stage.
pls. let us know how we to add this translation in our MRL

below is the screen shot.

java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/python/modul
es/itertools/compressDerived

at org.python.core.Py.JavaError(Py.java:546)
at org.python.core.Py.JavaError(Py.java:537)
at org.python.core.PyJavaType.init(PyJavaType.java:560)
at org.python.core.PyType.createType(PyType.java:1412)
at org.python.core.PyType.addFromClass(PyType.java:1348)
at org.python.core.PyType.fromClass(PyType.java:1439)
at org.python.core.imp.createFromClass(imp.java:457)
at org.python.core.imp.loadBuiltin(imp.java:571)
at org.python.core.imp.find_module(imp.java:522)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at heapq$py.f$0(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\heapq.py:480)
at heapq$py.call_function(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\heapq
.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.util.importer.importer_load_module(importer.java:109)

at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:163)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOneAs(imp.java:1099)
at collections$py.f$0(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\collectio
ns.py:695)
at collections$py.call_function(C:\mrl\inmoov-develop\myrobotlab.jar\Lib
\collections.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.util.importer.importer_load_module(importer.java:109)

at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:163)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at _socket$py.f$0(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\_socket.py:18
91)
at _socket$py.call_function(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\_so
cket.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.util.importer.importer_load_module(importer.java:109)

at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:163)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importFromAs(imp.java:1156)
at org.python.core.imp.importFrom(imp.java:1132)
at socket$py.f$0(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\socket.py:132)

at socket$py.call_function(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\sock
et.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.util.importer.importer_load_module(importer.java:109)

at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:163)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOne(imp.java:1081)
at urllib$py.f$0(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\urllib.py:1599
)
at urllib$py.call_function(C:\mrl\inmoov-develop\myrobotlab.jar\Lib\urll
ib.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:436)
at org.python.core.util.importer.importer_load_module(importer.java:109)

at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:163)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:46)
at org.python.core.imp.loadFromLoader(imp.java:587)
at org.python.core.imp.find_module(imp.java:537)
at org.python.core.imp.import_next(imp.java:840)
at org.python.core.imp.import_module_level(imp.java:959)
at org.python.core.imp.importName(imp.java:1062)
at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.__builtin__.__import__(__builtin__.java:1232)
at org.python.core.imp.importOne(imp.java:1081)
at org.python.pycode._pyx6.f$0(InMoov/system/Import_Libraries.py:26)
at org.python.pycode._pyx6.call_function(InMoov/system/Import_Libraries.
py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.core.__builtin__.execfile(__builtin__.java:512)
at org.python.core.__builtin__.execfile(__builtin__.java:543)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:88)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.pycode._pyx4.f$0(InMoov/system/InitCheckup.py:126)
at org.python.pycode._pyx4.call_function(InMoov/system/InitCheckup.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.core.__builtin__.execfile(__builtin__.java:512)
at org.python.core.__builtin__.execfile(__builtin__.java:543)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:88)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.pycode._pyx2.f$0(:69)
at org.python.pycode._pyx2.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.Py.exec(Py.java:1430)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:267)
at org.myrobotlab.service.Python$PIThread.run(Python.java:160)
Caused by: java.lang.NoClassDefFoundError: org/python/modules/itertools/compress
Derived
at org.python.modules.itertools.compress$PyExposer.(Unknown Source
)
at org.python.modules.itertools.compress.(compress.java)
at org.python.modules.itertools.itertools.classDictInit(itertools.java:8
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyJavaType.init(PyJavaType.java:553)
... 134 more
Caused by: java.lang.ClassNotFoundException: org.python.modules.itertools.compre
ssDerived
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 142 more
Caused by: java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
... 149 more
------

sunilskar

7 years 4 months ago

we really appreciate your work regarding Hindi command

Thanks a lot

moz4r

7 years 4 months ago

Can you try a new installation, inside a new folder ?
what is your operating system ?

sunilskar

7 years 4 months ago

ok. now loaded with fresh installation on windows 7 64 bit os.

how we can start hindi

sunilskar

7 years 4 months ago

pls. let us know how to start it in hindi.

since right now it take all commnad in english only.
should we make any change in inmoov.Py

moz4r

7 years 4 months ago

Inmoov is ready to start in hindi language.

Look at this screenshot, green section are the things you need to change :

Off course, you need to set your own api key and user id ( first post ).

sunilskar

7 years 4 months ago

hi,
the changes are made as per your instruction. now software speak hindi at first introduction line in hindi. i.e what is my name then after that ask or ha ya na (in english yes or no)
but whenever we say ha (i.e Yes) it will not take command .

i think we have to replace the command script. i.e which are accepting command like in english "YES" in hindi "haan"

sunilskar

6 years 10 months ago

Hi Moz4r,
Inmoov now working with Hindi version also in software it takes all the word and respond accordingly but it will not move jaw i.e servo connected to arduino pin no. 26 of left port. all other servo moves perfectly ( like Eye , neck and torso)

pls. help me how can we set this problem.

This is testing version of IndianTTS service

Here a sample test

[[https://github.com/MyRobotLab/pyrobotlab/blob/develop/service/IndianTts…]]

https://github.com/MyRobotLab/pyrobotlab/blob/develop/service/IndianTts…

I have some problems to get my official API key ( free or paid ), better is to ask them.

So is is what I done waiting information, you need to open source code of the page and find API and USERID information by searching

variableConfig.API_host keyword :