@Jerome_GUY wrote:
Hi guys,
So running flexget (up to date) doe T411 on a Ubuntu x64 16.04 and sometimes i get an error.
2016-11-22 16:00 INFO task My_TV_Shows Plugin next_series_episodes has requested task to be ran again after execution has completed. Reason: Look for next season
2016-11-22 16:00 ERROR t411_api My_TV_Shows 1040 - SQLSTATE[HY000] [1040] Too many connections
2016-11-22 16:00 CRITICAL task My_TV_Shows BUG: Unhandled error in plugin discover:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 477, in __run_plugin
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 290, in on_task_input
return self.execute_searches(config, entries, task)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 155, in execute_searches
search_results = search.search(task=task, entry=entry, config=plugin_config)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 118, in wrapped_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/sites/t411.py", line 99, in search
search_result = proxy.search(query)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 662, in search
client_query = self.friendly_query_to_client_query(query)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 480, in wrapper
self.synchronize_database()
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/database.py", line 34, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 541, in synchronize_database
category_tree = self.rest_client.retrieve_category_tree()
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 169, in wrapper
assert self.is_authenticated()
AssertionErrorDeal is I run the the same config on two computers (same OS and settings) and on one no errors and on the second one got plenty of errors (almost each time)
The flexget is started from root's cron hourly using:
flexget -c /path/to/config.yml execute
Also tried:flexget -c /path/to/config.yml --cron execute
Posts: 2
Participants: 1