{"action":"created","issue":{"url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/issues/119","labels_url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/issues/119/comments","events_url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/issues/119/events","html_url":"https://github.com/cinemast/libjson-rpc-cpp/issues/119","id":96580382,"number":119,"title":"Connect to flask-jsonrpc","user":{"login":"ne0h","id":5325138,"avatar_url":"https://avatars.githubusercontent.com/u/5325138?v=3","gravatar_id":"","url":"https://api.github.com/users/ne0h","html_url":"https://github.com/ne0h","followers_url":"https://api.github.com/users/ne0h/followers","following_url":"https://api.github.com/users/ne0h/following{/other_user}","gists_url":"https://api.github.com/users/ne0h/gists{/gist_id}","starred_url":"https://api.github.com/users/ne0h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne0h/subscriptions","organizations_url":"https://api.github.com/users/ne0h/orgs","repos_url":"https://api.github.com/users/ne0h/repos","events_url":"https://api.github.com/users/ne0h/events{/privacy}","received_events_url":"https://api.github.com/users/ne0h/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-07-22T14:21:50Z","updated_at":"2015-07-24T10:37:51Z","closed_at":null,"body":"Hi,\r\n\r\nwe are trying to build a simple chat service (https://github.com/ne0h/catmail) that uses json rpc.\r\nWhile the client is implemented in c++, the server uses python with flask-jsonrpc.\r\n\r\nWhen we try to send a simple query to the server we get this error:\r\n`libc++abi.dylib: terminating with unexpected exception of type Json::LogicError: Value is not convertible to Int.`\r\n\r\nYou are free to access our test service at `http://miauuu.de:5000` and try the query by yourself.\r\n\r\nThanks in advance,\r\nMax"},"comment":{"url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/issues/comments/124469199","html_url":"https://github.com/cinemast/libjson-rpc-cpp/issues/119#issuecomment-124469199","issue_url":"https://api.github.com/repos/cinemast/libjson-rpc-cpp/issues/119","id":124469199,"user":{"login":"ne0h","id":5325138,"avatar_url":"https://avatars.githubusercontent.com/u/5325138?v=3","gravatar_id":"","url":"https://api.github.com/users/ne0h","html_url":"https://github.com/ne0h","followers_url":"https://api.github.com/users/ne0h/followers","following_url":"https://api.github.com/users/ne0h/following{/other_user}","gists_url":"https://api.github.com/users/ne0h/gists{/gist_id}","starred_url":"https://api.github.com/users/ne0h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne0h/subscriptions","organizations_url":"https://api.github.com/users/ne0h/orgs","repos_url":"https://api.github.com/users/ne0h/repos","events_url":"https://api.github.com/users/ne0h/events{/privacy}","received_events_url":"https://api.github.com/users/ne0h/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T10:37:51Z","updated_at":"2015-07-24T10:37:51Z","body":"I'm sorry. This is my first c++ project and i am not so firm with the tools so far. I hope this is more helpful:\r\n\r\n(gdb) bt\r\n#0  0x00007ffff54e1774 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55\r\n#1  0x00007ffff54e2929 in __GI_abort () at abort.c:89\r\n#2  0x00007ffff5db2505 in __gnu_cxx::__verbose_terminate_handler() ()\r\n   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libstdc++.so.6\r\n#3  0x00007ffff5db06a6 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libstdc++.so.6\r\n#4  0x00007ffff5db06d3 in std::terminate() ()\r\n   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libstdc++.so.6\r\n#5  0x00007ffff5db06e6 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libstdc++.so.6\r\n#6  0x00007ffff5db0362 in __cxa_call_unexpected ()\r\n   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libstdc++.so.6\r\n#7  0x00007ffff707f6d3 in jsonrpc::RpcProtocolClient::HandleResponse (this=0x6846c0, value=..., \r\n    result=...)\r\n    at /home/ne0h/Projekte/catmail/3rdparty/libjson-rpc-cpp/src/jsonrpccpp/client/rpcprotocolclient.cpp:53\r\n#8  0x00007ffff707f018 in jsonrpc::RpcProtocolClient::HandleResponse (this=0x6846c0, \r\n    response=\"{\\n  \\\"id\\\": \\\"1\\\", \\n  \\\"jsonrpc\\\": \\\"2.0\\\", \\n  \\\"result\\\": -1\\n}\", result=...)\r\n    at /home/ne0h/Projekte/catmail/3rdparty/libjson-rpc-cpp/src/jsonrpccpp/client/rpcprotocolclient.cpp:45\r\n#9  0x00007ffff707ab68 in jsonrpc::Client::CallMethod (this=0x684820, name=\"createUser\", \r\n    parameter=..., result=...)\r\n    at /home/ne0h/Projekte/catmail/3rdparty/libjson-rpc-cpp/src/jsonrpccpp/client/client.cpp:31\r\n#10 0x00007ffff707be7c in jsonrpc::Client::CallMethod (this=0x684820, name=\"createUser\", \r\n    parameter=...)\r\n    at /home/ne0h/Projekte/catmail/3rdparty/libjson-rpc-cpp/src/jsonrpccpp/client/client.cpp:77\r\n#11 0x00000000004152aa in ClientHandler::createUser (this=0x684820, password=\"cat_key\", \r\n    username=\"cat\") at /home/ne0h/Projekte/catmail/client/src/../include/../api/clienthandler.hpp:20\r\n#12 0x0000000000414e82 in Client::createUser (this=0x6847c0, username=\"cat\", password=\"cat_key\", \r\n    userKeyPair=std::shared_ptr (count 2, weak 0) 0x684710, \r\n    exchangeKeyPair=std::shared_ptr (count 2, weak 0) 0x6855d0)\r\n    at /home/ne0h/Projekte/catmail/client/src/client.cpp:13\r\n#13 0x0000000000412b01 in main (argc=1, argv=0x7fffffffdf08)\r\n    at /home/ne0h/Projekte/catmail/client/src/main.cpp:23\r\n"}}