Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Pip package is missing templates dir and files in v0.4 #345

Open
drid opened this issue May 15, 2024 · 3 comments · May be fixed by #347
Open

[bug] Pip package is missing templates dir and files in v0.4 #345

drid opened this issue May 15, 2024 · 3 comments · May be fixed by #347
Labels
bug Something isn't working

Comments

@drid
Copy link

drid commented May 15, 2024

It seems that the templates dir is not packaged by CI

FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/pipx/venvs/wireviz/lib/python3.11/site-packages/wireviz/templates/simple.html'

@kvid
Copy link
Collaborator

kvid commented May 16, 2024

@drid - thank's for reporting this error, but please provide information about your set of versions as described in CONTRIBUTING.md and how you installed WireViz and dependencies. Otherwise, it might be hard to help you when nobody knows how to recreate the error you report.

@kvid kvid linked a pull request May 16, 2024 that will close this issue
3 tasks
@JohannesSteiner
Copy link

@kvid I got the same issue today after updating to wire-viz 0.4. Uninstalling and re-installing did not resolve the issue.

Looks like the template folder from src/wireviz/templates is missing in the installed package (refer to picture below).
Bildschirmfoto vom 2024-05-17 01-24-14

System information:

  • WireViz 0.4 (in venv)
  • Python 3.11.6
  • Ubuntu 23.10

@kvid
Copy link
Collaborator

kvid commented May 17, 2024

Check out PR #347 that might resolve this issue. Please comment the outcome of your testing, including your OS and Python versions.

@kvid kvid changed the title Pip package is missing templates dir and files [bug] Pip package is missing templates dir and files in v0.4 May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants