QGIS Python issue The Next CEO of Stack OverflowError in r.thin Qgis GRASS : Input raster must...
Does the Idaho Potato Commission associate potato skins with healthy eating?
Car headlights in a world without electricity
How to show a landlord what we have in savings?
Is a distribution that is normal, but highly skewed, considered Gaussian?
Read/write a pipe-delimited file line by line with some simple text manipulation
How to pronounce fünf in 45
My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?
Does Germany produce more waste than the US?
Masking layers by a vector polygon layer in QGIS
Could a dragon use its wings to swim?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
How do I secure a TV wall mount?
Is it reasonable to ask other researchers to send me their previous grant applications?
Physiological effects of huge anime eyes
Is a linearly independent set whose span is dense a Schauder basis?
Can Sri Krishna be called 'a person'?
How does a dynamic QR code work?
Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?
Is the sample correlation always positively correlated with the sample variance?
Does int main() need a declaration on C++?
"Eavesdropping" vs "Listen in on"
What did the word "leisure" mean in late 18th Century usage?
Which acid/base does a strong base/acid react when added to a buffer solution?
How dangerous is XSS
QGIS Python issue
The Next CEO of Stack OverflowError in r.thin Qgis GRASS : Input raster must be of type CELLHandling “bad layers” in QGIS version 1.9How to fix python ImportError: DLL load failed: The specified module could not be found?Couldn't load plugin PRISM due an error when calling its classFactory() method in QGIS1.8 inWin8QGIS: custom build, python error“Couldn't load plugin mmqgis due to an error when calling its classFactory() method”Problems with Python in QGIS 2.14 on UBUNTU 14.04No module named 'processing.core.AlgorithmProvider' in QGIS3QGIS, Python and GniPlannerFTTH ErrorImportError in Metasearch pluginInstall numba on QGIS using OSGeo4W
I am trying to do the raster to vector conversion in QGIS using GRASS plugins. Before actual conversion I am trying to do the raster thinning using R.thin option but I am getting a Python error.
Attached is the screenshot of the error that I am getting.
2018-09-17T16:28:12 WARNING warning:C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py:674: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_plugin__init__.py", line 26, in classFactory
from .openlayers_plugin import OpenlayersPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_plugin.py", line 33, in
from .openlayers_overview import OLOverview
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_overview.py", line 23, in
from .openlayers_ovwidget import OpenLayersOverviewWidget
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_ovwidget.py", line 32, in
from . import bindogr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginbindogr.py", line 1, in
from osgeo import ogr, osr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 21, in
_gdal = swig_import_helper()
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 8, in swig_import_helper
import imp
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libimp.py", line 33, in
DeprecationWarning, stacklevel=2)
2018-09-17T16:28:13 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py:152: DeprecationWarning: 'U' mode is deprecated
plugin = open(filename, 'rU')
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_services__init__.py", line 34, in classFactory
from .quick_map_services import QuickMapServices
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 41, in
from .qms_service_toolbox import QmsServiceToolbox
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 124, in
path.dirname(__file__), 'qms_service_toolbox.ui'))
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uic__init__.py", line 198, in loadUiType
winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, resource_suffix, import_from)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicCompilercompiler.py", line 53, in __init__
qtproxies.QtWidgets, CompilerCreatorPolicy())
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicuiparser.py", line 167, in __init__
self.factory = QObjectCreator(creatorPolicy)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 85, in __init__
if self.load_plugin(filename, plugin_globals, plugin_locals):
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 152, in load_plugin
plugin = open(filename, 'rU')
2018-09-17T16:28:15 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 346, in startPlugin
plugins[packageName].initGui()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 121, in initGui
self.init_server_panel()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 311, in init_server_panel
self.server_toolbox = QmsServiceToolbox(self.iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 155, in __init__
self.show_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 160, in show_news
qms_news = client.get_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_external_api_pythonapiapi_abstract.py", line 64, in get_news
response = get(url, verify=False)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsadapters.py", line 440, in send
timeout=timeout
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 858, in _validate_conn
InsecureRequestWarning)
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py:50: DeprecationWarning: invalid escape sequence .
_split_decimal = re.compile("([.,])")
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:197: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type("{kn}{name}").format(kn=TZKEYNAME, name=name)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:247: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type('{kn}{sn}').format(kn=TZKEYNAME,
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
error log for grass>>>> 2018-09-19T10:37:00
INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
2018-09-19T10:41:44 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:41:44 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.null map=rast_5ba20bc8f322a3 null=1 --overwrite']
error log for grass>>>>> 2018-09-19T10:37:00 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:\Priyanka\prediction_layer\predictions-chad-small-50%\pyramid\4\shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
qgis python raster pyqgis vectorization
|
show 4 more comments
I am trying to do the raster to vector conversion in QGIS using GRASS plugins. Before actual conversion I am trying to do the raster thinning using R.thin option but I am getting a Python error.
Attached is the screenshot of the error that I am getting.
2018-09-17T16:28:12 WARNING warning:C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py:674: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_plugin__init__.py", line 26, in classFactory
from .openlayers_plugin import OpenlayersPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_plugin.py", line 33, in
from .openlayers_overview import OLOverview
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_overview.py", line 23, in
from .openlayers_ovwidget import OpenLayersOverviewWidget
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_ovwidget.py", line 32, in
from . import bindogr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginbindogr.py", line 1, in
from osgeo import ogr, osr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 21, in
_gdal = swig_import_helper()
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 8, in swig_import_helper
import imp
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libimp.py", line 33, in
DeprecationWarning, stacklevel=2)
2018-09-17T16:28:13 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py:152: DeprecationWarning: 'U' mode is deprecated
plugin = open(filename, 'rU')
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_services__init__.py", line 34, in classFactory
from .quick_map_services import QuickMapServices
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 41, in
from .qms_service_toolbox import QmsServiceToolbox
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 124, in
path.dirname(__file__), 'qms_service_toolbox.ui'))
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uic__init__.py", line 198, in loadUiType
winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, resource_suffix, import_from)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicCompilercompiler.py", line 53, in __init__
qtproxies.QtWidgets, CompilerCreatorPolicy())
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicuiparser.py", line 167, in __init__
self.factory = QObjectCreator(creatorPolicy)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 85, in __init__
if self.load_plugin(filename, plugin_globals, plugin_locals):
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 152, in load_plugin
plugin = open(filename, 'rU')
2018-09-17T16:28:15 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 346, in startPlugin
plugins[packageName].initGui()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 121, in initGui
self.init_server_panel()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 311, in init_server_panel
self.server_toolbox = QmsServiceToolbox(self.iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 155, in __init__
self.show_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 160, in show_news
qms_news = client.get_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_external_api_pythonapiapi_abstract.py", line 64, in get_news
response = get(url, verify=False)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsadapters.py", line 440, in send
timeout=timeout
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 858, in _validate_conn
InsecureRequestWarning)
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py:50: DeprecationWarning: invalid escape sequence .
_split_decimal = re.compile("([.,])")
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:197: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type("{kn}{name}").format(kn=TZKEYNAME, name=name)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:247: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type('{kn}{sn}').format(kn=TZKEYNAME,
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
error log for grass>>>> 2018-09-19T10:37:00
INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
2018-09-19T10:41:44 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:41:44 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.null map=rast_5ba20bc8f322a3 null=1 --overwrite']
error log for grass>>>>> 2018-09-19T10:37:00 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:\Priyanka\prediction_layer\predictions-chad-small-50%\pyramid\4\shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
qgis python raster pyqgis vectorization
2
use a code formatted ({}
button above the question pane when creating/editing) text representation instead of screenshots for code and error messages; that way, the text is select- and parsable.
– ThingumaBob
Sep 18 '18 at 10:16
1
not in comments, edit your answer ,)
– ThingumaBob
Sep 18 '18 at 11:09
added the error message in text.
– Priya D
Sep 18 '18 at 11:10
I am not sure if Python-DeprecationWarning
has any significance. Instead, will you post the Grass7 log? You will find a Grass7 tab at the right-hand-side of thePython warning
tab.
– Kazuhito
Sep 18 '18 at 20:04
ok @Kazuhito i will post the grass log
– Priya D
Sep 19 '18 at 8:34
|
show 4 more comments
I am trying to do the raster to vector conversion in QGIS using GRASS plugins. Before actual conversion I am trying to do the raster thinning using R.thin option but I am getting a Python error.
Attached is the screenshot of the error that I am getting.
2018-09-17T16:28:12 WARNING warning:C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py:674: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_plugin__init__.py", line 26, in classFactory
from .openlayers_plugin import OpenlayersPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_plugin.py", line 33, in
from .openlayers_overview import OLOverview
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_overview.py", line 23, in
from .openlayers_ovwidget import OpenLayersOverviewWidget
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_ovwidget.py", line 32, in
from . import bindogr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginbindogr.py", line 1, in
from osgeo import ogr, osr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 21, in
_gdal = swig_import_helper()
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 8, in swig_import_helper
import imp
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libimp.py", line 33, in
DeprecationWarning, stacklevel=2)
2018-09-17T16:28:13 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py:152: DeprecationWarning: 'U' mode is deprecated
plugin = open(filename, 'rU')
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_services__init__.py", line 34, in classFactory
from .quick_map_services import QuickMapServices
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 41, in
from .qms_service_toolbox import QmsServiceToolbox
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 124, in
path.dirname(__file__), 'qms_service_toolbox.ui'))
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uic__init__.py", line 198, in loadUiType
winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, resource_suffix, import_from)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicCompilercompiler.py", line 53, in __init__
qtproxies.QtWidgets, CompilerCreatorPolicy())
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicuiparser.py", line 167, in __init__
self.factory = QObjectCreator(creatorPolicy)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 85, in __init__
if self.load_plugin(filename, plugin_globals, plugin_locals):
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 152, in load_plugin
plugin = open(filename, 'rU')
2018-09-17T16:28:15 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 346, in startPlugin
plugins[packageName].initGui()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 121, in initGui
self.init_server_panel()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 311, in init_server_panel
self.server_toolbox = QmsServiceToolbox(self.iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 155, in __init__
self.show_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 160, in show_news
qms_news = client.get_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_external_api_pythonapiapi_abstract.py", line 64, in get_news
response = get(url, verify=False)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsadapters.py", line 440, in send
timeout=timeout
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 858, in _validate_conn
InsecureRequestWarning)
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py:50: DeprecationWarning: invalid escape sequence .
_split_decimal = re.compile("([.,])")
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:197: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type("{kn}{name}").format(kn=TZKEYNAME, name=name)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:247: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type('{kn}{sn}').format(kn=TZKEYNAME,
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
error log for grass>>>> 2018-09-19T10:37:00
INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
2018-09-19T10:41:44 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:41:44 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.null map=rast_5ba20bc8f322a3 null=1 --overwrite']
error log for grass>>>>> 2018-09-19T10:37:00 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:\Priyanka\prediction_layer\predictions-chad-small-50%\pyramid\4\shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
qgis python raster pyqgis vectorization
I am trying to do the raster to vector conversion in QGIS using GRASS plugins. Before actual conversion I am trying to do the raster thinning using R.thin option but I am getting a Python error.
Attached is the screenshot of the error that I am getting.
2018-09-17T16:28:12 WARNING warning:C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py:674: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_plugin__init__.py", line 26, in classFactory
from .openlayers_plugin import OpenlayersPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_plugin.py", line 33, in
from .openlayers_overview import OLOverview
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_overview.py", line 23, in
from .openlayers_ovwidget import OpenLayersOverviewWidget
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginopenlayers_ovwidget.py", line 32, in
from . import bindogr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsopenlayers_pluginbindogr.py", line 1, in
from osgeo import ogr, osr
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 21, in
_gdal = swig_import_helper()
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesosgeo__init__.py", line 8, in swig_import_helper
import imp
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libimp.py", line 33, in
DeprecationWarning, stacklevel=2)
2018-09-17T16:28:13 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py:152: DeprecationWarning: 'U' mode is deprecated
plugin = open(filename, 'rU')
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_services__init__.py", line 34, in classFactory
from .quick_map_services import QuickMapServices
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 41, in
from .qms_service_toolbox import QmsServiceToolbox
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 124, in
path.dirname(__file__), 'qms_service_toolbox.ui'))
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uic__init__.py", line 198, in loadUiType
winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, resource_suffix, import_from)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicCompilercompiler.py", line 53, in __init__
qtproxies.QtWidgets, CompilerCreatorPolicy())
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicuiparser.py", line 167, in __init__
self.factory = QObjectCreator(creatorPolicy)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 85, in __init__
if self.load_plugin(filename, plugin_globals, plugin_locals):
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesPyQt5uicobjcreator.py", line 152, in load_plugin
plugin = open(filename, 'rU')
2018-09-17T16:28:15 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 346, in startPlugin
plugins[packageName].initGui()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 121, in initGui
self.init_server_panel()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesquick_map_services.py", line 311, in init_server_panel
self.server_toolbox = QmsServiceToolbox(self.iface)
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 155, in __init__
self.show_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_service_toolbox.py", line 160, in show_news
qms_news = client.get_news()
File "C:/Users/dandekar/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsquick_map_servicesqms_external_api_pythonapiapi_abstract.py", line 64, in get_news
response = get(url, verify=False)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsapi.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestssessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesrequestsadapters.py", line 440, in send
timeout=timeout
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesurllib3connectionpool.py", line 858, in _validate_conn
InsecureRequestWarning)
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py:50: DeprecationWarning: invalid escape sequence .
_split_decimal = re.compile("([.,])")
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:197: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type("{kn}{name}").format(kn=TZKEYNAME, name=name)
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
2018-09-17T16:28:16 WARNING warning:C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltzwin.py:247: DeprecationWarning: invalid escape sequence {
tzkeyname = text_type('{kn}{sn}').format(kn=TZKEYNAME,
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 337, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearch__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchplugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/pluginsMetaSearchdialogsmaindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibcsw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesowslibutil.py", line 13, in
from dateutil import parser
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutilparser.py", line 43, in
from . import tz
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1009, in _handle_fromlist
File "", line 205, in _call_with_frames_removed
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltz__init__.py", line 1, in
from .tz import *
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "C:PROGRA~1QGIS3~1.2appsPython36libsite-packagesdateutiltztz.py", line 27, in
from .win import tzwin, tzwinlocal
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./pythonqgisutils.py", line 674, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 205, in _call_with_frames_removed
error log for grass>>>> 2018-09-19T10:37:00
INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
2018-09-19T10:41:44 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:41:44 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.in.gdal input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20bc8f322a3" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.null map=rast_5ba20bc8f322a3 null=1 --overwrite']
error log for grass>>>>> 2018-09-19T10:37:00 INFO processInputs end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:\Priyanka\prediction_layer\predictions-chad-small-50%\pyramid\4\shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05']
2018-09-19T10:37:00 INFO processCommands end. Commands: ['g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"', 'r.external input="C:Priyankaprediction_layerpredictions-chad-small-50%pyramid4shape_1_1.tif" band=1 output="rast_5ba20aac806c92" --overwrite -o', 'g.region n=13.25866 s=13.157051143019086 e=18.39935302734376 w=18.28125 res=8.583068847657025e-05', 'r.thin input=rast_5ba20aac806c92 iterations=200 output=outputcb88fcff766e4387a47a5c6f5f9e3d68 --overwrite']
qgis python raster pyqgis vectorization
qgis python raster pyqgis vectorization
edited 17 mins ago
Vince
14.8k32849
14.8k32849
asked Sep 18 '18 at 9:32
Priya DPriya D
72
72
2
use a code formatted ({}
button above the question pane when creating/editing) text representation instead of screenshots for code and error messages; that way, the text is select- and parsable.
– ThingumaBob
Sep 18 '18 at 10:16
1
not in comments, edit your answer ,)
– ThingumaBob
Sep 18 '18 at 11:09
added the error message in text.
– Priya D
Sep 18 '18 at 11:10
I am not sure if Python-DeprecationWarning
has any significance. Instead, will you post the Grass7 log? You will find a Grass7 tab at the right-hand-side of thePython warning
tab.
– Kazuhito
Sep 18 '18 at 20:04
ok @Kazuhito i will post the grass log
– Priya D
Sep 19 '18 at 8:34
|
show 4 more comments
2
use a code formatted ({}
button above the question pane when creating/editing) text representation instead of screenshots for code and error messages; that way, the text is select- and parsable.
– ThingumaBob
Sep 18 '18 at 10:16
1
not in comments, edit your answer ,)
– ThingumaBob
Sep 18 '18 at 11:09
added the error message in text.
– Priya D
Sep 18 '18 at 11:10
I am not sure if Python-DeprecationWarning
has any significance. Instead, will you post the Grass7 log? You will find a Grass7 tab at the right-hand-side of thePython warning
tab.
– Kazuhito
Sep 18 '18 at 20:04
ok @Kazuhito i will post the grass log
– Priya D
Sep 19 '18 at 8:34
2
2
use a code formatted (
{}
button above the question pane when creating/editing) text representation instead of screenshots for code and error messages; that way, the text is select- and parsable.– ThingumaBob
Sep 18 '18 at 10:16
use a code formatted (
{}
button above the question pane when creating/editing) text representation instead of screenshots for code and error messages; that way, the text is select- and parsable.– ThingumaBob
Sep 18 '18 at 10:16
1
1
not in comments, edit your answer ,)
– ThingumaBob
Sep 18 '18 at 11:09
not in comments, edit your answer ,)
– ThingumaBob
Sep 18 '18 at 11:09
added the error message in text.
– Priya D
Sep 18 '18 at 11:10
added the error message in text.
– Priya D
Sep 18 '18 at 11:10
I am not sure if Python-
DeprecationWarning
has any significance. Instead, will you post the Grass7 log? You will find a Grass7 tab at the right-hand-side of the Python warning
tab.– Kazuhito
Sep 18 '18 at 20:04
I am not sure if Python-
DeprecationWarning
has any significance. Instead, will you post the Grass7 log? You will find a Grass7 tab at the right-hand-side of the Python warning
tab.– Kazuhito
Sep 18 '18 at 20:04
ok @Kazuhito i will post the grass log
– Priya D
Sep 19 '18 at 8:34
ok @Kazuhito i will post the grass log
– Priya D
Sep 19 '18 at 8:34
|
show 4 more comments
0
active
oldest
votes
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f296272%2fqgis-python-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f296272%2fqgis-python-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
use a code formatted (
{}
button above the question pane when creating/editing) text representation instead of screenshots for code and error messages; that way, the text is select- and parsable.– ThingumaBob
Sep 18 '18 at 10:16
1
not in comments, edit your answer ,)
– ThingumaBob
Sep 18 '18 at 11:09
added the error message in text.
– Priya D
Sep 18 '18 at 11:10
I am not sure if Python-
DeprecationWarning
has any significance. Instead, will you post the Grass7 log? You will find a Grass7 tab at the right-hand-side of thePython warning
tab.– Kazuhito
Sep 18 '18 at 20:04
ok @Kazuhito i will post the grass log
– Priya D
Sep 19 '18 at 8:34