wireviz / WireViz

Easily document cables and wiring harnesses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

drid opened this issue · comments

commented

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'

commented

@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 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
commented

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

I hope #347 fixed this. Please feel free to reopen issue if not.