MAD icon indicating copy to clipboard operation
MAD copied to clipboard

Bug in the routefree option for pokestop areas

Open gcm-explo1t opened this issue 4 years ago • 7 comments

When i switched my pokestop areas to routefree, i suddenly got following error on the logs multiple times and the quest scan did not work:

http://paste.debian.net/hidden/43b452e1/

More logs can be provided if needed

gcm-explo1t avatar Jun 14 '20 01:06 gcm-explo1t

have you installed the ortools? https://mad-docs.readthedocs.io/en/latest/server-setup/#mad

temp666 avatar Jun 14 '20 04:06 temp666

have you installed the ortools? https://mad-docs.readthedocs.io/en/latest/server-setup/#mad

War bisher noch nicht installiert, werde es heute Nacht probieren.

gcm-explo1t avatar Jun 14 '20 16:06 gcm-explo1t

I have the same probleme with route ( regular not routefree). Route already calc is finish and check if stop in DB not present on route . Compute new route ( same algo routefree ? ) and crash .
https://pastebin.com/raw/pWLvAYCm

The probleme is present when click on admin page for recalc route. https://pastebin.com/raw/UZ35XRBQ

korentzari avatar Jun 14 '20 17:06 korentzari

pip3 install ortools as fixed problem for moment.

korentzari avatar Jun 14 '20 17:06 korentzari

"route" fallback has been fixed. It should now properly switch over to the "quick" route calculation mode if ortools is not installed.

@gcm-explo1t I need more information when/where the error occurs. Please add a few more lines above of that actual exception.

sn0opy avatar Jun 14 '20 18:06 sn0opy

@sn0opy problem is also solved for me after i installed ortools. So i would probably add a warning, that ortools is mandatory for routefree.

gcm-explo1t avatar Jun 15 '20 06:06 gcm-explo1t

Installing ortools is not really a fix since it's not available on all systems and the routefree mode should not rely on it.

sn0opy avatar Jun 15 '20 07:06 sn0opy