Skip to content
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

Screenshot generation failure on multi disc upload #312

Open
jmoliver88 opened this issue Feb 5, 2024 · 0 comments
Open

Screenshot generation failure on multi disc upload #312

jmoliver88 opened this issue Feb 5, 2024 · 0 comments

Comments

@jmoliver88
Copy link

Getting a failure to generate screenshots for a full disc upload. Upload consists of 7 discs, in individual folders STAR_TREK_S2D1 through STAR_TREK_S2D7, each with their own BDMV and CERTIFICATE folders as expected. It seems to go through disc scanning with no problem, and will actually continue to hash the torrent and allow upload.

Generating manual screenshots and placing them in the tmp folder bypasses this step and proceeds with the rest of the upload as expected. Single disc uploads work flawlessly.

Snippet output of where the failure occurs during the process.

Saving Screens...
Saving Screens... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0/10 -:--:--
Process Process-1:
Traceback (most recent call last):
  File "C:\Users\j\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Users\j\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\j\NAN0-Uploader-1.0.17\src\prep.py", line 712, in disc_screenshots
    if os.path.getsize(Path(image)) <= 31000000 and self.img_host == "imgbb":
  File "C:\Users\j\AppData\Local\Programs\Python\Python39\lib\genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\j\\NAN0-Uploader-1.0.17\\tmp\\Star.Trek.S02.1080p.Blu-ray.VC-1.DTS-HD.MA.7.1-NAN0\\Star Trek-0.png'
Setting demographic tag
Uploading Screens... ---------------------------------------- 0/0 -:--:--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant