StackTipsLab / bloggy

Open source codebase for stacktips.com blog. It is built using Python and Django framework.
https://stacktips.com
MIT License
18 stars 6 forks source link

I am getting OSError . #43

Open THENISH12 opened 7 months ago

THENISH12 commented 7 months ago

OSError at / [Errno 22] Invalid argument: 'D:\blogcms\bloggy\:\pages\home.html' Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 4.2.1 Exception Type: OSError Exception Value:
[Errno 22] Invalid argument: 'D:\blogcms\bloggy\:\pages\home.html' Exception Location: C:\Users\hp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\django\template\loaders\filesystem.py, line 22, in get_contents Raised during: bloggy.views.pages.IndexView Python Executable: C:\Users\hp\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe Python Version: 3.11.7 Python Path:
['D:\blogcms\bloggy', 'C:\Program ' 'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64qbz5n2kfra8p0\python311.zip', 'C:\Program ' 'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64qbz5n2kfra8p0\DLLs', 'C:\Program ' 'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64qbz5n2kfra8p0\Lib', 'C:\Program ' 'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64qbz5n2kfra8p0', 'C:\Users\hp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages', 'C:\Program ' 'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\site-packages']

Please provide me solution.