Comments (6)
After installing
pip install pyopenssl ndg-httpsclient pyasn1 cryptography
i still get this errors:
Executing merge
Traceback (most recent call last):
File "quickstart.py", line 41, in <module>
client.run_actions(session_id, 'weather in London', {})
File "/media/jh/data/lm-tools/wit-ai-3.4/venv/local/lib/python2.7/site-packages/wit/wit.py", line 108, in run_actions
message)
File "/media/jh/data/lm-tools/wit-ai-3.4/venv/local/lib/python2.7/site-packages/wit/wit.py", line 103, in __run_actions
user_message)
File "/media/jh/data/lm-tools/wit-ai-3.4/venv/local/lib/python2.7/site-packages/wit/wit.py", line 67, in __run_actions
rst = self.converse(session_id, message, context)
File "/media/jh/data/lm-tools/wit-ai-3.4/venv/local/lib/python2.7/site-packages/wit/wit.py", line 61, in converse
return req(self.access_token, 'POST', '/converse', params, json=context)
File "/media/jh/data/lm-tools/wit-ai-3.4/venv/local/lib/python2.7/site-packages/wit/wit.py", line 23, in req
' (' + rsp.reason + ')')
wit.wit.WitError: Wit responded with status: 404 (Not Found)
from pywit.
Okay, got it. I have to make a new app (including the new story feature) for this example script. Now it works.
from pywit.
I have made a new app but can you tell me how to solve those problems?
from pywit.
@nkbem what errors did you get? You also have to use the client key for a wit app that contains the new story feature.
from pywit.
I already have an app that includes the new story feature. I still get the following error:
Traceback (most recent call last): File "examples\quickstart.py", line 44, in <module> client.interactive() File "C:\Python34\lib\site-packages\wit\wit.py", line 152, in interactive context = self.run_actions(session_id, message, context, max_steps) File "C:\Python34\lib\site-packages\wit\wit.py", line 126, in run_actions message) File "C:\Python34\lib\site-packages\wit\wit.py", line 119, in __run_actions user_message) File "C:\Python34\lib\site-packages\wit\wit.py", line 83, in __run_actions rst = self.converse(session_id, message, context) File "C:\Python34\lib\site-packages\wit\wit.py", line 75, in converse resp = req(self.access_token, 'POST', '/converse', params, json=context) File "C:\Python34\lib\site-packages\wit\wit.py", line 28, in req ' (' + rsp.reason + ')') wit.wit.WitError: Wit responded with status: 404 (Not Found)
rsp.reason()
isn't showing anything. I'm using the server-access token as the only command line argument. Can anyone please specify what I'm doing wrong?
from pywit.
I got this error:
2017-06-23T18:02:59.574159+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/" host=dry-caverns-55926.herokuapp.com request_id=73ced7c3-0ebb-4d50-a837-497293270f27 fwd="66.220.152.165" dyno= connect= service= status=503 bytes= protocol=https
2017-06-23T18:03:42.654025+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/" host=dry-caverns-55926.herokuapp.com request_id=05e271c3-005e-40bb-bfc8-73a339a76924 fwd="173.252.90.91" dyno= connect= service= status=503 bytes= protocol=https
2017-06-23T18:04:19.406717+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/" host=dry-caverns-55926.herokuapp.com request_id=4e146a9b-8b9f-42b4-aadd-85a74ec27035 fwd="66.220.152.137" dyno= connect= service= status=503 bytes= protocol=https
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
2017-06-23T18:02:35.349699+00:00 app[web.1]: File "/app/utils.py", line 1, in
2017-06-23T18:02:35.349699+00:00 app[web.1]: from wit import Wit
2017-06-23T18:02:35.350421+00:00 app[web.1]: ModuleNotFoundError: No module named 'wit'
2017-06-23T18:02:35.356408+00:00 app[web.1]: [2017-06-23 18:02:35 +0000] [8] [INFO] Worker exiting (pid: 8)
2017-06-23T18:02:35.585199+00:00 app[web.1]: [2017-06-23 18:02:35 +0000] [4] [INFO] Shutting down: Master
2017-06-23T18:02:35.585721+00:00 app[web.1]: [2017-06-23 18:02:35 +0000] [4] [INFO] Reason: Worker failed to boot.
2017-06-23T18:02:35.720537+00:00 heroku[web.1]: Process exited with status 3
2017-06-23T18:02:35.733864+00:00 heroku[web.1]: State changed from up to crashed
from pywit.
Related Issues (20)
- Unsupported content-type HOT 5
- character limit extension? HOT 1
- I have created a version in my app. Which parameter should I pass in my code so that it specifically hits this app version? I need this to maintain versioning in my witai app. HOT 3
- Dialogue Conversation HOT 1
- Problem with speech recognition HOT 3
- Request for getting alternative matches based on confidence for STT
- How should I train the bot via https request HOT 2
- Directory Not Installable
- wit.wit.WitError: Wit responded with status: 500 (Internal Server Error) HOT 6
- WitError: Wit responded with status: 500 (Internal Server Error) HOT 1
- PyPi Package Update HOT 2
- WitError: Wit responded with status: 400 (Bad Request) HOT 2
- 500 errors with python API HOT 1
- Add Tag Parameter in message function
- *question*What is the difference between trait and intent? more detail
- module 'urllib' has no attribute 'quote_plus'
- Support [email protected] doesn't answer HOT 4
- New Speech api is not recognizing well comparing with old version
- Dictation API is missing some words HOT 1
- [Question] Account name
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 pywit.