You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the url "sqlite:///db/filename.db"(three forward slashes) to mean the file "/db/filename.db" in the config.yaml of a python bridge (googlechat). This doesn't work, and after a bit of debugging I realized that it should be written with four forward slashes (sqlite:////db/filename.db)
I am wondering if this is a bug or expected and if the latter, maybe the documentation on the preceding lines should be updated/clarified.
This is on docker, btw. Since on docker the working directory is not writable, I would guess the most common use case would be to write an absolute path to a volume (i e /db/something.db).
The text was updated successfully, but these errors were encountered:
I am trying to use the url "sqlite:///db/filename.db"(three forward slashes) to mean the file "/db/filename.db" in the config.yaml of a python bridge (googlechat). This doesn't work, and after a bit of debugging I realized that it should be written with four forward slashes (sqlite:////db/filename.db)
These two lines seem to handle this bit:
python/mautrix/util/async_db/aiosqlite.py
Lines 107 to 108 in 0b67487
I am wondering if this is a bug or expected and if the latter, maybe the documentation on the preceding lines should be updated/clarified.
This is on docker, btw. Since on docker the working directory is not writable, I would guess the most common use case would be to write an absolute path to a volume (i e /db/something.db).
The text was updated successfully, but these errors were encountered: