{"action":"created","issue":{"url":"https://api.github.com/repos/Tribler/tribler/issues/3636","repository_url":"https://api.github.com/repos/Tribler/tribler","labels_url":"https://api.github.com/repos/Tribler/tribler/issues/3636/labels{/name}","comments_url":"https://api.github.com/repos/Tribler/tribler/issues/3636/comments","events_url":"https://api.github.com/repos/Tribler/tribler/issues/3636/events","html_url":"https://github.com/Tribler/tribler/issues/3636","id":325043756,"number":3636,"title":"Tribler stuck on building circuits.","user":{"login":"Thomasedv","id":1584461,"avatar_url":"https://avatars3.githubusercontent.com/u/1584461?v=4","gravatar_id":"","url":"https://api.github.com/users/Thomasedv","html_url":"https://github.com/Thomasedv","followers_url":"https://api.github.com/users/Thomasedv/followers","following_url":"https://api.github.com/users/Thomasedv/following{/other_user}","gists_url":"https://api.github.com/users/Thomasedv/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomasedv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomasedv/subscriptions","organizations_url":"https://api.github.com/users/Thomasedv/orgs","repos_url":"https://api.github.com/users/Thomasedv/repos","events_url":"https://api.github.com/users/Thomasedv/events{/privacy}","received_events_url":"https://api.github.com/users/Thomasedv/received_events","type":"User","site_admin":false},"labels":[{"id":304497482,"url":"https://api.github.com/repos/Tribler/tribler/labels/broken","name":"broken","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"ichorid","id":2509103,"avatar_url":"https://avatars1.githubusercontent.com/u/2509103?v=4","gravatar_id":"","url":"https://api.github.com/users/ichorid","html_url":"https://github.com/ichorid","followers_url":"https://api.github.com/users/ichorid/followers","following_url":"https://api.github.com/users/ichorid/following{/other_user}","gists_url":"https://api.github.com/users/ichorid/gists{/gist_id}","starred_url":"https://api.github.com/users/ichorid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichorid/subscriptions","organizations_url":"https://api.github.com/users/ichorid/orgs","repos_url":"https://api.github.com/users/ichorid/repos","events_url":"https://api.github.com/users/ichorid/events{/privacy}","received_events_url":"https://api.github.com/users/ichorid/received_events","type":"User","site_admin":false},"assignees":[{"login":"ichorid","id":2509103,"avatar_url":"https://avatars1.githubusercontent.com/u/2509103?v=4","gravatar_id":"","url":"https://api.github.com/users/ichorid","html_url":"https://github.com/ichorid","followers_url":"https://api.github.com/users/ichorid/followers","following_url":"https://api.github.com/users/ichorid/following{/other_user}","gists_url":"https://api.github.com/users/ichorid/gists{/gist_id}","starred_url":"https://api.github.com/users/ichorid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichorid/subscriptions","organizations_url":"https://api.github.com/users/ichorid/orgs","repos_url":"https://api.github.com/users/ichorid/repos","events_url":"https://api.github.com/users/ichorid/events{/privacy}","received_events_url":"https://api.github.com/users/ichorid/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Tribler/tribler/milestones/5","html_url":"https://github.com/Tribler/tribler/milestone/5","labels_url":"https://api.github.com/repos/Tribler/tribler/milestones/5/labels","id":281098,"number":5,"title":"V7.1: The token micro-economy","description":"Tor-like hidden services-like seeding into full swing\r\nend-to-end crypto\r\nCredit investments going live: #23.","creator":{"login":"synctext","id":325224,"avatar_url":"https://avatars0.githubusercontent.com/u/325224?v=4","gravatar_id":"","url":"https://api.github.com/users/synctext","html_url":"https://github.com/synctext","followers_url":"https://api.github.com/users/synctext/followers","following_url":"https://api.github.com/users/synctext/following{/other_user}","gists_url":"https://api.github.com/users/synctext/gists{/gist_id}","starred_url":"https://api.github.com/users/synctext/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synctext/subscriptions","organizations_url":"https://api.github.com/users/synctext/orgs","repos_url":"https://api.github.com/users/synctext/repos","events_url":"https://api.github.com/users/synctext/events{/privacy}","received_events_url":"https://api.github.com/users/synctext/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":176,"state":"open","created_at":"2013-03-05T13:43:28Z","updated_at":"2018-05-30T12:24:21Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2018-05-21T20:12:04Z","updated_at":"2018-05-30T14:32:31Z","closed_at":null,"author_association":"NONE","body":"- [x] I have read CONTRIBUTING.rst\r\n\r\n- [x] I have tried with the latest pre-release version and I still can reproduce the issue.\r\n\r\n##### Tribler version/branch+revision: #####\r\nTribler v7.1.0-exp2 \r\nI did some quick testing and i believe the issue is introduce with exp1-142 or exp1-144. Tribler works on 140, and i tested 144 and did not work. Likely this buid with this change that did it: \r\nhttps://jenkins.tribler.org/job/Build-Tribler_Win64_next/209/changes\r\n\r\n##### Operating system and version: #####\r\nWindows 10\r\n\r\n##### Steps to reproduce the behavior: #####\r\nStart Tribler\r\n\r\n##### Expected behavior: #####\r\nTorrents will build circuits and start to work.\r\n\r\n##### Actual behavior: #####\r\nFails to do so.\r\n\r\n##### Relevant log file output: #####\r\nTo be updated. The log stands still for several seconds as whatever process is keeping it from going forward, then some lines about stuff and this one happens:\r\n\r\n![image](https://user-images.githubusercontent.com/1584461/40327332-c55f4ff2-5d42-11e8-8640-9a3467093999.png)\r\n\r\nThis happened pretty early in logging:\r\n![image](https://user-images.githubusercontent.com/1584461/40327269-89c89926-5d42-11e8-9a86-738f1f64d803.png)\r\n\r\n\r\nFull info log, well all that is saved, since Tribler doesn't shut down properly, i used the force close option, which leaves only this behind, which does not include everything in the console obviously:\r\nhttps://pastebin.com/vWYH6j0G\r\n\r\nAlso, those last lines go one for a lot longer, just that pastebin got a size limitation. The paste expires after 2 weeks, so i suggest taking a local copy in case you need it. \r\n\r\nUpdate: Tribler ran overnight, and crashed. Here's what i found in the core error logs: \r\n\r\n> ERROR   1526939028.58              rest_manager:53   (RESTRequest)  [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'execute'\r\n> lib\\site-packages\\twisted\\protocols\\basic.py:571:dataReceived\r\n> lib\\site-packages\\twisted\\web\\http.py:1964:lineReceived\r\n> lib\\site-packages\\twisted\\web\\http.py:2059:allContentReceived\r\n> lib\\site-packages\\twisted\\web\\http.py:869:requestReceived\r\n> --- <exception caught here> ---\r\n> lib\\site-packages\\twisted\\web\\server.py:184:process\r\n> lib\\site-packages\\twisted\\web\\server.py:235:render\r\n> lib\\site-packages\\twisted\\web\\resource.py:250:render\r\n> Tribler\\Core\\Modules\\restapi\\trustchain_endpoint.py:87:render_GET\r\n> Tribler\\pyipv8\\ipv8\\util.py:14:helper\r\n> Tribler\\pyipv8\\ipv8\\util.py:26:blockingCallFromThread\r\n> Tribler\\community\\triblerchain\\community.py:44:get_statistics\r\n> Tribler\\pyipv8\\ipv8\\attestation\\trustchain\\database.py:80:get_latest\r\n> Tribler\\pyipv8\\ipv8\\attestation\\trustchain\\database.py:49:_get\r\n> Tribler\\pyipv8\\ipv8\\database.py:40:wrapper\r\n> Tribler\\pyipv8\\ipv8\\database.py:302:execute\r\n> ]\r\n> Traceback (most recent call last):\r\n>   File \"lib\\site-packages\\twisted\\web\\server.py\", line 184, in process\r\n>   File \"lib\\site-packages\\twisted\\web\\server.py\", line 235, in render\r\n>   File \"lib\\site-packages\\twisted\\web\\resource.py\", line 250, in render\r\n>   File \"Tribler\\Core\\Modules\\restapi\\trustchain_endpoint.py\", line 87, in render_GET\r\n>   File \"Tribler\\pyipv8\\ipv8\\util.py\", line 14, in helper\r\n>   File \"Tribler\\pyipv8\\ipv8\\util.py\", line 26, in blockingCallFromThread\r\n>   File \"Tribler\\community\\triblerchain\\community.py\", line 44, in get_statistics\r\n>   File \"Tribler\\pyipv8\\ipv8\\attestation\\trustchain\\database.py\", line 80, in get_latest\r\n>   File \"Tribler\\pyipv8\\ipv8\\attestation\\trustchain\\database.py\", line 49, in _get\r\n>   File \"Tribler\\pyipv8\\ipv8\\database.py\", line 40, in wrapper\r\n>   File \"Tribler\\pyipv8\\ipv8\\database.py\", line 302, in execute\r\n> AttributeError: 'NoneType' object has no attribute 'execute'\r\n> "},"comment":{"url":"https://api.github.com/repos/Tribler/tribler/issues/comments/393185150","html_url":"https://github.com/Tribler/tribler/issues/3636#issuecomment-393185150","issue_url":"https://api.github.com/repos/Tribler/tribler/issues/3636","id":393185150,"user":{"login":"qstokkink","id":3630389,"avatar_url":"https://avatars1.githubusercontent.com/u/3630389?v=4","gravatar_id":"","url":"https://api.github.com/users/qstokkink","html_url":"https://github.com/qstokkink","followers_url":"https://api.github.com/users/qstokkink/followers","following_url":"https://api.github.com/users/qstokkink/following{/other_user}","gists_url":"https://api.github.com/users/qstokkink/gists{/gist_id}","starred_url":"https://api.github.com/users/qstokkink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qstokkink/subscriptions","organizations_url":"https://api.github.com/users/qstokkink/orgs","repos_url":"https://api.github.com/users/qstokkink/repos","events_url":"https://api.github.com/users/qstokkink/events{/privacy}","received_events_url":"https://api.github.com/users/qstokkink/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T14:32:31Z","updated_at":"2018-05-30T14:32:31Z","author_association":"CONTRIBUTOR","body":"@devos50 if that is the case, I think I would prefer inspection of `self.circuits` in the community and reason about the `CIRCUIT_TYPE_DATA` type circuits with a state of `CIRCUIT_STATE_EXTENDING`. We could then decide not to make new circuits if we are still waiting for circuits to be created.\r\n\r\nThis would keep the speed you wanted and avoid going over the circuit limit."}}
{"actor":{"display_login":"qstokkink"}}