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

Storing the taskgraph db on a Windows mounted network drive causes a failure #103

Open
phargogh opened this issue May 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@phargogh
Copy link
Member

phargogh commented May 8, 2024

A user on the forums reported an issue where taskgraph's database was repeatedly locked, and then the model ultimately failed with a cryptic error mentioning the URI authority:

Traceback (most recent call last):
  File "natcap\invest\utils.py", line 164, in prepare_workspace
  File "invest\cli.py", line 470, in main
  File "natcap\invest\pollination.py", line 536, in execute
  File "taskgraph\Task.py", line 336, in __init__
  File "retrying.py", line 49, in wrapped_f
  File "retrying.py", line 212, in call
  File "retrying.py", line 247, in get
  File "six.py", line 719, in reraise
  File "retrying.py", line 200, in call
  File "taskgraph\Task.py", line 1561, in _execute_sqlite
sqlite3.OperationalError: invalid uri authority: ags-fs-profiles

This appears to ultimately be occurring because the user has mounted a network location on Windows but not given it a drive letter. In this case, SQLite can't handle the path because it isn't a valid location. It'd be wise for us to handle this case.

logfile:
InVEST-natcap.invest.pollination-log-2024-05-06--14_39_00.txt

@phargogh phargogh added the bug Something isn't working label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant