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

problems with saving yaml #6

Closed
RSRCsupport opened this issue Dec 7, 2023 · 1 comment
Closed

problems with saving yaml #6

RSRCsupport opened this issue Dec 7, 2023 · 1 comment

Comments

@RSRCsupport
Copy link

Errror at saving the yaml file after doing editing in ThRasE
Traceback (most recent call last):
File "C:\PROGRA1\QGIS321.3\apps\Python39\lib\ntpath.py", line 647, in realpath
path = _getfinalpathname(path)
FileNotFoundError: [WinError 161] The specified path is invalid: 'Z:\editing_tiles2022\rba16Classes\416214_unchecked\type=xyz&url=https:\mt1.google.com\vt\lyrs%3Dy%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D&zmax=19&zmin=0&http-header:referer='

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users/borregoacevedor/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThRasE\utils\system_utils.py", line 36, in wrapper
return func(*args, **kwargs)
File "C:\Users/borregoacevedor/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThRasE\utils\system_utils.py", line 86, in wrapper
obj_returned = func(*args, **kwargs)
File "C:\Users/borregoacevedor/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThRasE\core\edition.py", line 439, in save_config
"layer_path": get_file_path_of_layer(active_layer.layer),
File "C:\Users/borregoacevedor/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThRasE\utils\qgis_utils.py", line 38, in get_file_path_of_layer
return os.path.realpath(layer.source().split("|layername")[0])
File "C:\PROGRA1\QGIS321.3\apps\Python39\lib\ntpath.py", line 651, in realpath
path = _getfinalpathname_nonstrict(path)
File "C:\PROGRA1\QGIS321.3\apps\Python39\lib\ntpath.py", line 601, in _getfinalpathname_nonstrict
path = _getfinalpathname(path)
FileNotFoundError: [WinError 161] The specified path is invalid: 'Z:\editing_tiles2022\rba16Classes\416214_unchecked\type=xyz&url=https:\mt1.google.com\vt\lyrs%3Dy%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D&zmax=19&zmin=0&http-header:referer='

@XavierCLL
Copy link
Member

Hi @RSRCsupport, thanks for reporting that issue,

It seems that you have a remote/online image in one of the windows in Thrase, this is something absolutely normal in the normal use in Thrase that I didn't test! hahah

I'm going to review it, thanks
Xavier

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

No branches or pull requests

2 participants