-
Notifications
You must be signed in to change notification settings - Fork 28
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
prime_server.cpp:455 proxy_t: bad_function_call #101
Comments
looks like somehow the choose functor gets called even when its not set (the default) |
HI @kevinkreiser |
@chaitu2chowdary Since I have you here what platform are you on? I can't reproduce it on mine or in CI. I'm wondering if somehow |
Hi, @chaitu2chowdary in the first attempt, I followed the instructions for installing the prime server from https://gis-ops.com/valhalla-part-1-how-to-install-on-ubuntu/, but after that I installed the prime server following the instructions from https://github.com/kevinkreiser/prime_server and now it works. I use ubuntu 20.0.4. |
Hi @kevinkreiser when I run 'make test -j8' command, I have some failed tests.
I ignored the test and executed this command 'sudo make install'
|
Hi @bmarcco
|
Those instructions don't work for me either anymore, but I'm hitting #100 with my autoconf 1.71-1 on arch linux.. So, when you followed our tutorial @bmarcco, you got the Never really investigated #100 tbh.. I chickened out on the CMake route:
|
With this, i am able to test the build with 100% pass results.
|
Hm.. I just tried it again, both cmake and autotools on a 20.04 docker container with a freshly updated ubuntu image. Both scenarios work for me (if I don't forget to add You're on WSL2 (Linux for Windows) or smth? |
@nilsnolde I have installed prime_server in the root folder |
I have the exact same OS here in docker and it all worked fine.. No idea tbh.. |
@nilsnolde Here is the results when i run 'sudo make -C build install'
|
@chaitu2chowdary what is the result of the ppa version of the library shows:
|
@kevinkreiser
|
ok that was a deadend, sorry about that... honestly i know how to fix it (change the default parameter back to being a lambda) but i dont understand how some platforms dont know they dont have a callable object associated with the std::function. that seems like the implementation of the stl api is broken on some platforms? |
@kevinkreiser I just wanted to install valhalla and use its routing services in my node server. here is my g++ version |
see this comment for how to work around this issue: https://github.com/kevinkreiser/prime_server/pull/97/files#r614292607 |
@kevinkreiser |
Hi, I encountered the same problem with the following configuration : Note : the problem prevents me from using Valhalla, but I can also reproduce it with the prime_server demo ( As a workaround, I |
With this i still have the error(src/prime_server.cpp:557 worker_t: bad_function_call) but it is working now :) Thanks, @kevinkreiser for your support. |
Hi @chaitu2chowdary, I also encountered the same problem. after following all above workaround, I'm not getting This is the ubuntu version I use:
Thank you! edit:
When I try this, it gives me no error. But if valhalla_service is running and I try to fetch something from Valhalla, the log print the error I'm not that used to Linux environment, I've edit 2: anyway thanks for the thread, 0.7.0 tags (the revert to lambda function) fix this for me. |
Hi @ahmadshiddiqn, |
migrated this issue from: valhalla/valhalla#2985
@bmarcco reported:
The text was updated successfully, but these errors were encountered: