This repository was archived by the owner on May 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
This repository was archived by the owner on May 4, 2021. It is now read-only.
Windows error on resize #145
Copy link
Copy link
Open
Description
This error only happens for a few images. The rest of the images are resized correctly. here is the traceback:
Traceback (most recent call last):
File ".\run-pipeline.py", line 300, in run
self._pl, self._log, prsig=self._prsig, stsig=self._stsig)
File ".\run-pipeline.py", line 244, in runPipeline
result = pl.process(ctx, [img], plConf.general.visualise)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\timestream-ddfae7d-py2.7.egg\timestream\manipulate\pipeline.py", line 96, in pr
ocess
res = elem(contArgs, *res)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\timestream-ddfae7d-py2.7.egg\timestream\manipulate\pipecomponents.py", line 109
, in __call__
retVal = self.__exec__(context, *args)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\timestream-ddfae7d-py2.7.egg\timestream\manipulate\pipecomponents.py", line 109
1, in __exec__
img.pixels = skimage.transform.resize(img.pixels, self.resolution)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\timestream-ddfae7d-py2.7.egg\timestream\__init__.py", line 925, in pixels
self.read(fpath=self._path)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\timestream-ddfae7d-py2.7.egg\timestream\__init__.py", line 809, in read
self._pixels = read_image(fpath)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\timestream-ddfae7d-py2.7.egg\timestream\parse\__init__.py", line 370, in read_i
mage
return skimage.io.imread(path, plugin="freeimage")
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\skimage\io\_io.py", line 97, in imread
img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\skimage\io\manage_plugins.py", line 209, in call_plugin
return func(*args, **kwargs)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\skimage\io\_plugins\freeimage_plugin.py", line 678, in imread
img = read(filename)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\skimage\io\_plugins\freeimage_plugin.py", line 400, in read
return _process_bitmap(filename, flags, _array_from_bitmap)
File "C:\Users\Phenocam Admin\Desktop\virtenvs\timestreamlib\lib\site-packages
\skimage\io\_plugins\freeimage_plugin.py", line 382, in _process_bitmap
bitmap = _FI.FreeImage_Load(ftype, filename, flags)
WindowsError: exception: access violation writing 0x0000000000000019
Metadata
Metadata
Assignees
Labels
No labels