Github-Monitor icon indicating copy to clipboard operation
Github-Monitor copied to clipboard

github token格式已更新,无法使用github-monitor

Open test2504 opened this issue 3 years ago • 7 comments

4月5号,github更新了token的格式,导致github_monitor没法正常使用。 麻烦尽快更新一下新版本。

test2504 avatar Apr 06 '21 02:04 test2504

真的吗

PINGXcpost avatar Apr 06 '21 03:04 PINGXcpost

作者估计不更新了吧

lookie1999 avatar Apr 21 '21 06:04 lookie1999

@lookie1999 @test2504 @lookie1999 最近比较忙 一直没时间处理 等我有时间了看一下~ 不好意思哈

AnYeMoWang avatar Apr 21 '21 10:04 AnYeMoWang

我最近也发现这个问题了,我还以为是我更新了token但是没重启服务的原因,麻烦尽快更新一下版本吧。github的token半年过期,还没发现问题的应该是还没到期更新token。

gdbingo avatar Jul 23 '21 03:07 gdbingo

@AnYeMoWang 由于github新token的问题,github_monitor已经罢工了。麻烦抽空看一下。

test2504 avatar Jul 26 '21 03:07 test2504

原因: pygithub 1.55版本才支持新的github token 深层原因: ubuntu 16.04 的python为3.5.2,然而pygithub1.55使用了3.6的f字符串特性,导致报语法错误

修复方案

  1. docker-compose stop,备份数据
  2. 修改Dockerfile中,From ubuntu:18.04
  3. 修改server/requirements.pip中,去掉pygithub的固定版本(或者指定到最新)
  4. 执行,docker-compose up -d --no-deps --build, docker rebuild

elealan avatar Aug 06 '21 11:08 elealan

Hello, where should I get the token from? Can the token generated by my GitHub account only scan the resources on my GitHub?

fauns-o avatar Mar 24 '22 03:03 fauns-o