-
Notifications
You must be signed in to change notification settings - Fork 32
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
running the script gives the following error #34
Comments
More details... Running on Windows Server 2008 R2 PS C:\Windows\System32\WindowsPowerShell\v1.0> python --version |
I'm not sure what could be causing this. My next major release will include logging throughout the script to hopefully help troubleshoot issues like this. |
I managed to get it running again by removing 'season_index' and 'index' as sorts so I figure it is bailing out because Plex hasn't populated those fields correctly? I would be tempted to say you should just sort on show_title in the base script and let people add in their own options for further sorting if they require it just so that you can increase the chances that the script will run out of the box. As far as I am concerned now, there is no urgent need to fix this, put it to the back of the queue and anyone who searches can see how I fixed it. My config.conf now reads...
|
Not sure what has changed but trying to run the script gives the following error.
Last email was successfully sent on 25 Apr 2015 (Emails are normally sent weekly on Mondays).
26th April was a Plex Update, I can see no updates to PlexEmail since 4th March 2016
C:\InstalledPrograms\PlexEmail\scripts>python plexEmail.py Traceback (most recent call last): File "plexEmail.py", line 1175, in <module> tvEpisodes = OrderedDict(sorted(tvEpisodes.iteritems(), key=lambda t: t[1][config['episode_sort_2']], reverse=config['episode_sort_2_reverse'])) File "plexEmail.py", line 1175, in <lambda> tvEpisodes = OrderedDict(sorted(tvEpisodes.iteritems(), key=lambda t: t[1][config['episode_sort_2']], reverse=config['episode_sort_2_reverse'])) KeyError: 'season_index'
Line 1175 seems to refer to "episode_sort_2" in the config.conf so here are the relevant lines refering to it in my config.conf
The text was updated successfully, but these errors were encountered: