-
Notifications
You must be signed in to change notification settings - Fork 278
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
[APP SUBMITTED]: TypeError: sequence item 0: expected str instance, int found #10471
Comments
This error pops up when the automated postprocessor is ran. Once this error pops, the postprocessor no longer runs, until medusa is restarted. Debug log, starting when the scheduled postprocessor job starts: |
Initially removed both Spongebob episodes from the postprocessing folder. More files were successfully processed, but still threw the str,int error. Removed both "From" episodes, and am now waiting for the postprocessor to run again. Update: postprocessing completed successfully. Will place suspect files back in folder to see if error pops again. Update2: Processed 'From.S01E07.All.Good.Things.1080p.AMZN.WEB-DL.DDP5.1.H.264-TEPES.mkv' without issue. If this is related to a particular file, the only ones left are the two SpongeBob episodes.
|
yep, there we go. 'SpongeBob SquarePants - S00E09 Friend or Foe.avi' is now the only file in the postprocessing folder, and it threw the Type error.
Couldnt guess on how to fix, but right here:
looks like the episode was correctly parsed into an int, but 'season: 0' is still a string. |
Should be fixed with #10472 |
INFOPython Version: ERROR2022-04-08 02:17:34 ERROR POSTPROCESSOR :: [b618bb9] Exception generated: sequence item 0: expected str instance, int found Traceback (most recent call last): File "C:\Medusa\Medusa\medusa\schedulers\scheduler.py", line 78, in run self.action.run(self.force) File "C:\Medusa\Medusa\medusa\process_tv.py", line 232, in run process_results.process(force=force, **kwargs) File "C:\Medusa\Medusa\medusa\process_tv.py", line 386, in process ignore_subs=ignore_subs) File "C:\Medusa\Medusa\medusa\process_tv.py", line 651, in process_files self.process_media(path, self.video_files, force, is_priority, ignore_subs) File "C:\Medusa\Medusa\medusa\process_tv.py", line 895, in process_media self.process_failed(path, resource_name=video) File "C:\Medusa\Medusa\medusa\process_tv.py", line 937, in process_failed self.result = processor.process() File "C:\Medusa\Medusa\medusa\failed_processor.py", line 86, in process segment = self._process_release_name() File "C:\Medusa\Medusa\medusa\failed_processor.py", line 66, in _process_release_name segment=','.join(ep.episode for ep in segment), TypeError: sequence item 0: expected str instance, int found STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators |
INFO
Python Version:
3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
Operating System:
Linux-5.10.0-10-amd64-x86_64-with-glibc2.31
Locale:
UTF-8
Branch: master
Database:
44.19
Commit: b618bb9
Link to Log: No Log available
ERROR
STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators
The text was updated successfully, but these errors were encountered: