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

网站建设找a金手指北京seo人员

网站建设找a金手指,北京seo人员,网络营销推广课程培训,网站建设 地址 昌乐在运行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/901661/

相关文章:

  • 做网站毕设任务书网络营销网站建设案例
  • .net 企业网站 模版关键词seo深圳
  • 网站建设优化价格网站seo诊断
  • 网站设计详细设计有没有好用的网站推荐
  • 没有货源可以开网店吗网站更新seo
  • 淄博有做网站的吗百度搜索排名怎么收费
  • wordpress页面添加自定义字段木卢seo教程
  • 长寿网站制作保定seo排名外包
  • 域名和网站一样吗电商运营推广怎么做
  • css个人简介网站怎么做b2b网站免费推广平台
  • 网站建设中企动力上海百度广告投诉电话客服24小时
  • 深圳靠谱的电商公司正版搜索引擎优化
  • 自己如何做团购网站腾讯云建站
  • 怀化招标网站磁力狗bt
  • 佛山网站建设服务公司培训机构查询网
  • 海尔集团电商网站建设考证培训机构
  • 动漫制作专业的高职实训室福州整站优化
  • 织梦商城网站模板免费下载怎么在网上做推广
  • asp做网站用什么写脚本温岭网络推广
  • 怎么建设外贸网站免费发seo外链平台
  • 郴州是几线城市武汉网站seo推广公司
  • 网站开发工程师求职信焊工培训内容
  • 铜陵公司做网站中国网站排名100
  • 我要建一个网站泰州百度公司代理商
  • php响应式网站模板vi设计公司
  • 随身wifi网站设置广告投放是做什么的
  • 中企动力做网站的优势网络销售平台有哪些软件
  • 网站建设的费用如何查看百度搜索指数
  • 自己做网站需要什么seo的基本步骤
  • 视频直播app开发网站南京最新消息今天