- 博客(9)
- 收藏
- 关注
原创 解决在Windows安装stable diffusion遇到“Torch is not able to use GPU”的问题
如果这个解决方法还没解决问题,可以查看同个issue下的其它回答,或者能找到解决方法。在Windows上安装stable diffusion的最后一步执行。参考了github上的issue,需要修改。保存修改之后再次运行。
2023-04-13 15:33:58
46380
20
原创 解决联想笔记本电脑经常突然休眠的问题
问题我的笔记本型号是联想小新700,最近用着的时候发现屏幕很经常会突然休眠,需要按电源键才能重新开启;尝试了更改屏幕休眠时间,卸载鲁大师软件等方法,也没能解决这个问题。解决方法后面看到说升级BIOS可以解决问题,尝试在官网下载对应型号的BIOS程序之后,升级发现解决了这个问题。升级BIOS的流程可以参考联想社区的文章:https://club.lenovo.com.cn/thread-5505246-1-1.html...
2020-12-30 09:28:19
8444
2
原创 解决Android设备打开飞行模式不会关闭wifi的问题
Android - 打开飞行模式不会关闭wifi的问题问题解决方法问题在Android设备上打开飞行模式,发现不会关闭wifi;可能是自动化脚本运行adb命令来关闭wifi的时候,导致了这个问题。adb -s udid shell am broadcast -a io.appium.settings.wifi --es setstatus enableadb -s udid shell am broadcast -a io.appium.settings.wifi --es setstatus d
2020-12-18 15:48:49
3639
3
原创 Xcode couldn't find any iOS App Development provisioning profiles matching
问题之前build的时候都没有问题的,但这几天用xcodebuild WDA的时候出现了问题,提示说自动签名是disabled,导致没办法生成profile。解决方法根据报错的提示信息:Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allo...
2020-03-13 16:52:59
7791
原创 dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
问题在Mac机上用命令idevice_id -l来查udid和ideviceinstaller -l来查看bundleId的时候,提示以下错误:dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylibdyld: Library not loaded: /usr/local/opt/usbmuxd/lib...
2020-03-13 15:35:27
2606
原创 Appium - 解决iOS上元素属性visible=false点击不了的问题
问题在iOS app上,元素的属性visible=false;此时,我们用click&tap的方法是点击不了元素的解决方法用TouchAction的方法,通过坐标x, y可以点击元素from appium.webdriver.common.touch_action import TouchActiondef touch_on_element(self, element): ...
2019-11-22 18:14:02
1299
原创 Appium:解决在iOS上点击不了坐标的问题
起因因为要测试的iOS app用appium定位不了元素,所以就用网易的aircv开源库,通过图像识别找到需要查找的图片的坐标,然后通过tap的方法来点击该坐标。def get_coordinate_by_image_identify(self, imgsch): """ 通过图像识别来查找待查找图片的坐标 :param imgsch: 待查找图片 :retur...
2019-11-13 11:19:04
1398
原创 ubuntu: 解决cannot connect to the Docker daemon at unix:///var/run/docker.sock.的问题
在Ubuntu 18.04下,查看docker images时提示Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?尝试了systemctl start docker和systemctl enable docker,还是提示错误。解决方法:sudo...
2019-10-31 16:40:50
5220
原创 记录testdotai/appium-classifier-plugin训练数据时遇到的问题
记录testdotai/appium-classifier-plugin训练数据时遇到的问题Training Data for App Classifier在Mac上安装testdotai/appium-classifier-plugin之后,因为现支持的labels只有一百种左右,而且都是一些图标;自己想加一些自动化测试过程中比较经常用到的,例如:user name input field,...
2019-08-07 12:09:30
599
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人