{"action":"opened","issue":{"url":"https://api.github.com/repos/czcorpus/kontext/issues/373","labels_url":"https://api.github.com/repos/czcorpus/kontext/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/czcorpus/kontext/issues/373/comments","events_url":"https://api.github.com/repos/czcorpus/kontext/issues/373/events","html_url":"https://github.com/czcorpus/kontext/issues/373","id":76115489,"number":373,"title":"default_conc_cache - file handling problem","user":{"login":"tomachalek","id":439098,"avatar_url":"https://avatars.githubusercontent.com/u/439098?v=3","gravatar_id":"","url":"https://api.github.com/users/tomachalek","html_url":"https://github.com/tomachalek","followers_url":"https://api.github.com/users/tomachalek/followers","following_url":"https://api.github.com/users/tomachalek/following{/other_user}","gists_url":"https://api.github.com/users/tomachalek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomachalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomachalek/subscriptions","organizations_url":"https://api.github.com/users/tomachalek/orgs","repos_url":"https://api.github.com/users/tomachalek/repos","events_url":"https://api.github.com/users/tomachalek/events{/privacy}","received_events_url":"https://api.github.com/users/tomachalek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/czcorpus/kontext/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tomachalek","id":439098,"avatar_url":"https://avatars.githubusercontent.com/u/439098?v=3","gravatar_id":"","url":"https://api.github.com/users/tomachalek","html_url":"https://github.com/tomachalek","followers_url":"https://api.github.com/users/tomachalek/followers","following_url":"https://api.github.com/users/tomachalek/following{/other_user}","gists_url":"https://api.github.com/users/tomachalek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomachalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomachalek/subscriptions","organizations_url":"https://api.github.com/users/tomachalek/orgs","repos_url":"https://api.github.com/users/tomachalek/repos","events_url":"https://api.github.com/users/tomachalek/events{/privacy}","received_events_url":"https://api.github.com/users/tomachalek/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/czcorpus/kontext/milestones/13","html_url":"https://github.com/czcorpus/kontext/milestones/0.6.9","labels_url":"https://api.github.com/repos/czcorpus/kontext/milestones/13/labels","id":1084602,"number":13,"title":"0.6.9","description":"","creator":{"login":"tomachalek","id":439098,"avatar_url":"https://avatars.githubusercontent.com/u/439098?v=3","gravatar_id":"","url":"https://api.github.com/users/tomachalek","html_url":"https://github.com/tomachalek","followers_url":"https://api.github.com/users/tomachalek/followers","following_url":"https://api.github.com/users/tomachalek/following{/other_user}","gists_url":"https://api.github.com/users/tomachalek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomachalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomachalek/subscriptions","organizations_url":"https://api.github.com/users/tomachalek/orgs","repos_url":"https://api.github.com/users/tomachalek/repos","events_url":"https://api.github.com/users/tomachalek/events{/privacy}","received_events_url":"https://api.github.com/users/tomachalek/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-04-27T07:16:46Z","updated_at":"2015-05-13T20:36:29Z","due_on":"2015-05-14T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-05-13T20:36:29Z","updated_at":"2015-05-13T20:36:29Z","closed_at":null,"body":"In method *add_to_map(self, subchash, query, size, pid_file=None)*, the block \r\n\r\n```python\r\nwith self._lock_factory.create(self.cache_map_path()):\r\n    file_mode =.....\r\n```\r\n\r\ncontains a serious bug which causes the cache map file to be opened in a wrong mode. This causes *IOError: [Errno 9] Bad file descriptor*."}}