Voltage Multipliers are also rectifiers that convert AC to DC, but multiply the voltage. Commonly used Voltage Multipliers are Voltage Doubler, Voltage Tripler and Voltage Quadruple circuits. If this flag is True, do_circuits is called in the build_tunnels method.Voltage Multipliers, as the name suggests, are circuits that multiply the input voltage by a factor of two, three or higher. We can solve this by adding a flag to build_tunnels, something like force, which defaults to True. However, this would lead to very slow unit tests since we want to build tunnels immediately. I think this can easily be fixed by not calling do_circuits in build_tunnels ( do_circuits is already scheduled to be called periodically). This can lead to the situation where a circuit is being built but not added yet to the self.circuits dictionary and in turn, is not counted for in the do_circuits method. I suspect that the do_circuits is called many times, with very short intervals, once for every running downloads. Also assume that there let's say 100 anonymous downloads active. The build_tunnels method is now called again and successfully builds tunnels. Assume that we found a bunch of exit nodes now and circuit creation can proceed. Now, the do_check call is scheduled to be called again. Immediately after starting a Tribler instance, this do_check is called, attempts to build a few circuits (by invoking build_tunnels) and most likely fails (since there are no exit nodes yet). It check whether the DHT is initialised yet ( do we still need this?) and whether we have the required amount of circuits ready. However, I might have an idea what's going on.įirst, the do_check method is periodically scheduled to be called, every five seconds. I'm unable to reproduce it unfortunately. Tribler\pyipv8\ipv8\database.py:302:executeįile "lib\site-packages\twisted\web\server.py", line 184, in processįile "lib\site-packages\twisted\web\server.py", line 235, in renderįile "lib\site-packages\twisted\web\resource.py", line 250, in renderįile "Tribler\Core\Modules\restapi\trustchain_endpoint.py", line 87, in render_GETįile "Tribler\pyipv8\ipv8\util.py", line 14, in helperįile "Tribler\pyipv8\ipv8\util.py", line 26, in blockingCallFromThreadįile "Tribler\community\triblerchain\community.py", line 44, in get_statisticsįile "Tribler\pyipv8\ipv8\attestation\trustchain\database.py", line 80, in get_latestįile "Tribler\pyipv8\ipv8\attestation\trustchain\database.py", line 49, in _getįile "Tribler\pyipv8\ipv8\database.py", line 40, in wrapperįile "Tribler\pyipv8\ipv8\database.py", line 302, in executeĪttributeError: 'NoneType' object has no attribute 'execute' Tribler\pyipv8\ipv8\database.py:40:wrapper Tribler\pyipv8\ipv8\attestation\trustchain\database.py:49:_get Tribler\pyipv8\ipv8\attestation\trustchain\database.py:80:get_latest Tribler\pyipv8\ipv8\util.py:26:blockingCallFromThread Tribler\Core\Modules\restapi\trustchain_endpoint.py:87:render_GET Lib\site-packages\twisted\web\resource.py:250:render Lib\site-packages\twisted\web\server.py:235:render Lib\site-packages\twisted\web\server.py:184:process Lib\site-packages\twisted\web\http.py:869:requestReceived Lib\site-packages\twisted\web\http.py:2059:allContentReceived Lib\site-packages\twisted\protocols\basic.py:571:dataReceived Here's what i found in the core error logs:ĮRROR 1526939028.58 rest_manager:53 (RESTRequest) [Failure instance: Traceback: : 'NoneType' object has no attribute 'execute' Update: Tribler ran overnight, and crashed. The paste expires after 2 weeks, so i suggest taking a local copy in case you need it. 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:įull 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:Īlso, those last lines go one for a lot longer, just that pastebin got a size limitation. Torrents will build circuits and start to work. Windows 10 Steps to reproduce the behavior: Likely this buid with this change that did it: Tribler works on 140, and i tested 144 and did not work. I did some quick testing and i believe the issue is introduce with exp1-142 or exp1-144. I have tried with the latest pre-release version and I still can reproduce the issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |