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

Update pip versions in requirements #155 #156

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

neofob
Copy link

@neofob neofob commented Sep 24, 2023

requirements.txt, lock.requirements.txt:

  • Versions need to be updated to current versions in
    gamechanger-data

Reference:

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Ticket(s) or Issue(s):

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Local
  • Server 119
  • Server 115
  • K8

Screenshot of automated jenkin tests (if applicable):

Checklist:

  • My code follows the style guidelines of this project

  • I have performed a self-review of my own code

  • I have commented my code, particularly in hard-to-understand areas

  • I have made corresponding changes to the documentation

  • My changes generate no new warnings

  • I have added tests that prove my fix is effective or that my feature works

  • New and existing unit tests pass locally with my changes

  • Any dependent changes have been merged and published in downstream modules

  • I have used an autoformatter like lint or blackc

  • This requires a code review

requirements.txt, lock.requirements.txt:
    * Versions need to be updated to current versions in
      gamechanger-data

Reference:
* dod-advana/gamechanger-data#285
* dod-advana#155

Signed-off-by: Tuan T. Pham <[email protected]>
@@ -1,19 +1,21 @@
annoy~=1.17.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neofob the current set of requirements used is as follows (try to re-run the pip install with these versions and let me know if it works):

annoy~=1.17.0
awscli==1.27.53
bert-extractive-summarizer~=0.5.2
boto3~=1.26.50
click==7.1.2
elasticsearch==7.13.4
#en-core-web-lg @ https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.0.0/en_core_web_lg-3.0.0.tar.gz
en-core-web-md @ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.0.0/en_core_web_md-3.0.0.tar.gz
en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz
#faiss-cpu~=1.7.1
#faiss-gpu~=1.7.1
fastapi_utils~=0.2.1
fastapi~=0.69.0
fuzzywuzzy~=0.18.0
gensim==4.1.2
gunicorn~=20.1.0
httptools~=0.1.2
huggingface-hub==0.7.0
matplotlib~=3.4.3
networkx~=2.6.3
nltk~=3.6.5
numpy~=1.19.5
packaging~=21.0
pandas==1.3.4
protobuf~=3.20.0
psycopg2~=2.8.6
pytest~=6.2.5
PyYAML~=5.4.1
redis~=3.5.3
requests~=2.26.0
scikit-learn~=1.2.0
sentence-transformers~=2.2.2
spacy~=3.0.7
tensorflow~=2.5.1
tokenizers~=0.10.3
torch~=1.7.1
tqdm~=4.62.3
transformers~=4.11.3
txtai~=2.0.0
urllib3~=1.22
uvicorn~=0.13.4
uvloop~=0.14.0
wikipedia~=1.4.0
xgboost==1.1.0
debugpy~=1.6.2
mlflow~=1.27.0
psutil~=5.9.1

Copy link
Author

@neofob neofob Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mishoe :

I use the "old" requirements.txt that is removed from repo.

What requirements.txt that you use to build?

I have been using gamechanger repo's build.sh script to build the docker images.

This is where the gamechanger-data docker image is built:
https://github.com/dod-advana/gamechanger/blob/main/deploy/docker-compose/build.yaml#L20

Build error from running build.sh:

...
8.993 Collecting click
9.035   Downloading click-8.0.4-py3-none-any.whl (97 kB)
9.117 Collecting jsonschema
9.169   Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
9.378 Collecting pandas
9.385   Downloading pandas-1.1.5-cp36-cp36m-manylinux1_x86_64.whl (9.5 MB)
10.24 Collecting filetype
10.25   Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)
10.26 ERROR: Could not find a version that satisfies the requirement frontend (from versions: none)
10.26 ERROR: No matching distribution found for frontend

@mishoe mishoe self-assigned this Nov 7, 2023
@neofob
Copy link
Author

neofob commented Nov 14, 2023

@mishoe
Copy link
Contributor

mishoe commented Nov 14, 2023

CC: @drospond @mishoe @amaruca141

requirements.txt

gamechanger-data_parser_tuan.txt

Hey @neofob ,

can you try to install PyMuPDF==1.17.2 instead of the current version you are using and run again (if that fails, next try any available version within 1.17.X

Reply back after you figure out if this resolved the issue.

@neofob
Copy link
Author

neofob commented Nov 16, 2023

CC: @drospond @mishoe @amaruca141
requirements.txt
gamechanger-data_parser_tuan.txt

Hey @neofob ,

can you try to install PyMuPDF==1.17.2 instead of the current version you are using and run again (if that fails, next try any available version within 1.17.X

Reply back after you figure out if this resolved the issue.

@mishoe : Thanks for the tip. I uninstall pymypdf and reinstall with version 1.17.2.
common.parserDocument now can can go a bit further but it show this error? trying to connect to postgresql server?

python -m common.document_parser pdf-to-json -s /mnt/extra/gamechanger-download/ -d /tmp/test-dataST 2   tp-dev 
2023-11-16 15:02:20,940 - [INFO] - Document Parser has started
Memory Hard Limit: -1 Soft Limit: -1 Maximum of percentage of memory use: 0.8
____________________ 56084844____________________
/home/tuan/miniconda3/envs/gc-data-dev/lib/python3.8/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
  return torch._C._cuda_getDeviceCount() > 0
2023-11-16 15:02:21.610950: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-11-16 15:02:21.610977: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
/home/tuan/miniconda3/envs/gc-data-dev/lib/python3.8/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.18) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
[IMPORT ERROR]: No Topic Models, skipping extract_topics
2023-11-16 15:02:27,595 - [INFO] - Parsing Multiple Documents: 68005
Current Time = 15:02:27
2023-11-16 15:02:27,596 - [INFO] - Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: MARADMIN 512-16 ENLISTED MARINE ACCESSION PROCESS INTO THE.pdf
running policy_analyics.parse on /mnt/extra/gamechanger-download/MARADMIN 512-16 ENLISTED MARINE ACCESSION PROCESS INTO THE.pdf
ERROR in policy_analytics.parse: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

(Background on this error at: https://sqlalche.me/e/14/e3q8)
2023-11-16 15:02:27,884 - [INFO] - Finished Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: MARADMIN 512-16 ENLISTED MARINE ACCESSION PROCESS INTO THE.pdf
2023-11-16 15:02:27,884 - [INFO] - Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: COMNAVRESFORCOMINST 5041.9.pdf
running policy_analyics.parse on /mnt/extra/gamechanger-download/COMNAVRESFORCOMINST 5041.9.pdf
ERROR in policy_analytics.parse: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?
...

It still does not output anything to the output directory.

@mishoe
Copy link
Contributor

mishoe commented Nov 17, 2023

CC: @drospond @mishoe @amaruca141
requirements.txt
gamechanger-data_parser_tuan.txt

Hey @neofob ,
can you try to install PyMuPDF==1.17.2 instead of the current version you are using and run again (if that fails, next try any available version within 1.17.X
Reply back after you figure out if this resolved the issue.

@mishoe : Thanks for the tip. I uninstall pymypdf and reinstall with version 1.17.2. common.parserDocument now can can go a bit further but it show this error? trying to connect to postgresql server?

python -m common.document_parser pdf-to-json -s /mnt/extra/gamechanger-download/ -d /tmp/test-dataST 2   tp-dev 
2023-11-16 15:02:20,940 - [INFO] - Document Parser has started
Memory Hard Limit: -1 Soft Limit: -1 Maximum of percentage of memory use: 0.8
____________________ 56084844____________________
/home/tuan/miniconda3/envs/gc-data-dev/lib/python3.8/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
  return torch._C._cuda_getDeviceCount() > 0
2023-11-16 15:02:21.610950: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-11-16 15:02:21.610977: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
/home/tuan/miniconda3/envs/gc-data-dev/lib/python3.8/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.18) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
[IMPORT ERROR]: No Topic Models, skipping extract_topics
2023-11-16 15:02:27,595 - [INFO] - Parsing Multiple Documents: 68005
Current Time = 15:02:27
2023-11-16 15:02:27,596 - [INFO] - Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: MARADMIN 512-16 ENLISTED MARINE ACCESSION PROCESS INTO THE.pdf
running policy_analyics.parse on /mnt/extra/gamechanger-download/MARADMIN 512-16 ENLISTED MARINE ACCESSION PROCESS INTO THE.pdf
ERROR in policy_analytics.parse: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

(Background on this error at: https://sqlalche.me/e/14/e3q8)
2023-11-16 15:02:27,884 - [INFO] - Finished Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: MARADMIN 512-16 ENLISTED MARINE ACCESSION PROCESS INTO THE.pdf
2023-11-16 15:02:27,884 - [INFO] - Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: COMNAVRESFORCOMINST 5041.9.pdf
running policy_analyics.parse on /mnt/extra/gamechanger-download/COMNAVRESFORCOMINST 5041.9.pdf
ERROR in policy_analytics.parse: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?
...

It still does not output anything to the output directory.

Good, looks like we got past the last issue @neofob

Amanda is on PTO until 11/21, and will be the best to answer this directly, but let me give you a quick recommendation. This error is in relation to the script expecting being able to call an RDS instance, which I do not believe is a requirement to parse files locally (although you're getting an exception because you can't connect)

Can you try an alternate approach for me - once you get everything installed on the GC data side you should be able to try to run the parse pipelines by the approach described in this README (scroll down on this page to see the readme):https://github.com/dod-advana/gamechanger-data/tree/dev/common/document_parser

Specifically these instructions.

import Document

Document.process_dir(dir_path = 'FMR', out_dir= './FMR_out/', clean=True)
# processes an entire directory of pdf documents.

Let me know if this works!
cc: @amaruca141 @drospond

@neofob
Copy link
Author

neofob commented Nov 20, 2023

....
Can you try an alternate approach for me - once you get everything installed on the GC data side you should be able to try to run the parse pipelines by the approach described in this README (scroll down on this page to see the readme):https://github.com/dod-advana/gamechanger-data/tree/dev/common/document_parser

Specifically these instructions.

import Document

Document.process_dir(dir_path = 'FMR', out_dir= './FMR_out/', clean=True)
# processes an entire directory of pdf documents.

Let me know if this works! cc: @amaruca141 @drospond

  1. The document is out of sync of how to reach there, import Document, it is more like this from my Python interactive
>>> from common.document_parser.lib.document import Document

So, yes, importing Document code itself works.

  1. The function, class...process_dir does not exist in that class Document.
    2.1 Is the code of process_dir not pushed to the public git repo?
    Or,
    2.2 The document is needed to updated to the current workflow, isn't it?

Also the function, class Issuance is not in the class Document as described in the README of https://github.com/dod-advana/gamechanger-data/blob/dev/common/document_parser/README.md

No, it does not work.

@mishoe @drospond @amaruca141

@neofob
Copy link
Author

neofob commented Nov 20, 2023

Output from processing one pdf file

time python -m common.document_parser pdf-to-json -s /tmp/test-data/AFI-11-405.pdf -d /tmp/test-data-out
2023-11-20 16:47:01,818 - [INFO] - Document Parser has started
Memory Hard Limit: -1 Soft Limit: -1 Maximum of percentage of memory use: 0.8
____________________ 59686844____________________
/home/tuan/miniconda3/envs/gc-data-dev/lib/python3.8/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
  return torch._C._cuda_getDeviceCount() > 0
2023-11-20 16:47:02.507377: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-11-20 16:47:02.507401: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
/home/tuan/miniconda3/envs/gc-data-dev/lib/python3.8/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.18) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
[IMPORT ERROR]: No Topic Models, skipping extract_topics
2023-11-20 16:47:04,600 - [INFO] - Parsing Single Document
2023-11-20 16:47:04,600 - [INFO] - Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: AFI-11-405.pdf
running policy_analyics.parse on /tmp/test-data/AFI-11-405.pdf
ERROR in policy_analytics.parse: (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

(Background on this error at: https://sqlalche.me/e/14/e3q8)
2023-11-20 16:47:05,260 - [INFO] - Finished Processing: <_MainProcess name='MainProcess' parent=None started> - Filename: AFI-11-405.pdf

real	0m4.290s
user	0m4.577s
sys	0m1.314s

@neofob
Copy link
Author

neofob commented Nov 21, 2023

@mishoe @drospond @amaruca141 : The code that tries to connect to the DB is from common/document_parser/parsers/policy_analytics/parse.py:80.
The code doc_dict = process_ingest_date(doc_dict) was put in by this commit 40a36e2.

For now, I comment out that line and the command line python -m common.document_parser pdf-to-json -s /tmp/test-data/AFI-11-405.pdf -d /tmp/test-data-out produces the json output.

@neofob
Copy link
Author

neofob commented Nov 22, 2023

@mishoe @drospond @amaruca141 : Now that I can parse the downloaded PDF files to generate the json files. The document in gamechanger-data refers to the function create_csv_data in Issuance class but neither Issuance nor create_csv_data is in the code repository gamechanger-data.

Is it still a part of the work flow to generate the .csv file to be used in the next step, inserting the json files and csv file to Elasticsearch index?

@mishoe
Copy link
Contributor

mishoe commented Nov 28, 2023

@neofob here is an older version of a topic model for your usage topic_model_20210208.zip

@neofob
Copy link
Author

neofob commented Nov 28, 2023

@mishoe : It still fails to load. Do I need some .py codes as well? I unzip the files to the directory gamechangerml/models as follow:

$ tree gamechangerml/models
gamechangerml/models
├── __init__.py
├── __pycache__
│   └── __init__.cpython-38.pyc
└── topic_models
    ├── bigrams.phr
    ├── tfidf_dictionary.dic
    └── tfidf.model

2 directories, 5 files

The code in common/document_parser/lib/topics.py is as follow:
from gamechangerml.models.topic_models.tfidf import bigrams, tfidf_model

@neofob
Copy link
Author

neofob commented Nov 29, 2023

The file gamechangerml/models/topic_models/tfidf.py was removed in commit a310817e7 in gamechanger-ml repo.

Was it intentional?

CC: @mishoe @drospond @amaruca141

@neofob
Copy link
Author

neofob commented Dec 6, 2023

@drospond @mishoe @amaruca141 :

@drospond, I set the env variables for ES as you mentioned in the call. However, the web UI search bar still does not work. Below is the snippet of those env settings inside the gc-web docker.

bash-5.1$ env | grep GAMECHANGER_ELASTICSEARCH
GAMECHANGER_ELASTICSEARCH_PORT=9200
GAMECHANGER_ELASTICSEARCH_HOST=elasticsearch
GAMECHANGER_ELASTICSEARCH_PASSWORD=elasticsearch
GAMECHANGER_ELASTICSEARCH_INDEX=gamechanger

@drospond
Copy link

drospond commented Dec 11, 2023

Hi @neofob , do you get any errors in the browser or backend consoles when trying to run a search?

@neofob
Copy link
Author

neofob commented Dec 12, 2023

Hi @neofob , do you get any errors in the browser or backend consoles when trying to run a search?

Yes, I did get many errors.

First of ALL, the modheader extension.

  • The settings of modheader extension according to this document README.md on gamechanger-web DOES NOT WORK!!!
    As I understand the document correctly, the settings as following format for instance
    • SSL_CLIENT_S_DN_CN: 007@mil
    • x-env-ssl_client_certificate: YOUR.NAME.007@mil

So I DISABLED the modheader so that I can browse the webpage. Now I can see some errors in the backend. NO, the search query does not return any result. Here is a snippet of the command docker logs gc-web

2023-12-12T16:45:36.927Z http [0][::ffff:192.168.80.1] [undefined] Request for: http://localhost:8080/api/gamechanger/appSettings/combinedSearch
2023-12-12T16:45:36.936Z error Unknown 9ZJ4HRN index_not_found_exception
2023-12-12T16:45:36.936Z error Unknown OAUHAL4 index_not_found_exception
error: column "username" does not exist
    at Parser.parseErrorMessage (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/opt/app-root/src/backend/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 108,
  severity: 'ERROR',
  code: '42703',
  detail: undefined,
  hint: undefined,
  position: '27',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '3504',
  routine: 'errorMissingColumn'
}
perms= []
2023-12-12T16:45:36.969Z http [0][::ffff:192.168.80.1] [undefined] Request for: http://localhost:8080/api/gamechanger/appSettings/ltr
error: column "username" does not exist
    at Parser.parseErrorMessage (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/opt/app-root/src/backend/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 108,
  severity: 'ERROR',
  code: '42703',
  detail: undefined,
  hint: undefined,
  position: '27',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '3504',
  routine: 'errorMissingColumn'
}
perms= []
2023-12-12T16:45:37.007Z http [0][::ffff:192.168.80.1] [undefined] Request for: http://localhost:8080/api/gamechanger/modular/search
2023-12-12T16:45:37.013Z info undefined is doing a gamechanger search for Defense Intelligence Agency with offset 0, limit 18, options {"orgFilterString":[],"transformResults":false,"charsPadding":90,"typeFilterString":[],"showTutorial":false,"useGCCache":null,"tiny_url":"gamechanger?tiny=1","searchFields":{"initial":{"field":null,"input":""}},"accessDateFilter":[null,null],"publicationDateFilter":[null,null],"publicationDateAllTime":true,"includeRevoked":false,"ltr":true,"sort":"Relevance","order":"desc","reviseFilterCounts":true,"searchVersion":1}
2023-12-12T16:45:37.013Z info ---> Process 0 tick
2023-12-12T16:45:37.018Z error Unknown 9ZJ4HRN index_not_found_exception
2023-12-12T16:45:37.018Z error Unknown MBWYH5F ResponseError: index_not_found_exception
2023-12-12T16:45:37.018Z error Unknown B6X9EPJ Cannot read properties of undefined (reading '_source')
2023-12-12T16:45:37.033Z error Unknown 9ZJ4HRN x_content_parse_exception
2023-12-12T16:45:37.033Z error Unknown WBJNDK3 x_content_parse_exception
2023-12-12T16:45:37.035Z error Unknown 9ZJ4HRN x_content_parse_exception
2023-12-12T16:45:37.035Z error Unknown DMAL3RR x_content_parse_exception
2023-12-12T16:45:37.035Z error Unknown ML8P7GO ResponseError: x_content_parse_exception
2023-12-12T16:45:37.036Z error Unknown 9ZJ4HRN x_content_parse_exception
2023-12-12T16:45:37.055Z error Unknown 9ZJ4HRN index_not_found_exception
2023-12-12T16:45:37.055Z error Unknown VLPOJJJ index_not_found_exception
2023-12-12T16:45:37.062Z error Unknown 9ZJ4HRN index_not_found_exception
2023-12-12T16:45:37.062Z error Unknown OICE7JS index_not_found_exception
2023-12-12T16:45:37.063Z info Total search time: 47.94441604614258 milliseconds --- Enriched search took: 27.622339010238647
error: column "username" does not exist
    at Parser.parseErrorMessage (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/opt/app-root/src/backend/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 108,
  severity: 'ERROR',
  code: '42703',
  detail: undefined,
  hint: undefined,
  position: '27',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '3504',
  routine: 'errorMissingColumn'
}
perms= []
2023-12-12T16:45:37.114Z http [0][::ffff:192.168.80.1] [undefined] Request for: http://localhost:8080/api/gamechanger/user/getUserData
2023-12-12T16:45:37.128Z error Unknown BAP9ZIP3 Error: ER_NO_SUCH_TABLE: Table 'matomo.matomo_log_visit' doesn't exist
2023-12-12T16:45:37.129Z info No userids found for 
2023-12-12T16:45:37.131Z error Unknown 9ZJ4HRN index_not_found_exception
2023-12-12T16:45:37.131Z error Unknown NG6CETF ResponseError: index_not_found_exception
error: column "username" does not exist
    at Parser.parseErrorMessage (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/opt/app-root/src/backend/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 108,
  severity: 'ERROR',
  code: '42703',
  detail: undefined,
  hint: undefined,
  position: '27',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '3504',
  routine: 'errorMissingColumn'
}
perms= []
2023-12-12T16:45:37.143Z http [0][::ffff:192.168.80.1] [undefined] Request for: http://localhost:8080/api/gamechanger/textSuggestion
error: column "username" does not exist
    at Parser.parseErrorMessage (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/opt/app-root/src/backend/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/opt/app-root/src/backend/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 108,
  severity: 'ERROR',
  code: '42703',
  detail: undefined,
  hint: undefined,
  position: '27',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '3504',
  routine: 'errorMissingColumn'
}
perms= []
2023-12-12T16:45:37.173Z http [0][::ffff:192.168.80.1] [undefined] Request for: http://localhost:8080/api/gamechanger/textSuggestion
2023-12-12T16:45:47.013Z info ---> Process 0 tick

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

Successfully merging this pull request may close these issues.

3 participants