Giter Club home page Giter Club logo

Comments (5)

FraBle avatar FraBle commented on May 31, 2024

Can you get any stack trace?

from python-duckling.

sagarjs avatar sagarjs commented on May 31, 2024

i'm not sure how to get a stack trace, i'm not getting an exception, the python.exe just stops responding (like out of memory error).
Can you guide me as to how to get a stack trace?

from python-duckling.

FraBle avatar FraBle commented on May 31, 2024

Can you try to run the Java code directly, that I described for example in #25 (comment)

from python-duckling.

manmaor avatar manmaor commented on May 31, 2024

I have the same problem, downloaded today via pip install duckling, on windows 10,
I did the same as sagarjs and python just crushed.

when I tried it on linux Ubuntu 16.04.2 LTS, everything worked great.

after some digging I found it crush in:

<module> (c:\Users\manma\Documents\Shaked\Hours\bot\bot.py:3)
__init__ (c:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\duckling.py:44)
_start_jvm (c:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\duckling.py:70)
startJVM (c:\Python27\lib\site-packages\jpype\_core.py:50)

specifically when it tried to run this line:
_jpype.startup(jvm, tuple(args), True)

jvm="'C:\Program Files\Java\jdk1.8.0_144\jre\bin\server\jvm.dll'"
args[0] = '-Xms128m'
args[1] = '-Xmx2048m'
args[3] = '-Djava.class.path=C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\clj-time-0.8.0.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\clojure-1.8.0.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\duckling-0.4.23.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\joda-time-2.3.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\lazymap-3.1.0.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\plumbing-0.5.3.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\schema-1.0.1.jar;C:\Python27\lib\site-packages\duckling-1.7.3-py2.7.egg\duckling\jars\tools.logging-0.2.6.jar'

from python-duckling.

piotrmod92 avatar piotrmod92 commented on May 31, 2024

Hi guys.
I get rid of these "Python.exe has stopped working" crashes by using older JDK version in JAVA_HOME path.
Versions 1.8 and 1.7 doesn't work. Going back to jdk1.6.0_45 solved the issue.

from python-duckling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.