{"action":"created","issue":{"url":"https://api.github.com/repos/dbcli/pgcli/issues/603","repository_url":"https://api.github.com/repos/dbcli/pgcli","labels_url":"https://api.github.com/repos/dbcli/pgcli/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/dbcli/pgcli/issues/603/comments","events_url":"https://api.github.com/repos/dbcli/pgcli/issues/603/events","html_url":"https://github.com/dbcli/pgcli/issues/603","id":184617588,"number":603,"title":"\\i raises a TypeError","user":{"login":"lelit","id":412797,"avatar_url":"https://avatars.githubusercontent.com/u/412797?v=3","gravatar_id":"","url":"https://api.github.com/users/lelit","html_url":"https://github.com/lelit","followers_url":"https://api.github.com/users/lelit/followers","following_url":"https://api.github.com/users/lelit/following{/other_user}","gists_url":"https://api.github.com/users/lelit/gists{/gist_id}","starred_url":"https://api.github.com/users/lelit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lelit/subscriptions","organizations_url":"https://api.github.com/users/lelit/orgs","repos_url":"https://api.github.com/users/lelit/repos","events_url":"https://api.github.com/users/lelit/events{/privacy}","received_events_url":"https://api.github.com/users/lelit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-10-22T08:23:44Z","updated_at":"2017-01-12T06:24:16Z","closed_at":"2017-01-12T06:24:16Z","body":"With Python 3.6b2, I got the following immediately after entering `\\i` followed by a space:\n\n```\npostgres@mydb> \\i Exception in thread Thread-4:                            \nTraceback (most recent call last):                                              \n  File \"/usr/local/lib/python3.6/threading.py\", line 916, in _bootstrap_inner   \n    self.run()                                                                  \n  File \"/usr/local/lib/python3.6/threading.py\", line 864, in run                \n    self._target(*self._args, **self._kwargs)                                   \n  File \"/usr/local/lib/python3.6/site-packages/prompt_toolkit/interface.py\", line 841, in run\n    completions = list(buffer.completer.get_completions(document, complete_event))                                                                                                                                 \n  File \"/usr/local/lib/python3.6/site-packages/pgcli/pgcompleter.py\", line 371, in get_completions\n    reverse=True)                                                               \nTypeError: '<' not supported between instances of 'NoneType' and 'NoneType'     \n```\n\nI cannot investigate further right now, but I will try to narrow the case.\n"},"comment":{"url":"https://api.github.com/repos/dbcli/pgcli/issues/comments/272086455","html_url":"https://github.com/dbcli/pgcli/issues/603#issuecomment-272086455","issue_url":"https://api.github.com/repos/dbcli/pgcli/issues/603","id":272086455,"user":{"login":"j-bennet","id":637013,"avatar_url":"https://avatars.githubusercontent.com/u/637013?v=3","gravatar_id":"","url":"https://api.github.com/users/j-bennet","html_url":"https://github.com/j-bennet","followers_url":"https://api.github.com/users/j-bennet/followers","following_url":"https://api.github.com/users/j-bennet/following{/other_user}","gists_url":"https://api.github.com/users/j-bennet/gists{/gist_id}","starred_url":"https://api.github.com/users/j-bennet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-bennet/subscriptions","organizations_url":"https://api.github.com/users/j-bennet/orgs","repos_url":"https://api.github.com/users/j-bennet/repos","events_url":"https://api.github.com/users/j-bennet/events{/privacy}","received_events_url":"https://api.github.com/users/j-bennet/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T06:24:16Z","updated_at":"2017-01-12T06:24:16Z","body":"Fixed in 1.4.0."}}
{"actor":{"display_login":"j-bennet"}}