ValueError: Invalid dir_browser htdocs_path
See original GitHub issueDescribe the bug
wsgidav fails to start with the default configuration, probably because pip install
does not install everything that’s required.
To Reproduce
- Install it by running
pip3 install --user --use-feature=in-tree-build --compile --no-binary ":all" .
- Run
wsgidav --root=/usr/share/empty
Expected behavior
It should start.
Screenshots, Log-Files, Stacktrace
Running without configuration file.
Traceback (most recent call last):
File "/home/ciupicri/.local/bin/wsgidav", line 8, in <module>
sys.exit(run())
File "/home/ciupicri/.local/lib/python3.10/site-packages/wsgidav/server/server_cli.py", line 803, in run
app = WsgiDAVApp(config)
File "/home/ciupicri/.local/lib/python3.10/site-packages/wsgidav/wsgidav_app.py", line 237, in __init__
app = mw(self, self.application, config)
File "/home/ciupicri/.local/lib/python3.10/site-packages/wsgidav/dir_browser/_dir_browser.py", line 60, in __init__
raise ValueError(
ValueError: Invalid dir_browser htdocs_path '/home/ciupicri/.local/lib/python3.10/site-packages/wsgidav/dir_browser/htdocs'
Environment
WsgiDAV/4.0.1 Python/3.10.2(64 bit) Linux-5.15.15-200.fc35.x86_64-x86_64-with-glibc2.34
Python from: /usr/bin/python3
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:17 (6 by maintainers)
Top Results From Across the Web
save as index.php not working link path folder such as style ...
Try this. Create new folder in htdoc and move you index.php file to that folder. (Try the basic file first to rule out...
Read more >when I try to open an HTML file through `http://localhost/xampp ...
I have installed XAMPP , there is a htdocs folder and inside it index.html file , when I try to open it in...
Read more >Where to Place Local Web Site Content When Using XAMPP ...
A web site located on a local computer is accessed in a browser through the URL localhost and normally served by a local...
Read more >How to configuring a xampp web server for different root ...
I enter xampp\htdocs directory and I want to type in my browser the address: http://localhost/ and enter xampp\htdocs\myproject\web ...
Read more >Apache Server wont change root directory
And there is no error..because it "works" it just accesing the wrong direcotry, which is whitin the xxamp/htdocs folder. – RobertNewToJava. Jun ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This worked for me:
sry, found it myself. https://wsgidav.readthedocs.io/en/latest/installation.html#linux-macos