Comments (5)
Can you get any stack trace?
from python-duckling.
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.
Can you try to run the Java code directly, that I described for example in #25 (comment)
from python-duckling.
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.
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)
- Installation error with Docker HOT 1
- incorrect year HOT 1
- Problem in Django multi threaded environment HOT 2
- KeyError: 'product' when ducling handling keyword 'meat' HOT 5
- Problems after update to JPype1 0.6.3 HOT 3
- Dependency of Jre not mentioned HOT 3
- parse_time issue HOT 2
- Extremely slow library HOT 1
- currency recognition problem
- Duckling throws nullpointerexception
- jpype dependency not listed
- jpype._jexception.RuntimeExceptionPyRaisable HOT 4
- Does not recognise dd/mm/yyyy format
- clojure issue HOT 2
- Language Support
- basic numbers in German Language not working
- Does not recognise "after 15 days"
- Fatal Error on Os X
- Incompatibility with recent versions of JPype HOT 1
- problem when parsing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-duckling.