Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/opt/hydrus/include/ClientImporting.py", line 662, in _WorkOnFiles
- ( status, hash ) = HydrusGlobals.client_controller.WriteSynchronous( 'import_file', path, import_file_options = self._import_file_options )
- File "/opt/hydrus/include/HydrusController.py", line 239, in WriteSynchronous
- return self._Write( action, HC.LOW_PRIORITY, True, *args, **kwargs )
- File "/opt/hydrus/include/HydrusController.py", line 74, in _Write
- result = self._db.Write( action, priority, synchronous, *args, **kwargs )
- File "/opt/hydrus/include/HydrusDB.py", line 335, in Write
- if synchronous: return job.GetResult()
- File "/opt/hydrus/include/HydrusData.py", line 1353, in GetResult
- raise HydrusExceptions.DBException( text, caller_traceback, db_traceback )
- DBException: (u"'module' object has no attribute 'CV_LOAD_IMAGE_UNCHANGED'", 'Stack Trace (most recent call last):\n\n File "/usr/lib64/python2.7/threading.py", line 783, in __bootstrap\n self.__bootstrap_inner()\n\n File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner\n self.run()\n\n File "/usr/lib64/python2.7/threading.py", line 763, in run\n self.__target(*self.__args, **self.__kwargs)\n\n File "/opt/hydrus/include/ClientImporting.py", line 730, in _THREADWork\n self._WorkOnFiles( page_key )\n\n File "/opt/hydrus/include/ClientImporting.py", line 662, in _WorkOnFiles\n ( status, hash ) = HydrusGlobals.client_controller.WriteSynchronous( \'import_file\', path, import_file_options = self._import_file_options )\n\n File "/opt/hydrus/include/HydrusController.py", line 239, in WriteSynchronous\n return self._Write( action, HC.LOW_PRIORITY, True, *args, **kwargs )\n\n File "/opt/hydrus/include/HydrusController.py", line 74, in _Write\n result = self._db.Write( action, priority, synchronous, *args, **kwargs )\n\n File "/opt/hydrus/include/HydrusDB.py", line 335, in Write\n if synchronous: return job.GetResult()\n\n File "/opt/hydrus/include/HydrusData.py", line 1349, in GetResult\n trace_list = traceback.format_stack()\n', 'Traceback (most recent call last):\n\n File "/opt/hydrus/include/HydrusDB.py", line 196, in _ProcessJob\n elif job_type in ( \'write\', \'write_special\' ): result = self._Write( action, *args, **kwargs )\n\n File "/opt/hydrus/include/ClientDB.py", line 6570, in _Write\n elif action == \'import_file\': result = self._ImportFile( *args, **kwargs )\n\n File "/opt/hydrus/include/ClientDB.py", line 4039, in _ImportFile\n self._AddThumbnails( [ ( hash, thumbnail ) ] )\n\n File "/opt/hydrus/include/ClientDB.py", line 1141, in _AddThumbnails\n phash = HydrusImageHandling.GeneratePerceptualHash( thumbnail_path )\n\n File "/opt/hydrus/include/HydrusImageHandling.py", line 130, in GeneratePerceptualHash\n numpy_image = cv2.imread( path, cv2.CV_LOAD_IMAGE_UNCHANGED )\n\nAttributeError: \'module\' object has no attribute \'CV_LOAD_IMAGE_UNCHANGED\'\n')
Add Comment
Please, Sign In to add comment