cdhigh / kindleear Goto Github PK
View Code? Open in Web Editor NEWAggregates RSS and web content(Calibre recipe), sends to Kindle, and includes an e-ink optimized online reader.
Home Page: http://cdhigh.github.io/KindleEar/
License: MIT License
Aggregates RSS and web content(Calibre recipe), sends to Kindle, and includes an e-ink optimized online reader.
Home Page: http://cdhigh.github.io/KindleEar/
License: MIT License
我的是K4,这个链接我认为它会把内容保存到wiz,但是点击显示上面的文字。
Updated 1:可能是GFW封锁了Kindle访问*.appspot.com
Updated 2:设置了GFW选项,但是分享到Wiz出现”Some parameter is missing or wrong“。查看了代码,好像main.py里面的判断没有把wiz加进去
if not username or not url or
action not in ('evernote',): # 这里没有wiz?
return "Some parameter is missing or wrong!
"
2014-02-21 04:53:38.046 /deliver 500 8ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-21 04:53:38.045 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-21 03:53:37.932 /deliver 500 9ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-21 03:53:37.930 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-21 02:53:37.842 /deliver 500 48ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-21 02:53:37.840 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-21 01:53:37.684 /deliver 500 130ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-21 01:53:37.682 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-21 00:53:37.460 /deliver 500 9ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-21 00:53:37.458 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 23:53:37.413 /deliver 500 15ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 23:53:37.410 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 22:53:37.347 /deliver 500 16ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 22:53:37.344 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 21:53:37.217 /deliver 500 12ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 21:53:37.213 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 20:53:37.157 /deliver 500 9ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 20:53:37.156 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 19:53:37.041 /deliver 500 4462ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 19:53:37.029 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
I 2014-02-20 19:53:37.041 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This requ
2014-02-20 18:53:32.464 /deliver 500 47ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 18:53:32.461 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
W 2014-02-20 18:53:32.464 After handling this request, the process that handled this request was found to have handled too many sequential errors, and was terminated. This is l
2014-02-20 17:53:32.368 /deliver 500 180ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 17:53:32.366 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 16:53:32.087 /deliver 500 10ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 16:53:32.084 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 15:53:31.985 /deliver 500 7ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 15:53:31.983 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 14:53:31.882 /deliver 500 12ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 14:53:31.880 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 13:53:31.836 /deliver 500 8ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 13:53:31.834 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 12:53:31.733 /deliver 500 8ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 12:53:31.731 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 11:53:31.692 /deliver 500 10ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 11:53:31.689 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 11:00:00.260 /removelogs 500 13ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 11:00:00.258 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
2014-02-20 10:53:31.587 /deliver 500 95ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=1
E 2014-02-20 10:53:31.586 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in
‹ Prev 20 1-20 Next 20 › (Bottom: 18:46:14 ago)
按照readme中的说明配置完成了, 可以访问, 推送也可以, 但是每次都需要刷新n 多遍才能进去, 每按一个按钮有需要刷新n 多遍, 才能进去.
第一次推送, 选择了立刻推送, 然后页面老是访问失败, 刷新了n 多遍, 才正常显示, 但是进入到amazon的管理kindle 界面一看, 同一个文件被推送了十几次.
非常感谢作者的辛苦。在研究yahoo pipe时深深被各种不规范的rss源困扰
用1.6.16时有3个小问题
1 使用自带的知乎日报的源,appengine中总会提示 skipped http://daily.zhihu.com/story/XXXXX,每天大概4-5条。什么原因?
2 kindleear和yahoo pipe配合有什么要注意的?是不是要把全文的勾去掉?我的订阅pipe源有时出现fetch rss failed(504)什么原因?(源没有问题,全文也试验了)
3 配置里面如果修改CONNECTION_TIMEOUT = 30对上面两个问题有帮助吗?
1.7正在试用中
在直接上传最新版本的之后,点击“我的订阅”会出现“internal error”,等待了六小时依然如此。后来查看后台,发现数据库indexes并未建立,然后上传了一个1.6.14版本,部署成功后后发现indexes建立成功,再次上传最新版本,可以使用
How not to linerize table on mobi output?
自动推送手动推送都不行,回滚1.6.17就正常了
喷嚏图卦已经很多天没有图片了 http://code.google.com/appengine上面说 取IMG失败(错误:450)
看到你在hipda上说推送到别的邮箱再转发到kindle设备,极快捷,几分钟就推送到设备了,我用139邮箱转发的。
不清楚原生有没有 1.9.1出现的此问题 之前没有
我的是Kindle 3,推送成功了,但是打不开,但是如果将电子书copy到电脑上还是能打开,不知道是什么原因。
deliver Time那一项 除了整点以外 可以修改增加其它时间点吗?比如23:30啊之类的 在哪儿修改............
能够上传,网站也能打开,但是确实一片空白,什么问题啊?
http://feedatkindle.appspot.com/
在我的订阅中看不到自定义rss列表,不过在后台数据库中可以看到
现在KindleEar的用户是独立的,如果想把KindleEar和Wordpress的用户系统关联起来,让KindleEar共用Wordpress的用户系统,有没有可能?我看了下Python和Php好想很难通信似的,有没有实现的思路?
C:\kindleear_uploader>set PYTHONPATH=C:\kindleear_uploader\DLLs;C:\kindleear_upl
oader\libs;C:\kindleear_uploader\lib
C:\kindleear_uploader>python.exe appcfg.py update kindleear
08:12 PM Host: appengine.google.com
08:12 PM Host: appengine.google.com
Usage: appcfg.py [options] update | [file, ...]
appcfg.py: error: Directory does not contain an kindleear.yaml configuration fil
e.
C:\kindleear_uploader>pause
请按任意键继续. . .
如果做好了对应的py,放进books目录
用uploader重新上传的话,是不是之前设置的东西(用户、密码、订阅、推送时间设置)全会丢失?现在不敢贸然行动……
如果是这样,应该如何只上传这几个py,而不改动其他文件呢?
下午部署到GAE上的,填好基本设置设定了投递时间为20:00,并且自动投递的两个都勾起来了,发现自动定时投递没有起作用。点击现在投递
是没问题的,可以推送。是不是还要配置什么?我对GAE不了解。
出现三处类似的ERROR请帮忙看看谢谢:
/worker?tz=8&to=chuliqiang%40kindle.com&u=admin&titlefmt=%25a%2C+%25b+%25d&type=mobi&id=5328783104016384 500 25214ms 0kb AppEngine-Google; (+http://code.google.com/appengine)
0.1.0.2 - - [12/Oct/2013:04:51:38 -0700] "GET /worker?tz=8&to=chuliqiang%40kindle.com&u=admin&titlefmt=%25a%2C+%25b+%25d&type=mobi&id=5328783104016384 HTTP/1.1" 500 135 "http://chuliqiang7.appspot.com/deliver" "AppEngine-Google; (+http://code.google.com/appengine)" "chuliqiang7.appspot.com" ms=25215 cpu_ms=13217 cpm_usd=0.002775 queue_name=deliverqueue1 task_name=6151571037722741052 app_engine_release=1.8.5 instance=00c61b117ca9e71c0550dd7e671d4614c4d15e
E 2013-10-12 04:51:38.109
Traceback (most recent call last):
E 2013-10-12 04:51:38.109
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/web/application.py", line 239, in process
E 2013-10-12 04:51:38.109
return self.handle()
E 2013-10-12 04:51:38.109
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/web/application.py", line 230, in handle
E 2013-10-12 04:51:38.109
return self._delegate(fn, self.fvars, args)
E 2013-10-12 04:51:38.110
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/web/application.py", line 420, in _delegate
E 2013-10-12 04:51:38.110
return handle_class(cls)
E 2013-10-12 04:51:38.110
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/web/application.py", line 396, in handle_class
E 2013-10-12 04:51:38.110
return tocall(*args)
E 2013-10-12 04:51:38.110
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/main.py", line 697, in GET
E 2013-10-12 04:51:38.110
for sec_or_media, url, title, content, brief in book.Items(opts):
E 2013-10-12 04:51:38.110
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/books/base.py", line 364, in Items
E 2013-10-12 04:51:38.110
for title, imgurl, imgfn, content, brief in readability(article,url,opts):
E 2013-10-12 04:51:38.110
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/books/base.py", line 492, in readability
E 2013-10-12 04:51:38.110
img.parent.replace_with(img)
E 2013-10-12 04:51:38.110
File "/base/data/home/apps/s~chuliqiang7/1.370789235130676979/bs4/element.py", line 211, in replace_with
E 2013-10-12 04:51:38.110
my_index = self.parent.index(self)
E 2013-10-12 04:51:38.110
AttributeError: 'NoneType' object has no attribute 'index'
目前的MOBI生成模块在生成杂志模式MOBI发送到kindle还存在此BUG,请求高人帮忙解决。
问题描述:
目前每次在文章中按“View Sections & Articles”后会跳到目录的第一项,而使用kindlegen和calibre生成的MOBI每次按"View Sections & Articles"都会跳到你正在看的这篇文章对应的目录项。
书的封面下方有:2014年3月18日(星期二)这类的信息,实际书的标题是2014-03-19
这里封面信息中的日期的时区是否没有和用户自定义时区对应?
如题所示,我添加的所有由feedsky提供的地址都没法正常使用,是因为不支持吗?>可否改进呢?
谢谢
Hi when I use this RSS in my KindleEar copy (1.6.3) I get this error, is there anything I can do to solve this problem?:
2013-08-21 01:18:54.391 /worker?tz=3&to=xxxx%40yahoo.com&u=admin&titlefmt=%25m-%25d&type=mobi&id=5681726336532480 200 16451ms 0kb AppEngine-Google; (+http://code.google.com/appengine)
W 2013-08-21 01:18:38.254 feed item invalid,link to webpage for article.(Şahin Alpay - El Sisi, Uluslararası Ceza Mahkemesi'ni hak etti)
W 2013-08-21 01:18:38.255 feed item invalid,link to webpage for article.(Abdülhamit Bilici - İhvan'a kurulan tuzak)
W 2013-08-21 01:18:38.255 feed item invalid,link to webpage for article.(Ahmet HAKAN - Hakkınızı helal edin)
W 2013-08-21 01:18:38.255 feed item invalid,link to webpage for article.(Yılmaz ÖZDİL - Ben izindeyken...)
W 2013-08-21 01:18:38.256 feed item invalid,link to webpage for article.(Hasan Karakaya - İhsan Dağı, Yavuz Baydar... Gezi ödülleri verilmeye başlandı!)
W 2013-08-21 01:18:38.256 feed item invalid,link to webpage for article.(Taha AKYOL - Demokrasi ve İslamcılar)
W 2013-08-21 01:18:38.256 feed item invalid,link to webpage for article.(Abdurrahman Dilipak - Ebu Leheb, Ebu Cehil, Karun, Belam)
投递不成功。失败
config.py配置如下:
"""app的配置文件"""
SRC_EMAIL = "[email protected]" #邮件的发件人地址
TIMEZONE = 8 #默认时区
DEFAULT_MASTHEAD = "mh_default.gif" #如果书籍没有报头,则使用此报头。
DEFAULT_COVER = "cv_default.jpg" #如果书籍没有封面,则使用此封面,留空则不添加封面
MY_FEEDS_TITLE = u'chenykindler'
MY_FEEDS_DESC = u'RSS delivering from chenykindler'
CONNECTION_TIMEOUT = 25
PINYIN_FILENAME = False
ALWAYS_CHAR_DETECT = False
GENERATE_TOC_DESC = True
TOC_DESC_WORD_LIMIT = 150 # 内容预览(摘要)字数限制
REDUCE_IMAGE_TO = (600,800)
DELETE_CSS_FOR_APPSPOTMAIL = True
WORDCNT_THRESHOLD_FOR_APMAIL = 100
SUBJECT_WORDCNT_FOR_APMAIL = 16
再上传就是 提示rollback了
http://www.v2ex.com/t/19007
每天推送的mobi文件中都有一连好几天之前的内容,我不知道是不是只有我这边才出现这种情况?
I get some empty article everytime for this rss http://insightsonindia.com/feed/
but still there are articles.
Solution please.
搜了一下好像有人跟我问题一样,
#31
gae的日志看不懂啊
2014-03-27 18:43:43.230 /my 500 41ms 0kb Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36 module=default version=1
E 2014-03-27 18:43:43.229 Traceback (most recent call last):
E 2014-03-27 18:43:43.229 File "/base/data/home/apps/skindlexeeqing/1.374713553351548450/web/application.py", line 239, in processkindlexeeqing/1.374713553351548450/web/application.py", line 230, in handle
E 2014-03-27 18:43:43.229 return self.handle()
E 2014-03-27 18:43:43.229 File "/base/data/home/apps/s
E 2014-03-27 18:43:43.229 return self._delegate(fn, self.fvars, args)
E 2014-03-27 18:43:43.229 File "/base/data/home/apps/skindlexeeqing/1.374713553351548450/web/application.py", line 420, in _delegatekindlexeeqing/1.374713553351548450/web/application.py", line 396, in handle_class
E 2014-03-27 18:43:43.229 return handle_class(cls)
E 2014-03-27 18:43:43.229 File "/base/data/home/apps/s
E 2014-03-27 18:43:43.229 return tocall(_args)
E 2014-03-27 18:43:43.229 File "/base/data/home/apps/skindlexeeqing/1.374713553351548450/main.py", line 658, in GETkindlexeeqing/1.374713553351548450/main.py", line 311, in render
E 2014-03-27 18:43:43.229 books=Book.all().filter("builtin = ",True),myfeeds=myfeeds,tips=tips)
E 2014-03-27 18:43:43.229 File "/base/data/home/apps/s
E 2014-03-27 18:43:43.229 return jjenv.get_template(templatefile).render(title=title, *_kwargs)
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/jinja2-2.6/jinja2/environment.py", line 894, in render
E 2014-03-27 18:43:43.229 return self.environment.handle_exception(exc_info, True)
E 2014-03-27 18:43:43.229 File "templates/my.html", line 1, in top-level template code
E 2014-03-27 18:43:43.229 {% extends "base.html" %}
E 2014-03-27 18:43:43.229 File "templates/base.html", line 75, in top-level template code
E 2014-03-27 18:43:43.229 {% block content %}
E 2014-03-27 18:43:43.229 File "templates/my.html", line 6, in block "content"
E 2014-03-27 18:43:43.229 {% for feed in myfeeds -%}
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/init.py", line 2326, in next
E 2014-03-27 18:43:43.229 return self.__model_class.from_entity(self.__iterator.next())
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2893, in next
E 2014-03-27 18:43:43.229 next_batch = self.__batcher.next()
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2755, in next
E 2014-03-27 18:43:43.229 return self.next_batch(self.AT_LEAST_ONE)
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2792, in next_batch
E 2014-03-27 18:43:43.229 batch = self.__next_batch.get_result()
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
E 2014-03-27 18:43:43.229 return self.__get_result_hook(self)
E 2014-03-27 18:43:43.229 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2544, in __query_result_hook
E 2014-03-27 18:43:43.229 yaml_index=yaml, xml_index=xml)
E 2014-03-27 18:43:43.229 NeedIndexError: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console.
E 2014-03-27 18:43:43.229 The suggested index for this query is:
E 2014-03-27 18:43:43.229 - kind: Feed
E 2014-03-27 18:43:43.229 properties:
E 2014-03-27 18:43:43.229 - name: book
E 2014-03-27 18:43:43.229 - name: time
我订阅了一个Feed叫“i黑马”地址是:
http://www.iheima.com/index.php?m=content&c=rssall&rssid=9
一直以来都没问题,但是今天这个订阅里面的内容突然全部变成乱码了:
程序没有任何修改,直接打开那个Feed地址也是正常的。我看之前Issue有反馈乱码的问题,我在config.py把那个ALWAYS_CHAR_DETECT页改成乐True,然后重新生成推送了一下,问题依旧。
很不好意思又麻烦你来了~ :目
cdhigh兄好:
转发别的邮件都很正常,唯独这个邮件不行。
kindleEar已经更新到最新版。
0.1.0.20 - - [30/Oct/2013:17:24:49 -0700] "POST /_ah/mail/[email protected] HTTP/1.1" 200 84 - - "appid.appspot.com" ms=573 cpu_ms=347 cpm_usd=0.000009 app_engine_release=1.8.6 instance=00c61b117c986af4c0ec85effeb8d95cbf2b28c9
W 2013-10-31 08:24:49.350
Decode html bodies of mail failed.
W 2013-10-31 08:24:49.352
Decode text bodies of mail failed.
以下为配置文件:
"""app的配置文件"""
SRC_EMAIL = "[email protected]" #邮件的发件人地址
TIMEZONE = 8 #默认时区
DEFAULT_MASTHEAD = "mh_default.gif" #如果书籍没有报头,则使用此报头。
DEFAULT_COVER = "cv_default.jpg" #如果书籍没有封面,则使用此封面,留空则不添加封面
MY_FEEDS_TITLE = u'KindleEar'
MY_FEEDS_DESC = u'RSS delivering from KindleEar'
CONNECTION_TIMEOUT = 25
PINYIN_FILENAME = False
ALWAYS_CHAR_DETECT = True
GENERATE_TOC_DESC = False
TOC_DESC_WORD_LIMIT = 150 # 内容预览(摘要)字数限制
REDUCE_IMAGE_TO = (568,682)
DELETE_CSS_FOR_APPSPOTMAIL = True
在归档与分享的 - 在每篇文章后附加 'Save to evernote' 超链接
在下面填上我的映像笔记邮箱账号, 保存不成功, 然后我查了下映像笔记与evernote的区别, 两者的账号竟然不能通用, 但是我的笔记都是保存在映像笔记中, 所以不知道如果支持映像笔记, 需要修改哪些代码?
补充
在main.py 中, advshare, share class 与sendhtmlemail 方法中, 没有找到哪里对evernote 的邮箱地址含有evernote 还是yingxiang 进行校验
最近在看你写的KindleEar的代码。有个问题:为什么要先生成OEB,再转成mobi?
出现internal server error
2014-01-26 18:23:52.019 /logs 500 90ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36 AppEngine-Google; (+http://code.google.com/appengine; appid: stest9053) module=default version=1rss4edison/1.373336992507142896/web/application.py", line 239, in process
E 2014-01-26 18:23:52.017 Traceback (most recent call last):
E 2014-01-26 18:23:52.017 File "/base/data/home/apps/s
E 2014-01-26 18:23:52.017 return self.handle()
E 2014-01-26 18:23:52.017 File "/base/data/home/apps/srss4edison/1.373336992507142896/web/application.py", line 230, in handlerss4edison/1.373336992507142896/web/application.py", line 420, in _delegate
E 2014-01-26 18:23:52.017 return self._delegate(fn, self.fvars, args)
E 2014-01-26 18:23:52.017 File "/base/data/home/apps/s
E 2014-01-26 18:23:52.017 return handle_class(cls)
E 2014-01-26 18:23:52.017 File "/base/data/home/apps/srss4edison/1.373336992507142896/web/application.py", line 396, in handle_classrss4edison/1.373336992507142896/main.py", line 1126, in GET
E 2014-01-26 18:23:52.017 return tocall(*args)
E 2014-01-26 18:23:52.017 File "/base/data/home/apps/s
E 2014-01-26 18:23:52.017 mylogs = DeliverLog.all().filter("username = ", user.name).order('-time').fetch(limit=10)
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/init.py", line 2157, in fetch
E 2014-01-26 18:23:52.017 return list(self.run(limit=limit, offset=offset, **kwargs))
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/init.py", line 2326, in next
E 2014-01-26 18:23:52.017 return self.__model_class.from_entity(self.__iterator.next())
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2891, in next
E 2014-01-26 18:23:52.017 next_batch = self.__batcher.next()
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2753, in next
E 2014-01-26 18:23:52.017 return self.next_batch(self.AT_LEAST_ONE)
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2790, in next_batch
E 2014-01-26 18:23:52.017 batch = self.__next_batch.get_result()
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
E 2014-01-26 18:23:52.017 return self.__get_result_hook(self)
E 2014-01-26 18:23:52.017 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2542, in __query_result_hook
E 2014-01-26 18:23:52.017 yaml_index=yaml, xml_index=xml)
E 2014-01-26 18:23:52.017 NeedIndexError: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console.
E 2014-01-26 18:23:52.017 The suggested index for this query is:
E 2014-01-26 18:23:52.017 - kind: DeliverLog
E 2014-01-26 18:23:52.017 properties:
E 2014-01-26 18:23:52.017 - name: username
E 2014-01-26 18:23:52.017 - name: time
E 2014-01-26 18:23:52.017 direction: desc
mail sent to [email protected] will be transfered to admin's kindle.
现象:使用Advance的White List推送中文内容到kindle上,在kindle上显示内容为乱码。
使用的设备是kindle Dxg,已中文化。
还请cdhigh 帮忙看下~,谢谢!
Hi,
Can you add AZW3 option to book types? It supports justification.
点击我的订阅和投递日志时出现
internal server error
其他没问题
I want to transfer downloaded book to any cloud service using api like gdrive,dropbox,etc instead of email. How to do that? means how to use generated ebook before its deletion?
def fetcharticle(self, url, decoder):
"""链接网页获取一篇文章"""
if self.fulltext_by_instapaper and not self.fulltext_by_readability:
url = "http://www.instapaper.com/m?u=%s" % self.url_unescape(url)
但instapaper 不支持GB2312,会不会出问题?
只要加一个http://www.tumblr.com/share/link?url=UrlEncode(url)
的超链接就好,点击之后会提示登录,只是不知道url保存在哪呢。。。
Timblr可以推送到Facebook和Twitter,感觉挺好用的。
下面是错误信息,我改了app.yaml里的kindleear和config.py中的邮箱和DOMAIN,此外没做其它修改,以前也是这样上传,这次会提示出错的原因会是什么?
C:\Users\Administrator\Desktop\kindleear_uploader>set PYTHONPATH=C:\Users\Admini
strator\Desktop\kindleear_uploader\DLLs;C:\Users\Administrator\Desktop\kindleear
_uploader\libs;C:\Users\Administrator\Desktop\kindleear_uploader\lib
C:\Users\Administrator\Desktop\kindleear_uploader>python.exe appcfg.py update ki
ndleear
11:06 AM Host: appengine.google.com
Error parsing yaml file:
mapping values are not allowed here
in "kindleear\app.yaml", line 1, column 27
C:\Users\Administrator\Desktop\kindleear_uploader>pause
请按任意键继续. . .
网页显示:internal server error
log:
2013-12-28 19:05:14.985 /my 500 47ms 0kb Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 module=default version=1
E 2013-12-28 19:05:14.984 Traceback (most recent call last):
E 2013-12-28 19:05:14.984 File "/base/data/home/apps/s~chuliqiang7/1.372665220638654106/web/application.py", line 239, in process
E 2013-12-28 19:05:14.984 return self.handle()
E 2013-12-28 19:05:14.984 File "/base/data/home/apps/s~chuliqiang7/1.372665220638654106/web/application.py", line 230, in handle
E 2013-12-28 19:05:14.984 return self._delegate(fn, self.fvars, args)
E 2013-12-28 19:05:14.984 File "/base/data/home/apps/s~chuliqiang7/1.372665220638654106/web/application.py", line 420, in _delegate
E 2013-12-28 19:05:14.984 return handle_class(cls)
E 2013-12-28 19:05:14.984 File "/base/data/home/apps/s~chuliqiang7/1.372665220638654106/web/application.py", line 396, in handle_class
E 2013-12-28 19:05:14.984 return tocall(*args)
E 2013-12-28 19:05:14.984 File "/base/data/home/apps/s~chuliqiang7/1.372665220638654106/main.py", line 488, in GET
E 2013-12-28 19:05:14.984 books=Book.all().filter("builtin = ",True),myfeeds=myfeeds,tips=tips)
E 2013-12-28 19:05:14.984 File "/base/data/home/apps/s~chuliqiang7/1.372665220638654106/main.py", line 210, in render
E 2013-12-28 19:05:14.984 return jjenv.get_template(templatefile).render(title=title, **kwargs)
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/jinja2-2.6/jinja2/environment.py", line 894, in render
E 2013-12-28 19:05:14.984 return self.environment.handle_exception(exc_info, True)
E 2013-12-28 19:05:14.984 File "templates/my.html", line 1, in top-level template code
E 2013-12-28 19:05:14.984 {% extends "base.html" %}
E 2013-12-28 19:05:14.984 File "templates/base.html", line 67, in top-level template code
E 2013-12-28 19:05:14.984 {% block content %}
E 2013-12-28 19:05:14.984 File "templates/my.html", line 28, in block "content"
E 2013-12-28 19:05:14.984 {% for feed in myfeeds %}
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/db/__init__.py", line 2326, in next
E 2013-12-28 19:05:14.984 return self.__model_class.from_entity(self.__iterator.next())
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2891, in next
E 2013-12-28 19:05:14.984 next_batch = self.__batcher.next()
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2753, in next
E 2013-12-28 19:05:14.984 return self.next_batch(self.AT_LEAST_ONE)
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2790, in next_batch
E 2013-12-28 19:05:14.984 batch = self.__next_batch.get_result()
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
E 2013-12-28 19:05:14.984 return self.__get_result_hook(self)
E 2013-12-28 19:05:14.984 File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2542, in __query_result_hook
E 2013-12-28 19:05:14.984 yaml_index=yaml, xml_index=xml)
E 2013-12-28 19:05:14.984 NeedIndexError: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console.
E 2013-12-28 19:05:14.984 The suggested index for this query is:
E 2013-12-28 19:05:14.984 - kind: Feed
E 2013-12-28 19:05:14.984 properties:
E 2013-12-28 19:05:14.984 - name: book
E 2013-12-28 19:05:14.984 - name: time
How to set time zone +5.30?
Manually...
抱歉打扰,我现在自己在写一个python应用想调用calibre的库,已经从git上下载了calibre源码,是在运行python setup.py install的时候会出现
File "C:\Users\emma_ping\Downloads\calibre-master\calibre-master\setup\build_e
nvironment.py", line 126, in
md = glob.glob(os.path.join(prefix, 'build', 'ImageMagick-*'))[-1]
IndexError: list index out of range
看了下build_environment, prefix是hardcode:
prefix = r'C:\cygwin\home\kovid\sw'
caliber官网上只写了要设置CALIBRE_DEVELOP_FROM环境变量,我设了本机calibre的src目录,没有用。
我现在直接把kindleear中的calibre包扔到python的site package下,一般功能可以使用了,但是我还是想知道你是怎么做到在python中直接import calibre的呢?
Is there font embedding feature for generated mobi?
I see that there remain few strings untranslated. Where can I translate them? (Turkish)
[submited the change request]
如下的 RSS :http://feeds.feedburner.com/shuzishuaishuai
无论使用什么订阅方式(isfulltext),到了Kindle Touch后都看不到内容,只有标题。但是实际上是应该显示内容的,我试过,其他RSS阅读都可以显示,只有KindleEar不可以。
请核实一下。
If possible could you set the app settings so that default Chinese books only visible when Chinese is chosen as the interface language? Also for Turkish, etc. Or as a better way you can add a checkbox to choose the languages that will be allowed to show in that area.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.