{"action":"created","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/2209","repository_url":"https://api.github.com/repos/spesmilo/electrum","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/2209/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/2209/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/2209/events","html_url":"https://github.com/spesmilo/electrum/issues/2209","id":210558044,"number":2209,"title":"cannot send transactions with ledger nano hardware wallet","user":{"login":"dieeasy","id":5207402,"avatar_url":"https://avatars2.githubusercontent.com/u/5207402?v=4","gravatar_id":"","url":"https://api.github.com/users/dieeasy","html_url":"https://github.com/dieeasy","followers_url":"https://api.github.com/users/dieeasy/followers","following_url":"https://api.github.com/users/dieeasy/following{/other_user}","gists_url":"https://api.github.com/users/dieeasy/gists{/gist_id}","starred_url":"https://api.github.com/users/dieeasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieeasy/subscriptions","organizations_url":"https://api.github.com/users/dieeasy/orgs","repos_url":"https://api.github.com/users/dieeasy/repos","events_url":"https://api.github.com/users/dieeasy/events{/privacy}","received_events_url":"https://api.github.com/users/dieeasy/received_events","type":"User","site_admin":false},"labels":[{"id":163477206,"url":"https://api.github.com/repos/spesmilo/electrum/labels/hw-ledger","name":"hw-ledger","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2017-02-27T17:52:31Z","updated_at":"2018-04-27T21:29:41Z","closed_at":"2018-04-27T21:29:41Z","author_association":"NONE","body":"I am using electrum 2.7.18 from tarball on linux (debian stretch).\r\n\r\nAfter clicking _send_ and clicking _yes_ to the \"_proceed?_\" question I get the dialog saying \"_confirm transaction on your ledger device_\" then a few seconds go by and it sometimes crashes, sometimes gets to the next step (\"_signing transaction_\" dialog). In all cases I just wait doing nothing.\r\n\r\nWhat I'd expect is a new confirm request appearing on my android ledger app (as the _nano_ doesn't have a display like the _nano s_ does) so I can proceed, but I get nothing.\r\n\r\nLedger nano unlocks correctly and gets to green status (even though I can see my transaction history even before I enter the pin, which looks bad to me but is not the issue at hand).\r\n\r\nSome example output I get in my terminal (where I launch electrum with `python electrum`) when it just crashes:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/dieeasy/src/Electrum-2.7.18/plugins/ledger/qt.py\", line 50, in auth_dialog\r\n    self.message_dialog(e)\r\n  File \"/home/dieeasy/src/Electrum-2.7.18/plugins/ledger/qt.py\", line 41, in message_dialog\r\n    l = QLabel(msg)\r\nTypeError: arguments did not match any overloaded call:\r\n  QLabel(parent: QWidget = None, flags: Qt.WindowFlags = 0): argument 1 has unexpected type 'exceptions.ImportError'\r\n  QLabel(QString, parent: QWidget = None, flags: Qt.WindowFlags = 0): argument 1 has unexpected type 'exceptions.ImportError'\r\n[xcb] Unknown sequence number while processing queue\r\n[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called\r\n[xcb] Aborting, sorry about that.\r\npython: ../../src/xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.\r\nAborted\r\n```\r\n\r\n```\r\n[xcb] Unknown request in queue while dequeuing\r\n[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called\r\n[xcb] Aborting, sorry about that.\r\npython: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.\r\npython: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.\r\nAborted\r\n```\r\n\r\n```\r\n*** Error in `python': double free or corruption (fasttop): 0x00007fa394017800 ***\r\n======= Backtrace: =========\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7fa3ba9f3bcb]\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7fa3ba9f9f96]\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x7778e)[0x7fa3ba9fa78e]\r\n/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55)[0x7fa393476b15]\r\n/usr/lib/x86_64-linux-gnu/libX11.so.6(XEventsQueued+0x69)[0x7fa393468789]\r\n/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26e01c)[0x7fa39db5b01c]\r\n/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_check+0x1d9)[0x7fa39c73f3f9]\r\n/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a994)[0x7fa39c73f994]\r\n/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fa39c73fb0c]\r\n/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x86)[0x7fa39d5b5876]\r\n/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26e5d6)[0x7fa39db5b5d6]\r\n/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x3f)[0x7fa39d5837ef]\r\n/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x1b5)[0x7fa39d583b55]\r\n/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x99)[0x7fa39d589bd9]\r\n/usr/lib/python2.7/dist-packages/PyQt4/QtGui.x86_64-linux-gnu.so(+0x5676db)[0x7fa39eb426db]\r\npython(PyEval_EvalFrameEx+0x69a)[0x55bf0d5683ca]\r\npython(PyEval_EvalCodeEx+0x255)[0x55bf0d566535]\r\npython(PyEval_EvalFrameEx+0x6968)[0x55bf0d56e698]\r\npython(PyEval_EvalFrameEx+0x5eef)[0x55bf0d56dc1f]\r\npython(PyEval_EvalCodeEx+0x255)[0x55bf0d566535]\r\npython(PyEval_EvalCode+0x19)[0x55bf0d5662d9]\r\npython(+0x128e3f)[0x55bf0d595e3f]\r\npython(PyRun_FileExFlags+0x82)[0x55bf0d590d52]\r\npython(PyRun_SimpleFileExFlags+0x19e)[0x55bf0d59089e]\r\npython(Py_Main+0x6c1)[0x55bf0d541af1]\r\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fa3ba9a32b1]\r\npython(_start+0x2a)[0x55bf0d54131a]\r\n======= Memory map: ========\r\n55bf0d46d000-55bf0d790000 r-xp 00000000 00:14 2728326                    /usr/bin/python2.7\r\n55bf0d990000-55bf0d992000 r--p 00323000 00:14 2728326                    /usr/bin/python2.7\r\n55bf0d992000-55bf0da09000 rw-p 00325000 00:14 2728326                    /usr/bin/python2.7\r\n...\r\n```\r\n\r\nExample output when it gets to the \"_signing transaction_\" step:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/dieeasy/src/Electrum-2.7.18/plugins/ledger/qt.py\", line 50, in auth_dialog\r\n    self.message_dialog(e)\r\n  File \"/home/dieeasy/src/Electrum-2.7.18/plugins/ledger/qt.py\", line 41, in message_dialog\r\n    l = QLabel(msg)\r\nTypeError: arguments did not match any overloaded call:\r\n  QLabel(parent: QWidget = None, flags: Qt.WindowFlags = 0): argument 1 has unexpected type 'exceptions.ImportError'\r\n  QLabel(QString, parent: QWidget = None, flags: Qt.WindowFlags = 0): argument 1 has unexpected type 'exceptions.ImportError'\r\n```\r\n\r\n\r\nAs an additional note, version 2.7.9 in debian repos can't send either but yields a dialog with just a \"0\" in it."},"comment":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/comments/385099241","html_url":"https://github.com/spesmilo/electrum/issues/2209#issuecomment-385099241","issue_url":"https://api.github.com/repos/spesmilo/electrum/issues/2209","id":385099241,"user":{"login":"SomberNight","id":29142493,"avatar_url":"https://avatars2.githubusercontent.com/u/29142493?v=4","gravatar_id":"","url":"https://api.github.com/users/SomberNight","html_url":"https://github.com/SomberNight","followers_url":"https://api.github.com/users/SomberNight/followers","following_url":"https://api.github.com/users/SomberNight/following{/other_user}","gists_url":"https://api.github.com/users/SomberNight/gists{/gist_id}","starred_url":"https://api.github.com/users/SomberNight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomberNight/subscriptions","organizations_url":"https://api.github.com/users/SomberNight/orgs","repos_url":"https://api.github.com/users/SomberNight/repos","events_url":"https://api.github.com/users/SomberNight/events{/privacy}","received_events_url":"https://api.github.com/users/SomberNight/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T21:29:41Z","updated_at":"2018-04-27T21:29:41Z","author_association":"MEMBER","body":"> After clicking send and clicking yes to the \"proceed?\" question I get the dialog saying \"confirm transaction on your ledger device\" then a few seconds go by and it sometimes crashes, sometimes gets to the next step (\"signing transaction\" dialog). In all cases I just wait doing nothing.\r\n\r\nI believe this (original) issue should have been fixed by https://github.com/spesmilo/electrum/pull/2820 and https://github.com/spesmilo/electrum/pull/3326\r\n\r\nFor any other problems that are still relevant and described here, please open a new issue, and link back to this one.\r\n"}}
{"actor":{"display_login":"SomberNight"}}