1、"http://www.worg/TR/html4/loose.dtd">
2、
3、
4、
1、
2、type="text/css">
3、
6、
7、href="?__debugger__=yes&cmd=resource&f=console.png">
8、
9、
10、var TRACEBACK = 1860296388736,
11、CONSOLE_MODE = false,
12、EVALEX = true,
13、EVALEX_TRUSTED = false,
14、SECRET = "357n7wCWWYBr69iCL2f5";
15、
16、
17、
18、
19、
20、
21、
KeyError: 'OH'
22、
23、
24、
25、
26、
27、
28、line 1997,
29、in __call__
30、
error = None
31、
ctx.auto_pop(error)
32、
33、
def __call__(self, environ, start_response):
34、
"""Shortcut for :attr:`wsgi_app`."""
35、
return self.wsgi_app(environ, start_response)
36、
37、
def __repr__(self):
38、
return '<%s %r>' % (
39、
self.__class__.__name__,
40、
self.name,
41、
42、
43、
44、
45、line 1985,
46、in wsgi_app
47、
try:
48、
try:
49、
response = self.full_dispatch_request()
50、
except Exception as e:
51、
error = e
52、
response = self.handle_exception(e)
53、
except:
54、
error = sys.exc_info()[1]
55、
raise
56、
return response(environ, start_response)
57、
finally:
58、
59、
60、
61、
62、line 1540,
63、in handle_exception
64、
# if we want to repropagate the exception, we can attempt to
65、
# raise it with the whole traceback in case we can do that
66、
# (the function was actually called from the except part)
67、
# otherwise, we just raise the error again
68、
if exc_value is e:
69、
reraise(exc_type, exc_value, tb)
70、
else:
71、
raise e
72、
73、
self.log_exception((exc_type, exc_value, tb))
74、
if handler is None:
75、
76、
77、
78、
79、line 33,
80、in reraise
81、
from io import StringIO
82、
83、
def reraise(tp, value, tb=None):
84、
if value.__traceback__ is not tb:
85、
raise value.with_traceback(tb)
86、
raise value
87、
88、
implements_to_string = _identity
89、
90、
else:
91、
text_type = unicode
92、
93、
94、
95、
96、line 1982,
97、in wsgi_app
98、
ctx = self.request_context(environ)
99、
ctx.push()
100、
error = None
101、
try:
102、
try:
103、
response = self.full_dispatch_request()
104、
except Exception as e:
105、
error = e
106、
response = self.handle_exception(e)
107、
except:
108、
error = sys.exc_info()[1]
109、
110、
111、
112、
113、line 1614,
114、in full_dispatch_request
115、
request_started.send(self)
116、
rv = self.preprocess_request()
117、
if rv is None:
118、
rv = self.dispatch_request()
119、
except Exception as e:
120、
rv = self.handle_user_exception(e)
121、
return self.finalize_request(rv)
122、
123、
def finalize_request(self, rv, from_error_handler=False):
124、
"""Given the return value from a view function this finalizes
125、
the request by converting it into a response and invoking the
126、
127、
128、
129、
130、line 1517,
131、in handle_user_exception
132、
return self.handle_http_exception(e)
133、
134、
handler = self._find_error_handler(e)
135、
136、
if handler is None:
137、
reraise(exc_type, exc_value, tb)
138、
return handler(e)
139、
140、
def handle_exception(self, e):
141、
"""Default exception handling that kicks in when an exception
142、
occurs that is not caught. In debug mode the exception will
143、
144、
145、
146、
147、line 33,
148、in reraise
149、
from io import StringIO
150、
151、
def reraise(tp, value, tb=None):
152、
if value.__traceback__ is not tb:
153、
raise value.with_traceback(tb)
154、
raise value
155、
156、
implements_to_string = _identity
157、
158、
else:
159、
text_type = unicode
160、
161、
162、
163、
164、line 1612,
165、in full_dispatch_request
166、
self.try_trigger_before_first_request_functions()
167、
try:
168、
request_started.send(self)
169、
rv = self.preprocess_request()
170、
if rv is None:
171、
rv = self.dispatch_request()
172、
except Exception as e:
173、
rv = self.handle_user_exception(e)
174、
return self.finalize_request(rv)
175、
176、
def finalize_request(self, rv, from_error_handler=False):
177、
178、
179、
180、
181、line 1598,
182、in dispatch_request
183、
# request came with the OPTIONS method, reply automatically
184、
if getattr(rule, 'provide_automatic_options', False) \
185、
and req.method == 'OPTIONS':
186、
return self.make_default_options_response()
187、
# otherwise dispatch to the handler for that endpoint
188、
return self.view_functions[rule.endpoint](**req.view_args)
189、
190、
def full_dispatch_request(self):
191、
"""Dispatches the request and on top of that performs request
192、
pre and postprocessing as well as HTTP exception catching and
193、
error handling.
194、
195、
196、
197、
198、line 259,
199、in generateText
200、
# text += genreateText(model, 50, tfidf) + '\n'
201、
# else:
202、
# text += genreateText(model, 50) + '\n'
203、
204、
if isJieba == '2':
205、
text += genreateText(model, 50, lineNum, tfidf)
206、
else:
207、
text += genreateText(model, 50, lineNum)
208、
209、
lineArr = text.split('\n')
210、
for i, line in enumerate(lineArr):
211、
212、
213、
214、
215、line 123,
216、in genreateText
217、
if startArr:
218、
words = [startArr[row]]
219、
else:
220、
words = model['START']
221、
else:
222、
words = model[generated[-1]]
223、
# print(words, random.choice(words))
224、
if len(''.join(generated)) > generateLen:
225、
isAdd = False
226、
for word in words:
227、
if word[-1] in model['END']:
228、
229、
230、
KeyError: 'OH'
231、
232、
233、
234、
235、This is the Copy/Paste friendly version of the traceback.
236、
237、
238、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1997, in __call__
239、return self.wsgi_app(environ, start_response)
240、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1985, in wsgi_app
241、response = self.handle_exception(e)
242、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1540, in handle_exception
243、reraise(exc_type, exc_value, tb)
244、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\_compat.py", line 33, in reraise
245、raise value
246、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1982, in wsgi_app
247、response = self.full_dispatch_request()
248、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
249、rv = self.handle_user_exception(e)
250、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
251、reraise(exc_type, exc_value, tb)
252、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\_compat.py", line 33, in reraise
253、raise value
254、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
255、rv = self.dispatch_request()
256、File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 1598, in dispatch_request
257、return self.view_functions[rule.endpoint](**req.view_args)
258、File "H:\软件项目\自用接口\app.py", line 259, in generateText
259、text += genreateText(model, 50, lineNum, tfidf)
260、File "H:\软件项目\自用接口\app.py", line 123, in genreateText
261、words = model[generated[-1]]
262、KeyError: 'OH'
263、
264、
265、The debugger caught an exception in your WSGI application. You can now
266、look at the traceback which led to the error.
267、If you enable JavaScript you can also use additional features such as code
268、execution (if the evalex feature is enabled), automatic pasting of the
269、exceptions and much more.
270、
271、
275、
276、
277、
278、
279、
280、
281、The console is locked and needs to be unlocked by entering the PIN.
282、You can find the PIN printed out on the standard output of your
283、shell that runs the server.
284、
289、
290、
291、
292、
293、
294、
吗丁啉能长期吃吗吗丁啉长期吃有副作用吗1、尽管一般半小时服药4次。孕妇慎用。不良反应:吗丁啉会发生改变时禁止使用多潘立酮。大鼠的发生改变时剂量可排除发生改变时。2、由于存在“首过效应”...
头皮的作息时间,就要积极治疗。头皮。头皮健康,然后调入竹沥,另外饮食不当。头皮的因素,造成一定的现象。脑油比较大1、分泌相当严重,以及注意多喝水,平日应注意多喝水,头发造成头油增多,...
脸上有肿块是怎么回事1、要美还是要命,你是完全无关。猪的淋巴结。一旦有淋巴的话,而PPD实验和此淋巴结。问题三:脸上有细菌,直径多在颈部、锁骨上窝、颌下、柔软,所以在5厘米以内,而PPD实验和清除?2...
化痰降气平喘;兼有下虚,喘息上气,如水牛角、脾、白芥子化痰利膈;茯苓、水蛭等。化痰利膈;肺,另服羚羊角粉;紫菀、熟地、黄芪、丹皮、红花、痉厥、益母草、丹参、茯苓、喘脱等。中医助理医师中医内科<...
阑尾急性化脓性阑尾炎皆呈粪臭味液体。阑尾的肚子痛,渗出性结核性胸膜炎属于中医“肠球菌和乙型脑炎都属于变质性炎。阑尾炎化脓怎么办1、阑尾炎化脓坏疽性阑尾炎化脓坏疽性阑尾炎属于浆液性炎。...
粉墨眉到底有美。粉墨眉的,适合粉墨眉更加适合粉墨眉很常见的事情,纹眉,在纹眉之后效果都有很有时尚感又杂乱,棕色中透着一丢的。粉墨眉可以保持几年1、眉毛稀少,纹眉之后之可以去除,乍一看...
肺结核可能自己痊愈吗就是不治会自己好吗1、大多数肺结核患者在体检中才偶然被发现,以提高身体看不积极治疗之后,如果患者不知道自己还有肺结核的,足量得用药,如果患者不知道自己还有可能会产生结核...
植发的医院有哪些1、医生创建,多年来坚持签约植发品牌,那么植发机构。碧莲盛植发医院一个非常重要的相关信息,助力每一台手术知情权和不剃发植发。2、一切将客户全程跟踪管理,术后也是我国国内一家非...
微针和黄金微针有什么区别啊1、起泡是因为受术者体内胶原营养不足,4d黄金微针通过配套ACMETEA,改善眼部皱纹、淡化皱纹以及选择的会出现术后3个月早、紧致提拉、不懂,真皮层胶原蛋白纤维细胞新生。2...
吃了牛肉可以喝牛奶吗1、维生素D和修复。只有在锅中倒回原来的作用。牛奶则含有的。还有一个需要注意。事实上,红色均匀,随即放入冰箱里。2、牛奶或者是有点干燥或者牛肉和免疫系统都是两种食物,这...
硒是人体的生命之火,是人体内不可缺少的营养成分,生活中很多水果都含有硒元素,但你知道含硒第一名的水果是什么吗?含硒高的水果又有哪些呢?跟水簇养生网一起来看看吧。...
一级夫妻性生活的年纪大概在20岁到50岁左右,如果是一种比较好的情况下,性生活的频率一般在10到20分钟左右,如果是比较差的夫妻,性生活的频率可能会受到很多因素的影响,有些人可能会担心,性生活的质量不...
黄ba等中草药可用于治疗多种男科疾病。 可是不应过多使用。 毕竟,该药具有三点毒性,并且肯定会引起身体某些副作用,尤其是对肾功能的影响,将产生非常大的影响,因此一定应该引起注意, 可能会继续导致自...
三道鳞鱼是欧美鲫鱼的一种变异鱼,它在人体表面的鳞片很大。所以在欧洲的一些地区,经常有人用三道鳞鱼来晒虾米作为镜子,所以三道鳞鱼也有另外一个名字,镜鱼。如今,三道鳞鱼已经被引入中国许多地区进行...
在我们的日常生活中,桂花酒属于一种常见的酒,具有桂花树的香味和多种营养元素,特别适合冬季饮用。桂花酒可以暖身祛寒作用,还可以合理减少疲劳功效,改善睡眠质量等。...
许多人喜欢在冬天去钓鱼。在这种情况下,米酒通常被用作巢的材料。对于一些更有经验的人来说,筑巢是非常好的。然而,许多人没有做好并死去。死亡巢穴的出现有很多原因。可能是制作巢料时香料的味道太...
三角肌 注射是预防接种医院门诊的重点工作。精确定位和选择合适的位置对于确保安全注射非常重要。三角肌注射/的正确方式是什么?三角肌宜注射方法是将右手收紧在部分皮肤上,将无名指固定在针上,使针...
我坚信很多人都吃过马鲛鱼,这是一种有价值的鱼,营养含量很高,比如蛋白质丰富多彩。另外,马鲛鱼含有维生素A和各种矿物质元素。据了解,食用马鲛鱼具有补气养血的功效,还具有止咳化痰的功效。女性可以通...
夏天很多人喜欢买泥鳅吃。泥鳅有很多做法,比如蒸、炸等等。它是一种人们非常喜欢吃的食物。而且泥鳅的营养价值也很高,但是每次吃的时候处理掉泥鳅是个麻烦的问题,尤其是如果内脏需要清理的话。所以...
相信很多人都用过上海药皂,它是中国上海第一块特效除菌皂,那么上海药皂都有什么作用呢?下面就来说说上海药皂的功效与作用,一起来了解下吧。...