测试文件报错
E:\pycharmProject\venv\Scripts\python.exe E:/pycharmProject/hello.py
Traceback (most recent call last):
File "E:\pycharmProject\venv\lib\site-packages\web\utils.py", line 526, in take
yield next(seq)
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:/pycharmProject/hello.py", line 6, in <module>
app = web.application(urls, globals())
File "E:\pycharmProject\venv\lib\site-packages\web\application.py", line 62, in __init__
self.init_mapping(mapping)
File "E:\pycharmProject\venv\lib\site-packages\web\application.py", line 130, in init_mapping
self.mapping = list(utils.group(mapping, 2))
File "E:\pycharmProject\venv\lib\site-packages\web\utils.py", line 531, in group
x = list(take(seq, size))
RuntimeError: generator raised StopIteration