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
{{ message }}
Repository navigation
Getting error 'Unable to open log file' when log file move to other directory other than default #245
Now when I start litecli, it doesn't recognise the only log file and give below error
➜ ❯ litecli -l ~/.cache/litecli/log test.db
Error: Unable to open the log file "~/.cache/litecli/log".
LiteCli: 1.17.0 (SQLite: 3.51.2)
GitHub: https://github.com/dbcli/litecli
Failed to get functionnames.
Traceback (most recent call last):
File "/opt/homebrew/Cellar/litecli/1.17.0/libexec/lib/python3.14/site-packages/litecli/sqlcompleter.py", line 371, in extend_functions
func_data = [self.escaped_names(d) fordin func_data]
^^^^^^^^^
File "/opt/homebrew/Cellar/litecli/1.17.0/libexec/lib/python3.14/site-packages/litecli/sqlexecute.py", line 213, in functions
cur.execute(self.functions_query % self.dbname)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: no such table: INFORMATION_SCHEMA.ROUTINES
If I move it back to default location this error will go.
file has both rw and permission to user
-rw-r--r--@ 1 ram staff 1049 29 Jan 23:28 history
-rw-r--r--@ 1 ram staff 437 29 Jan 23:28 log
changed the title [-]Unable to open log file[/-][+]Getting error 'Unable to open log file' when log file move to other directory other than default[/+]on Jan 29, 2026
Activity
[-]Unable to open log file[/-][+]Getting error 'Unable to open log file' when log file move to other directory other than default[/+]Work on #245
Fix #245: Expand configured log_file paths
Fix #245: Resolve PR typecheck failures
Fix #245: Unable to open log file outside default directory
Merge pull request #255 from dbcli/symphony/dbcli-litecli-245-attempt-10