{"action":"created","issue":{"url":"https://api.github.com/repos/datacats/datacats/issues/347","labels_url":"https://api.github.com/repos/datacats/datacats/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/datacats/datacats/issues/347/comments","events_url":"https://api.github.com/repos/datacats/datacats/issues/347/events","html_url":"https://github.com/datacats/datacats/issues/347","id":110801240,"number":347,"title":"Paster command cannot write to .ini file","user":{"login":"deniszgonjanin","id":209316,"avatar_url":"https://avatars.githubusercontent.com/u/209316?v=3","gravatar_id":"","url":"https://api.github.com/users/deniszgonjanin","html_url":"https://github.com/deniszgonjanin","followers_url":"https://api.github.com/users/deniszgonjanin/followers","following_url":"https://api.github.com/users/deniszgonjanin/following{/other_user}","gists_url":"https://api.github.com/users/deniszgonjanin/gists{/gist_id}","starred_url":"https://api.github.com/users/deniszgonjanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniszgonjanin/subscriptions","organizations_url":"https://api.github.com/users/deniszgonjanin/orgs","repos_url":"https://api.github.com/users/deniszgonjanin/repos","events_url":"https://api.github.com/users/deniszgonjanin/events{/privacy}","received_events_url":"https://api.github.com/users/deniszgonjanin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/datacats/datacats/labels/docs","name":"docs","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-10T15:36:50Z","updated_at":"2015-10-13T03:28:33Z","closed_at":null,"body":"Creating a new ckan extension using the CKAN paster command fails because the .ini is not writeable by the container. It's not an often used command, but documenting here anyway for reference:\r\n\r\n`$ paster create -t ckanext ckanext-test`\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/ckan/bin/paster\", line 9, in <module>\r\n    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()\r\n  File \"/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py\", line 104, in run\r\n    invoke(command, command_name, options, args[1:])\r\n  File \"/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py\", line 143, in invoke\r\n    exit_code = runner.run(args)\r\n  File \"/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py\", line 238, in run\r\n    result = self.command()\r\n  File \"/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/create_distro.py\", line 191, in command\r\n    self.write_vars(self.options.config, write_vars)\r\n  File \"/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py\", line 760, in write_vars\r\n    p.write(open(config, 'w'))\r\nIOError: [Errno 30] Read-only file system: '/project/development.ini'\r\n```"},"comment":{"url":"https://api.github.com/repos/datacats/datacats/issues/comments/147584735","html_url":"https://github.com/datacats/datacats/issues/347#issuecomment-147584735","issue_url":"https://api.github.com/repos/datacats/datacats/issues/347","id":147584735,"user":{"login":"JackMc","id":746519,"avatar_url":"https://avatars.githubusercontent.com/u/746519?v=3","gravatar_id":"","url":"https://api.github.com/users/JackMc","html_url":"https://github.com/JackMc","followers_url":"https://api.github.com/users/JackMc/followers","following_url":"https://api.github.com/users/JackMc/following{/other_user}","gists_url":"https://api.github.com/users/JackMc/gists{/gist_id}","starred_url":"https://api.github.com/users/JackMc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackMc/subscriptions","organizations_url":"https://api.github.com/users/JackMc/orgs","repos_url":"https://api.github.com/users/JackMc/repos","events_url":"https://api.github.com/users/JackMc/events{/privacy}","received_events_url":"https://api.github.com/users/JackMc/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T03:28:33Z","updated_at":"2015-10-13T03:28:33Z","body":"The issue here is that the development.ini inside that container is basically temp, as it's the auto generated one."}}