hassio-addons / addon-tautulli

Tautulli - Home Assistant Community Add-ons
https://addons.community
MIT License
36 stars 6 forks source link

4.0.0 fails to start with db error for on_pause #325

Closed kasper79 closed 7 months ago

kasper79 commented 9 months ago

Problem

2023-12-08 08:01:40 - ERROR :: MainThread : Tautulli Database :: Database error: ambiguous column name: on_pause 2023-12-08 08:01:40 - ERROR :: MainThread : Uncaught exception: Traceback (most recent call last): File "/opt/Tautulli.py", line 324, in main() File "/opt/Tautulli.py", line 247, in main plexpy.start() File "/opt/plexpy/init.py", line 572, in start notifiers.check_browser_enabled() File "/opt/plexpy/notifiers.py", line 4484, in check_browser_enabled for n in get_notifiers(): ^^^^^^^^^^^^^^^ File "/opt/plexpy/notifiers.py", line 510, in get_notifiers result = db.select( ^^^^^^^^^^ File "/opt/plexpy/database.py", line 455, in select sql_results = self.action(query, args).fetchall() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/plexpy/database.py", line 433, in action sql_result = c.execute(query, args) ^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: ambiguous column name: on_pause

Traceback (most recent call last): File "/opt/Tautulli.py", line 324, in main() File "/opt/Tautulli.py", line 247, in main plexpy.start() File "/opt/plexpy/init.py", line 572, in start notifiers.check_browser_enabled() File "/opt/plexpy/notifiers.py", line 4484, in check_browser_enabled for n in get_notifiers(): ^^^^^^^^^^^^^^^ File "/opt/plexpy/notifiers.py", line 510, in get_notifiers result = db.select( ^^^^^^^^^^ File "/opt/plexpy/database.py", line 455, in select sql_results = self.action(query, args).fetchall() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/plexpy/database.py", line 433, in action sql_result = c.execute(query, args) ^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: ambiguous column name: on_pause

Expected behavior

To start up properly.

Actual behavior

fails to start with sqlite3.OperationalError: ambiguous column name: on_pause

Steps to reproduce

Proposed changes

This is on a Intel Nuc running add-on 4.0.0

kolossboss commented 9 months ago

Same error, also with Intel Nuc

stefsims commented 8 months ago

Same...

github-actions[bot] commented 7 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!