V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jxylon
V2EX  ›  Django

求助帖: Watching for file changes with StatReloader

  •  1
     
  •   jxylon · 2019-10-27 21:57:01 +08:00 · 4472 次点击
    这是一个创建于 1889 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Traceback (most recent call last): File "D:/GitHub/Qiandao-Lake-Capacity-Warning-Web-Project/mainproject/manage.py", line 37, in <module> main() File "D:/GitHub/Qiandao-Lake-Capacity-Warning-Web-Project/mainproject/manage.py", line 32, in main execute_from_command_line(sys.argv) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line utility.execute() File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management_init_.py", line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv self.execute(*args, **cmd_options) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 60, in execute super().execute(*args, **options) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\base.py", line 364, in execute output = self.handle(*args, **options) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 95, in handle self.run(**options) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 102, in run autoreload.run_with_reloader(self.inner_run, **options) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 598, in run_with_reloader start_django(reloader, main_func, *args, **kwargs) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 583, in start_django reloader.run(django_main_thread) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 301, in run self.run_loop() File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 307, in run_loop next(ticker) File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 347, in tick for filepath, mtime in self.snapshot_files(): File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 363, in snapshot_files for file in self.watched_files(): File "C:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 262, in watched_files yield from iter_all_python_module_files() File "C:\Users\JASON\AppData\Local\Programs\Python\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:\Users\JASON\AppData\Local\Programs\Python\Python36\lib\site-packages\django\utils\autoreload.py", line 124, in iter_modules_and_files if getattr(module, 'spec', None) is None: SystemError: <built-in function="" getattr=""> returned a result with an error set System check identified no issues (0 silenced).</built-in></module>

    Process finished with exit code 1

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   998 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:24 · PVG 07:24 · LAX 15:24 · JFK 18:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.