Skip to content
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

No runnable satisfies the requirement for a FullTextTEIExtractor #2

Open
fanchyna opened this issue May 18, 2016 · 4 comments
Open

Comments

@fanchyna
Copy link
Contributor

In python_wrapper/properties.config, I set
fulltext_tei_to_csx: True
and got the following error message. What is exactly a "FullTextTEIExtractor"?

Traceback (most recent call last):
  File "main.py", line 155, in <module>
    runner.run_from_file_batch(files, outputPaths, num_processes=numProcesses, file_prefixes=prefixes)
  File "/usr/lib/python2.6/site-packages/extraction/core.py", line 201, in run_from_file_batch
    e.get()
  File "/usr/lib64/python2.6/multiprocessing/pool.py", line 422, in get
    raise self._value
LookupError: No runnable satisfies the requirement for a FullTextTEIExtractor

@huaiyudavid
Copy link
Contributor

did you set fulltext to true?

@fanchyna
Copy link
Contributor Author

Yes, I did.

On Tue, May 17, 2016 at 9:49 PM, huaiyudavid [email protected]
wrote:

did you set fulltext to true?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#2 (comment)

@huaiyudavid
Copy link
Contributor

Ok, so after taking another look at the code, it seems that "fulltext_tei_to_csx" depends on the option above it, namely "fulltext_grobid". the grobid fulltext extractor qualifies as the dependency that it needs, which is a FullTextTEIExtractor. You should set grobid to true.

@fanchyna
Copy link
Contributor Author

David,

I did set "grobid" to true. Here is the full properties.config file. Is
there anywhere I mis-configured?

Thanks
Jian

On Thu, May 19, 2016 at 5:30 AM, huaiyudavid [email protected]
wrote:

Ok, so after taking another look at the code, it seems that
"fulltext_tei_to_csx" depends on the option above it, namely
"fulltext_grobid". the grobid fulltext extractor qualifies as the
dependency that it needs, which is a FullTextTEIExtractor. You should set
grobid to true.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants