当前位置: 首页 > news >正文

清城区做模板网站建设免费使用seo软件

清城区做模板网站建设,免费使用seo软件,普宁17网站一起做网店,列举免费域名注册的网站在运行CORE tutorial 3中的mobility示例时,出现如下错误: 当看到这个问题的时候,并没有仔细去分析日志和现象,在core-daemon的进程打印界面只看了一下最后的出错堆栈: 2024-06-27 10:43:48,614 - ERROR - _server:_ca…

在运行CORE tutorial 3中的mobility示例时,出现如下错误:
在这里插入图片描述
当看到这个问题的时候,并没有仔细去分析日志和现象,在core-daemon的进程打印界面只看了一下最后的出错堆栈:

2024-06-27 10:43:48,614 - ERROR - _server:_call_behavior - Exception calling application: int() argument must be a string, a bytes-like object or a real number, not ‘NoneType’
Traceback (most recent call last):
File “/opt/core/venv/lib/python3.10/site-packages/grpc/_server.py”, line 494, in _call_behavior
response_or_iterator = behavior(argument, context)
File “/opt/core/venv/lib/python3.10/site-packages/core/api/grpc/server.py”, line 916, in MobilityAction
node.mobility.stop(move_initial=True)
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 1095, in stop
super().stop(move_initial=move_initial)
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 839, in stop
self.session.mobility.sendevent(self)
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 209, in sendevent
end_time = int(model.endtime)
TypeError: int() argument must be a string, a bytes-like object or a real number, not ‘NoneType’

然而,从这里很难看出什么问题。在网上各种搜索关键字也是毫无收获。还怀疑是python3.10的版本问题,准备退回python3.9再试试。最后都是无劳而返。
偶然又留意了一下core-daemon最开始出错的打印,才发现如下日志:

2024-06-27 10:42:13,978 - INFO - mobility:update_config - ns-2 scripted mobility configured for WLAN 3 using file: /usr/share/core/examples/tutorials/tutorial3/movements1.txt
2024-06-27 10:42:13,979 - ERROR - mobility:startup - mobility startup error
Traceback (most recent call last):
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 136, in startup
self.set_model(node, model, config)
File “/opt/core/venv/lib/python3.10/site-packages/core/config.py”, line 360, in set_model
node.setmodel(model_class, config)
File “/opt/core/venv/lib/python3.10/site-packages/core/nodes/network.py”, line 754, in setmodel
self.mobility.update_config(config)
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 904, in update_config
self.readscriptfile()
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 916, in readscriptfile
file_path = self.findfile(self.file)
File “/opt/core/venv/lib/python3.10/site-packages/core/location/mobility.py”, line 998, in findfile
raise CoreError(f"invalid file: {file_path}")
core.errors.CoreError: invalid file: /usr/share/core/examples/tutorials/tutorial3/movements1.txt

原来这一段才是出错的根本原因。而且在日志中的原因也说明非常明白:movements1.txt有问题。我检查了一下,原因是我的系统对应路径不存在这个文件。于是重新修改了一下此文件对应的路径,可以顺利运行此示例程序了。
现在在回头看这个问题出现时的现象,在wlan3 mobility player这个窗口上也显示了movements1.txt的路径信息,只是自己没有留意或者在意,导致问题的根本原因未被及时发现。
总结此次教训,产生的原因是未仔细查看所有的日志,未仔细观察所有的现象和界面信息,太过于浮躁。

http://www.hkea.cn/news/15071/

相关文章:

  • 学广告专业我后悔了北京seo优化公司
  • 网站建设怎么谈品牌型网站制作价格
  • php网站建设案例雅虎搜索引擎首页
  • 棋牌网站建设广东短视频seo搜索哪家好
  • 做桑拿网站挣钱吗推广软件一键发送
  • 成都app开发解决方案个人seo怎么赚钱
  • 做网站前端设计需要哪些证书百度云网盘
  • 深圳网站建设 设计创公司百度产品优化排名软件
  • 有原型怎么做网站线上推广策划方案范文
  • java怎么做直播网站网站一般怎么推广
  • 衡水做网站推广的公司常见的网络推广方法
  • b2c电子商务网站源码南京seo推广优化
  • 建设企业网站的流程什么网站做推广比较好
  • 淄博网站制作定制网站怎么添加外链
  • 长沙网站关键词排名推广公司深圳网络推广哪家
  • 帮别人做设计的网站拉新推广一手接单平台
  • zencart网站模板如何做好精准营销
  • 网站建设业务客户来源百度收录网站提交入口
  • 深圳网站设计联系电话seo在哪学
  • 租电信服务器开网站bt kitty磁力猫
  • app网站开发多少钱怎么做推广让别人主动加我
  • 香港头条新闻百度seo优化包含哪几项
  • 做软装的网站第一站长网
  • 自贡市住房和城乡建设局网站文大侠seo博客
  • 东莞网站设计开发技能大赛兰州网络推广关键词优化
  • dede做的网站怎样去换模版谷歌搜索引擎
  • 建设网站的市场定位新野seo公司
  • 仓储服务 东莞网站建设 技术支持百度地图导航2022最新版下载
  • 做一家开发网站的公司2020最成功的网络营销
  • 城乡建设厅建设网站店铺推广方式有哪些