Comments (23)
You can open GAE console, choose logs section and will find the reason.
Or you can post the logs here.
from kindleear.
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/workspace/application/view/deliver.py", line 23, in Deliver
return SingleUserDelivery(userName, idList)
File "/workspace/application/view/deliver.py", line 80, in SingleUserDelivery
queueOneBook(bkQueue, user, bkRecipe.recipe_id, bkRecipe.separated, reason='manual')
File "/workspace/application/view/deliver.py", line 102, in queueOneBook
create_delivery_task({'userName': user.name, 'recipeId': recipeId, 'reason': reason})
File "/workspace/application/back_end/task_queue_gae.py", line 18, in create_delivery_task
create_http_task('/worker', payload, 'GET')
File "/workspace/application/back_end/task_queue_gae.py", line 41, in create_http_task
return client.create_task(request={'parent': taskParent, 'task': task})
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/cloud/tasks_v2/services/cloud_tasks/client.py", line 2460, in create_task
response = rpc(
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 131, in call
return wrapped_func(*args, **kwargs)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/api_core/timeout.py", line 120, in func_with_timeout
return func(*args, **kwargs)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 78, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.PermissionDenied: 403 Cloud Tasks API has not been used in project rbtkindle before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudtasks.googleapis.com/overview?project=rbtkindle then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our system… [message truncated due to size]
from kindleear.
Just follow the link and enable apis
from kindleear.
I activated the api but the same error persists.
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/workspace/application/view/deliver.py", line 23, in Deliver
return SingleUserDelivery(userName, idList)
File "/workspace/application/view/deliver.py", line 82, in SingleUserDelivery
flushQueueToPush(bkQueue, reason='manual')
File "/workspace/application/view/deliver.py", line 110, in flushQueueToPush
create_delivery_task({'userName': name, 'recipeId': ','.join(queueToPush[name]), 'reason': reason})
File "/workspace/application/back_end/task_queue_gae.py", line 18, in create_delivery_task
create_http_task('/worker', payload, 'GET')
File "/workspace/application/back_end/task_queue_gae.py", line 41, in create_http_task
return client.create_task(request={'parent': taskParent, 'task': task})
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/cloud/tasks_v2/services/cloud_tasks/client.py", line 2460, in create_task
response = rpc(
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 131, in call
return wrapped_func(*args, **kwargs)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/api_core/timeout.py", line 120, in func_with_timeout
return func(*args, **kwargs)
File "/layers/google.python.pip/pip/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 78, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.FailedPrecondition: 400 Queue does not exist.
from kindleear.
You can deploy again, or create a queue named default.
from kindleear.
thank you. redeploying fixed the problem. It would be better if you add an api list to the readme file that should be activated before installation.
Thank you again.
from kindleear.
I have updated the deploy script and the script will try to enable all the APIs automatically.
from kindleear.
Some problems persist;
- When the language option is Turkish, nothing appears in the "Feeds" header
- When the structure is set as SMTP, when I click on the "Delivery" button under the "Advanced" heading, it says that it is sending but it does not come. When you select some but not all of them, it sends.
- Although all settings are made in the Settings section, it does not send.
Note: SMTP is working. Test mail sending successful
from kindleear.
- When the language option is Turkish, nothing appears in the "Feeds" header
There's a translation text bug that has been fixed, you can deploy again.
Additionally, there may be errors in the Turkish translation. I would appreciate your help in correcting them.
- When the structure is set as SMTP, when I click on the "Delivery" button under the "Advanced" heading, it says that it is sending but it does not come. When you select some but not all of them, it sends.
Some SMTP servers impose a size limit on individual emails, so you may encounter this limit.
- Although all settings are made in the Settings section, it does not send.
Note: SMTP is working. Test mail sending successful
Please check if there is a similar reason behind the aforementioned issue.
from kindleear.
Of course. I would like to help with Turkish translation. There is no limit regarding SMTP. I use the same mail on the old version Kindlear without any problem.
I also tried with Mailjet, again it did not send.
from kindleear.
I just tested it on GAE, and it send epub to my kindle successfully by SMTP.
Have you checked the GAE backend logs?
from kindleear.
whenever I want to use GAE I get the following error
Unauthorized sender
from kindleear.
- After successful deployment, go to the GAE console and add your sender address to "Mail API Authorized Senders" to prevent "Unauthorized sender" errors during delivery.
from kindleear.
I have about 30 RSS attached. When I select Delivery with all of them selected, nothing comes when I say Delivery. it comes when I select 5 in the list.
from kindleear.
I think we've encountered some limitations of gae, so we'll need to rely on the backend logs to determine the issue.
from kindleear.
GAE, SMTP and mailjet... all have the same problem. I use KindleEar 1.26.8 for my RSS list and no problem :)
from kindleear.
Despite retaining its name, KindleEar3 features a completely new architecture and runtime.
Most of the code has been rewrited, so encountering issues is quite normal.
Therefore, if you're willing to assist, let's address this problem step by step.
First, let's check the backend logs to see if there are any exceptions.
I have tested GAE/SMTP/mailjet in my GAE app, and they all work as expected.
The only one I have not tested is SendGrid, as I am unable to register an account for it.
from kindleear.
Advanced >> Deliver Now
Have you tried to deliver at least 15 RSS feeds in this section?
from kindleear.
Yes, we did reach limitations.
The GAE logs show "out of memory."
The code has been updated with increased resource allocation.
Can you try again?
from kindleear.
yes. problem solved. thanks.
I just realized.
Settings > Title format does not change the title no matter which option you choose. This is the same in the old version.
from kindleear.
fixed
from kindleear.
Title format >> Title Only
but the incoming filename is not just title. adding the date. the problem seems to persist.
from kindleear.
Yes, the filename always includes the date infomation, it has been since the first version.
The settings on webpage are for the metadata of the book.
from kindleear.
Related Issues (20)
- recipe都推送成功,“网友分享”中的rss推送没有一个成功的。 HOT 2
- 如何快速同步官方的recipe HOT 9
- please add docker arm64 image support(请发布支持arm64的docker镜像) HOT 18
- 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
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.