Hey,
awesome tool, really enjoying it.
I did encounter an error that came up three times when fetching files from Sankaku (out of probably around 10k+ files imported so far, I've only just started using hydrus last week):
local variable 'photoshop' referenced before assignment… (Copy note to see full error)
Traceback (most recent call last):
File "include\ClientImportFileSeeds.py", line 1178, in WorkOnURL
self.DownloadAndImportRawFile( file_url, file_import_options, network_job_factory, network_job_presentation_context_factory, status_hook, override_bandwidth = True )
File "include\ClientImportFileSeeds.py", line 571, in DownloadAndImportRawFile
self.Import( temp_path, file_import_options )
File "include\ClientImportFileSeeds.py", line 790, in Import
( status, hash, note ) = HG.client_controller.client_files_manager.ImportFile( file_import_job )
File "include\ClientCaches.py", line 1144, in ImportFile
file_import_job.GenerateInfo()
File "include\ClientImportFileSeeds.py", line 283, in GenerateInfo
self._file_info = HydrusFileHandling.GetFileInfo( self._temp_path, mime )
File "include\HydrusFileHandling.py", line 233, in GetFileInfo
( ( width, height ), duration, num_frames ) = HydrusImageHandling.GetImageProperties( path, mime )
File "include\HydrusImageHandling.py", line 241, in GetImageProperties
( ( width, height ), num_frames ) = GetResolutionAndNumFrames( path, mime )
File "include\HydrusImageHandling.py", line 274, in GetResolutionAndNumFrames
pil_image = GeneratePILImage( path )
File "include\HydrusImageHandling.py", line 92, in GeneratePILImage
pil_image = PILImage.open( fp )
File "site-packages\PIL\Image.py", line 2690, in open
File "site-packages\PIL\Image.py", line 2676, in _open_core
File "site-packages\PIL\JpegImagePlugin.py", line 783, in jpeg_factory
File "site-packages\PIL\ImageFile.py", line 103, in init
File "site-packages\PIL\JpegImagePlugin.py", line 373, in _open
File "site-packages\PIL\JpegImagePlugin.py", line 139, in APP
UnboundLocalError: local variable 'photoshop' referenced before assignment
The URLs in question are these ones:
https://chan.sankakucomplex.com/post/show/7921258
https://chan.sankakucomplex.com/post/show/7921259
https://chan.sankakucomplex.com/post/show/7921260
I didn't specifically add the URLs, I did a tag search for "1girl lying_on_bed".
I've retried a few times and got the same error. Downloading the actual images and trying to import them manually results in the same error.
I'm using hydrus version 349 on Windows 10 Pro (version 1809).
It's not an issue for me since I don't care about these three files anyway, but I thought you might want to know.