-
Notifications
You must be signed in to change notification settings - Fork 47
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
motis generate tool gets stuck with wrong configurated date #438
Comments
Might be entirely unrelated but I also managed to produce an infinite loop (log output shows a continuous stream of operations between So hardening against that seems like a good idea indeed, although that might very well be easier said than done. |
I guess those two problems are unrelated. The The If someone feels like fixing it, those loops would require a breaking condition of maybe 10000 iterations until something like motis/modules/intermodal/src/eval/generator/intermodal_generator.cc Lines 359 to 368 in fa978f6
motis/modules/intermodal/src/eval/generator/intermodal_generator.cc Lines 726 to 735 in fa978f6
motis/modules/intermodal/src/eval/generator/intermodal_generator.cc Lines 702 to 704 in fa978f6
I would prioritize fixing the infinite loop that can occur in production way higher than the developer support tooling. |
Thanks for the pointers, I'll see if I can break my loop with those. |
Oops, I should not have mixed the issues. These loops are all in the motis/base/module/include/motis/module/context/motis_call.h Lines 12 to 25 in 8b6cbec
|
Fixed in nigiri benchmark. |
When I execute the
motis generate
tool with a generate-config.ini as following:the tool gets stuck and doesn't finish, even if its only one query to generate.
The GTFS dataset is newer and therefore does not provide trips for such an old date. Additionally the config.ini to run the server is also set to TODAY, instead of the outdated date.
Not a big deal (for me), as I figured out what the problem was, but for your information and in case someone else has a similar problem, this issue can be the reference on how to fix it. Additionally it would be nice to have a error message, explaining the issue, instead of just getting stuck.
The text was updated successfully, but these errors were encountered: