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

Google docs (cello) parsing throws json_extract error on query #94

Open
ydkhatri opened this issue Jan 7, 2021 · 3 comments
Open

Google docs (cello) parsing throws json_extract error on query #94

ydkhatri opened this issue Jan 7, 2021 · 3 comments
Assignees

Comments

@ydkhatri
Copy link
Collaborator

ydkhatri commented Jan 7, 2021

On windows, only Python 3.9 ships with a version of sqlite that supports/enables json querying. Older versions throw this error:

Google Docs [Cello] artifact executing
Reading Google Docs artifact had errors!
Error was no such function: json_extract
Exception Traceback: Traceback (most recent call last):
  File "c:\github\ALEAPP\scripts\ilap_artifacts.py", line 164, in process_artifact
    method(files_found, report_folder, seeker)
  File "c:\github\ALEAPP\scripts\artifacts\Cello.py", line 84, in get_Cello
    ''')
sqlite3.OperationalError: no such function: json_extract

Need to refactor query to fix this.

@ydkhatri ydkhatri self-assigned this Jan 7, 2021
@stark4n6
Copy link
Collaborator

This was fixed I think with the Python update, correct me if I'm wrong

@ydkhatri
Copy link
Collaborator Author

If you run with python < 3.9, it will still produce the exception, as no action was taken. However, since we now recommend 3.9, I am not inclined to spend time to fix it. The issue remains open as it is not fixed.

@stark4n6
Copy link
Collaborator

makes sense to me

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