Skip to content

I am getting OSError . #43

@THENISH12

Description

@THENISH12

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_x64__qbz5n2kfra8p0\python311.zip',
'C:\Program '
'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\DLLs',
'C:\Program '
'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib',
'C:\Program '
'Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0',
'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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions