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

Quickstart fails when directory doesn't exist #115

@Evidlo

Description

@Evidlo
[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions