#WWE Yearly collections suddenly not working.

1 messages · Page 1 of 1 (latest)

astral ginkgoBOT
#

Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.

Including the meta.log from the beginning is a huge help use !logs for more information.

cosmic saddle
#

The log showing the failure would be helpful.

#

That config contains all your keys. Probably want to delete it.

hallow river
#

Deleted the original message

#

Original message was:

I restarted PMM after a long absence and nothing was working. I deleted everything and removed PMM from my Unraid and started from scratch.
I have managed to get 4k overlays to work, but the WWE config I had that simply put the PPV's in collections based on year simply wont work and comes up with a ton of various errors. I guess the easy way to fix it is if someone can logic check my config and tell me if they spot anything that will stop it working suddenly. Thanks!

#

Will need the attachment again @junior jungle

static scrollBOT
#
Providing a redacted config.yml file

You have been asked to provide your config file, which will allow us to support you further.

Please DO NOT share your config.yml file as is without redacting it. It contains information that you do not want the public to have, nor do we need it to troubleshoot your scenario in MOST cases.

We will use a regex parser to redact the file for you.

:one: Goto https://regex101.com/r/DMo1DQ/latest
:two: Copy the contents of your config.yml to the TEST STRING box in that page
:three: The results will be immediate and found in the SUBSTITUTION box below
:four: From the SUBSTITUTION box, select all, then copy and paste the redacted text into the channel where you want to share your config. (You will see (redacted) where confidential information was replaced)

Consider using Discord code blocks when sharing small parts of your config file. Check out !code for more info on code blocks

cosmic saddle
#

"a ton of various errors" doesn't narrow things down very much. The log is really required, since I didn't see anything egregiously wrong in that metadata file you had posted earlier.

junior jungle
#

Apologies, I was not expecting such a quick reply so I posted it just before I went to bed ha.
When I get home tonight I will sort out the config file and grab the log for you. Thanks!

static scrollBOT
#
Using Code Blocks

Please use code blocks when sending any code-related text (such as error messages or configuration file extracts.)

The Grave Accent key (`) is used to define code blocks and is typically found to the left of the number 1 key on a standard keyboard.

See the below sample text and output for basic code block text.

YOU TYPE THIS

`​`​`hello`​`​`

DISCORD DISPLAYS
hello

If you are posting any yaml-formatted text (such as collections), you can give your code block YAML formatting. See the below sample text and output

YOU TYPE THIS

`​`​`yaml
collections:
  Documentaries:
    smart_filter:
      all:
        genre: Documentary
`​`​`

DISCORD DISPLAYS

collections:
  Documentaries:
    smart_filter:
      all:
        genre: Documentary
junior jungle
#
  WWE PPV:   # Must match you library that is shown within plex
    metadata_path:
    - file: config/wweppv.yml
  4K Movies:
    overlay_path:
    - file: config/overlays.yml
  
settings: # Can be individually specified per library as well
  cache: true
  cache_expiration: 60
  asset_directory: config/assets
  asset_folders: true
  create_asset_folders: false
  show_missing_season_assets: false
  sync_mode: append
  delete_below_minimum: false
  delete_not_scheduled: false
  run_again_delay: 0
  missing_only_released: false
  only_filter_missing: false
  show_unmanaged: true
  show_filtered: false
  show_missing: true
  show_missing_assets: true
  save_missing: true
  tvdb_language: default
  ignore_ids:
  ignore_imdb_ids:
  asset_depth: 0
  dimensional_asset_rename: false
  show_options: false
  minimum_items: 1
  download_url_assets: false
  default_collection_order:
  verify_ssl: true
  playlist_sync_to_users:
  show_missing_episode_assets: false
  show_asset_not_needed: true
  item_refresh_delay: 0
  custom_repo:
  prioritize_assets: false
  playlist_report: true
  check_nightly: false
plex:                                           # Can be individually specified per library as well; REQUIRED for the script to run
  url: (redacted)
  token: (redacted)
  timeout: 60
  clean_bundles: false
  empty_trash: false
  optimize: false
tmdb:                                           # REQUIRED for the script to run
  apikey: (redacted)
  language: en
  cache_expiration: 60
  region:
trakt:
  client_id: (redacted)
  client_secret: (redacted)
  authorization:
    access_token: (redacted)
    token_type: Bearer
    expires_in: 7889238
    refresh_token: (redacted)
    scope: public
    created_at: 1663460751
  pin:
#

This is the first run log file... It is a bit big, but after caching the WWE section you can see the errors when it tries to process every year.
As I say, it used to work. I never changed the config or wwe config. But it has suddenly decided to stop working, so the only thing I can think of is a command or something has changed that's breaking it.

cosmic saddle
#
| AttributeError: 'Clip' object has no attribute 'smart'

Well, that's not something I've seen before. @ashen lance ?

ashen lance
#

That is a new one

cosmic saddle
#

Here's the context:

[2022-11-07 22:35:17,789] [builder.py:631]            [DEBUG]    | Validating Method: sort_title                                                                                                                                                                          |
[2022-11-07 22:35:17,790] [builder.py:632]            [DEBUG]    | Value: +_1985                                                                                                                                                                                          |
[2022-11-07 22:35:17,799] [plex_meta_manager.py:702]  [DEBUG]    | Traceback (most recent call last):                                                                                                                                                                     |
                                                                 |   File "//plex_meta_manager.py", line 559, in run_collection
                                                                 |     builder = CollectionBuilder(config, metadata, mapping_name, collection_attrs, library=library, extra=output_str)
                                                                 |   File "/modules/builder.py", line 774, in __init__
                                                                 |     if (self.smart and not self.obj.smart) or (not self.smart and self.obj.smart):
                                                                 |   File "/usr/local/lib/python3.10/site-packages/plexapi/base.py", line 487, in __getattribute__
                                                                 |     value = super(PlexPartialObject, self).__getattribute__(attr)
                                                                 | AttributeError: 'Clip' object has no attribute 'smart'
                                                                 | 
[2022-11-07 22:35:17,809] [plex_meta_manager.py:703]  [ERROR]    | Unknown Error: 'Clip' object has no attribute 'smart'
ashen lance
#

yea so for some reason instead of a collection object pmm is getting a clip object this is really weird

#

can you try deleting the collections and having pmm make them from scratch

#

ok i know whats happening

#

the collection is named 1984

#

or 1985 in this case

#

and theres a pmm function to search for a collection

#

if it gets a int it assumes its a plex rating key

#

and grabs that instead of actually searching for a collection

#

ill push a fix

junior jungle
#

\o/ I found a weird bug for you to fix.
You still want me to delete collections and try again?

#

I assume, something in Plex has changed since the last time I used this then ha

ashen lance
#

no you dont need to just wait a little bit and itll get pushed out in nightly

junior jungle
#

Thanks!

ashen lance
#

the 191 push that i just made has the fix in it

junior jungle
#

Thanks!

#

I assume I just add :nightly to the end of the repository?

#

Yep just found the page in wiki about it so will switch to that.. Thanks again!

#

Hmmm, still something wrong with my script... it fails to map some of the WWE PPV but that's fine.. But then it just says all 39 collections are unmanaged and unconfigured....
I will go through my script again tomorrow see if I missed something, or just delete all the collections and see if it just bugged out a bit. Either way it got further and not totally bugged out now haha.
I will check in during the day tomorrow but wont troubleshoot anything till I get home again.

ashen lance
#

File Error: File does not exist /config/wweppv.yml

junior jungle
#

oh haha, I did not spot that. /me Stupid.
I had renamed it at one point but thought I changed settings to reflect this... I will double check when I get home and try again haha

#

What and idiot, I removed the wwe config it to test the overlays haha.

hallow river
#

Can this be closed?

junior jungle
#

It can, I just tried to mark it as resolved but it said interaction failed. So if you can do it that would be great. Thanks for all the help peeps!