robotreviewer icon indicating copy to clipboard operation
robotreviewer copied to clipboard

'pattern' package not found; tag filters are not available for English

Open DAM3423 opened this issue 1 year ago • 3 comments

I recently have been trying to set up the latest version of the software locally.

The processing seems to continue indefinitely which I think is more the issue. I got the same results running in Docker and natively on Mac OS 12.0.1.

When looking in the log.txt file I can see that the processing appears to circle indefinitely. The only error I can spot is 'pattern' package not found; tag filters are not available for English. More can be read on my issue.

I have looked everywhere on the web and I cannot seem to find a solution to the problem. I also can't seem to find the package 'pattern ' initialization in the code. This may be because pattern is a common name and when doing a search for a generic word a lot of options appear.

This issue pops up running the code as standard with no changes.

If you have any pointers or supplementary documentation for fixing this issue your help would be greatly appreciated.

DAM3423 avatar Aug 02 '22 14:08 DAM3423

Hey @DAM3423 Do you think you can share the log file here? You’d probably have to host it and link here, or optionally you can paste the traceback regarding the missing pattern package.

I haven’t tried the Docker setup yet, but If we can solve this issue, I’d definitely use that

TanujW avatar Aug 02 '22 15:08 TanujW

Hey @TanujW

I can paste a snippet from the log file here. You cans see the missing package pattern. but sadly i cannot locate where this package is requested in the code

[INFO] robotreviewer.ml_worker 2022-08-03 07:36:42,927: RobotReviewer machine learning tasks starting [INFO] summarizer.preprocessing.cleaner 2022-08-03 07:36:54,350: 'pattern' package not found; tag filters are not available for English [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:36:54,411: Connecting to Grobid... [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:36:54,578: <Response [200]> [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:36:54,580: Connected to Grobid service. [INFO] robotreviewer.ml_worker 2022-08-03 07:36:54,647: Loading the robots... [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:04,001: Initializing tf session [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:04,310: Reloading the latest trained model... [INFO] tensorflow 2022-08-03 07:37:04,314: Restoring parameters from /var/lib/deploy/robotreviewer/data/pico_spans/model.weights/ [INFO] robotreviewer.ml_worker 2022-08-03 07:37:20,287: RobotReviewer machine learning tasks starting [INFO] summarizer.preprocessing.cleaner 2022-08-03 07:37:28,897: 'pattern' package not found; tag filters are not available for English [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:28,940: Connecting to Grobid... [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:29,054: <Response [200]> [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:29,055: Connected to Grobid service. [INFO] robotreviewer.ml_worker 2022-08-03 07:37:29,096: Loading the robots... [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:35,511: Initializing tf session [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:35,822: Reloading the latest trained model... [INFO] tensorflow 2022-08-03 07:37:35,825: Restoring parameters from /var/lib/deploy/robotreviewer/data/pico_spans/model.weights/ [INFO] robotreviewer.ml_worker 2022-08-03 07:37:49,586: RobotReviewer machine learning tasks starting [INFO] summarizer.preprocessing.cleaner 2022-08-03 07:37:57,616: 'pattern' package not found; tag filters are not available for English [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:57,652: Connecting to Grobid... [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:57,680: <Response [200]> [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:57,681: Connected to Grobid service. [INFO] robotreviewer.ml_worker 2022-08-03 07:37:57,721: Loading the robots... [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:38:04,468: Initializing tf session [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:38:04,792: Reloading the latest trained model... [INFO] tensorflow 2022-08-03 07:38:04,798: Restoring parameters from /var/lib/deploy/robotreviewer/data/pico_spans/model.weights/

DAM3423 avatar Aug 03 '22 07:08 DAM3423

Encounter the same issue, is there any solution for this ?

duckykao avatar Jul 27 '23 12:07 duckykao