{"action":"opened","issue":{"url":"https://api.github.com/repos/WoLpH/portalocker/issues/11","labels_url":"https://api.github.com/repos/WoLpH/portalocker/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/WoLpH/portalocker/issues/11/comments","events_url":"https://api.github.com/repos/WoLpH/portalocker/issues/11/events","html_url":"https://github.com/WoLpH/portalocker/issues/11","id":125145088,"number":11,"title":"Doesn't work on Ubuntu 14.04, python 2.7.6?","user":{"login":"vladiibine","id":6544669,"avatar_url":"https://avatars.githubusercontent.com/u/6544669?v=3","gravatar_id":"","url":"https://api.github.com/users/vladiibine","html_url":"https://github.com/vladiibine","followers_url":"https://api.github.com/users/vladiibine/followers","following_url":"https://api.github.com/users/vladiibine/following{/other_user}","gists_url":"https://api.github.com/users/vladiibine/gists{/gist_id}","starred_url":"https://api.github.com/users/vladiibine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladiibine/subscriptions","organizations_url":"https://api.github.com/users/vladiibine/orgs","repos_url":"https://api.github.com/users/vladiibine/repos","events_url":"https://api.github.com/users/vladiibine/events{/privacy}","received_events_url":"https://api.github.com/users/vladiibine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T09:57:14Z","updated_at":"2016-01-06T09:57:14Z","closed_at":null,"body":"So I did this in one python console (the file already existed)\r\n\r\n```\r\nimport portalocker as pl\r\nf1 = open('./asdf', 'w')\r\npl.lock(f1, pl.LOCK_EX)\r\n```\r\n\r\nThen in another python console I did this\r\n\r\n```\r\nf1 = open('./asdf', 'w')\r\nf1.write('zzzzzzzzzzzzzzzzfdffffffffffffffffffffffffff')\r\nf1.close()\r\n```\r\n\r\nThen I do this in a bash console\r\n```\r\n$ cat ./asdf\r\nzzzzzzzzzzzzzzzzfdffffffffffffffffffffffffff\r\n```\r\n\r\nAm I missing something about how this is supposed to work, or does it just not lock the file?"}}