iOS-Tagent icon indicating copy to clipboard operation
iOS-Tagent copied to clipboard

页面上的列表元素很多,会很卡,一张图片或者一次poco识别都要30s以上,且一直会报一些错误

Open asfordream opened this issue 5 years ago • 12 comments

'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe')) retry to connect, error: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe')) retry to connect, error: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connectretry to connect, error: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))ion reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) retry to connect, error: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))

asfordream avatar Jun 24 '19 13:06 asfordream

另外方便说一下具体是那个app的那个页面吗? 启动iOS-Tagent之后,用浏览器打开 http://127.0.0.1:8100/inspector ,然后打开浏览器的开发者模式,刷新页面,把network截图发出来,类似下面:

image

EraChen233 avatar Jun 25 '19 01:06 EraChen233

遇到了一样的问题,network还有当前页面的截图,是不是poco需要通过图像识别来进行寻找啊?但是我这里没有报错,但是很久才能找到元素……

xiaoqingcai99 avatar Jul 01 '19 08:07 xiaoqingcai99

可以提供具体的信息以便我们复现吗?

EraChen233 avatar Jul 01 '19 08:07 EraChen233

您好!我爬取的是小红书,搜索关键词后,点击到用户一栏,我需要的只是第一个用户元素,但是需要搜索很久……… 请问您还需要哪些信息呢?

------------------ 原始邮件 ------------------ 发件人: Era Chen [email protected] 发送时间: 2019年7月1日 16:55 收件人: AirtestProject/iOS-Tagent [email protected] 抄送: Amy-CC [email protected], Comment [email protected] 主题: 回复:[AirtestProject/iOS-Tagent] 页面上的列表元素很多,会很卡,一张图片或者一次poco识别都要30s以上,且一直会报一些错误 (#61)

可以提供具体的信息以便我们复现吗?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

xiaoqingcai99 avatar Jul 02 '19 01:07 xiaoqingcai99

这些就可以了,感谢反馈,我们稍后查验一下

EraChen233 avatar Jul 02 '19 01:07 EraChen233

好的!辛苦了!谢谢!

------------------ 原始邮件 ------------------ 发件人: Era Chen [email protected] 发送时间: 2019年7月2日 09:45 收件人: AirtestProject/iOS-Tagent [email protected] 抄送: Amy-CC [email protected], Comment [email protected] 主题: 回复:[AirtestProject/iOS-Tagent] 页面上的列表元素很多,会很卡,一张图片或者一次poco识别都要30s以上,且一直会报一些错误 (#61)

这些就可以了,感谢反馈,我们稍后查验一下

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

xiaoqingcai99 avatar Jul 02 '19 02:07 xiaoqingcai99

@Amy-CC 我这边试了一下你的操作,但是并没有很慢哦。

您好!我爬取的是小红书,搜索关键词后,点击到用户一栏,我需要的只是第一个用户元素,但是需要搜索很久……… 请问您还需要哪些信息呢?

你可以再次在手机上打开会卡的页面,启动iOS-Tagent之后,在浏览器访问这个连接,看一下这个请求的耗时么? http://10.251.70.197:8100/source?format=json

EraChen233 avatar Jul 02 '19 03:07 EraChen233

我用的是app上的,提取数据挺慢的,我再试试,谢谢您!辛苦了!

------------------ 原始邮件 ------------------ 发件人: Era Chen [email protected] 发送时间: 2019年7月2日 11:59 收件人: AirtestProject/iOS-Tagent [email protected] 抄送: Amy-CC [email protected], Mention [email protected] 主题: 回复:[AirtestProject/iOS-Tagent] 页面上的列表元素很多,会很卡,一张图片或者一次poco识别都要30s以上,且一直会报一些错误 (#61)

@Amy-CC 我这边试了一下你的操作,但是并没有很慢哦。

您好!我爬取的是小红书,搜索关键词后,点击到用户一栏,我需要的只是第一个用户元素,但是需要搜索很久……… 请问您还需要哪些信息呢?

你可以再次在手机上打开会卡的页面,启动iOS-Tagent之后,在浏览器访问这个连接,看一下这个请求的耗时么? http://10.251.70.197:8100/source?format=json

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

xiaoqingcai99 avatar Jul 03 '19 11:07 xiaoqingcai99

@EraChen233 页面请求 20190712180022

asfordream avatar Jul 12 '19 10:07 asfordream

xcode 版本和手机系统是什么?

EraChen233 avatar Jul 12 '19 10:07 EraChen233

@EraChen233 是xcode 10.2.1,ios 12.1 另外我这边还有一个错误,我发给你看下
self._sorted_children[item][0] IndexError: list index out of range 20190712184150

asfordream avatar Jul 12 '19 10:07 asfordream

请问这个问题fix了吗?我也遇到卡顿问题了,ios :10.15 xode:10.3

luotiangang avatar Sep 21 '20 13:09 luotiangang