YunoHost-Apps / facilmap_ynh

Facilmap package for YunoHost
https://facilmap.org/
GNU Affero General Public License v3.0
6 stars 3 forks source link

No routes calculation #13

Open cloo opened 2 years ago

cloo commented 2 years ago

Fresh install of Facilmap with all API tokens and licenses filled does not calculate routes.

Context

Steps to reproduce

  1. Go to FacilMap via browser
  2. Select "Route" tab
  3. Input any two points to calculate route between them and click "Go"
  4. See error: Error calculating route. Route could not be calculated (undefined). 211121-140713

Expected behavior

A route should be calculated and displayed

Logs

No relevant logs found. Installation log without issues

jlnbdt commented 1 year ago

Hi,

Any news about this? I've the exact same problem, and no logs in /var/facilmap.

Thanks.

cdauth commented 1 year ago

It seems that the way that the Mapbox server returns errors has changed, hence the error message is not correctly passed to the user. That's why it says undefined...

I can only imagine that the problem is that your Mapbox API key is wrong.

I have created FacilMap/facilmap#230 to improve the error message.

jlnbdt commented 1 year ago

Thank you. It seems to work after deleting URLs in Mapbox token configuration.