{"action":"closed","issue":{"url":"https://api.github.com/repos/bulletmark/libinput-gestures/issues/180","repository_url":"https://api.github.com/repos/bulletmark/libinput-gestures","labels_url":"https://api.github.com/repos/bulletmark/libinput-gestures/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/bulletmark/libinput-gestures/issues/180/comments","events_url":"https://api.github.com/repos/bulletmark/libinput-gestures/issues/180/events","html_url":"https://github.com/bulletmark/libinput-gestures/issues/180","id":368474561,"node_id":"MDU6SXNzdWUzNjg0NzQ1NjE=","number":180,"title":"Crash on non-numeric coordinate","user":{"login":"benburrill","id":8140726,"node_id":"MDQ6VXNlcjgxNDA3MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/8140726?v=4","gravatar_id":"","url":"https://api.github.com/users/benburrill","html_url":"https://github.com/benburrill","followers_url":"https://api.github.com/users/benburrill/followers","following_url":"https://api.github.com/users/benburrill/following{/other_user}","gists_url":"https://api.github.com/users/benburrill/gists{/gist_id}","starred_url":"https://api.github.com/users/benburrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benburrill/subscriptions","organizations_url":"https://api.github.com/users/benburrill/orgs","repos_url":"https://api.github.com/users/benburrill/repos","events_url":"https://api.github.com/users/benburrill/events{/privacy}","received_events_url":"https://api.github.com/users/benburrill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-10T02:58:39Z","updated_at":"2018-10-21T22:16:58Z","closed_at":"2018-10-21T22:16:58Z","author_association":"NONE","body":"```\r\n$ libinput-gestures -l\r\nlibinput-gestures: session KDE+x11 on Linux-4.18.11-200.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight, python 3.6.6, libinput 1.11.3\r\nGestures configured in ~/.config/libinput-gestures.conf:\r\nswipe up           false\r\nswipe down         false\r\nswipe right        _internal ws_up\r\nswipe left         _internal ws_down\r\npinch in           false\r\npinch out          false\r\nlibinput-gestures: device /dev/input/event4: SynPS/2 Synaptics TouchPad\r\n```\r\n\r\n**Describe the issue**\r\nI just ran into an issue where (by the looks of it) one of the coords in a pinch event got parsed as `'-'`, resulting in a crash (traceback below).  This has never happened before in the few months or so I've used libinput-gestures and it coincided with an intermittent and mysterious issue I've been experiencing with my touchpad recently where it starts behaving extremely erratically for some time until the haunting of my touchpad stops as mysteriously as it started.\r\n\r\nI'm reporting this bug partly because I don't think libinput-gestures should crash in this case (I think invalid coordinates should be considered to be `0` or something), but also in the hopes you might have some insight into what this anomalous data could mean and how it might relate to my touchpad problems.\r\n\r\nTraceback and info from ABRT:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/libinput-gestures\", line 543, in <module>\r\n    handler.update(re.split(r'[^-.\\d]+', params))\r\n  File \"/usr/bin/libinput-gestures\", line 341, in update\r\n    self.data[0] += float(coords[4]) - 1.0\r\nValueError: could not convert string to float: '-'\r\n\r\nLocal variables in innermost frame:\r\ncoords: ['0.00', '0.00', '0.00', '0.00', '-', '0.00']\r\nself: <__main__.PINCH object at 0x7f3255f23a20>\r\n```"}}
{"actor":{"display_login":"bulletmark"}}