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 on Win10 with OQ3.11 and IRMT3.11.2 #772

Open
ptormene opened this issue Mar 17, 2021 · 1 comment
Open

Error on Win10 with OQ3.11 and IRMT3.11.2 #772

ptormene opened this issue Mar 17, 2021 · 1 comment

Comments

@ptormene
Copy link
Member

Traceback (most recent call last):
  File "C:/Users/paulh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\svir\dialogs\drive_oq_engine_server_dialog.py", line 965, in 
    output, action, outtype, calculation_mode)))
  File "C:/Users/paulh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\svir\dialogs\drive_oq_engine_server_dialog.py", line 1002, in on_output_action_btn_clicked
    output_id, output_type, calculation_mode=calculation_mode)
  File "C:/Users/paulh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\svir\dialogs\drive_oq_engine_server_dialog.py", line 1072, in open_output
    calculation_mode=calculation_mode)
  File "C:/Users/paulh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\svir\dialogs\load_avg_losses_rlzs_as_layer_dialog.py", line 49, in __init__
    calculation_mode=calculation_mode)
  File "C:/Users/paulh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\svir\dialogs\load_output_as_layer_dialog.py", line 122, in __init__
    self.oqparam = self.drive_engine_dlg.get_oqparam()
  File "C:/Users/paulh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\svir\dialogs\drive_oq_engine_server_dialog.py", line 821, in get_oqparam
    return json.loads(js)
  File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\json\__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid \escape: line 2 column 17 (char 18)
@ptormene
Copy link
Member Author

ptormene commented Mar 19, 2021

The error turned out to be OQ-Engine side, and it was fixed in gem/oq-engine#6632
Until the next release of the OQ-Engine, however, this issue is going to keep occurring on Windows.

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

No branches or pull requests

1 participant