09-25-2010, 01:34 AM | #1 |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Is it just me or are others experiencing this too?
Alright, for the life of me I don't know what the deal is with my "test environment". I reported this as a potential bug but Kovid stated that it wasn't that I just needed to add more remove_tags and such. Well Yeah
The issue at hand is still this. If i take and run ebook-convert test1.recipe out_put_dir --test -vv > myrecipe.txt Yes, I know it only gets too feeds. but the problem is in "most not all but most cases" it cleans the dang junk up. So when i run the test after using remove_tags then I see no junk I automatically assume that it is fine. But that is simply not the case. For instance the popular science code that I submitted for 7.20 I was led to believe it worked fine because the console test looked perfect. yet when i look run the built in recipe in 7.20 i get junk. I ran the recipe without --test and the same exact article(s) that showed perfect when using the --test switch show junk. So what is the suggestion? To not use --test and run full feed parsing? The test just makes it faster to well "test" here is the code if your interesting in seeing what I mean. I mean yeah i realize that it needs more remove_tags and keep_only tags but that is not the issue. The issue is why does the same article from the same feed with the same code show two totally different results when i use --test vs not using --test ? Spoiler:
Kovid: I will submit an update to you soon for Popular Science as well. Seems like both of my submissions for 7.20 were no go for launch That's what i get for assuming all was fine when using the --test switch |
09-25-2010, 01:51 AM | #2 |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Someone please test this code on your end and see if you get any junk. I don't want to keep submitting what I believe to be working code to Kovid and then turning around looking like a moron when it ends up looking like crap
Thanks.... Spoiler:
***Starson17 - I used the use_embedded_content flag that i didn't know anything about until you mentioned it. Makes some feeds a looooot easier. Thanks |
Advert | |
|
09-25-2010, 11:38 AM | #3 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
09-25-2010, 11:53 AM | #4 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Look at lines 595-597 of news.py. Search for "test" in that file. |
|
09-25-2010, 12:22 PM | #5 |
Addict
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Here are some snap shots that should explain what I'm seeing. As far as the news.py I tried to find that file without any look. The closes I came by looking in my myrecipe.txt was a file that was suppose to be in
\site-packages\calibre\web\feeds I went there and the only file that I seen in there was news.py0 I tried to open that file with ultra edit and it is binary.. thanks. |
Advert | |
|
09-25-2010, 01:57 PM | #6 | ||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
http://calibre-ebook.com/user_manual/develop.html |
||
09-27-2010, 08:42 AM | #7 |
US Navy, Retired
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I tested this code by loading the recipe in the GUI and running it. I don't see any of the junk you are seeing. It seems to be a nice clean output.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic Anybody else experiencing issues since 1.4? | _CL | Barnes & Noble NOOK | 5 | 08-14-2011 12:02 PM |
Anybody else experiencing very frequent crashes? | lunixer | Calibre | 2 | 08-22-2010 12:40 PM |
Anyone else experiencing a "System Error" at Fictionwise | Dr. Drib | News | 13 | 05-18-2009 12:02 AM |
Kindle experiencing same screen problems | horseyride | Sony Reader | 4 | 12-31-2007 06:30 PM |