YaoZeyuan / zhihuhelp

基于node&typescript重写知乎助手
https://www.yaozeyuan.online/zhihuhelp/
MIT License
854 stars 169 forks source link

回答列表获取完毕, 共0条答案 #22

Closed BaiXiongjun closed 5 years ago

BaiXiongjun commented 5 years ago

2019-05-21 09:54:35.806: [FetchAuthor] 开始抓取用户imajin的数据 2019-05-21 09:54:35.814: [FetchAuthor] 获取用户信息 2019-05-21 09:57:49.757: 开始工作 2019-05-21 09:57:49.781: 任务配置生成完毕 2019-05-21 09:57:49.788: 重新载入cookie配置 2019-05-21 09:57:49.801: 开始执行任务 2019-05-21 09:57:49.809: [DispatchCommand] command start 2019-05-21 09:57:49.818: [DispatchCommand] 检查更新 2019-05-21 09:57:49.827: [InitEnv] command start 2019-05-21 09:57:49.836: [InitEnv] 检查更新 2019-05-21 09:57:50.266: [InitEnv] 初始化文件夹 2019-05-21 09:57:50.290: [InitEnv] 文件夹初始化完毕 2019-05-21 09:57:50.302: [InitEnv] 初始化数据库 2019-05-21 09:57:50.344: [InitEnv] catch error 2019-05-21 09:57:50.353: [InitEnv] Error: SQLITE_CORRUPT: database disk image is malformed 2019-05-21 09:57:50.362: [InitEnv] command finish 2019-05-21 09:57:50.370: [FetchCollection] command start 2019-05-21 09:57:50.381: [FetchCollection] 开始抓取收藏夹161967445内的回答 2019-05-21 09:57:50.390: [FetchCollection] 获取收藏夹信息 2019-05-21 09:57:53.818: [FetchCollection] catch error 2019-05-21 09:57:53.825: [FetchCollection] Error: SQLITE_CORRUPT: database disk image is malformed 2019-05-21 09:57:53.834: [FetchCollection] command finish 2019-05-21 09:57:53.841: [GenerateCollection] command start 2019-05-21 09:57:53.850: [GenerateCollection] 开始抓取收藏夹161967445的信息 2019-05-21 09:57:53.864: [GenerateCollection] 收藏夹信息获取完毕 2019-05-21 09:57:53.870: [GenerateCollection] 收藏夹undefined(161967445)内共有undefined条回答 2019-05-21 09:57:53.878: [GenerateCollection] 删除旧目录 2019-05-21 09:57:53.884: [GenerateCollection] 删除旧epub缓存资源目录:E:\ZhihuHelp\resources\app\缓存文件\epub\收藏夹undefined(161967445)下知乎回答集锦 2019-05-21 09:57:53.902: [GenerateCollection] 旧epub缓存目录删除完毕 2019-05-21 09:57:53.909: [GenerateCollection] 删除旧epub输出资源目录:E:\ZhihuHelp\resources\app\知乎助手输出的电子书\epub\收藏夹undefined(161967445)下知乎回答集锦 2019-05-21 09:57:53.917: [GenerateCollection] 旧epub输出目录删除完毕 2019-05-21 09:57:53.922: [GenerateCollection] 删除旧html资源目录:E:\ZhihuHelp\resources\app\缓存文件\html\收藏夹undefined(161967445)下知乎回答集锦 2019-05-21 09:57:53.938: [GenerateCollection] 旧html资源目录删除完毕 2019-05-21 09:57:53.946: [GenerateCollection] 删除旧html输出目录:E:\ZhihuHelp\resources\app\知乎助手输出的电子书\html\收藏夹undefined(161967445)下知乎回答集锦 2019-05-21 09:57:53.956: [GenerateCollection] 旧html输出目录删除完毕 2019-05-21 09:57:53.961: [GenerateCollection] 创建电子书:收藏夹undefined(161967445)下知乎回答集锦对应文件夹 2019-05-21 09:57:53.983: [GenerateCollection] 电子书:收藏夹undefined(161967445)下知乎回答集锦对应文件夹创建完毕 2019-05-21 09:57:54.007: [GenerateCollection] 获取回答列表 2019-05-21 09:57:54.016: [GenerateCollection] 回答列表获取完毕, 共0条答案 2019-05-21 09:57:54.022: [GenerateCollection] catch error 2019-05-21 09:57:54.032: [GenerateCollection] TypeError: Cannot read property 'question' of undefined at Function.generateSingleItemElement (E:\ZhihuHelp\resources\app\dist\view\answer.js:29:73) at Function.renderInSinglePage (E:\ZhihuHelp\resources\app\dist\view\answer.js:54:34) at E:\ZhihuHelp\resources\app\dist\command\generate\collection.js:90:37 at Generator.next () at asyncGeneratorStep (E:\ZhihuHelp\resources\app\dist\command\generate\collection.js:22:103) at _next (E:\ZhihuHelp\resources\app\dist\command\generate\collection.js:24:194) 2019-05-21 09:57:54.038: [GenerateCollection] command finish 2019-05-21 09:57:54.044: [DispatchCommand] 执行完毕 2019-05-21 09:57:54.050: [DispatchCommand] command finish 2019-05-21 09:57:54.058: 所有任务执行完毕, 打开电子书文件夹 => E:\ZhihuHelp\resources\app\知乎助手输出的电子书

YaoZeyuan commented 5 years ago

数据库文件坏掉了, 删了重新装下吧