我正在运行已安装的 Ubuntu MATE 16.04.6。
我已经添加ppa:screenlets/ppa
到它并安装了screenlets-pack-all
包。
然后我启动了screenlets
管理器并将 GoogleCalendarScreenlet 0.4.16++ 添加到我的桌面
已在Options → gCal essential → Google account中设置了凭据。
它显示登录成功的通知:
但它不显示我的 Google 日历日历中的事件。
为什么?只是我,还是根本不起作用?
是否存在任何工作桌面(小部件)?
一些日志如下:
$ screenlets
/usr/lib/python2.7/dist-packages/screenlets/backend.py:166: Warning: Source ID 2251 was not found when attempting to remove it
gobject.source_remove(self.__timeout)
Traceback (most recent call last):
File "/usr/share/screenlets/screenlets-pack-all/GoogleCalendar/GoogleCalendarScreenlet.py", line 133, in __deal_with_data
all_calendars_feed = self.screenlet.cal_client.GetAllCalendarsFeed()
File "/usr/lib/python2.7/dist-packages/gdata/calendar/service.py", line 81, in GetAllCalendarsFeed
return self.Get(uri, converter=gdata.calendar.CalendarListFeedFromString)
File "/usr/lib/python2.7/dist-packages/gdata/service.py", line 1107, in Get
'reason': server_response.reason, 'body': result_body}
RequestError: {'status': 403, 'body': '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n', 'reason': 'Forbidden'}
$ tail -f ~/.config/screenlets/GoogleCalendarScreenlet.log
Running update
Checking the Internet connection
Fetching events in calendars from: 2019-05-15T00:00:00+03:00 to 2019-06-05T23:59:59+03:00.
END RETRIEVE
Update failed for some unknown reason.
(我在上面看到了Forbidden这个词,所以可能是 API 更改问题)