cnr-isti-vclab / TagLab

A CNN based image segmentation tool oriented to marine data analysis
https://taglab.isti.cnr.it/
GNU General Public License v3.0
84 stars 33 forks source link

"Maps editor" Not available #59

Closed ihuanh closed 1 year ago

ihuanh commented 2 years ago

After update to ver 2022.10.13, TagLab crush when selecting the "Maps Editor" in Project. How can I fix this problem?

-- C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\rasterio__init.py:226: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned. s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs) Traceback (most recent call last): File "rasterio_base.pyx", line 216, in rasterio._base.DatasetBase.init__ File "rasterio_shim.pyx", line 78, in rasterio._shim.open_dataset File "rasterio_err.pyx", line 205, in rasterio._err.exc_wrap_pointer rasterio._err.CPLE_OpenFailedError: : No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "taglab.py", line 3076, in openProjectEditor self.projectEditor = QtProjectEditor(self.project, parent=self) File "C:\Users\user\Desktop\TagLab-main\source\QtProjectEditor.py", line 65, in init self.fillMaps() File "C:\Users\user\Desktop\TagLab-main\source\QtProjectEditor.py", line 86, in fillMaps self.text.append("Map georeference information" + " :

" + self.georefAvailable(img.georef_filename) + "
") File "C:\Users\user\Desktop\TagLab-main\source\QtProjectEditor.py", line 152, in georefAvailable img = rio.open(path) File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\rasterio\env.py", line 433, in wrapper return f(*args, kwds) File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\rasterio__init__.py", line 226, in open s = DatasetReader(path, driver=driver, sharing=sharing, kwargs) File "rasterio_base.pyx", line 218, in rasterio._base.DatasetBase.init rasterio.errors.RasterioIOError: : No such file or directory

maxcorsini commented 2 years ago

Thank you to report this bug. We have fixed it and created a new release.