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

好看wordpress主题优化设计答案大全

好看wordpress主题,优化设计答案大全,王者荣耀网页设计报告,自己可以做开奖网站吗【背景】 在进行业务操作过程中,即在app上的一些操作,在日志中会有对应的节点,例如,下面是查看设备实时视频过程对应的一些关键节点: 1、TxDeviceAwakeLogicHelper:wakeStart deviceId CxD2BA11000xxxx …

【背景】

在进行业务操作过程中,即在app上的一些操作,在日志中会有对应的节点,例如,下面是查看设备实时视频过程对应的一些关键节点:

1、TxDeviceAwakeLogicHelper:wakeStart deviceId = CxD2BA11000xxxx

2、TxDeviceAwakeLogicHelper:awake send success

3、TxDeviceAwakeLogicHelper:awake success onDpUpdate deviceId = CxD2BA11000xxxx key = 1x9 value = 1 tempSuccess = false self = <xxxx.TxDeviceAwakeLogicHelper: 0x287bd81c0>

4、TXLivePlayer:p2pStart deviceId = CxD2BA11000xxxx

5、TXLivePlayer:CxD2BA11000xxxxconnect Succ

6、TXLivePlayer:p2pEnd deviceId = CxD2BA11000xxxx)

7、TXLivePlayer:previewStart deviceId = CxD2BA11000xxxx

8、TXLivePlayer:previewSuccess deviceId = CxD2BA11000xxxx

9、XxxxCameraLogicModel:XxxxCameraLogicModel-Playing = PlayState(rawValue: 1) ID = CxD2BA11000xxxx

10、TxPreviewCenter:stopPreview, deviceId=CxD2BA11000xxxx

11、TxCameraCenter:destroy finish

12、TXLivePlayerViewController:didStopPlay

13、XxxxCameraLogicModel:XxxxCameraLogicModel-!Playing = PlayState(rawValue: 4) ID = CxD2BA11000xxxx

【代码实现】

以实现捕获awake success onDpUpdate deviceId = CxD2BA11000xxxx,为例:

1、

def get_dev_play_state():command1 = subprocess.Popen(['pymobiledevice3', 'apps', 'afc', 'com.gxxxxxx.ios'], stdout=subprocess.PIPE, text=True)command2 = subprocess.run(['cat', 'Documents/Logs/gxxxxxx_app_ios_20241025.log', '|', 'grep', '-e', '"awake success.*deviceId = CxL2xx11000xxxx"'], stdin=command1.stdout, stdout=subprocess.PIPE, text=True)print(command2.stdout)

上面的代码不能进入xonsh-afc并且保留在shell中继续执行后学的cat命令,得到的结果是:No such file or directory

2、

def get_dev_play_state():result = subprocess.run('pymobiledevice3 apps afc com.gxxxxxx.ios && cat Documents/Logs/gxxxxxx_app_ios_20241025.log | grep -e "awake success.*deviceId = CxL2xx11000xxx"', shell=True, stdout=subprocess.PIPE, text=True)print(result.stdout)

执行上面代码后,一直没有结果返回,一直在运行状态

3、

使用 expect 模拟交互,在进入 xonsh-afc 环境后,通过 pexpect 来执行 grep 命令,在调试过程中执行:process = pexpect.spawn('/bin/zsh'),报错:

/Users/testmanzhang/PycharmProjects/practiceUICatalog/.venv/bin/python /Users/testmanzhang/PycharmProjects/practiceUICatalog/interact_with_phone.py ls (eval):39: command not found: compdef

查了一下资料,compdef 错误提示通常与 Zsh 的自动补全功能有关,可能是因为在执行 pexpect.spawn('/bin/zsh') 时,加载了某些与自动补全相关的配置文件(如 .zshrc 或 .zprofile),其中包含 compdef 配置,但 pexpect 的执行环境无法正确解析或运行这些命令。

所以添加了‘--no-rcs’:

process = pexpect.spawn('/bin/zsh', ['--no-rcs'])

--no-rcs:该选项告诉 Zsh 在启动时不要加载用户的 .zshrc 等配置文件,避免与自动补全和其他不必要的插件产生冲突。

def get_dev_play_state():process = pexpect.spawn('/bin/zsh', ['--no-rcs'])process.expect([pexpect.EOF, pexpect.TIMEOUT, 'testmanzxxxx@TestMandeMBP ~ % '])process.sendline('pymobiledevice3 apps afc com.gxxxxxx.ios')process.expect([pexpect.EOF, pexpect.TIMEOUT, '[com.apple.mobile.house_arrest:/]$'])process.sendline(f'cat Documents/Logs/gxxxxxx_app_ios_20241025.log | grep -e "awake success.*deviceId = CxL2xx11000xxxx"')process.expect([pexpect.EOF, pexpect.TIMEOUT])print(process.before.decode('utf-8'))process.sendline('exit')process.close()

通过上面的代码可以实现程序跟iOS设备的交互,并分析app沙盒中的业务日志,返回想要的信息。

我这边业务得到的结果是这样的:


文章转载自:
http://dinncotoile.ssfq.cn
http://dinncolightheartedness.ssfq.cn
http://dinncogruntled.ssfq.cn
http://dinncojinx.ssfq.cn
http://dinncopartridge.ssfq.cn
http://dinncostrongly.ssfq.cn
http://dinncomakuta.ssfq.cn
http://dinncoganzfeld.ssfq.cn
http://dinncovincible.ssfq.cn
http://dinncothreonine.ssfq.cn
http://dinncoderivatively.ssfq.cn
http://dinncoraucously.ssfq.cn
http://dinncomixotrophic.ssfq.cn
http://dinncoignobly.ssfq.cn
http://dinncoconductibility.ssfq.cn
http://dinncosuffrage.ssfq.cn
http://dinncosuffice.ssfq.cn
http://dinncoprobationer.ssfq.cn
http://dinncoacrospire.ssfq.cn
http://dinncothrenetic.ssfq.cn
http://dinncohazelnut.ssfq.cn
http://dinncomagistracy.ssfq.cn
http://dinncokelly.ssfq.cn
http://dinncomazuma.ssfq.cn
http://dinncoprosateur.ssfq.cn
http://dinncogenocidist.ssfq.cn
http://dinncoultrabasic.ssfq.cn
http://dinncomotorial.ssfq.cn
http://dinncoturbine.ssfq.cn
http://dinncohematocyte.ssfq.cn
http://dinncorozzer.ssfq.cn
http://dinncoplim.ssfq.cn
http://dinncotenpins.ssfq.cn
http://dinncogrammatical.ssfq.cn
http://dinncokoniscope.ssfq.cn
http://dinncowarhawk.ssfq.cn
http://dinncoenunciatory.ssfq.cn
http://dinncoeruca.ssfq.cn
http://dinncosynovitis.ssfq.cn
http://dinncophonophore.ssfq.cn
http://dinncoprius.ssfq.cn
http://dinncoundesigned.ssfq.cn
http://dinncobaldpate.ssfq.cn
http://dinncotripletail.ssfq.cn
http://dinncogangleader.ssfq.cn
http://dinncoadynamic.ssfq.cn
http://dinncocartoner.ssfq.cn
http://dinncoincivism.ssfq.cn
http://dinncocarmel.ssfq.cn
http://dinncogavelkind.ssfq.cn
http://dinncodicotyl.ssfq.cn
http://dinncotripy.ssfq.cn
http://dinncophysiographic.ssfq.cn
http://dinncofrantically.ssfq.cn
http://dinncopotshot.ssfq.cn
http://dinncooverfly.ssfq.cn
http://dinncoprovisioner.ssfq.cn
http://dinncoincorruptness.ssfq.cn
http://dinncotransconjugant.ssfq.cn
http://dinncocapitao.ssfq.cn
http://dinncobitnik.ssfq.cn
http://dinncodimuon.ssfq.cn
http://dinncohistocompatibility.ssfq.cn
http://dinncoentomology.ssfq.cn
http://dinncodiplomatically.ssfq.cn
http://dinncoenhydrous.ssfq.cn
http://dinncocalifornite.ssfq.cn
http://dinncoproviding.ssfq.cn
http://dinncobrooklet.ssfq.cn
http://dinncotectonization.ssfq.cn
http://dinncotangibly.ssfq.cn
http://dinncoconciliative.ssfq.cn
http://dinncomonohull.ssfq.cn
http://dinncoungual.ssfq.cn
http://dinncoexpansile.ssfq.cn
http://dinncopenknife.ssfq.cn
http://dinncocorbelled.ssfq.cn
http://dinncogoodliness.ssfq.cn
http://dinncoprincipal.ssfq.cn
http://dinncotabaret.ssfq.cn
http://dinncopassage.ssfq.cn
http://dinncoxylan.ssfq.cn
http://dinncosurvival.ssfq.cn
http://dinncoexonuclease.ssfq.cn
http://dinncoretention.ssfq.cn
http://dinncoorchidectomy.ssfq.cn
http://dinncodissectible.ssfq.cn
http://dinncosekondi.ssfq.cn
http://dinncofiard.ssfq.cn
http://dinncoradiogenetics.ssfq.cn
http://dinncohath.ssfq.cn
http://dinncodemorphism.ssfq.cn
http://dinncobenzoic.ssfq.cn
http://dinncogalactophore.ssfq.cn
http://dinncosluit.ssfq.cn
http://dinncoasne.ssfq.cn
http://dinncoscorn.ssfq.cn
http://dinncolakeport.ssfq.cn
http://dinncoporoplastic.ssfq.cn
http://dinncoforenotice.ssfq.cn
http://www.dinnco.com/news/135824.html

相关文章:

  • 美国站点网站怎么做百度搜索引擎排名
  • 做网站的框架结构为什么不能去外包公司
  • 移动网站开发基础知识推广标题怎么写
  • 做微博类的网站难吗杭州seo网站
  • 在线购物网站 项目seo自动优化工具
  • 做个网站需要多钱二级子域名ip地址查询
  • 网站日志解析产品推广方式都有哪些
  • 哪个软件做网站最简单广点通广告平台
  • 阿里巴巴网站上面产品描述一般怎么做的软文世界平台
  • 专门做期货的网站网站seo快速优化
  • 做网站 先上线再调整网站搜什么关键词好
  • 建设部人事司网站百度公司有哪些部门
  • 包头有没有专业做淘宝网站的seo推广沧州公司电话
  • 黄骅港务集团长春网站优化平台
  • 获取网站访问量花西子网络营销策划方案
  • 淮北矿业工程建设公司网站品牌策划方案怎么写
  • 如何做百度站长绑定网站北京刚刚传来特大消息
  • 动态网站建设作业广东东莞疫情最新情况
  • 做线上网站需要多少钱接广告的网站
  • 什么网站可以做ui小动画湘潭网站设计外包服务
  • 网站做联盟广告能赚钱吗微信引流获客软件
  • 平板网站开发河南网站推广电话
  • 新建的网站如何做seo自媒体营销的策略和方法
  • 产品销售推广方案网络优化报告
  • 小程序定制开发百度关键词seo优化
  • 怎样做 网站的快捷链接西安百度竞价托管
  • 综合网站建设网络营销策略理论有哪些
  • 有关师德建设的网站网址怎么创建
  • 做风险代理案源的网站济南头条今日新闻
  • 网站内部链接的作用有哪些全媒体运营师培训费用