{"action":"created","issue":{"url":"https://api.github.com/repos/python-excel/xlrd/issues/182","repository_url":"https://api.github.com/repos/python-excel/xlrd","labels_url":"https://api.github.com/repos/python-excel/xlrd/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/python-excel/xlrd/issues/182/comments","events_url":"https://api.github.com/repos/python-excel/xlrd/issues/182/events","html_url":"https://github.com/python-excel/xlrd/issues/182","id":177181075,"number":182,"title":"Permission denied","user":{"login":"rocalos2","id":22218075,"avatar_url":"https://avatars.githubusercontent.com/u/22218075?v=3","gravatar_id":"","url":"https://api.github.com/users/rocalos2","html_url":"https://github.com/rocalos2","followers_url":"https://api.github.com/users/rocalos2/followers","following_url":"https://api.github.com/users/rocalos2/following{/other_user}","gists_url":"https://api.github.com/users/rocalos2/gists{/gist_id}","starred_url":"https://api.github.com/users/rocalos2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocalos2/subscriptions","organizations_url":"https://api.github.com/users/rocalos2/orgs","repos_url":"https://api.github.com/users/rocalos2/repos","events_url":"https://api.github.com/users/rocalos2/events{/privacy}","received_events_url":"https://api.github.com/users/rocalos2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-15T13:45:21Z","updated_at":"2016-09-21T23:13:01Z","closed_at":"2016-09-15T13:48:25Z","body":"After updated from python 2.6.5-6 to 2.7.6 an error 13 appears.\r\n----------------------------paste---------------------------------------------\r\nPython 2.7.6 (default, Jun 12 2016, 23:31:54)\r\n[GCC 4.9.2] on os2knix\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>>import xlrd\r\n>>> import sys\r\n>>> book = xlrd.open_workbook(generadores.xls)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nNameError: name 'generadores' is not defined\r\n>>> archivo=\"generadores.xls\"\r\n>>> print archivo\r\ngeneradores.xls\r\n>>> book = xlrd.open_workbook(archivo)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"E:/USR/lib/python2.7/site-packages/xlrd/__init__.py\", line 435, in open_\r\nworkbook\r\n    ragged_rows=ragged_rows,\r\n  File \"E:/USR/lib/python2.7/site-packages/xlrd/book.py\", line 87, in open_workb\r\nook_xls\r\n    ragged_rows=ragged_rows,\r\n  File \"E:/USR/lib/python2.7/site-packages/xlrd/book.py\", line 574, in biff2_8_l\r\noad\r\n    self.filestr = mmap.mmap(f.fileno(), size, access=mmap.ACCESS_READ)\r\nmmap.error: [Errno 13] Permission denied\r\n>>>\r\n-----------------------------------en of paste-------------------------------------------\r\nCan tell me what is wrong?\r\n\r\nBest Regards \r\nRoberto Calzavara\r\nruning python 2.7.6 under ecomstation 2.2"},"comment":{"url":"https://api.github.com/repos/python-excel/xlrd/issues/comments/248770312","html_url":"https://github.com/python-excel/xlrd/issues/182#issuecomment-248770312","issue_url":"https://api.github.com/repos/python-excel/xlrd/issues/182","id":248770312,"user":{"login":"sjmachin","id":1508240,"avatar_url":"https://avatars.githubusercontent.com/u/1508240?v=3","gravatar_id":"","url":"https://api.github.com/users/sjmachin","html_url":"https://github.com/sjmachin","followers_url":"https://api.github.com/users/sjmachin/followers","following_url":"https://api.github.com/users/sjmachin/following{/other_user}","gists_url":"https://api.github.com/users/sjmachin/gists{/gist_id}","starred_url":"https://api.github.com/users/sjmachin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjmachin/subscriptions","organizations_url":"https://api.github.com/users/sjmachin/orgs","repos_url":"https://api.github.com/users/sjmachin/repos","events_url":"https://api.github.com/users/sjmachin/events{/privacy}","received_events_url":"https://api.github.com/users/sjmachin/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T23:13:01Z","updated_at":"2016-09-21T23:13:01Z","body":"import xlrd\r\nxlrd.book.MMAP_AVAILABLE = 0\r\nx = xlrd.open_workbook(\"foo.xls\")"}}
{"actor":{"display_login":"sjmachin"}}