We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I have a question.
I've got a bunch of large .csv files and parse it via multiprocessing Pool
res = [pool.apply_async(func=func, args=(file,)) for file in files]
So when I try do lemmatize(ru_text) I got exception on: https://github.com/nlpub/pymystem3/blob/master/pymystem3/mystem.py#L370
lemmatize(ru_text)
sio.write(out) TypeError: a bytes-like object is required, not 'NoneType'
I don't get it how https://github.com/nlpub/pymystem3/blob/master/pymystem3/mystem.py#L369 can read None? It because of stdout non-blocking?
out = self._procout.read()
The text was updated successfully, but these errors were encountered:
Faced the same issue when using threads
Sorry, something went wrong.
No branches or pull requests
Hi. I have a question.
I've got a bunch of large .csv files and parse it via multiprocessing Pool
So when I try do
lemmatize(ru_text)
I got exception on:https://github.com/nlpub/pymystem3/blob/master/pymystem3/mystem.py#L370
sio.write(out) TypeError: a bytes-like object is required, not 'NoneType'
I don't get it how https://github.com/nlpub/pymystem3/blob/master/pymystem3/mystem.py#L369 can read None? It because of stdout non-blocking?
The text was updated successfully, but these errors were encountered: