Skip to content

Instantly share code, notes, and snippets.

@Kwpolska Kwpolska/- Secret

Created Jun 16, 2016
Embed
What would you like to do?
[kwpolska@kw-cassandra ~]% /snap/bin/nikola init -qd ~/foobar ~ 0
[2016-06-16T18:24:13Z] INFO: init: A new site with example data has been created at /home/kwpolska/foobar.
[2016-06-16T18:24:13Z] INFO: init: See README.txt in that folder for more information.
[kwpolska@kw-cassandra ~]% /snap/bin/nikola init -qd foobar ~ 0
Traceback (most recent call last):
File "/snap/nikola/current/usr/lib/python3/dist-packages/doit/doit_cmd.py", line 168, in run
return command.parse_execute(args)
File "/snap/nikola/current/usr/lib/python3/dist-packages/doit/cmd_base.py", line 122, in parse_execute
return self.execute(params, args)
File "/snap/nikola/current/usr/lib/python3/dist-packages/nikola/plugin_categories.py", line 124, in execute
return self._execute(options, args)
File "/snap/nikola/current/usr/lib/python3/dist-packages/nikola/plugins/command/init.py", line 512, in _execute
self.copy_sample_site(target)
File "/snap/nikola/current/usr/lib/python3/dist-packages/nikola/plugins/command/init.py", line 267, in copy_sample_site
shutil.copytree(src, target)
File "/snap/nikola/current/usr/lib/python3.5/shutil.py", line 309, in copytree
os.makedirs(dst)
File "/snap/nikola/current/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
OSError: [Errno 30] Read-only file system: 'foobar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.