Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Quickstart fails when directory doesn't exist #115

Open
Evidlo opened this issue Feb 9, 2019 · 0 comments
Open

Quickstart fails when directory doesn't exist #115

Evidlo opened this issue Feb 9, 2019 · 0 comments

Comments

@Evidlo
Copy link

Evidlo commented Feb 9, 2019

[evan@blackbox tmp] statik -p statik_test --quickstart
Exception caught while attempting to generate project
Traceback (most recent call last):
  File "/home/evan/resources/venv3/lib/python3.6/site-packan
    os.path.join(project_path, 'public')
  File "/home/evan/resources/venv3/lib64/python3.6/posixpat
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not N

[evan@blackbox tmp] mkdir statik_test

[evan@blackbox tmp] statik -p statik_test --quickstart
Creating file: /home/evan/tmp/statik_test/config.yml
Creating path: /home/evan/tmp/statik_test/models
Creating path: /home/evan/tmp/statik_test/data
Creating path: /home/evan/tmp/statik_test/themes
Creating path: /home/evan/tmp/statik_test/templates
Creating path: /home/evan/tmp/statik_test/templatetags
Creating path: /home/evan/tmp/statik_test/views
Creating path: /home/evan/tmp/statik_test/assets

[evan@blackbox tmp] pip freeze | grep statik
statik==0.22.2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant