Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the logs, in the QuickOSM panel #249

Closed
pleasehelppaula opened this issue Sep 16, 2020 · 9 comments
Closed

Error in the logs, in the QuickOSM panel #249

pleasehelppaula opened this issue Sep 16, 2020 · 9 comments
Labels
bug An identified bug

Comments

@pleasehelppaula
Copy link

What is the bug?

I type the necessary information in to QuickOSM, when I click "Run Query" I get a red warning saying "Error in the logs, .."

This is what the log says

_2020-09-16T20:09:29 INFO QueryFactory: the key is "boundary" and the value is "administrative"
2020-09-16T20:09:29 INFO Query: boundary_administrative_Prague
2020-09-16T20:09:29 INFO Request completed
2020-09-16T20:09:29 CRITICAL A critical error occurred, this is the traceback:
2020-09-16T20:09:29 CRITICAL
2020-09-16T20:09:29 CRITICAL base_processing_panel.py
2020-09-16T20:09:29 CRITICAL 'ascii' codec can't decode byte 0xc2 in position 39: ordinal not in range(128)
2020-09-16T20:09:29 CRITICAL File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 36, in run
self._run()

          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 167, in _run
          output_geometry_types=properties['outputs'])
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 256, in process_quick_query
          layer_name=layer_name)
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 187, in process_query
          final_query = query.prepare_query()
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/query_preparation.py", line 274, in prepare_query
          self._replace_geocode_area()
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/query_preparation.py", line 245, in _replace_geocode_area
          m.groups()[1], self._places), self._query_prepared)
         
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/re.py", line 191, in sub
          return _compile(pattern, flags).sub(repl, string, count)
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/query_preparation.py", line 245, in 
          m.groups()[1], self._places), self._query_prepared)
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/query_preparation.py", line 224, in replace
          osm_id = self._nominatim.get_first_polygon_from_query(search)
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/api/nominatim.py", line 109, in get_first_polygon_from_query
          data = self.query(query)
         
          File "/Users/Paula/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/api/nominatim.py", line 95, in query
          data = json.load(json_file)
         
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 296, in load
          return loads(fp.read(),
         
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/ascii.py", line 26, in decode
          return codecs.ascii_decode(input, self.errors)[0]_
  • QuickOSM version: Licence GPL Version 2
  • QGIS version: 3.8.3-Zanzibar

Bildschirmfoto 2020-09-16 um 20 44 31

  • OS: openstreetmap

(sorry if the description is not complete, I am not an experienced qgis user and don't know better)

@pleasehelppaula pleasehelppaula added the bug An identified bug label Sep 16, 2020
@Gustry
Copy link
Member

Gustry commented Sep 17, 2020

(sorry if the description is not complete, I am not an experienced qgis user and don't know better)

You did well. Thanks for the bug report.

This issue has already been identified and will be fixed soon
#240

QGIS version: 3.8.3-Zanzibar

By the way, you should update, QGIS 3.8.3 is old and not maintained anymore.

@maryoflores
Copy link

me aparece asi,no se que hacer ayudame con alguna solucionar,puede indicame que debo hacer recien eempiezo a uitlizar qgis
image

@maryoflores
Copy link

image
ayudaaaaaaaaaaaaaaaaaaa que debo hacer

@Gustry
Copy link
Member

Gustry commented Jan 16, 2023

#422

@lana2115
Copy link

Hi! I also have a problem with this:

2024-04-12T14:56:25 CRITICAL A critical error occurred, this is the traceback:
2024-04-12T14:56:25 CRITICAL
2024-04-12T14:56:25 CRITICAL base_processing_panel.py
2024-04-12T14:56:25 CRITICAL Error: Algorithm qgis:checkvalidity not found

2024-04-12T14:56:25 CRITICAL File "C:\Users/PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run

@Gustry
Copy link
Member

Gustry commented Apr 12, 2024

@lana2115 Just read the comment just before.

@lana2115
Copy link

@lana2115 Just read the comment just before.

how can I fix it?

@Gustry
Copy link
Member

Gustry commented Apr 12, 2024

@lana2115 Just read the comment just before, you can fix it

@esuaah
Copy link

esuaah commented Sep 4, 2024

[out:xml] [timeout:75];
(
node["waterway"="river"]["landuse"="forest"]"landuse"="residential";
way["waterway"="river"]["landuse"="forest"]"landuse"="residential";
relation["waterway"="river"]["landuse"="forest"]"landuse"="residential";
);
(._;>;);
out meta;
this my error

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

No branches or pull requests

5 participants