{"action":"created","issue":{"url":"https://api.github.com/repos/lbryio/lbry/issues/1710","repository_url":"https://api.github.com/repos/lbryio/lbry","labels_url":"https://api.github.com/repos/lbryio/lbry/issues/1710/labels{/name}","comments_url":"https://api.github.com/repos/lbryio/lbry/issues/1710/comments","events_url":"https://api.github.com/repos/lbryio/lbry/issues/1710/events","html_url":"https://github.com/lbryio/lbry/pull/1710","id":389887038,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3Nzc1OTQ0","number":1710,"title":"blob download performance monitoring script","user":{"login":"hackrush01","id":17583974,"node_id":"MDQ6VXNlcjE3NTgzOTc0","avatar_url":"https://avatars0.githubusercontent.com/u/17583974?v=4","gravatar_id":"","url":"https://api.github.com/users/hackrush01","html_url":"https://github.com/hackrush01","followers_url":"https://api.github.com/users/hackrush01/followers","following_url":"https://api.github.com/users/hackrush01/following{/other_user}","gists_url":"https://api.github.com/users/hackrush01/gists{/gist_id}","starred_url":"https://api.github.com/users/hackrush01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackrush01/subscriptions","organizations_url":"https://api.github.com/users/hackrush01/orgs","repos_url":"https://api.github.com/users/hackrush01/repos","events_url":"https://api.github.com/users/hackrush01/events{/privacy}","received_events_url":"https://api.github.com/users/hackrush01/received_events","type":"User","site_admin":false},"labels":[{"id":799785446,"node_id":"MDU6TGFiZWw3OTk3ODU0NDY=","url":"https://api.github.com/repos/lbryio/lbry/labels/area:%20network","name":"area: network","color":"fcd8d1","default":false},{"id":801758298,"node_id":"MDU6TGFiZWw4MDE3NTgyOTg=","url":"https://api.github.com/repos/lbryio/lbry/labels/type:%20new%20feature","name":"type: new feature","color":"e2268a","default":false}],"state":"open","locked":false,"assignee":{"login":"hackrush01","id":17583974,"node_id":"MDQ6VXNlcjE3NTgzOTc0","avatar_url":"https://avatars0.githubusercontent.com/u/17583974?v=4","gravatar_id":"","url":"https://api.github.com/users/hackrush01","html_url":"https://github.com/hackrush01","followers_url":"https://api.github.com/users/hackrush01/followers","following_url":"https://api.github.com/users/hackrush01/following{/other_user}","gists_url":"https://api.github.com/users/hackrush01/gists{/gist_id}","starred_url":"https://api.github.com/users/hackrush01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackrush01/subscriptions","organizations_url":"https://api.github.com/users/hackrush01/orgs","repos_url":"https://api.github.com/users/hackrush01/repos","events_url":"https://api.github.com/users/hackrush01/events{/privacy}","received_events_url":"https://api.github.com/users/hackrush01/received_events","type":"User","site_admin":false},"assignees":[{"login":"hackrush01","id":17583974,"node_id":"MDQ6VXNlcjE3NTgzOTc0","avatar_url":"https://avatars0.githubusercontent.com/u/17583974?v=4","gravatar_id":"","url":"https://api.github.com/users/hackrush01","html_url":"https://github.com/hackrush01","followers_url":"https://api.github.com/users/hackrush01/followers","following_url":"https://api.github.com/users/hackrush01/following{/other_user}","gists_url":"https://api.github.com/users/hackrush01/gists{/gist_id}","starred_url":"https://api.github.com/users/hackrush01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackrush01/subscriptions","organizations_url":"https://api.github.com/users/hackrush01/orgs","repos_url":"https://api.github.com/users/hackrush01/repos","events_url":"https://api.github.com/users/hackrush01/events{/privacy}","received_events_url":"https://api.github.com/users/hackrush01/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-12-11T18:05:24Z","updated_at":"2018-12-16T03:17:21Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/lbryio/lbry/pulls/1710","html_url":"https://github.com/lbryio/lbry/pull/1710","diff_url":"https://github.com/lbryio/lbry/pull/1710.diff","patch_url":"https://github.com/lbryio/lbry/pull/1710.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/lbryio/lbry/issues/comments/447614601","html_url":"https://github.com/lbryio/lbry/pull/1710#issuecomment-447614601","issue_url":"https://api.github.com/repos/lbryio/lbry/issues/1710","id":447614601,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzYxNDYwMQ==","user":{"login":"hackrush01","id":17583974,"node_id":"MDQ6VXNlcjE3NTgzOTc0","avatar_url":"https://avatars0.githubusercontent.com/u/17583974?v=4","gravatar_id":"","url":"https://api.github.com/users/hackrush01","html_url":"https://github.com/hackrush01","followers_url":"https://api.github.com/users/hackrush01/followers","following_url":"https://api.github.com/users/hackrush01/following{/other_user}","gists_url":"https://api.github.com/users/hackrush01/gists{/gist_id}","starred_url":"https://api.github.com/users/hackrush01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackrush01/subscriptions","organizations_url":"https://api.github.com/users/hackrush01/orgs","repos_url":"https://api.github.com/users/hackrush01/repos","events_url":"https://api.github.com/users/hackrush01/events{/privacy}","received_events_url":"https://api.github.com/users/hackrush01/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T03:17:21Z","updated_at":"2018-12-16T03:17:21Z","author_association":"MEMBER","body":"Another bug/error, reported by Lex on slack. (pasting here so that I don't forget) \r\n```\r\n[lbry]$ python profile_get.py --wallet_path=/home/lex/projects/lbryconf/ --output_path=/home/lex/projects/lbry/scripts/benchmark.txt\r\n2018-12-15 14:24:07,457 INFO     lbrynet.conf:539: Loaded settings file: /home/lex/.local/share/lbry/lbrynet/daemon_settings.yml\r\n2018-12-15 14:24:07,458 INFO     lbrynet.extras.daemon.storage:181: connecting to database: /tmp/tmpmyz2cy30/lbrynet.sqlite\r\n2018-12-15 14:24:07,458 INFO     lbrynet.extras.daemon.Components:776: detecting external ip\r\n2018-12-15 14:24:07,566 INFO     twisted:154: Starting factory _HTTP11ClientFactory(<function HTTPConnectionPool._newConnection.<locals>.quiescentCallback at 0x7f0dd669cbf8>, <twisted.internet.endpoints._WrapperEndpoint object at 0x7f0dd6678b38>)\r\n2018-12-15 14:24:07,668 INFO     torba.client.basenetwork:87: Successfully connected to SPV wallet server: victor.lbry.tech:50001\r\n2018-12-15 14:24:07,707 INFO     lbrynet.extras.daemon.Components:282: remote height: 486506, local height: 486506\r\n2018-12-15 14:24:07,731 INFO     twisted:154: KademliaProtocol starting on 4444\r\n2018-12-15 14:24:07,731 INFO     twisted:154: Starting protocol <lbrynet.dht.protocol.KademliaProtocol object at 0x7f0dd6640630>\r\n2018-12-15 14:24:07,731 INFO     lbrynet.dht.protocol:199: DHT listening on UDP 4444 (ext port 4444)\r\n2018-12-15 14:24:07,732 INFO     lbrynet.extras.daemon.Components:459: Started the dht\r\n2018-12-15 14:24:07,732 INFO     lbrynet.extras.daemon.Components:366: Starting torba wallet\r\n2018-12-15 14:24:07,782 INFO     torba.client.basedatabase:164: connecting to database: /home/lex/projects/lbryconf/lbc_mainnet/blockchain.db\r\n2018-12-15 14:24:07,839 INFO     lbrynet.dht.node:227: Attempting to join the DHT network, 0 contacts known so far\r\n2018-12-15 14:24:07,884 INFO     torba.client.basenetwork:87: Successfully connected to SPV wallet server: victor.lbry.tech:50001\r\n2018-12-15 14:24:07,885 INFO     torba.client.baseledger:239: Subscribing and updating accounts.\r\n\r\n2018-12-15 14:24:15,853 INFO     lbrynet.dht.node:227: Attempting to join the DHT network, 9 contacts known so far\r\n2018-12-15 14:24:33,044 INFO     lbrynet.dht.node:263: Joined the dht\r\n2018-12-15 14:25:38,183 INFO     twisted:154: Stopping factory _HTTP11ClientFactory(<function HTTPConnectionPool._newConnection.<locals>.quiescentCallback at 0x7f0dd669cbf8>, <twisted.internet.endpoints._WrapperEndpoint object at 0x7f0dd6678b38>)\r\n2018-12-15 14:26:41,263 INFO     torba.client.baseledger:133: lbc_mainnet: added BlockHeightEvent(height=486507, change=1) header blocks, final height 486507\r\n2018-12-15 14:28:51,388 INFO     torba.client.baseledger:133: lbc_mainnet: added BlockHeightEvent(height=486508, change=1) header blocks, final height 486508\r\n```\r\nI let it run for about 5 minutes..\r\nwhen i `ctrl-c` the script i get this:\r\n```\r\n^C2018-12-15 14:35:11,046 INFO     twisted:154: Received SIGINT, shutting down.\r\n2018-12-15 14:35:11,047 INFO     twisted:154: (UDP Port 4444 Closed)\r\n2018-12-15 14:35:11,047 INFO     twisted:154: Stopping protocol <lbrynet.dht.protocol.KademliaProtocol object at 0x7f0dd6640630>\r\n2018-12-15 14:35:11,048 INFO     lbrynet.dht.protocol:490: Stopping DHT\r\n2018-12-15 14:35:11,048 INFO     lbrynet.dht.protocol:493: DHT stopped\r\nUnhandled error in Deferred:\r\n2018-12-15 14:35:11,099 CRITICAL twisted:154: Unhandled error in Deferred:\r\n\r\n2018-12-15 14:35:11,100 CRITICAL twisted:154: \r\nTraceback (most recent call last):\r\n  File \"/home/lex/.virtualenvs/lbry/lib/python3.7/site-packages/twisted/internet/defer.py\", line 1418, in _inlineCallbacks\r\n    result = g.send(result)\r\nStopIteration: ['wall-street-goes-crypto-the-llama-report#8d8cc89d1c9d2e949b0a3b9a2af360d20fac9d9c', 'why-widespread-adoption-of-crypto-is-the#82796a7dd76985112a8d1d62009c2d187cd4a867', ..., 'monerokeychain#3ccf9e86fde8ab7c04dfe871b32af9c9e78cc628', 'bitcoinkeychain#7280f4f23b7a24b53da8aab138137520aad8e034', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/lex/.virtualenvs/lbry/lib/python3.7/site-packages/twisted/internet/defer.py\", line 1418, in _inlineCallbacks\r\n    result = g.send(result)\r\n  File \"profile_get.py\", line 166, in main\r\n    results = yield benchmark_performance(uris)\r\n  File \"/home/lex/.virtualenvs/lbry/lib/python3.7/site-packages/twisted/internet/defer.py\", line 1604, in unwindGenerator\r\n    gen = f(*args, **kwargs)\r\nTypeError: benchmark_performance() missing 1 required positional argument: 'output_path'\r\n```\r\n\r\nThe bug is not passing the argument to the function."}}
{"actor":{"display_login":"hackrush01"}}