{"action":"opened","issue":{"url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/397","repository_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII","labels_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/397/comments","events_url":"https://api.github.com/repos/pepper-jk/ID2T-toolkitIII/issues/397/events","html_url":"https://github.com/pepper-jk/ID2T-toolkitIII/issues/397","id":382856185,"node_id":"MDU6SXNzdWUzODI4NTYxODU=","number":397,"title":"pip installation fails when offline","user":{"login":"pepper-jk","id":19859589,"node_id":"MDQ6VXNlcjE5ODU5NTg5","avatar_url":"https://avatars1.githubusercontent.com/u/19859589?v=4","gravatar_id":"","url":"https://api.github.com/users/pepper-jk","html_url":"https://github.com/pepper-jk","followers_url":"https://api.github.com/users/pepper-jk/followers","following_url":"https://api.github.com/users/pepper-jk/following{/other_user}","gists_url":"https://api.github.com/users/pepper-jk/gists{/gist_id}","starred_url":"https://api.github.com/users/pepper-jk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepper-jk/subscriptions","organizations_url":"https://api.github.com/users/pepper-jk/orgs","repos_url":"https://api.github.com/users/pepper-jk/repos","events_url":"https://api.github.com/users/pepper-jk/events{/privacy}","received_events_url":"https://api.github.com/users/pepper-jk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T21:31:28Z","updated_at":"2018-11-20T21:31:28Z","closed_at":null,"author_association":"OWNER","body":"**Issue by [jens.klein](https://git.tk.informatik.tu-darmstadt.de/jens.klein)**\n_Saturday May 26, 2018 at 18:07 GMT_\n_Originally opened as https://git.tk.informatik.tu-darmstadt.de/SPIN/ID2T-toolkit/issues/126_\n\n----\n\nThe installation of pip dependencies fails while offline. This is due to pip requesting hashes for the packages in cache before installing, this requires an internet connection.\r\n\r\n    $ ./build.sh \r\n    Updating SQLiteCpp\r\n    Detected OS: Arch Linux\r\n    Packages: Checking...\r\n    Packages: Found.\r\n    Additional Packages: Checking...\r\n    Additional Packages: Found.\r\n    Collecting coverage==4.5.1 (from -r resources/requirements.txt (line 1))\r\n      Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb1a8ec160>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/coverage/\r\n      Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb1a8ec4a8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/coverage/\r\n      Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb1a8ecba8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/coverage/\r\n      Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb1a8ec0f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/coverage/\r\n      Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb1a8ec128>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/coverage/\r\n      Could not find a version that satisfies the requirement coverage==4.5.1 (from -r resources/requirements.txt (line 1)) (from versions: )\r\n    No matching distribution found for coverage==4.5.1 (from -r resources/requirements.txt (line 1))\r\n    -- The C compiler identification is GNU 8.1.0\r\n    -- The CXX compiler identification is GNU 8.1.0\r\n    -- Check for working C compiler: /usr/bin/cc\r\n    -- Check for working C compiler: /usr/bin/cc -- works\r\n    [...]\r\n\r\nThis results in the python-venv not being setup probably and ID2T to crash on start, because of the missing dependencies:\r\n\r\n    $ ./id2t -i resources/201804041400.pcap -a SMBScan-T                   \r\n    Traceback (most recent call last):\r\n      File \"/home/pepper-jk/code/ID2T-toolkit/code/CLI.py\", line 5, in <module>\r\n        from Core.Controller import Controller\r\n      File \"/home/pepper-jk/code/ID2T-toolkit/code/Core/Controller.py\", line 8, in <module>\r\n        import pyparsing as pp\r\n    ModuleNotFoundError: No module named 'pyparsing'\n"}}
{"actor":{"display_login":"pepper-jk"}}