No such file or directory
KingMak3r opened this issue · 0 comments
KingMak3r commented
This is odd, the error states that there is no such file or directory but I checked the file path and a directory, of this specific file, and they exist. Am I missing something:
Traceback (most recent call last):
File "C:\Users\ralju\AppData\Roaming\Python\Python312\site-packages\torf\_torrent.py", line 1534, in write
with open(filepath, 'wb') as f:
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ralju\\Upload-Assistant/tmp/The.Day.of.The.Dead.Is.Cancelled.AKA.Hasta.la.madre.Del.día.de.los.muerto.2023.SPANISH.480p.AMZN.WEB-DL.AAC.2.0.H.264-NoGroup.mkv/[PTP]The Day of the Dead Is Cancelled AKA ¡Hasta la madre! Del día de los muertos 2023 480p AMZN WEB-DL AAC 2.0 H.264.torrent'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\ralju\Upload-Assistant\upload.py", line 405, in do_the_thing
ptpUrl, ptpData = await ptp.fill_upload_form(groupID, meta)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ralju\Upload-Assistant\src\trackers\PTP.py", line 728, in fill_upload_form
await common.edit_torrent(meta, self.tracker, self.source_flag)
File "C:\Users\ralju\Upload-Assistant\src\trackers\COMMON.py", line 24, in edit_torrent
Torrent.copy(new_torrent).write(f"{meta['base_dir']}/tmp/{meta['uuid']}/[{tracker}]{meta['clean_name']}.torrent", overwrite=True)
File "C:\Users\ralju\AppData\Roaming\Python\Python312\site-packages\torf\_torrent.py", line 1537, in write
raise error.WriteError(e.errno, filepath)
torf._errors.WriteError: C:\Users\ralju\Upload-Assistant/tmp/The.Day.of.The.Dead.Is.Cancelled.AKA.Hasta.la.madre.Del.día.de.los.muerto.2023.SPANISH.480p.AMZN.WEB-DL.AAC.2.0.H.264-NoGroup.mkv/[PTP]The Day of the Dead Is Cancelled AKA ¡Hasta la madre! Del día de los muertos 2023 480p AMZN WEB-DL AAC 2.0 H.264.torrent: No such file or directory
None