12-30-2011, 12:33 PM | #31 |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
Thanks for your information. When I return None from parse_index() I receive the following error:
Code:
Traceback (most recent call last): File "site.py", line 58, in main File "site-packages/calibre/ebooks/conversion/cli.py", line 287, in main File "site-packages/calibre/ebooks/conversion/plumber.py", line 959, in run File "site-packages/calibre/customize/conversion.py", line 204, in __call__ File "site-packages/calibre/web/feeds/input.py", line 105, in convert File "site-packages/calibre/web/feeds/news.py", line 843, in download File "site-packages/calibre/web/feeds/news.py", line 989, in build_index File "site-packages/calibre/web/feeds/__init__.py", line 341, in feeds_from_index TypeError: 'NoneType' object is not iterable PS. New version is on the way with bug fixes and new features. Also started on an Instapaper recipe based on the official API ( http://www.instapaper.com/api/full ). DS. |
12-30-2011, 10:24 PM | #32 |
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah, its working as intended. Returning None, leads to an error, which stops the recipe execution.
|
Advert | |
|
12-31-2011, 09:58 AM | #33 |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
New development version out:
https://bitbucket.org/khromov/calibr...calibre.recipe Changelog here. I notice this leads to an error popup if you schedule the recipe for executing in the GUI. Is that ideal? Semantically speaking, there is no error taking place. Is it possible to suppress it? |
12-31-2011, 10:11 AM | #34 |
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No it isn't possible to suppress it. Imagine the case of a user manually running the recipe, having nothing happen would be very confusing. Of course, it is possible to have the recipe output special text before exiting and have the GUI detect it and show a special dialog, but that's rather too much work for me. Patches welcome
|
01-11-2012, 05:42 PM | #35 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
|
Sorry to resurrect an old thread here, but it's new to me. In the past, I would use Calibre to download my instapaper feed and then transfer it to my kindle touch via USB cable. If I did that, then in the menu for the kindle it would list Instapaper and then right next to it would be the date that it was downloaded.
If I use the email function in calibre to email it to my @free.kindle.com address then it shows "calibre" in the spot where the author would be for a normal book. Is there any way to get calibre to name it by the date? As in Instapaper-11January or something similar? Thanks |
Advert | |
|
01-11-2012, 10:09 PM | #36 |
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont send it via email, use USB. Amazon broke email delivery of periodicals on newer kindles recently.
|
02-08-2012, 03:35 PM | #37 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
I am having a really hard time trying to figure out how to enter my username and password correctly into this recipe. I have tried everything. I thought I was simply to replace just replaced the 'username' and 'password' in the following:
br['username'] = self.username if self.password is not None: br['password'] = self.password with my username and password.. that hasn't seem to work? Thanks for the help! |
02-10-2012, 06:46 PM | #38 | |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
Quote:
|
|
02-27-2012, 06:22 PM | #39 | |
Member
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: none
|
Quote:
Im only getting the 1st page of articles. Do i need to change something in the reciepe to allow this. Thanks for all the hard work on a great recipe |
|
02-27-2012, 08:07 PM | #40 | |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
Quote:
https://bitbucket.org/khromov/calibre-instapaper/src |
|
02-27-2012, 08:56 PM | #41 |
Member
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: none
|
thanks
im having trouble figureing out where to add my custom folders. Do i place them directly under the 2 examples or further down by unread and liked feeds. Thanks again |
02-28-2012, 11:44 AM | #42 | |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
Quote:
"Set your own custom folders here, simply re-paste the example line below for each new folder you need." It's implied that you put them underneath the example. In other news The text view on Instapaper.com has changed today, so there's some junk on top of every article. I will be releasing a fix for this in a day or two. |
|
02-28-2012, 06:20 PM | #43 |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
I have fixed the stable and dev branches to incorporate the new change to layout on Instapaper.com
Commit info: https://bitbucket.org/khromov/calibr...t/e0b8c04df4c5 Direct download: https://bitbucket.org/khromov/calibr...get/master.zip |
02-28-2012, 07:52 PM | #44 |
Member
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: none
|
sigh Still dont understand I guess. Tried adding directly under the examples with and without a #. With it doesnt download from the folder taking the # out it breaks the recipe.
Sorry Im having so much trouble with this. |
02-29-2012, 08:36 AM | #45 | |
Connoisseur
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
Quote:
Don't worry, it's probably just a silly error - go ahead and post the folder(s) you are trying to add (the exact code) here on the forum and I'll check what could be causing the issue. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nature news - updated recipe | Alexis | Recipes | 3 | 10-05-2012 02:36 PM |
Recipe for National Geographic *Updated* | gagsays | Recipes | 3 | 05-19-2011 12:30 PM |
Updated Recipe: They Draw and Cook | Starson17 | Recipes | 0 | 03-13-2011 10:59 AM |
Updated recipe for Le Monde? | veezh | Recipes | 5 | 01-20-2011 09:06 PM |
One new recipe and other one updated (In Spanish) | desUBIKado | Recipes | 3 | 01-19-2011 03:58 AM |