Comments (2)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/var/www/webvectors/webvectors.py", line 325, in misc_page
w = process_query(w)
File "/var/www/webvectors/webvectors.py", line 153, in process_query
poses = tag_ud(66666,userquery) # We tag using Stanford CoreNLP
File "/var/www/webvectors/lemmatizer.py", line 18, in tag_ud
data={'tokenizer': '', 'tagger': '', 'data': text}).content
File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=66666): Max retries exceeded with url: /process (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3093bc6690>: Failed to establish a new connection: [Errno 111] Connection refused'))
from webvectors.
Hi! Two questions:
- Do you use the latest version of WebVectors in your work? It seems that some code that you share is outdated (
tagger_port
in config file was changed some time ago, for example). Please make sure you update WebVectors to the latest version. - Did you start the tagger daemon? Changing
detect_tag
toTrue
is not enough to make it work, the tagger daemon should be started and listening to the port listed in the config file.
from webvectors.
Related Issues (20)
- Replace model.wv.vocab with model.vocab
- Add PCA visualizations
- Font color for hovered menu items HOT 1
- Templates do not respect tag configuration HOT 2
- win textfile encoding HOT 2
- Не находит похожие слова HOT 4
- модели cbow_fasttext не загружаются через указанную в туториале функцию HOT 2
- Tunable number of neighbors to retrieve
- Data preprocessing HOT 1
- Inline comments in templates are repeating HOT 1
- Question about udpipe tokenization HOT 1
- Drop Python 2 support HOT 1
- Upper-casing of proper names in visualizations HOT 1
- How run project with model? HOT 28
- Necessary update this mapping HOT 1
- Clear the input field on click for all pages HOT 3
- Неточность в комменте файле webvectors/preprocessing/rus_preprocessing_udpipe.py HOT 1
- Redirection to "Similar Words" After Clicking on the Words HOT 1
- Tensorflow projector issue
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 webvectors.