Gmeek icon indicating copy to clipboard operation
Gmeek copied to clipboard

Error happen when generate new html stage

Open thisjok opened this issue 1 year ago • 1 comments

自动部署时,在"Generate new html"阶段出错,错误如下: Run cp -r ./* /opt/Gmeek/ {'Blog test': '#ED336B', 'bug': '#d73a4a', 'documentation': '#0075ca', 'duplicate': '#cfd3d7', 'enhancement': '#a2eeef', 'good first issue': '#7057ff', 'help wanted': '#008672', 'invalid': '#e4e669', 'question': '#d876e3', 'Team work': '#08EE35', 'wontfix': '#ffffff'} Traceback (most recent call last): File "Gmeek.py", line 320, in <module> blog.runOne(options.issue_number) File "Gmeek.py", line 293, in runOne listJsonName=self.addOnePostJson(issue) File "Gmeek.py", line 251, in addOnePostJson self.blogBase[listJsonName][postNum]["style"]=self.blogBase["style"] KeyError: 'style' blogBase is exists and issue_number!=0, runOne ====== start create static html ====== Error: Process completed with exit code 1.

thisjok avatar Jan 08 '24 03:01 thisjok

@thisjok 这个问题出在近期的一次更新,新增了全局自定义stylescript的功能,出现这种问题一般通过手动全局生成一次都可以解决,具体可见 https://blog.meekdai.com/post/Gmeek-kuai-su-shang-shou.html

建议通过Actions->build Gmeek->Run workflow->里面的按钮全局重新生成一次

另外我看到你现在已经自动部署成功了,你是手动删除了blogBase.json等文件,触发了全局生成。

Meekdai avatar Jan 08 '24 05:01 Meekdai