Skip to content
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

[Bug]: Unknown Error: 'NoneType' object has no attribute 'lower' #870

Closed
imjuzcy opened this issue May 12, 2022 · 8 comments
Closed

[Bug]: Unknown Error: 'NoneType' object has no attribute 'lower' #870

imjuzcy opened this issue May 12, 2022 · 8 comments
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@imjuzcy
Copy link

imjuzcy commented May 12, 2022

Version Number

1.16.5

What branch are you on?

develop

Describe the Bug

Error after parsing

Relevant Collection/Playlist Definition

collections:
  Netflix:
    plex_all: true
    filter:
      studio: Netflix

Logs

https://gist.github.com/ImjuzCY/28ce055fc07af2acabe1669c7e16f49b

@imjuzcy imjuzcy added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels May 12, 2022
@meisnate12
Copy link
Member

could you switch to nightly and see if it works there

@imjuzcy
Copy link
Author

imjuzcy commented May 12, 2022

Still the same at nightly

|   File "//plex_meta_manager.py", line 559, in run_collection                                       |                                                          
|     builder.filter_and_save_items(builder.gather_ids(method, value))                               |                                                          
|   File "/modules/builder.py", line 1759, in filter_and_save_items                                  |                                                          
|     if self.check_filters(item, f"{(' ' * (max_length - len(str(i))))}{i}/{total}"):               |                                                          
|   File "/modules/builder.py", line 2259, in check_filters                                          |                                                          
|     if self.library.check_filters(item, self.filters, self.current_time) is False:                 |                                                          
|   File "/modules/plex.py", line 1138, in check_filters                                             |                                                          
|     if self.check_filter(item, filter_attr, modifier, filter_final, filter_data, current_time) is False: |                                                    
|   File "/modules/plex.py", line 1178, in check_filter                                              |                                                          
|     if util.is_string_filter(values, modifier, filter_data):                                       |                                                          
|   File "/modules/util.py", line 493, in is_string_filter                                           |                                                          
|     if (modifier in ["", ".not"] and check_value.lower() in value.lower()) \                       |                                                          
| AttributeError: 'NoneType' object has no attribute 'lower'                                         |                                                          
|                                                                                                    |                                                          
| Unknown Error: 'NoneType' object has no attribute 'lower'                                          |                                                          
|                                                                                                    |

@meisnate12
Copy link
Member

can you post your entire meta.log

@imjuzcy
Copy link
Author

imjuzcy commented May 12, 2022

@meisnate12
Copy link
Member

can you update to 1.17.0 and see if youre still having the same issue

@imjuzcy
Copy link
Author

imjuzcy commented May 29, 2022

Same error on 1.17.0

meta.log

meisnate12 added a commit that referenced this issue Jun 28, 2022
@meisnate12
Copy link
Member

ok just pushed another change to nightly to hopefully fix this

@imjuzcy
Copy link
Author

imjuzcy commented Jul 2, 2022

Okay now it works!

@imjuzcy imjuzcy closed this as completed Jul 2, 2022
nwithan8 pushed a commit to nwithan8/Plex-Meta-Manager that referenced this issue Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet
Projects
None yet
Development

No branches or pull requests

2 participants