Skip to content

Instantly share code, notes, and snippets.

@Kwpolska

Kwpolska/- Secret

Created June 16, 2016 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kwpolska/d2644feb00773cc7b52dd36db0253e5c to your computer and use it in GitHub Desktop.
Save Kwpolska/d2644feb00773cc7b52dd36db0253e5c to your computer and use it in GitHub Desktop.
[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