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

Issue with the 'Create False Negative/Positive Layer' tool in TE v 2.1.6 [Spanish] #752

Closed
franklinp1975 opened this issue Dec 13, 2022 · 4 comments
Assignees
Labels

Comments

@franklinp1975
Copy link

Hi TE team,

I executed the entire protocol [i.e., from 'Settings/ Custom Land Cover Classes' to 'Generate data package for UNCCD reporting'] using TE (v 2.1.6 in Spanish - revision fed0f99, 2012/12/08 22:03:09Z) and Costa Rica's custom land covers [i.e., 2001, 2015, and 2019]. No issues were found, except for the 'Create False Negative/Positive Layer' tool, which did not detect any previous rasters [I chose the Natural Earth boundary for Costa Rica; all previous algorithms worked fine].

imagen

In addition, this message is displayed:
"2022-12-13T16:10:22 WARNING Traceback (most recent call last):
File"C:\Users/SENTINEL/AppData/Roaming/QGIS/QGIS3\profiles\SpanishWebinars/python/plugins\LDMP\select_dataset.py", line 69, in run_settings
self.iface.showOptionsDialog(currentPage=OPTIONS_TITLE)
AttributeError: 'DlgSelectDataset' object has no attribute 'iface'"

Thanks in advance.

-Franklin

@azvoleff azvoleff self-assigned this Jan 9, 2023
@azvoleff azvoleff added the Bug label Jan 9, 2023
@azvoleff
Copy link
Contributor

azvoleff commented Jan 9, 2023

@gdaldegan - can you see if you can reproduce this in the latest zipfile version of the plugin? The AttributeError: 'DlgSelectDataset' object has no attribute 'iface'" Franklin mentions I know is fixed, and I think the issue of not having false pos/negative layers show up is fixed as well, but need to check that.

@azvoleff azvoleff assigned gdaldegan and unassigned azvoleff Jan 9, 2023
@gdaldegan
Copy link
Contributor

gdaldegan commented Jan 9, 2023

getting a TypeError 'int' object is not iterable when I change the language of QGIS from/to English/Spanish/Portuguese/French

Algo getting AttributeError 'NoneType' object has no attribute 'pushButton_download' after loading the custom lc classes in Settings

@gdaldegan
Copy link
Contributor

gdaldegan commented Jan 11, 2023

currently running TE version 794ea40, 2023/01/09 19:56:52Z and facing the issue above described by Franklin, when QGIS is set to other language than English. False positive/negative dialog is only recognizing the Productivity Degradation raster, all other fields are left blank:

Screenshot_20230111_094255

When QGIS is set to English language, all fields are automatically populated:
Screenshot_20230111_100008

@gdaldegan
Copy link
Contributor

When False Positive/Negative tools is functional (QGIS is set to English), the following Py Error is popping up while creating a vector delineating the area to recode: AttributeError type object 'Qgis' has no attribute 'AvoidIntersectionsMode'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants