优惠券 > Dynadot > Dynadot优惠券 > Dynadot优惠码,
Dynadot优惠码,
- 购买价格:
免费
- 优 惠 额:
满0减0
- 有 效 期:
已结束
- 券 类 型:
活动券
- 网站地址:http://www.dynadot.com
- 领取数量: 已发放 1 张
- 更 多 券: 更多Dynadot优惠券
- 使用规则:发布时间:22-03-02
- Dynadot优惠码,<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>deep_translator.exceptions.TooManyRequests: Server Error: You made too many requests to the server. According to google, you are allowed to make 5 requests per second and up to 200k requests per day. You can wait and try again later or you can try the translate_batch function // Werkzeug Debugger</title>
<link rel="stylesheet" href="?__debugger__=yes&cmd=resource&f=style.css"
type="text/css">
<!-- We need to make sure this has a favicon so that the debugger does
not by accident trigger a request to /favicon.ico which might
change the application state. -->
<link rel="shortcut icon"
href="?__debugger__=yes&cmd=resource&f=console.png">
<script src="?__debugger__=yes&cmd=resource&f=jquery.js"></script>
<script src="?__debugger__=yes&cmd=resource&f=debugger.js"></script>
<script type="text/javascript">
var TRACEBACK = 324449392,
CONSOLE_MODE = false,
EVALEX = true,
EVALEX_TRUSTED = false,
SECRET = "FvPBPUl4eIgmkHIskRPN";
</script>
</head>
<body style="background-color: #fff">
<div class="debugger">
<h1>deep_translator.exceptions.TooManyRequests</h1>
<div class="detail">
<p class="errormsg">deep_translator.exceptions.TooManyRequests: Server Error: You made too many requests to the server. According to google, you are allowed to make 5 requests per second and up to 200k requests per day. You can wait and try again later or you can try the translate_batch function</p>
</div>
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
<div class="traceback">
<ul><li><div class="frame" id="frame-324449784">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">2309</em>,
in <code class="function">__call__</code></h4>
<div class="source"><pre class="line before"><span class="ws"></span> </pre>
<pre class="line before"><span class="ws"> </span>def __call__(self, environ, start_response):</pre>
<pre class="line before"><span class="ws"> </span>"""The WSGI server calls the Flask application object as the</pre>
<pre class="line before"><span class="ws"> </span>WSGI application. This calls :meth:`wsgi_app` which can be</pre>
<pre class="line before"><span class="ws"> </span>wrapped to applying middleware."""</pre>
<pre class="line current"><span class="ws"> </span>return self.wsgi_app(environ, start_response)</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>def __repr__(self):</pre>
<pre class="line after"><span class="ws"> </span>return '<%s %r>' % (</pre>
<pre class="line after"><span class="ws"> </span>self.__class__.__name__,</pre>
<pre class="line after"><span class="ws"> </span>self.name,</pre></div>
</div>
<li><div class="frame" id="frame-324449840">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">2295</em>,
in <code class="function">wsgi_app</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>try:</pre>
<pre class="line before"><span class="ws"> </span>ctx.push()</pre>
<pre class="line before"><span class="ws"> </span>response = self.full_dispatch_request()</pre>
<pre class="line before"><span class="ws"> </span>except Exception as e:</pre>
<pre class="line before"><span class="ws"> </span>error = e</pre>
<pre class="line current"><span class="ws"> </span>response = self.handle_exception(e)</pre>
<pre class="line after"><span class="ws"> </span>except:</pre>
<pre class="line after"><span class="ws"> </span>error = sys.exc_info()[1]</pre>
<pre class="line after"><span class="ws"> </span>raise</pre>
<pre class="line after"><span class="ws"> </span>return response(environ, start_response)</pre>
<pre class="line after"><span class="ws"> </span>finally:</pre></div>
</div>
<li><div class="frame" id="frame-324449728">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">1741</em>,
in <code class="function">handle_exception</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span># if we want to repropagate the exception, we can attempt to</pre>
<pre class="line before"><span class="ws"> </span># raise it with the whole traceback in case we can do that</pre>
<pre class="line before"><span class="ws"> </span># (the function was actually called from the except part)</pre>
<pre class="line before"><span class="ws"> </span># otherwise, we just raise the error again</pre>
<pre class="line before"><span class="ws"> </span>if exc_value is e:</pre>
<pre class="line current"><span class="ws"> </span>reraise(exc_type, exc_value, tb)</pre>
<pre class="line after"><span class="ws"> </span>else:</pre>
<pre class="line after"><span class="ws"> </span>raise e</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>self.log_exception((exc_type, exc_value, tb))</pre>
<pre class="line after"><span class="ws"> </span>if handler is None:</pre></div>
</div>
<li><div class="frame" id="frame-324449896">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\_compat.py"</cite>,
line <em class="line">35</em>,
in <code class="function">reraise</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>from io import StringIO</pre>
<pre class="line before"><span class="ws"></span> </pre>
<pre class="line before"><span class="ws"> </span>def reraise(tp, value, tb=None):</pre>
<pre class="line before"><span class="ws"> </span>if value.__traceback__ is not tb:</pre>
<pre class="line before"><span class="ws"> </span>raise value.with_traceback(tb)</pre>
<pre class="line current"><span class="ws"> </span>raise value</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>implements_to_string = _identity</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"></span>else:</pre>
<pre class="line after"><span class="ws"> </span>text_type = unicode</pre></div>
</div>
<li><div class="frame" id="frame-324449616">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">2292</em>,
in <code class="function">wsgi_app</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>ctx = self.request_context(environ)</pre>
<pre class="line before"><span class="ws"> </span>error = None</pre>
<pre class="line before"><span class="ws"> </span>try:</pre>
<pre class="line before"><span class="ws"> </span>try:</pre>
<pre class="line before"><span class="ws"> </span>ctx.push()</pre>
<pre class="line current"><span class="ws"> </span>response = self.full_dispatch_request()</pre>
<pre class="line after"><span class="ws"> </span>except Exception as e:</pre>
<pre class="line after"><span class="ws"> </span>error = e</pre>
<pre class="line after"><span class="ws"> </span>response = self.handle_exception(e)</pre>
<pre class="line after"><span class="ws"> </span>except:</pre>
<pre class="line after"><span class="ws"> </span>error = sys.exc_info()[1]</pre></div>
</div>
<li><div class="frame" id="frame-324449672">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">1815</em>,
in <code class="function">full_dispatch_request</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>request_started.send(self)</pre>
<pre class="line before"><span class="ws"> </span>rv = self.preprocess_request()</pre>
<pre class="line before"><span class="ws"> </span>if rv is None:</pre>
<pre class="line before"><span class="ws"> </span>rv = self.dispatch_request()</pre>
<pre class="line before"><span class="ws"> </span>except Exception as e:</pre>
<pre class="line current"><span class="ws"> </span>rv = self.handle_user_exception(e)</pre>
<pre class="line after"><span class="ws"> </span>return self.finalize_request(rv)</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>def finalize_request(self, rv, from_error_handler=False):</pre>
<pre class="line after"><span class="ws"> </span>"""Given the return value from a view function this finalizes</pre>
<pre class="line after"><span class="ws"> </span>the request by converting it into a response and invoking the</pre></div>
</div>
<li><div class="frame" id="frame-324449560">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">1718</em>,
in <code class="function">handle_user_exception</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>return self.handle_http_exception(e)</pre>
<pre class="line before"><span class="ws"></span> </pre>
<pre class="line before"><span class="ws"> </span>handler = self._find_error_handler(e)</pre>
<pre class="line before"><span class="ws"></span> </pre>
<pre class="line before"><span class="ws"> </span>if handler is None:</pre>
<pre class="line current"><span class="ws"> </span>reraise(exc_type, exc_value, tb)</pre>
<pre class="line after"><span class="ws"> </span>return handler(e)</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>def handle_exception(self, e):</pre>
<pre class="line after"><span class="ws"> </span>"""Default exception handling that kicks in when an exception</pre>
<pre class="line after"><span class="ws"> </span>occurs that is not caught. In debug mode the exception will</pre></div>
</div>
<li><div class="frame" id="frame-324448496">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\_compat.py"</cite>,
line <em class="line">35</em>,
in <code class="function">reraise</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>from io import StringIO</pre>
<pre class="line before"><span class="ws"></span> </pre>
<pre class="line before"><span class="ws"> </span>def reraise(tp, value, tb=None):</pre>
<pre class="line before"><span class="ws"> </span>if value.__traceback__ is not tb:</pre>
<pre class="line before"><span class="ws"> </span>raise value.with_traceback(tb)</pre>
<pre class="line current"><span class="ws"> </span>raise value</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>implements_to_string = _identity</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"></span>else:</pre>
<pre class="line after"><span class="ws"> </span>text_type = unicode</pre></div>
</div>
<li><div class="frame" id="frame-324450680">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">1813</em>,
in <code class="function">full_dispatch_request</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>self.try_trigger_before_first_request_functions()</pre>
<pre class="line before"><span class="ws"> </span>try:</pre>
<pre class="line before"><span class="ws"> </span>request_started.send(self)</pre>
<pre class="line before"><span class="ws"> </span>rv = self.preprocess_request()</pre>
<pre class="line before"><span class="ws"> </span>if rv is None:</pre>
<pre class="line current"><span class="ws"> </span>rv = self.dispatch_request()</pre>
<pre class="line after"><span class="ws"> </span>except Exception as e:</pre>
<pre class="line after"><span class="ws"> </span>rv = self.handle_user_exception(e)</pre>
<pre class="line after"><span class="ws"> </span>return self.finalize_request(rv)</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>def finalize_request(self, rv, from_error_handler=False):</pre></div>
</div>
<li><div class="frame" id="frame-324451240">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\flask\app.py"</cite>,
line <em class="line">1799</em>,
in <code class="function">dispatch_request</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span># request came with the OPTIONS method, reply automatically</pre>
<pre class="line before"><span class="ws"> </span>if getattr(rule, 'provide_automatic_options', False) \</pre>
<pre class="line before"><span class="ws"> </span>and req.method == 'OPTIONS':</pre>
<pre class="line before"><span class="ws"> </span>return self.make_default_options_response()</pre>
<pre class="line before"><span class="ws"> </span># otherwise dispatch to the handler for that endpoint</pre>
<pre class="line current"><span class="ws"> </span>return self.view_functions[rule.endpoint](**req.view_args)</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>def full_dispatch_request(self):</pre>
<pre class="line after"><span class="ws"> </span>"""Dispatches the request and on top of that performs request</pre>
<pre class="line after"><span class="ws"> </span>pre and postprocessing as well as HTTP exception catching and</pre>
<pre class="line after"><span class="ws"> </span>error handling.</pre></div>
</div>
<li><div class="frame" id="frame-324451296">
<h4>File <cite class="filename">"C:\pythoncode\google tranlate\app.py"</cite>,
line <em class="line">243</em>,
in <code class="function">mymemoryfy</code></h4>
<div class="source"><pre class="line before"><span class="ws"></span>@app.route('/mymemoryfy',methods=['GET','POST'])</pre>
<pre class="line before"><span class="ws"></span>def mymemoryfy():</pre>
<pre class="line before"><span class="ws"> </span>txt = request.values.get('q') #获取参数</pre>
<pre class="line before"><span class="ws"> </span>source = request.values.get('s') #获取参数</pre>
<pre class="line before"><span class="ws"> </span>target = request.values.get('t') #获取参数</pre>
<pre class="line current"><span class="ws"> </span>translated = MyMemoryTranslator(source=source, target=target).translate(text=txt)</pre>
<pre class="line after"><span class="ws"> </span>return translated</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"></span>@app.route('/deeplfy',methods=['GET','POST'])</pre>
<pre class="line after"><span class="ws"></span>def deeplfy():</pre>
<pre class="line after"><span class="ws"> </span>txt = request.values.get('q') #获取参数</pre></div>
</div>
<li><div class="frame" id="frame-324451352">
<h4>File <cite class="filename">"C:\anaconda3\lib\site-packages\deep_translator\mymemory.py"</cite>,
line <em class="line">101</em>,
in <code class="function">translate</code></h4>
<div class="source"><pre class="line before"><span class="ws"> </span>params=self._url_params,</pre>
<pre class="line before"><span class="ws"> </span>headers=self.headers,</pre>
<pre class="line before"><span class="ws"> </span>proxies=self.proxies)</pre>
<pre class="line before"><span class="ws"></span> </pre>
<pre class="line before"><span class="ws"> </span>if response.status_code == 429:</pre>
<pre class="line current"><span class="ws"> </span>raise TooManyRequests()</pre>
<pre class="line after"><span class="ws"> </span>if response.status_code != 200:</pre>
<pre class="line after"><span class="ws"> </span>raise RequestError()</pre>
<pre class="line after"><span class="ws"></span> </pre>
<pre class="line after"><span class="ws"> </span>data = response.json()</pre>
<pre class="line after"><span class="ws"> </span>if not data:</pre></div>
</div>
</ul>
<blockquote>deep_translator.exceptions.TooManyRequests: Server Error: You made too many requests to the server. According to google, you are allowed to make 5 requests per second and up to 200k requests per day. You can wait and try again later or you can try the translate_batch function</blockquote>
</div>
<div class="plain">
<form action="/?__debugger__=yes&cmd=paste" method="post">
<p>
<input type="hidden" name="language" value="pytb">
This is the Copy/Paste friendly version of the traceback. <span
class="pastemessage">You can also paste this traceback into
a <a href="https://gist.github.com/">gist</a>:
<input type="submit" value="create paste"></span>
</p>
<textarea cols="50" rows="10" name="code" readonly>Traceback (most recent call last):
File "C:\anaconda3\lib\site-packages\flask\app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "C:\anaconda3\lib\site-packages\flask\app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\anaconda3\lib\site-packages\flask\_compat.py", line 35, in reraise
raise value
File "C:\anaconda3\lib\site-packages\flask\app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\anaconda3\lib\site-packages\flask\_compat.py", line 35, in reraise
raise value
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\pythoncode\google tranlate\app.py", line 243, in mymemoryfy
translated = MyMemoryTranslator(source=source, target=target).translate(text=txt)
File "C:\anaconda3\lib\site-packages\deep_translator\mymemory.py", line 101, in translate
raise TooManyRequests()
deep_translator.exceptions.TooManyRequests: Server Error: You made too many requests to the server. According to google, you are allowed to make 5 requests per second and up to 200k requests per day. You can wait and try again later or you can try the translate_batch function</textarea>
</form>
</div>
<div class="explanation">
The debugger caught an exception in your WSGI application. You can now
look at the traceback which led to the error. <span class="nojavascript">
If you enable JavaScript you can also use additional features such as code
execution (if the evalex feature is enabled), automatic pasting of the
exceptions and much more.</span>
</div>
<div class="footer">
Brought to you by <strong class="arthur">DON'T PANIC</strong>, your
friendly Werkzeug powered traceback interpreter.
</div>
</div>
<div class="pin-prompt">
<div class="inner">
<h3>Console Locked</h3>
<p>
The console is locked and needs to be unlocked by entering the PIN.
You can find the PIN printed out on the standard output of your
shell that runs the server.
<form>
<p>PIN:
<input type=text name=pin size=14>
<input type=submit name=btn value="Confirm Pin">
</form>
</div>
</div>
</body>
</html>
<!--
Traceback (most recent call last):
File "C:\anaconda3\lib\site-packages\flask\app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "C:\anaconda3\lib\site-packages\flask\app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\anaconda3\lib\site-packages\flask\_compat.py", line 35, in reraise
raise value
File "C:\anaconda3\lib\site-packages\flask\app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\anaconda3\lib\site-packages\flask\_compat.py", line 35, in reraise
raise value
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "C:\anaconda3\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\pythoncode\google tranlate\app.py", line 243, in mymemoryfy
translated = MyMemoryTranslator(source=source, target=target).translate(text=txt)
File "C:\anaconda3\lib\site-packages\deep_translator\mymemory.py", line 101, in translate
raise TooManyRequests()
deep_translator.exceptions.TooManyRequests: Server Error: You made too many requests to the server. According to google, you are allowed to make 5 requests per second and up to 200k requests per day. You can wait and try again later or you can try the translate_batch function
-->
温馨提示:
此券是收录券,不是券爱购优惠券网直接发放的优惠券,而是Dynadot内的促销活动,需要会员用户进入活动页面内,购买相关的产品,享受此次优惠。
此券是收录券,不是券爱购优惠券网直接发放的优惠券,而是Dynadot内的促销活动,需要会员用户进入活动页面内,购买相关的产品,享受此次优惠。