Skip to content

Instantly share code, notes, and snippets.

@iromli
Created December 7, 2013 02:06
Show Gist options
  • Save iromli/7836478 to your computer and use it in GitHub Desktop.
Save iromli/7836478 to your computer and use it in GitHub Desktop.
invoking `acrylamid new` raises an exception
Traceback (most recent call last):
File "/home/iromli/.virtualenv/groovematic/bin/acrylamid", line 9, in <module>
load_entry_point('acrylamid==0.7.7', 'console_scripts', 'acrylamid')()
File "/home/iromli/.virtualenv/groovematic/lib/python2.7/site-packages/acrylamid/__init__.py", line 213, in Acryl
tasks.collected[options.parser](conf, env, options)
File "/home/iromli/.virtualenv/groovematic/lib/python2.7/site-packages/acrylamid/tasks/new.py", line 42, in run
fd, tmp = tempfile.mkstemp(suffix=ext, dir='.cache/')
File "/home/iromli/.pyenv/versions/2.7.5/lib/python2.7/tempfile.py", line 304, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/home/iromli/.pyenv/versions/2.7.5/lib/python2.7/tempfile.py", line 237, in _mkstemp_inner
file = _os.path.join(dir, pre + name + suf)
TypeError: cannot concatenate 'str' and 'list' objects
@posativ
Copy link

posativ commented Dec 7, 2013

Try:

CONTENT_EXTENSION = ".md"

it seems the list version is only supported in the master (not sure, why).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment