{"action":"created","issue":{"url":"https://api.github.com/repos/QQuick/Transcrypt/issues/189","repository_url":"https://api.github.com/repos/QQuick/Transcrypt","labels_url":"https://api.github.com/repos/QQuick/Transcrypt/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/QQuick/Transcrypt/issues/189/comments","events_url":"https://api.github.com/repos/QQuick/Transcrypt/issues/189/events","html_url":"https://github.com/QQuick/Transcrypt/issues/189","id":190283670,"number":189,"title":"Transcrypt tries to write to its installation folder","user":{"login":"kozec","id":1282500,"avatar_url":"https://avatars.githubusercontent.com/u/1282500?v=3","gravatar_id":"","url":"https://api.github.com/users/kozec","html_url":"https://github.com/kozec","followers_url":"https://api.github.com/users/kozec/followers","following_url":"https://api.github.com/users/kozec/following{/other_user}","gists_url":"https://api.github.com/users/kozec/gists{/gist_id}","starred_url":"https://api.github.com/users/kozec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozec/subscriptions","organizations_url":"https://api.github.com/users/kozec/orgs","repos_url":"https://api.github.com/users/kozec/repos","events_url":"https://api.github.com/users/kozec/events{/privacy}","received_events_url":"https://api.github.com/users/kozec/received_events","type":"User","site_admin":false},"labels":[{"id":299032449,"url":"https://api.github.com/repos/QQuick/Transcrypt/labels/IS:%20question","name":"IS: question","color":"ffff99","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-11-18T10:20:25Z","updated_at":"2016-11-26T18:18:35Z","closed_at":"2016-11-26T17:52:59Z","body":"Apparently to write source maps there.\r\n\r\n```\r\ntranscrypt -m -n -e 5 index.py \r\nTranscrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.6.1\r\nCopyright (C) Geatec Engineering. License: Apache 2.0\r\n\r\n\r\n[Errno 13] Permission denied: '/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/__javascript__/extra'Traceback (most recent call last):\r\n  File \"/usr/lib/python3.5/site-packages/transcrypt/__main__.py\", line 117, in main\r\n    compiler.Program (compilerPath, __symbols__)\r\n  File \"/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/compiler.py\", line 123, in __init__\r\n    Module (self, ModuleMetadata (self, self.baseModuleName))\r\n  File \"/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/compiler.py\", line 282, in __init__\r\n    self.generateJavascriptAndMap ()\r\n  File \"/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/compiler.py\", line 405, in generateJavascriptAndMap\r\n    self.modMap.save ()\r\n  File \"/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/sourcemaps.py\", line 286, in save\r\n    with utils.create (self.mapPath) as mapFile:\r\n  File \"/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/utils.py\", line 87, in create\r\n    os.makedirs (os.path.dirname (path), exist_ok = True)\r\n  File \"/usr/lib/python3.5/os.py\", line 231, in makedirs\r\n    makedirs(head, mode, exist_ok)\r\n  File \"/usr/lib/python3.5/os.py\", line 241, in makedirs\r\n    mkdir(name, mode)\r\nPermissionError: [Errno 13] Permission denied: '/usr/lib/python3.5/site-packages/transcrypt/modules/org/transcrypt/__javascript__/extra'\r\n```\r\n\r\nThis basically prevents any kind of use."},"comment":{"url":"https://api.github.com/repos/QQuick/Transcrypt/issues/comments/263077909","html_url":"https://github.com/QQuick/Transcrypt/issues/189#issuecomment-263077909","issue_url":"https://api.github.com/repos/QQuick/Transcrypt/issues/189","id":263077909,"user":{"login":"kozec","id":1282500,"avatar_url":"https://avatars.githubusercontent.com/u/1282500?v=3","gravatar_id":"","url":"https://api.github.com/users/kozec","html_url":"https://github.com/kozec","followers_url":"https://api.github.com/users/kozec/followers","following_url":"https://api.github.com/users/kozec/following{/other_user}","gists_url":"https://api.github.com/users/kozec/gists{/gist_id}","starred_url":"https://api.github.com/users/kozec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozec/subscriptions","organizations_url":"https://api.github.com/users/kozec/orgs","repos_url":"https://api.github.com/users/kozec/repos","events_url":"https://api.github.com/users/kozec/events{/privacy}","received_events_url":"https://api.github.com/users/kozec/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T18:18:35Z","updated_at":"2016-11-26T18:18:35Z","body":"It's not really solution, just dirty workaround for rather big problem.\r\n\r\nI can't really use virtualenv for what I'm doing here, but I already found another python to javascript solution that actually works, so if this really _is_ how Transcrypt is supposed to work, there is no issue."}}
{"actor":{"display_login":"kozec"}}