万国觉醒最强执政官活动攻略 万国觉醒最强执政官阶段任务

 内涵001   2023-05-02 15:00:04   0 人阅读  0 条评论

IndexError: Cannot choose from an empty sequence // Werkzeug Debugger var CONSOLE_MODE = false, EVALEX = true, EVALEX_TRUSTED = false, SECRET = "Cztug1SITH6VWk19YYTC";

IndexError

IndexError: Cannot choose from an empty sequence

Traceback(most recent call last)

The above exception was the direct cause of the following exception:

File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line2551, in__call__

def __call__(self, environ: dict, start_response: t.Callable) -> t.Any:

"""The WSGI server calls the Flask application object as the

WSGI application. This calls :meth:`wsgi_app`, which can be

wrapped to apply middleware.

"""

return self.wsgi_app(environ, start_response)

File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line2531, inwsgi_app

try:

ctx.push()

response = self.full_dispatch_request()

except Exception as e:

error = e

response = self.handle_exception(e)

except: # noqa: B001

error = sys.exc_info()[1]

raise

return response(environ, start_response)

finally:

File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line2528, inwsgi_app

ctx = self.request_context(environ)

error: t.Optional[BaseException] = None

try:

try:

ctx.push()

response = self.full_dispatch_request()

except Exception as e:

error = e

response = self.handle_exception(e)

except: # noqa: B001

error = sys.exc_info()[1]

File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line1825, infull_dispatch_request

request_started.send(self)

rv = self.preprocess_request()

if rv is None:

rv = self.dispatch_request()

except Exception as e:

rv = self.handle_user_exception(e)

return self.finalize_request(rv)

def finalize_request(

self,

rv: t.Union[ft.ResponseReturnValue, HTTPException],

File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line1823, infull_dispatch_request

try:

request_started.send(self)

rv = self.preprocess_request()

if rv is None:

rv = self.dispatch_request()

except Exception as e:

rv = self.handle_user_exception(e)

return self.finalize_request(rv)

def finalize_request(

File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line1799, indispatch_request

and req.method == "OPTIONS"

):

return self.make_default_options_response()

# otherwise dispatch to the handler for that endpoint

view_args: t.Dict[str, t.Any] = req.view_args # type: ignore[assignment]

return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)

def full_dispatch_request(self) -> Response:

"""Dispatches the request and on top of that performs request

pre and postprocessing as well as HTTP exception catching and

error handling.

File "/www/wwwroot/chat.py", line39, ingen_header

# post入参访问方式二:from-data(k-v)格式参数

@api.route('/gen_header', methods=['post'])

def gen_header():

wd = flask.request.values.get('wd')

future = executor.submit(do_heavy_work,wd)

return str(future.result())

def do_heavy_work(wd):

prompt = wd

#openai.api_key = api_key_list[-1]

openai.api_key = random.choice(api_key_list)

File "/usr/local/python3/lib/python3.7/concurrent/futures/_base.py", line435, inresult

self._condition.wait(timeout)

if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:

raise CancelledError()

elif self._state == FINISHED:

return self.__get_result()

else:

raise TimeoutError()

def exception(self, timeout=None):

"""Return the exception raised by the call that the future represents.

File "/usr/local/python3/lib/python3.7/concurrent/futures/_base.py", line384, in__get_result

with self._condition:

return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]

def __get_result(self):

if self._exception:

raise self._exception

else:

return self._result

def add_done_callback(self, fn):

"""Attaches a callable that will be called when the future finishes.IndexError: Cannot choose from an empty sequence

This is the Copy/Paste friendly version of the traceback.

concurrent.futures.process._RemoteTraceback: """Traceback (most recent call last): File "/usr/local/python3/lib/python3.7/concurrent/futures/process.py", line 239, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/www/wwwroot/chat.py", line 44, in do_heavy_work openai.api_key = random.choice(api_key_list) File "/usr/local/python3/lib/python3.7/random.py", line 261, in choice raise IndexError('Cannot choose from an empty sequence') from NoneIndexError: Cannot choose from an empty sequence"""The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line 2551, in __call__ return self.wsgi_app(environ, start_response) File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line 2531, in wsgi_app response = self.handle_exception(e) File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line 2528, in wsgi_app response = self.full_dispatch_request() File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/python3/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/wwwroot/chat.py", line 39, in gen_header return str(future.result()) File "/usr/local/python3/lib/python3.7/concurrent/futures/_base.py", line 435, in result return self.__get_result() File "/usr/local/python3/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result raise self._exceptionIndexError: Cannot choose from an empty sequenceThe debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. 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.Brought to you byDON'T PANIC, your friendly Werkzeug powered traceback interpreter.

Console Locked

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.

PIN:

一:万国觉醒最强执政官攻略活动

万国觉醒最强执政官活动攻略,万国觉醒中最近正在举行最强执政官的活动,活动总共分为5个阶段,分别是部队训练、击败野蛮人、资源采集、战力提升和消灭敌军,下面小编来给大家介绍下~
万国觉醒最强执政官活动攻略
一、活动介绍
最强执政官活动总共分为5个阶段,分别是:
部队训练
击败野蛮人
资源采集
战力提升
消灭敌军
前四个阶段将各持续1天,此次为王国首次活动,第五阶段【消灭敌军】只会持续1天,后续第五阶段将持续2天。
每个阶段内,所有执政官都能够通过完成当日的活动来获得积分,累计积分达到一定条件后还能领取进度奖励。
执政官随时都能在活动界面查看自己每个阶段的排名以及总排名,总排名积分等于各阶段积分之和。
二、阶段的排名奖励
该活动及其中各阶段结束后,排名前100名的执政官会通过邮件收到相应的排行奖励。

三、总排名奖励
活动结束的时候总排名前100名的执政官会通过邮件收到相应的排行奖励。
这里就截图了前25名的奖励:

二:万国觉醒最强执政官活动奖励

最强执政官最划算的凯撒和孙武的配合,作为最强步兵统领,强强联合,可以起到强大进攻效果,非常划算。

三:万国觉醒最强执政官活动包含以下哪个阶段

在这里给大家带来一篇主堡升级攻略!主堡,也就是市政厅,是前期游戏最重要的一个建筑物,以下就是升级条件以及升级后的改变。

从以上的信息可以看出,市政厅等级越高,好处多多!不仅能够解锁和升级更多的建筑物,还能增加可以派遣队伍的数量。

随着派遣队伍数量的提升(最多五支部队),大家采集的效率也会越来越高!每天更多的资源收入意味着更快的游戏进度!其次,市政厅等级越高也意味着单支部队的基础容量也会越高,在前期战斗时也是一种优势!

万国觉醒最强执政官活动攻略  万国觉醒最强执政官阶段任务-第1张图片-东江百科

要想快速提升市政厅的等级,我建议大家只升级主堡升级前置的建筑物(必须把前置的建筑物升级了才能升级主堡)。要知道,在万国觉醒里,最多只能让两个建筑同时升级(VIP6级时解锁第二个)。把利益最大化的前提,就是先把对您帮助最大的建筑物升级了→主堡升级前置的建筑物。

那么如何减少建筑升级的时间?下面就是一些小技巧!

1、采集带有建筑加速的符文---击败神庙、圣祠、圣坛和圣所旁边的守护者后则有几率掉落VIP专属增益 --- VIP等级越高,建筑速度加成越高!

2、联盟科技 --- 如果您联盟的建筑科技较低,可以跟盟友沟通,先升级建筑加成科技;或者可以尝试去加入其他联盟

3、王国增益 --- 建筑速度提升10%,持续4小时,由国王开启(神庙被占领后才有国王)

4、VIP专属增益---VIP等级越高,建筑速度加成越高 (VIP10级时,建筑加速+15%,VIP15级时,建筑加速+20%)

5、王国头衔 --- 神庙被占领后即可申请头衔。拿到头衔后即可获得此加成(建筑速度提升10%)。当头衔被转移到其他玩家时加成就会消失。一般申请方式为在 "王国聊天频道或者指定群聊" 发送自己坐标后打出"建筑师或者architect"(使用完后请在频道内打出"完成,谢谢或者done,thanks")

6、来自联盟的帮助 --- 点击升级建筑物后如果您在一个联盟内,该建筑物会出现"握手"的图标,点击之后您的盟友就会收到您的帮助请求(具体查看操作为→点击联盟→帮助。每收到一次联盟帮助能够提升1%的当前进度,最低提升时间为1分钟。联盟科技可以提升这一时间.联盟科技点满后,每次帮助最少可以减3分钟)。联盟中心的等级越高,能收到的帮助次数越多,最多为30次(25级的联盟中心)。

7、联盟占领的带有"建筑速度加成"的圣坛(查看方式为点击联盟→点击圣地→即可查看

8、选择中国建筑风格---自带+5%的建筑速度

简单地说,在升级建筑物前,以上的八个点能整多少整多少。都整齐全了以后再使用加速道具!切记!一定要养成这个好习惯。同时,升级科技也是同理!

补充:

1. 想查看具体增益数据,具体操作为点击市政厅→点击弹出的"数据按钮"→即可查看经济类增益效果和军事类增益效果

2. 想要更换城市皮肤,具体操作为→点击市政厅→点击弹出的黄色按钮,即可查看和更换已拥有的皮肤

3. 想要查看与市政厅相关的数据,具体操作为→点击市政厅,点击弹出的"i"按钮,再次点击位于中间的"i"按钮→即可查看

感谢您的阅读!以上就是主堡升级攻略啦~希望能帮到各位!

本文地址:https://www.neihan001.com/zyfx/120814.html
版权声明:免责声明:本文来源网友投稿及网络整合仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。投诉邮箱:1765130767@qq.com.
  • 评论已关闭!