并不跳出登陆用的浏览器
Closed this issue · 21 comments
我安装require之后直接运行main.py并没有跳出浏览器登陆
[6096:4768:0713/102204.577:ERROR:service_manager.cc(930)] Failed to resolve service name: proxy_resolver
[6096:4768:0713/102212.627:ERROR:instance.cc(49)] Unable to locate service manifest for proxy_resolver
你好,是每次都这样吗?是什么系统呢?有完整日志可以提供下吗?
(base) C:\Users\11034\Desktop\JD-Coin-browser>pip install -r requirements.txt
Requirement already satisfied: requests in c:\programdata\anaconda3\lib\site-packages (from -r requirements.txt (line 1)) (2.18.4)
Requirement already satisfied: PyQT5 in c:\programdata\anaconda3\lib\site-packages (from -r requirements.txt (line 2)) (5.11.2)
Requirement already satisfied: pyquery in c:\programdata\anaconda3\lib\site-packages (from -r requirements.txt (line 3)) (1.4.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\programdata\anaconda3\lib\site-packages (from requests->-r requirements.txt (line 1)) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\programdata\anaconda3\lib\site-packages (from requests->-r requirements.txt (line 1)) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\programdata\anaconda3\lib\site-packages (from requests->-r requirements.txt (line 1)) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in c:\programdata\anaconda3\lib\site-packages (from requests->-r requirements.txt (line 1)) (2018.4.16)
Requirement already satisfied: PyQt5_sip<4.20,>=4.19.11 in c:\programdata\anaconda3\lib\site-packages (from PyQT5->-r requirements.txt (line 2)) (4.19.12)
Requirement already satisfied: cssselect>0.7.9 in c:\programdata\anaconda3\lib\site-packages (from pyquery->-r requirements.txt (line 3)) (1.0.3)
Requirement already satisfied: lxml>=2.1 in c:\programdata\anaconda3\lib\site-packages (from pyquery->-r requirements.txt (line 3)) (4.2.1)
(base) C:\Users\11034\Desktop\JD-Coin-browser>python app/main.py
2018-07-13 11:02:38,504 root[config] INFO: 使用配置文件 "config.json".
2018-07-13 11:02:38,504 root[config] WARNING: 配置文件不存在, 使用默认配置文件 "config.default.json".
2018-07-13 11:02:38,504 root[config] INFO: 用户名/密码未找到, 自动登录功能将不可用.
2018-07-13 11:02:38,692 jobs[daka] INFO: Job Start: 京东客户端钢镚打卡
2018-07-13 11:02:38,973 jobs[daka] INFO: 登录状态: False
2018-07-13 11:02:38,973 jobs[daka] INFO: 进行登录...
[14532:4932:0713/110240.678:ERROR:instance.cc(49)] Unable to locate service manifest for proxy_resolver
[14532:4932:0713/110240.678:ERROR:service_manager.cc(930)] Failed to resolve service name: proxy_resolver
[2032:692:0713/110241.983:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
[2032:11536:0713/110242.739:ERROR:BudgetService.cpp(160)] Unable to connect to the Mojo BudgetService.
[14532:4932:0713/110248.716:ERROR:instance.cc(49)] Unable to locate service manifest for proxy_resolver
[14532:4932:0713/110248.716:ERROR:service_manager.cc(930)] Failed to resolve service name: proxy_resolver
win10
之后就循环出现之前发的那一条
如果使用普通的 Python, 不使用 Anaconda 呢?会不会是 Anaconda 安装 lib 的原因?
不知道,之前我开启pac模式的shadowsocks,跳出那个,现在我关掉shadowsocks之后显示这个
[10124:6948:0716/055115.170:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
[10124:15616:0716/055115.834:ERROR:BudgetService.cpp(160)] Unable to connect to the Mojo BudgetService.
是不是我只能通过配置文件而不是浏览器登陆了emmm
我也碰到了相同的问题,我用的是mac,python3.6.4, 请问有什么解决办法吗?
一模一样的问题,Anaconda装的3.6环境
Mac , pyenv安装的3.6.5 同样的问题
2018-07-17 20:51:24,376 jobs[daka] INFO: 登录状态: False
2018-07-17 20:51:24,377 jobs[daka] INFO: 进行登录...
[45427:86019:0717/205125.660066:ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
2018-07-17 20:51:25.838 QtWebEngineProcess[45427:7054525] NSColorList could not parse color list file /System/Library/Colors/System.clr
2018-07-17 20:51:25.838 QtWebEngineProcess[45427:7054525] Couldn't set selectedTextBackgroundColor from default ()
2018-07-17 20:51:25.838 QtWebEngineProcess[45427:7054525] Couldn't set selectedTextColor from default ()
[45427:775:0717/205125.980140:ERROR:BudgetService.cpp(160)] Unable to connect to the Mojo BudgetService.
[45427:86019:0717/205205.516720:ERROR:stunport.cc(88)] Binding request timed out from 0.0.0.x:50771 (any)
mac, 同样的问题
我win10,官网下载安装的py3.7 64位版本,同样问题
mac, 同样的问题😩尝试了代理也没用
应该是python版本的问题,我之前用3.6.3的python 没问题 昨天升级了之后就无法打开了
我是把 browser 下的 MobileBrowser.init 里的self.show() self.raise_()self.activateWindow()改到了get_cookies(url) 下,可以正常跳转。 python 3.6.6
我不用pyqt登录了,我用无头浏览器登录
pyqt5 5.11.2的也不能出现登录窗口,PyQT5==5.10.1 这个可用。
感谢各位,问题已修复~
感谢各位,问题已修复~
Mac,PyQt5 5.11.3 也不能跳出浏览器,改成 PyQT5==5.10.1 才行