-
Notifications
You must be signed in to change notification settings - Fork 454
Description
Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/Django-2-by-Example-master/Chapter04/bookmarks/manage.py", line 15, in
execute_from_command_line(sys.argv)
File "C:\Python36\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line
utility.execute()
File "C:\Python36\lib\site-packages\django\core\management_init_.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python36\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 60, in execute
super().execute(*args, **options)
File "C:\Python36\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "C:\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 95, in handle
self.run(**options)
File "C:\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 102, in run
autoreload.run_with_reloader(self.inner_run, **options)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 585, in run_with_reloader
start_django(reloader, main_func, *args, **kwargs)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 570, in start_django
reloader.run(django_main_thread)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 288, in run
self.run_loop()
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 294, in run_loop
next(ticker)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 334, in tick
for filepath, mtime in self.snapshot_files():
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 350, in snapshot_files
for file in self.watched_files():
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 249, in watched_files
yield from iter_all_python_module_files()
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 103, in iter_all_python_module_files
return iter_modules_and_files(modules, frozenset(_error_files))
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 136, in iter_modules_and_files
if not path.exists():
File "C:\Python36\lib\pathlib.py", line 1336, in exists
self.stat()
File "C:\Python36\lib\pathlib.py", line 1158, in stat
return self._accessor.stat(self)
File "C:\Python36\lib\pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), *args)
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ''