-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Errno 32] Broken pipe for Parser in parallel execution on OSX #47
Comments
Hi @mladvladimir, Thanks for reporting this issue. Unfortunately, we don't see this issue on our side. Can you give us more information about your environment and setup? |
Hi @senwu, Machine is: Regards |
Can you try a fresh install using brew for postgres and using a virtualenv rather than conda? |
@mladvladimir Also, did you make sure to both create the db used in the tutorial, and download the tutorial data before running the tutorial? |
I tried again. By the way, in shouldn't be fonduer/tests/parser/test_parser.py Line 189 in 84364d8
This makes that test run in single threaded mode. Generally speaking, complete project is precious :) Regards |
Unfortunately, I'm still not sure quite sure what is wrong. I haven't personally tested in ubuntu 18.04 either, we have mostly been using 16.04, as you can see in our e2e Travis test and in the tutorials. If you have any more error logs or information that might help us recreate the issue, we can keep looking at it.
We have tested with Python 3.5 and 3.6.
Nice catch! I've opened a new PR (#48) to fix that. |
We've been able to reproduce this and are looking into it. |
Thanks for info; fonduer/fonduer/parser/spacy_parser.py Lines 128 to 129 in 066b01c
maybe I'm wrong. |
This may be related: explosion/spaCy#1572 Update: It does appear to be spaCy related. In particular, parallelism works fine for other processes (e.g. candidate extraction), just not for the parser. |
Hi @senwu, When I try execute the given sample
|
Hi @sivasrc, it seems like your issue is related to downloading spacy language module. I suggest you try it again or download the module manually (here is the reference: https://spacy.io/usage/models). |
This issue is fixed by Spacy and test it in #176. |
Thanks for your response.
I would like to locate the section, sub-section (level 2,3,4 etc) and
sentences beneath, and relate them using Fonduer.. can I achieve it?
…On Wed 31 Oct, 2018, 11:48 PM SenWu ***@***.*** wrote:
Hi @sivasrc <https://github.com/sivasrc>, it seems like your issue is
related to downloading spacy language module. I suggest you try it again or
download the module manually (here is the reference:
https://spacy.io/usage/models).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfAdtSOC7zlfQVA408kKxM18dp3ZMK-rks5uqelXgaJpZM4TLu0M>
.
|
Enclose by double quotes otherwise version not specified and stdout written to a file "=0.5.0"
Hi,
In fonduer-tutorials, after running cell:
whenever is PARALLEL smaller than max_docs, I've got:
Otherwise (with PARALLEL bigger or equal than max_docs) result is empty tables in Postgresql.
When turning off parallelisation, it works.
Best regards
The text was updated successfully, but these errors were encountered: