{"action":"created","issue":{"url":"https://api.github.com/repos/Verlihub/verlihub/issues/38","repository_url":"https://api.github.com/repos/Verlihub/verlihub","labels_url":"https://api.github.com/repos/Verlihub/verlihub/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/Verlihub/verlihub/issues/38/comments","events_url":"https://api.github.com/repos/Verlihub/verlihub/issues/38/events","html_url":"https://github.com/Verlihub/verlihub/issues/38","id":146216675,"number":38,"title":"Unable to Compile Verlihub on Ubuntu. I have all the required Dependencies installed.","user":{"login":"RoLex","id":2401600,"avatar_url":"https://avatars.githubusercontent.com/u/2401600?v=3","gravatar_id":"","url":"https://api.github.com/users/RoLex","html_url":"https://github.com/RoLex","followers_url":"https://api.github.com/users/RoLex/followers","following_url":"https://api.github.com/users/RoLex/following{/other_user}","gists_url":"https://api.github.com/users/RoLex/gists{/gist_id}","starred_url":"https://api.github.com/users/RoLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoLex/subscriptions","organizations_url":"https://api.github.com/users/RoLex/orgs","repos_url":"https://api.github.com/users/RoLex/repos","events_url":"https://api.github.com/users/RoLex/events{/privacy}","received_events_url":"https://api.github.com/users/RoLex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-06T07:32:52Z","updated_at":"2016-04-06T07:32:57Z","closed_at":null,"body":"_From @faizoff on March 16, 2014 20:59_\n\n[ 72%] Building CXX object plugins/python/CMakeFiles/libvh_python_wrapper.dir/wrapper.cpp.o\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp: In function ‘int GetID()’:\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:244:19: error: ‘PyInt_Check’ was not declared in this scope\r\n  if (PyInt_Check(f))\r\n                   ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:246:22: error: ‘PyInt_AsLong’ was not declared in this scope\r\n   id = PyInt_AsLong(f);\r\n                      ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp: In function ‘int Call(int, PyObject*, const char*, const char*, ...)’:\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:326:23: error: ‘PyInt_Check’ was not declared in this scope\r\n     if (!PyInt_Check(p)) { log1(\"PY: [%ld:%s] Call %s: argument %d was not an int object\\n\", id, name, w_CallName(func), i+1); free(pack_format); free(a); return 0; }\r\n                       ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:327:34: error: ‘PyInt_AsLong’ was not declared in this scope\r\n     a->args[i].l = PyInt_AsLong(p);\r\n                                  ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:332:26: error: ‘PyString_Check’ was not declared in this scope\r\n     if (!PyString_Check(p)) { log1(\"PY: [%ld:%s] Call %s: argument %d was not a string object\\n\", id, name, w_CallName(func), i+1); free(pack_format); free(a); return 0; }\r\n                          ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:333:39: error: ‘PyString_AsString’ was not declared in this scope\r\n     a->args[i].s = PyString_AsString(p);\r\n                                       ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp: In function ‘int w_Load(w_Targs*)’:\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:865:23: error: cannot convert ‘char**’ to ‘wchar_t**’ for argument ‘2’ to ‘void PySys_SetArgv(int, wchar_t**)’\r\n  PySys_SetArgv(1, argv);\r\n                       ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:868:38: error: ‘Py_InitModule’ was not declared in this scope\r\n  m = Py_InitModule(\"vh\", w_vh_methods);\r\n                                      ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp: In function ‘w_Targs* w_CallHook(int, int, w_Targs*)’:\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:1106:30: error: ‘PyString_Check’ was not declared in this scope\r\n     if (PyString_Check(pValue))  // a replacement message\r\n                              ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:1108:42: error: ‘PyString_AsString’ was not declared in this scope\r\n      char *msg = PyString_AsString(pValue);\r\n                                          ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:1177:32: error: ‘PyInt_Check’ was not declared in this scope\r\n     else if (PyInt_Check(pValue)) res = w_pack(\"l\", (long)PyInt_AS_LONG(pValue));\r\n                                ^\r\n/home/django/soft/verlihub-1.0.0/plugins/python/wrapper.cpp:1177:79: error: ‘PyInt_AS_LONG’ was not declared in this scope\r\n     else if (PyInt_Check(pValue)) res = w_pack(\"l\", (long)PyInt_AS_LONG(pValue));\r\n                                                                               ^\r\nmake[2]: *** [plugins/python/CMakeFiles/libvh_python_wrapper.dir/wrapper.cpp.o] Error 1\r\nmake[1]: *** [plugins/python/CMakeFiles/libvh_python_wrapper.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\n\n_Copied from original issue: Verlihub/verlihub-1.0.0#2_"},"comment":{"url":"https://api.github.com/repos/Verlihub/verlihub/issues/comments/206182882","html_url":"https://github.com/Verlihub/verlihub/issues/38#issuecomment-206182882","issue_url":"https://api.github.com/repos/Verlihub/verlihub/issues/38","id":206182882,"user":{"login":"RoLex","id":2401600,"avatar_url":"https://avatars.githubusercontent.com/u/2401600?v=3","gravatar_id":"","url":"https://api.github.com/users/RoLex","html_url":"https://github.com/RoLex","followers_url":"https://api.github.com/users/RoLex/followers","following_url":"https://api.github.com/users/RoLex/following{/other_user}","gists_url":"https://api.github.com/users/RoLex/gists{/gist_id}","starred_url":"https://api.github.com/users/RoLex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoLex/subscriptions","organizations_url":"https://api.github.com/users/RoLex/orgs","repos_url":"https://api.github.com/users/RoLex/repos","events_url":"https://api.github.com/users/RoLex/events{/privacy}","received_events_url":"https://api.github.com/users/RoLex/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T07:32:55Z","updated_at":"2016-04-06T07:32:55Z","body":"_From @faizoff on March 22, 2014 7:22_\n\n**[Problem] Folks on different Subnets not able to connect**\r\n\r\nCan you help me out with a problem?\r\nI am running this hub in my college. There are different hostels. Each hostel has been allotted IP range of 10.3.xxx.yyy and each has a subnet mask 255.255.255.0\r\n\r\nFor example:\r\nRooms in Hostel H1 have IP: 10.3.1.yyy, subnet mask 255.255.255.0\r\nRooms in Hostel H2 have IP: 10.3.2.yyy, subnet mask 255.255.255.0\r\nand so on...\r\n\r\nI have hosted my hub in one of the rooms of Hostel H1 on ip 10.3.1.11 and port 5000\r\n*Only* folks from *my* hostel (i.e. H1) are able to connect to the hub. Folks in other hostels (H2, H3 ...) are not able to connect to the hub.\r\nThere are *different* hubs (on Ptokax) running in *different* hostels. I am able to **connect** to all of them. but somehow they are not able to connect to *mine*. Only folks in *my* hostel are able to.\r\n\r\nAny reasons why that might be happening? I wrote all the scripts and configured it just to find out that people are not able to connect from other hostels:(\r\nIts hosted on Linux Mint 16 (kernel 3.13.6) and I haven't touched any network settings of OS.\r\nHere is my hub config: https://gist.github.com/faizoff/98ea9ab8f78fee62cc14\r\n\r\nAny help is appreciated.\r\nThanks a lot."}}