I recently downloaded the OSR Tools plugin for QGIS and added in an API key. When I try to get ischrones for a layer within my project I get the following error. I am using this tool within work, could an internal firewall be the cause to the error?
I might start to look at this today. Since I don’t have proxies available and I’m a networking noob and don’t wanna deal with the overhead of emulating a proper environment (and you’re the last person who inquired about this):
when I come up with a draft, can you check on your end if it’s working for you? If you’re not using it already, use the QGIS Proxy settings to test this, as I’ll avoid using custom proxies:
Hi @nils, can do! Could you send the updated plugin via email?? There are various security settings within my workplace that stop me from downloading external content and it takes ages to go through the process via IT. If you send me it via email I will be able to test it ASAP. finbar.gillen@axa.ie
Nope, I tried as zip and tar.gz, both are rejected by your mail server. The zip mail returned this:
A mail with subject "Proxy Test QGIS" from nils@openrouteservice.org to Finbar.Gillen@axaie365.axa365pr.com was quarantined as it may contravene AXA's company e-mail policy.
AXA Ireland Information Security Standards
http://ieswthsrv006/knowledge_base/compliance_standards/?ELEMENT_ID=2864&SECTION_ID=395
If your e-mail is of valid business content the IT Department will release it automatically.
To contact IT Helpdesk : Phone EXTN 5555
Date: 29 Mar 2019 10:08:07 -0000
Message: 37026361
Either get it from your IT admin or let me know in what way you’re able to exchange data.
Try and send it to fgillen1@hotmail.co.uk. If I can’t download it from that then you will have to give m a download link and I will try and get IT to pass it.
I just uploaded a new version to the repository, should be availbable within the day. I don’t know if it fixes things, since I don’t have a proxy available, but it should.
If you wanna try right now, get the zip and copy the ORSTools folder to your local plugin directory:
The batch isochrone function works fine for me. Wondering if anyone else is having issues with the ‘Generate Matrix’ function? I am using two sets of points, where the numbers are both below the restrictions set out in the documentation and both are the same projection.
No rush on this being fixed… just highlighting potential issue.
Getting the following error:
Traceback (most recent call last):
File “C:/Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\matrix_proc.py”, line 239, in processAlgorithm
response = clnt.request(provider[‘endpoints’][self.ALGO_NAME], get_params, post_json=params)
File “C:/Users/username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\core\client.py”, line 175, in request
blocking=True)
File “C:/Users/st9fg1/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\core\networkaccessmanager.py”, line 220, in request
self.reply = func(req, body)
TypeError: arguments did not match any overloaded call:
post(self, QNetworkRequest, QIODevice): argument 2 has unexpected type ‘dict’
post(self, QNetworkRequest, Union[QByteArray, bytes, bytearray]): argument 2 has unexpected type ‘dict’
post(self, QNetworkRequest, QHttpMultiPart): argument 2 has unexpected type ‘dict’