You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempted to download manually, I discover the name of the file to be just way too long to be downloaded with its original name, thus my current 'prod.env' configuration being a problem:
Expected behavior
A possible fix to this, could be for files which their names are identified above 256 characters or with other problems, to automatically be replaced by a single digit number to avoid these possible issues, and perhaps save the original name to its 'post.json' file.
Platform(please complete the following information):
OS: Windows
Python Version: 3.11.3
The text was updated successfully, but these errors were encountered:
Describe the bug
Certain files have VERY long names which make them impossible to be saved automatically by the program.
To Reproduce
2024-08-23 07:45:35.880 | ERROR | ktoolbox.job.runner:processor:132 - Download failed - {'filename': '97950126_https://www.patreon.com/media-u/Z0FBQUFBQmwxM2Nwd1dnY0pCXzV4WGtOY1I2ZXFQWVBDaUprVk83cVNUSHFSUDBUTjg2OVRpSWRxLVpWVmFzaFkxNEc4eWdDMmdOZ0xkb0ZvY3dfTnRPdFZ6cHBFdklqUDVJOVFOX09kMFhvN3BPU1luOEE2VUtLdDMzdElhODF3NzJsNy1UR2JBakoxQ2FiZXJCRlNHcDBzcmVpVG15THFiZnBrcG9nRGRiQzRicDREU2VmRjRoZllMTjhYaUpOUF90YUlKNnFycGRCQkN5WnJPdVBHbm1DMnB3cUZlbnlkeS1WamZQWm1BSzB0cjNwNVFJeHl2VnExRC1Db1AxNzdZTU5Sdjg1ZVFRQThYbjIxWkozS2laSnQ2M1ZoM2hmZnZiNElTUkhoUXhaMUJEUHpxNGtmaXpXdFFpelRuMnh4c1Z0ekt1Nk5IREE=#274656918_', 'exception': OSError(22, 'Invalid argument')}
KTOOLBOX_JOB__POST_DIRNAME_FORMAT={id} {title} {published} {user} {service}
KTOOLBOX_JOB__POST_STRUCTURE__ATTACHMENTS=./
KTOOLBOX_JOB__COUNT=1
KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True
KTOOLBOX_JOB__FILENAME_FORMAT=[{title}]_{}
KTOOLBOX_JOB__ALLOW_LIST=[".rar",".zip"]
Expected behavior
A possible fix to this, could be for files which their names are identified above 256 characters or with other problems, to automatically be replaced by a single digit number to avoid these possible issues, and perhaps save the original name to its 'post.json' file.
Platform(please complete the following information):
The text was updated successfully, but these errors were encountered: