#Kometa crashes when running operations of TV Shows

1 messages ยท Page 1 of 1 (latest)

bleak robinBOT
#

Welcome @pure seal!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

Someone from <@&938443185347244033> will assist when they're available.

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

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

bleak robinBOT
#

The last few days I've been having an issue where my run crashes when it comes to the operations of my TV Shows library. It runs through my Movies library just fine and I can run TV Shows with metadata only, collections only, and overlays only just fine. It seems to stem solely from the operations aspect and if I understand the logs when watching thew run it seems to time out when trying to "download IMDB interface". I've tried tweaking the config operations with no luck.

pure seal
bleak robinBOT
#

๐Ÿ“ If you want to review this again, wikid82:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> ๐Ÿ“

#
**Rec 01** - ๐Ÿ’ฅ **[CRITICAL]**

๐Ÿ’ฅ [CRITICAL]
Critical messages found in your attached log.
There is a very strong likelihood that Kometa aborted the run or part of the run early thus not all of what you wanted was applied.
For more information on handling these, [https://kometa.wiki/en/latest/kometa/logs/?h=[critical]#critical]
1 line(s) with [CRITICAL] messages. Line number(s): 217603

pure seal
#

ok, after looking at the logs more thoroughly this morning it looks like I may have fixed my operations error but I notice this error in the logs that I sent was actually "'int' object has no attribute 'lower' "

#

The spacing in my metadata file looked off. I corrected it but I'm going to leave this post open for now just in case that wasn't the issue

olive marsh
#

That issue is fixed in nightly. Oh, wait, no, that's a different int conversion thing.

olive marsh
#
|                                  Running themadness Metadata File                                  |
|                        /config/kometa_files/metadata/tvshows/themadness.yml                        |
|====================================================================================================|
|                                                                                                    |
|====================================================================================================|
|                                       Running Metadata File                                        |
|====================================================================================================|
|                                                                                                    |
| Traceback (most recent call last):                                                                 |
|   File "//kometa.py", line 742, in run_libraries                                                   |
|     metadata.update_metadata()                                                                     |
|   File "/modules/meta.py", line 1537, in update_metadata                                           |
|     methods = {mm.lower(): mm for mm in meta}                                                      |
|               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                      |
|   File "/modules/meta.py", line 1537, in <dictcomp>                                                |
|     methods = {mm.lower(): mm for mm in meta}                                                      |
|                ^^^^^^^^                                                                            |
| AttributeError: 'int' object has no attribute 'lower'                                              |
|                                                                                                    |
| 'int' object has no attribute 'lower'                                                              |

Something in:

/config/kometa_files/metadata/tvshows/themadness.yml 

Is triggering that failure.

Con you provide that file?

pure seal
#

That part I corrected. It was the spacing in the file. I'm getting 'int' object has no attribute 'lower' " for my operations. I'm currently doing a fresh run so I'll have a new log file to share in a bit

olive marsh
#

If there are custom YAML files involved please provide them with the log.

bleak robinBOT
#

๐Ÿ“ If you want to review this again, wikid82:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> ๐Ÿ“

#
**User Info**

Author of Linked Message: Wikid82
Person who Invoked the Command: Wikid82
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation โœ…
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Rec 01 - ๐Ÿ’ฅ [CRITICAL]
Page 08: Rec 02 - โŒ [ERROR]
Page 09: Rec 03 - โŒโฐ KOMETA SCHEDULED TIME CONFLICT
Page 10: Rec 04 - โš ๏ธ [WARNING]
Page 11: Rec 05 - โš ๏ธ NO ITEMS FOUND IN PLEX
Page 12: Rec 06 - โš ๏ธ PLEX REGEX ERROR
Page 13: Rec 07 - ๐Ÿ’ฌ CONVERT WARNING
Page 14: Rec 08 - ๐Ÿ’ฌ๐Ÿ’ก๏ธ PLEX DB CACHE ADVICE

#

yea, still getting the 'int' object has no attribute 'lower' error on my operations.

olive marsh
#

That error does not appear in that latest log.

#

There's this error:

[2024-12-12 19:58:34,239] [meta.py:2006]              [INFO]     | Updating Episode: 6 in Season: 1 of The Madness...                                                 |
[2024-12-12 19:58:35,162] [kometa.py:754]             [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "//kometa.py", line 742, in run_libraries                                                   |
                                                                 |     metadata.update_metadata()                                                                     |
                                                                 |   File "/modules/meta.py", line 1731, in update_metadata                                           |
                                                                 |     self.update_metadata_item(i, mapping_name, meta, methods)                                      |
                                                                 |   File "/modules/meta.py", line 2012, in update_metadata_item                                      |
                                                                 |     episode_methods = {em.lower(): em for em in episode_dict}                                      |
                                                                 |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                      |
                                                                 | TypeError: 'NoneType' object is not iterable                                                       |
                                                                 |                                                                                                    |
[2024-12-12 19:58:35,162] [kometa.py:755]             [CRITICAL] | 'NoneType' object is not iterable                                                                  |

Which is again coming while processing that same metadata file as before.

#

This:

[WARNING]  | Config Warning: less attribute not found using None as default

Is not a problem, it's just alerting you that you haven't specified a value for less here:

      delete_collections:
        configured: false
        managed: false
pure seal
#

ok, and that yaml error is spacing that i did work out and ran the file by itself. thanks for your assistance