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

Error Contents: unable to open database file #643

Open
Copyrighter opened this issue Mar 19, 2024 · 0 comments
Open

Error Contents: unable to open database file #643

Copyrighter opened this issue Mar 19, 2024 · 0 comments

Comments

@Copyrighter
Copy link

Copyrighter commented Mar 19, 2024

Current Behavior

script.trakt fails to run, unable to open "Trakt Account Authorization".
Kodi Error Log:

2024-03-19 19:08:02.139 T:25329 warning <general>: SMBFile::OpenForWrite() called with overwriting enabled! - smb://USERNAME:[email protected]/Films/Kodi%20Backup/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/script.trakt/settings.xml
2024-03-19 19:08:02.441 T:29442    info <general>: start trakt with arguments: {'action': 'auth_info'}
2024-03-19 19:08:02.472 T:29442   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'sqlite3.OperationalError'>
                                                   Error Contents: unable to open database file
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/defaultscript.py", line 14, in <module>
                                                       Main()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/defaultscript.py", line 11, in Main
                                                       script.run()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/resources/lib/script.py", line 395, in run
                                                       q = sqlitequeue.SqliteQueue()
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/resources/lib/sqlitequeue.py", line 54, in __init__
                                                       with self._get_conn() as conn:
                                                            ^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/resources/lib/sqlitequeue.py", line 70, in _get_conn
                                                       self._connection_cache[id] = sqlite3.Connection(self.path, timeout=60)
                                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                   sqlite3.OperationalError: unable to open database file
                                                   -->End of Python script error report<--

Your Environment

  • Version used: 3.6.1
  • Kodi version used: 20.4
  • Operating System and version: Nvidia Shield 2017, Android 11, 9.2.0(33.2.0.201)
  • MariaDB: 5 1.0.6.33
    on Qnap, installed from QNAP App Center.
  • Kodi and MariaDB in the same LAN.
@Copyrighter Copyrighter changed the title Kodi - Error Contents: unable to open database file Error Contents: unable to open database file Mar 19, 2024
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

1 participant