-
Notifications
You must be signed in to change notification settings - Fork 246
Open
Description
After runserver:
$ python manage.py runserver
- Restarting with stat
- Debugger is active!
- Debugger PIN: 102-094-644
- Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
I got ValueError : ValueError: path is on mount 'c:', start on mount 'F:'
Traceback (most recent call last):🤔
File "F:\python3.7\lib\site-packages\flask\app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "F:\python3.7\lib\site-packages\flask\app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "F:\python3.7\lib\site-packages\flask\app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "F:\python3.7\lib\site-packages\flask_compat.py", line 33, in reraise
raise value
File "F:\python3.7\lib\site-packages\flask\app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "F:\python3.7\lib\site-packages\flask\app.py", line 1479, in full_dispatch_request
response = self.process_response(response)
File "F:\python3.7\lib\site-packages\flask\app.py", line 1691, in process_response
response = handler(response)
File "F:\python3.7\lib\site-packages\flask_debugtoolbar_init_.py", line 223, in process_response
toolbar_html = toolbar.render_toolbar()
File "F:\python3.7\lib\site-packages\flask_debugtoolbar\toolbar.py", line 46, in render_toolbar
return template.render(**context)
File "F:\python3.7\lib\site-packages\jinja2\asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "F:\python3.7\lib\site-packages\jinja2\environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "F:\python3.7\lib\site-packages\jinja2\environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "F:\python3.7\lib\site-packages\jinja2_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "F:\python3.7\lib\site-packages\flask_debugtoolbar\templates\base.html", line 50, in top-level template code
{{ panel.content()|safe }}
File "F:\python3.7\lib\site-packages\flask_debugtoolbar\panels\versions.py", line 51, in content
'relpath': relpath,
File "F:\python3.7\lib\site-packages\flask_debugtoolbar\panels_init_.py", line 30, in render
return template.render(**context)
File "F:\python3.7\lib\site-packages\jinja2\asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "F:\python3.7\lib\site-packages\jinja2\environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "F:\python3.7\lib\site-packages\jinja2\environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "F:\python3.7\lib\site-packages\jinja2_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "F:\python3.7\lib\site-packages\flask_debugtoolbar\templates\panels\versions.html", line 23, in top-level template code {{ relpath(package.location, python_lib) }}
File "F:\python3.7\lib\site-packages\flask_debugtoolbar\panels\versions.py", line 12, in relpath
relative = os.path.relpath(location, python_lib)
File "F:\python3.7\lib\ntpath.py", line 564, in relpath
path_drive, start_drive))
ValueError: path is on mount 'c:', start on mount 'F:'
Metadata
Metadata
Assignees
Labels
No labels