{"action":"created","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/1555","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/1555/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/1555/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/1555/events","html_url":"https://github.com/spesmilo/electrum/issues/1555","id":117471793,"number":1555,"title":"merchant.py network error","user":{"login":"WebDesZ","id":4548216,"avatar_url":"https://avatars.githubusercontent.com/u/4548216?v=3","gravatar_id":"","url":"https://api.github.com/users/WebDesZ","html_url":"https://github.com/WebDesZ","followers_url":"https://api.github.com/users/WebDesZ/followers","following_url":"https://api.github.com/users/WebDesZ/following{/other_user}","gists_url":"https://api.github.com/users/WebDesZ/gists{/gist_id}","starred_url":"https://api.github.com/users/WebDesZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebDesZ/subscriptions","organizations_url":"https://api.github.com/users/WebDesZ/orgs","repos_url":"https://api.github.com/users/WebDesZ/repos","events_url":"https://api.github.com/users/WebDesZ/events{/privacy}","received_events_url":"https://api.github.com/users/WebDesZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T23:02:57Z","updated_at":"2015-11-25T15:19:57Z","closed_at":null,"body":"Hello. Is this a bug? Try to run merchant.py but it keeps failing.\r\n\r\nelectrum daemon start\r\n>starting daemon (PID 673)\r\n\r\npython merchant.py \r\n>Traceback (most recent call last):\r\n  File \"merchant.py\", line 262, in <module>\r\n    network = electrum.Network(config)\r\n  File \"/usr/local/lib/python2.7/dist-packages/electrum/network.py\", line 143, in __init__\r\n    self.num_server = 8 if not self.config.get('oneserver') else 0\r\nTypeError: get() takes at least 3 arguments (2 given)\r\n\r\n\r\n\r\n\r\nmerchant.conf\r\n```\r\n[main]\r\nhost = mydomain\r\nport = 50443\r\npassword = testpassword\r\n\r\n[sqlite3]\r\ndatabase = electrum_sqlite3\r\n\r\n[electrum]\r\nxpub = xpubblablabla\r\nwallet_path = /root/.electrum/wallets/\r\n\r\n[callback]\r\nreceived = \"http://mydomain/r\"\r\nexpired = \"http://mydomain/g\"\r\npassword = testpassword\r\n\r\n```\r\n\r\n\r\n/root/.electrum/config \r\n```\r\n{\r\n    \"alias\": \"\", \r\n    \"auto_connect\": true, \r\n    \"console-history\": [\r\n        \"wallet.storage.put('gap_limit',100)\"\r\n    ], \r\n    \"dynamic_fees\": false, \r\n    \"fee_factor\": 36, \r\n    \"fee_per_kb\": 20000, \r\n    \"gui_last_wallet\": \"/root/.electrum/wallets/default_wallet\", \r\n    \"is_maximized\": false, \r\n    \"proxy\": null, \r\n    \"recently_open\": [\r\n        \"/root/.electrum/wallets/default_wallet\" \r\n    ], \r\n    \"server\": \"ELECTRUM.jdubya.info:50001:t\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/comments/159638628","html_url":"https://github.com/spesmilo/electrum/issues/1555#issuecomment-159638628","issue_url":"https://api.github.com/repos/spesmilo/electrum/issues/1555","id":159638628,"user":{"login":"ecdsa","id":2343238,"avatar_url":"https://avatars.githubusercontent.com/u/2343238?v=3","gravatar_id":"","url":"https://api.github.com/users/ecdsa","html_url":"https://github.com/ecdsa","followers_url":"https://api.github.com/users/ecdsa/followers","following_url":"https://api.github.com/users/ecdsa/following{/other_user}","gists_url":"https://api.github.com/users/ecdsa/gists{/gist_id}","starred_url":"https://api.github.com/users/ecdsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecdsa/subscriptions","organizations_url":"https://api.github.com/users/ecdsa/orgs","repos_url":"https://api.github.com/users/ecdsa/repos","events_url":"https://api.github.com/users/ecdsa/events{/privacy}","received_events_url":"https://api.github.com/users/ecdsa/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T15:19:57Z","updated_at":"2015-11-25T15:19:57Z","body":"yes, I will add a callback URL, as in the merchant.py script\r\nworking on it now"}}