Code Monkey home page Code Monkey logo

Comments (13)

Barry-Flynn avatar Barry-Flynn commented on May 29, 2024

经测试,按如上方法更新正则后,vercel 接口恢复正常:

Snipaste_2023-11-19_17-18-35

Snipaste_2023-11-19_17-19-20

Snipaste_2023-11-19_17-19-31

但是博客插件热力图绘制异常:

Snipaste_2023-11-19_17-21-00

Snipaste_2023-11-19_17-21-48

是否数据格式与前端不匹配

from python_github_calendar_api.

baiwumm avatar baiwumm commented on May 29, 2024

经测试,按如上方法更新正则后,vercel 接口恢复正常:

Snipaste_2023-11-19_17-18-35
Snipaste_2023-11-19_17-19-20
Snipaste_2023-11-19_17-19-31

但是博客插件热力图绘制异常:

Snipaste_2023-11-19_17-21-00
Snipaste_2023-11-19_17-21-48

是否数据格式与前端不匹配

解决了吗,兄弟,我也遇到同样的问题,空白

from python_github_calendar_api.

Barry-Flynn avatar Barry-Flynn commented on May 29, 2024

解决了吗,兄弟,我也遇到同样的问题,空白

没有解决捏,应该是改完正则后数据格式和之前的前端不匹配了,在等楼主或者仓库作者修复捏。要么重新改Python代码适应前端,要么改前端代码适应新数据格式。

from python_github_calendar_api.

rr210 avatar rr210 commented on May 29, 2024

解决了吗,兄弟,我也遇到同样的问题,空白

没有解决捏,应该是改完正则后数据格式和之前的前端不匹配了,在等楼主或者仓库作者修复捏。要么重新改Python代码适应前端,要么改前端代码适应新数据格式。

打断点定位下具体什么数据出问题了。
image
这个具体是指什么。

from python_github_calendar_api.

baiwumm avatar baiwumm commented on May 29, 2024

解决了吗,兄弟,我也遇到同样的问题,空白

没有解决捏,应该是改完正则后数据格式和之前的前端不匹配了,在等楼主或者仓库作者修复捏。要么重新改Python代码适应前端,要么改前端代码适应新数据格式。

打断点定位下具体什么数据出问题了。 image 这个具体是指什么。

这个是取数据的第52条数据,但我断点看只有49条数据,按道理来说一年应该返回52周也就是52条数据的,不知道是不是正则匹配漏了

from python_github_calendar_api.

rr210 avatar rr210 commented on May 29, 2024

解决了吗,兄弟,我也遇到同样的问题,空白

没有解决捏,应该是改完正则后数据格式和之前的前端不匹配了,在等楼主或者仓库作者修复捏。要么重新改Python代码适应前端,要么改前端代码适应新数据格式。

打断点定位下具体什么数据出问题了。 image 这个具体是指什么。

这个是取数据的第52条数据,但我断点看只有49条数据,按道理来说一年应该返回52周也就是52条数据的,不知道是不是正则匹配漏了

有可能,晚上回去看看

from python_github_calendar_api.

Barry-Flynn avatar Barry-Flynn commented on May 29, 2024

解决了吗,兄弟,我也遇到同样的问题,空白

没有解决捏,应该是改完正则后数据格式和之前的前端不匹配了,在等楼主或者仓库作者修复捏。要么重新改Python代码适应前端,要么改前端代码适应新数据格式。

打断点定位下具体什么数据出问题了。 image 这个具体是指什么。

这个是取数据的第52条数据,但我断点看只有49条数据,按道理来说一年应该返回52周也就是52条数据的,不知道是不是正则匹配漏了

有可能,晚上回去看看

我这边是有44条数据,大致查看了一下确实是缺少部分天数数据的,应该是正则还不太完美。话说GitHub主页热力图布局老是变化吗,怎么每隔一段时间就得改一下正则(笑哭)

Snipaste_2023-11-22_14-34-26

Snipaste_2023-11-22_14-37-44

from python_github_calendar_api.

rr210 avatar rr210 commented on May 29, 2024

已修复

image
rr210/py_gitcalendar@4815bd3

from python_github_calendar_api.

rr210 avatar rr210 commented on May 29, 2024

解决了吗,兄弟,我也遇到同样的问题,空白

没有解决捏,应该是改完正则后数据格式和之前的前端不匹配了,在等楼主或者仓库作者修复捏。要么重新改Python代码适应前端,要么改前端代码适应新数据格式。

打断点定位下具体什么数据出问题了。 image 这个具体是指什么。

这个是取数据的第52条数据,但我断点看只有49条数据,按道理来说一年应该返回52周也就是52条数据的,不知道是不是正则匹配漏了

有可能,晚上回去看看

我这边是有44条数据,大致查看了一下确实是缺少部分天数数据的,应该是正则还不太完美。话说GitHub主页热力图布局老是变化吗,怎么每隔一段时间就得改一下正则(笑哭)

Snipaste_2023-11-22_14-34-26

Snipaste_2023-11-22_14-37-44
rr210/py_gitcalendar@dadd21c
image
试试

from python_github_calendar_api.

Barry-Flynn avatar Barry-Flynn commented on May 29, 2024

博客前端热力图插件一切恢复正常,感谢 @rr210 的修复,效果请见【百里飞洋の博客】https://blog.meta-code.top/

将正则修改成如下两行即可,期待 @Zfour 早日修复此上游仓库:

Snipaste_2023-11-22_20-47-09

Snipaste_2023-11-22_20-45-26

from python_github_calendar_api.

baiwumm avatar baiwumm commented on May 29, 2024

博客前端热力图插件一切恢复正常,感谢 @rr210 的修复,效果请见【百里飞洋の博客】https://blog.meta-code.top/

将正则修改成如下两行即可,期待 @Zfour 早日修复此上游仓库:

Snipaste_2023-11-22_20-47-09

Snipaste_2023-11-22_20-45-26

image
奇怪了,为啥我更新部署了还是返回49条数据。地址: https://baiwumm.com

from python_github_calendar_api.

rr210 avatar rr210 commented on May 29, 2024

博客前端热力图插件一切恢复正常,感谢 @rr210 的修复,效果请见【百里飞洋の博客】https://blog.meta-code.top/
将正则修改成如下两行即可,期待 @Zfour 早日修复此上游仓库:
Snipaste_2023-11-22_20-47-09
Snipaste_2023-11-22_20-45-26

image 奇怪了,为啥我更新部署了还是返回49条数据。地址: https://baiwumm.com

image
s去掉

from python_github_calendar_api.

MoLiShang avatar MoLiShang commented on May 29, 2024

rr210/py_gitcalendar@dadd21c image ⭐已修复

image
按照改好的去部署,结果报500错误,这个该咋解决呀?

好吧,fork了大佬你的新做了一个部署是可以的,应该是gitignore的原因吧,在Zfour大佬的基础上按照你说的改好像不太行~

from python_github_calendar_api.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.