海天鹰天气文字显示不全
Tofloor
poster avatar
newguest
deepin
2018-11-01 17:39
Author
本帖最后由 newguest 于 2018-11-1 13:08 编辑

如题,各个界面都显示不全,请问如何解决?
Reply Favorite View the author
All Replies
avatar
aida
deepin
2018-11-01 19:13
#1
Reply View the author
avatar
aida
deepin
2018-11-01 19:13
#2
再说了, 你好歹截个图出来
Reply View the author
avatar
山西姚一
deepin
2018-11-01 19:38
#3
同意楼上
Reply View the author
avatar
newguest
deepin
2018-11-01 21:09
#4
图来啦。
Reply View the author
avatar
newguest
deepin
2018-11-01 22:06
#5
本帖最后由 newguest 于 2018-11-1 14:08 编辑

可能找到原因了,是因为自动定位所在城市,设置里指定一下城市,就有了。
Reply View the author
avatar
海天鹰
deepin
2018-11-02 18:48
#6
本帖最后由 sonichy 于 2018-11-2 10:49 编辑

IP定位城市返回空,还好做了自定义城市。右键菜单有查看Log,帮助定位故障点。
Reply View the author
avatar
rekols
deepin
2018-11-02 19:25
#7
这个很明显是没有读取到数据
Reply View the author
avatar
newguest
deepin
2018-11-02 21:07
#8
https://bbs.deepin.org/post/170423
IP定位城市返回空,还好做了自定义城市。右键菜单有查看Log,帮助定位故障点。
...

如果不设置所在城市,刷新之后是这样:
2018/11/02 13:06:17
http://ip-api.com/json/?lang=zh-CN
{"as":"AS4134 No.31,Jin-rong Street","city":"Shaoxing Xian (Zhuji Shi)","country":"中国","countryCode":"CN","isp":"China Telecom","lat":29.7445,"lon":120.19,"org":"China Telecom Hangzhou","query":"61.130.5.71","region":"","regionName":"Zhejiang","status":"success","timezone":"Asia/Shanghai","zip":""}
http://hao.weidunewtab.com/tianqi/city.php?city=Shaoxing Xian (Zhuji Shi)
ERROR
http://t.weather.sojson.com/api/weather/city/ERROR
{"message":"Request resource not found.","status":404}
Reply View the author
avatar
海天鹰
deepin
2018-11-02 21:14
#9
本帖最后由 sonichy 于 2018-11-2 13:44 编辑
https://bbs.deepin.org/post/170423
如果不设置所在城市,刷新之后是这样:
2018/11/02 13:06:17
http://ip-api.com/json/?lang=zh-CN

修好了
Reply View the author
avatar
newguest
deepin
2018-11-02 22:15
#10

非常棒,不设置能自动定位了!
Reply View the author
avatar
newguest
deepin
2018-11-05 23:24
#11
https://bbs.deepin.org/post/170423
非常棒,不设置能自动定位了!

结论下得太早了,要设置所在城市才能有相关天气信息
Reply View the author
avatar
newguest
deepin
2018-11-07 20:45
#12
应用商店好像不太正常
Reply View the author