Skip to content

Custom Filter Merged Paths "Overflow Error" (From v2.1.21) #63

@jollyhiggler

Description

@jollyhiggler

Hello,

I've encountered the below error from v.2.1.21 onwards.

The nodes in question are basically groups of YouTube playlists (specifically the 'Uploads' playlists of various channels). The number of paths ranges from 3 to 18.

Two of the five that I use still load as normal. The 18 path node is one of them. Interestingly, the other functioning node is different depending on whether it's running on Windows or Android (same setup on both platforms).

Hopefully a surmountable issue - the ability to split YT "My Subscriptions" by interest group has been truly useful since Custom Filters were introduced back in v0.4.8

Many Thanks

2025-02-04 08:52:38.525 T:16864   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
      - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
           Error Type: <class 'OverflowError'>
              Error Contents: Python int too large to convert to C long
                 Traceback (most recent call last):
                   File "/addons\script.skinvariables\plugin.py", line 9, in <module>
                     Plugin(int(sys.argv[1]), sys.argv[2][1:]).run()
                   File "/addons\script.skinvariables\resources\lib\plugin.py", line 112, in run
                     self.get_directory()
                   File "/addons\script.skinvariables\resources\lib\plugin.py", line 105, in get_directory
                     return container.get_directory(**self.params)
                   File "/addons\script.skinvariables\resources\lib\lists\filterdir.py", line 762, in get_directory
                     items = [(i.path, i.listitem, i.is_folder, ) for i in items if i]
                   File "/addons\script.skinvariables\resources\lib\lists\filterdir.py", line 762, in <listcomp>
                     items = [(i.path, i.listitem, i.is_folder, ) for i in items if i]
                   File "/addons\script.skinvariables\resources\lib\lists\filterdir.py", line 291, in listitem
                     self._info_tag.set_info(self.infolabels)
                   File "/addons\script.module.infotagger\resources\modules\infotagger\listitem.py", line 69, in set_info
                     func(v)
            OverflowError: Python int too large to convert to C long
              -->End of Python script error report<--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions