Lots of Bugs on develop with previously working configs
See original GitHub issueI haven’t been running this for awhile. So IDK exactly when it broke – or how many things are actually broken, but it’s been about 2 weeks since I’ve been actively running this. None of my YML configs have changed in that time.
First error: YML:
metadata:
"Avatar: The Last Airbender":
sort_title: Avatar 01
Log:
[2021-05-25 03:50:43,052] [meta.py:196] [INFO] | Updating Show: Avatar: The Last Airbender... |
[2021-05-25 03:50:43,390] [meta.py:123] [ERROR] | Metadata Error: country attribute only works for movie libraries |
[2021-05-25 03:50:43,391] [meta.py:123] [ERROR] | Metadata Error: director attribute only works for movie libraries |
[2021-05-25 03:50:43,391] [meta.py:123] [ERROR] | Metadata Error: producer attribute only works for movie libraries |
[2021-05-25 03:50:43,391] [meta.py:123] [ERROR] | Metadata Error: writer attribute only works for movie libraries |
[2021-05-25 03:50:43,391] [meta.py:283] [INFO] | Show: Avatar: The Last Airbender Details Update Not Needed |
Second error: YML:
metadata:
"Adam DeVine's House Party":
genre: Stand Up
Log:
[2021-05-25 03:50:44,853] [meta.py:196] [INFO] | Updating Show: Adam DeVine's House Party... |
[2021-05-25 03:50:45,051] [util.py:328] [DEBUG] | Traceback (most recent call last): |
| File "//plex_meta_manager.py", line 111, in start
| update_libraries(config, is_test, requested_collections, resume_from)
| File "//plex_meta_manager.py", line 144, in update_libraries
| metadata.update_metadata(config.TMDb, is_test)
| File "/modules/meta.py", line 268, in update_metadata
| if edit_tags("genre", item, meta, methods, extra=genres):
| File "/modules/meta.py", line 143, in edit_tags
| return self.library.edit_tags("attr", obj, add_tags=add_tags, remove_tags=remove_tags, sync_tags=sync_tags, key=key)
| File "/modules/plex.py", line 693, in edit_tags
| item_tags = [item_tag.tag for item_tag in getattr(obj, key)]
| File "/usr/local/lib/python3.9/site-packages/plexapi/base.py", line 428, in __getattribute__
| value = super(PlexPartialObject, self).__getattribute__(attr)
| AttributeError: 'Show' object has no attribute 'attrs'
|
[2021-05-25 03:50:45,052] [plex_meta_manager.py:114] [CRITICAL] | 'Show' object has no attribute 'attrs'
That’s as far as I get now after running this, whole script only runs for about 15 seconds now before crashing from that last error.
I have a lot of stuff in that config, so there’s a good chance I’ll find more errors once those get fixed.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
9 techniques for fixing bugs in production - TechTarget
Create bug estimates from existing data. Often, software teams work on multiple programs, and they can gather information about past bugs ...
Read more >How to Fix Bugs - Better Programming
In a healthy development workflow, bugs should be triaged and prioritised against other areas of development, such as developing new features, ...
Read more >Word for a software bug that occurs again after having fixed it?
I'm embarking on some test-driven development (TDD) for a project, and I want to use the right term but have forgotten the word....
Read more >How to fix bugs, step by step - Software Engineering Tips
Step 3: Identify the immediate line of code where the bug occurs. If it's a crashing bug then try running the program in...
Read more >Why Does Software Have Bugs?
Top 20 Reasons for Software Bugs · #1) Miscommunication or No Communication · #2) Software Complexity · #3) Programming Errors · #4) Changing ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seems like it’s working so far. It usually takes 20-30m though, so I’ll check the output tomorrow and let you know if I notice anything else.
Thanks!
this first two are actually the exact same error the validation failed for the item given. I.E. there’s no item in plex that has the given tag. I assume thats a user error so i error out that collection you can add
validate: false
toplex_search
orsmart_filter
to have PMM continue ignoring tags that are not validated.Honestly same with the last one its failing to find any items in your plex search so i assume thees a user error and error out the collection.
I originally didn’t have the traceback print but it ended up being helpful in debugging so i left it on in debug mode