Comments (9)
我就是用这个方法的,具体什么错误?
from kindleear.
Traceback (most recent call last):
File "/home/ihadoop/kindleear/tools/archive_builtin_recipes.py", line 16, in
import main
File "/home/ihadoop/kindleear/main.py", line 43, in
app = init_app(name, cfgMap, set_env, debug=False)
File "/home/ihadoop/kindleear/application/init.py", line 35, in init_app
from .back_end.task_queue_adpt import init_task_queue_service
File "/home/ihadoop/kindleear/application/back_end/task_queue_adpt.py", line 9, in
from .task_queue_gae import *
File "/home/ihadoop/kindleear/application/back_end/task_queue_gae.py", line 10, in
from google.cloud import tasks_v2
ImportError: cannot import name 'tasks_v2' from 'google.cloud' (unknown location)
from kindleear.
不管是在本机还是远程shell,都需要先安装运行环境。
sudo pip3 install -r requirements.txt
注:你正在操作的gae的shell是独立的开发环境,不是你的应用的最终运行环境,所以不要搞混了。
from kindleear.
前面是已经安装过了的,安装完之后报的这个错;
重新安装了一把,好像可以成功执行了。
另,确实是在gae的shell环境下操作的,这个操作完成之后,还需要怎么更新呢。
chmod +x kindleear/tools/gae_deploy.sh &&
kindleear/tools/gae_deploy.sh
这样重新部署一次就可以了吧
from kindleear.
问题来了,更新完成之后,web界面里看到的recipe代码也是更新的。
但通过系统推送,显示“nonews”
以 The Economist Espresso为例,通过ebook-convert手工执行这个recipe确认没问题。
from kindleear.
要养成看后台logs来定位问题的习惯
from kindleear.
后台logs里没什么报错,就是推送时显示“nonews”
看代码是更新到了,推送其他recipe倒是没问题
from kindleear.
后台有报错,是429错误,应该是GAE的IP策略不允许调用 https://webcache.googleusercontent.com ,因为在本机是可以的,在VPS也是可以的。
新的recipe和老的recipe相比,就是使用google的cache直接获取printversion,只有这个区别,老版本就可以使用,不需要使用新版本。
如果只有个别recipe需要更新,不需要更新到内置库,直接使用网页上传功能更便捷。
from kindleear.
from kindleear.
Related Issues (20)
- KindleEar3正式版几个问题反馈 HOT 2
- 疑似邮件发送的bug HOT 2
- 新版有没有自动部署的教程? HOT 2
- 更新3.0.5docker报错 HOT 6
- Auto Deliver is not working. HOT 9
- 文档中序号问题及能否部署本地的一些疑问 HOT 1
- has no attribute 'get_locale' HOT 1
- 求助:邮件正文转换为邮件附件推送不成功,加了 !article也不行 HOT 2
- 使用sendgrid时出现403错误 HOT 1
- 上传封面图像 error HOT 6
- 部分RSS,转换书籍成功,亚马逊推送失败 HOT 14
- 有的recipe的退订和设置投递时间的按键失灵 HOT 4
- 群晖Docker上的一些问题 HOT 11
- List style HOT 9
- 雪球-RSS的排版问题 HOT 5
- 疑似bug,自定义推送时间无法保存。 HOT 23
- 原来有个“我需要翻墙(针对**用户)”的选项,新版找不到了,有些网站抓不到内容 HOT 4
- 疑似bug,PC上浏览器里在线阅读显示不完整。 HOT 3
- 疑似新版本有bug,之前可以正常推送的书籍无法推送了。 HOT 2
- 有一些rss总是显示nonews无法推送 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kindleear.