Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2011, 08:22 AM   #1
manutau
Junior Member
manutau began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: Kindle
[request] Le Temps (FR-CH)

Hello,
letemps.ch needs a username and is now passworded.
I understand a regular user can grab something like 200 news for free (not sure about the details).
And in any case, I have a subscribtion. I would love an updated recipe for our Kindles.
manutau is offline   Reply With Quote
Old 02-02-2011, 11:35 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
PM me your le temps username and password.
kovidgoyal is offline   Reply With Quote
Old 06-22-2011, 08:29 AM   #3
turbolence
Junior Member
turbolence began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: kindle
I have the same problem, I have a subscription to letemps.ch and would like to do get it on my kindle but when I try with the standard recipe included calibre I get following error:

calibre, version 0.8.6
ERROR: Conversion Error: <b>Failed</b>: Fetch news from Le Temps

Fetch news from Le Temps
Resolved conversion options
calibre version: 0.8.6
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_download_recipe': False,
'enable_heuristics': False,
'extra_css': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x03F31090>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x03F313B0>,
'page_breaks_before': None,
'password': 'geneve',
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unwrap_lines': True,
'use_auto_toc': False,
'username': 'Lari',
'verbose': 2}
InputFormatPlugin: Recipe Input running
Python function terminated unexpectedly
calibre.utils.browser.Browser instance has no attribute __setitem__ (perhaps you forgot to .select_form()?) (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 181, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 920, in run
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\web\feeds\input.py", line 101, in convert
File "site-packages\calibre\web\feeds\news.py", line 632, in __init__
File "c:\docume~1\boss\locals~1\temp\calibre_0.8.6_tmp_ iwdywg\calibre_0.8.6_7cttre_recipes\recipe0.py", line 33, in get_browser
br['username'] = self.username
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 628, in __getattr__
AttributeError: calibre.utils.browser.Browser instance has no attribute __setitem__ (perhaps you forgot to .select_form()?)

Does exist an update recipe? Any suggestion how to solve the issue?
Thank you, Gianmaria
turbolence is offline   Reply With Quote
Old 06-22-2011, 01:24 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Once again,

Quote:
Originally Posted by kovidgoyal View Post
PM me your le temps username and password.
kovidgoyal is offline   Reply With Quote
Old 06-28-2011, 06:20 AM   #5
turbolence
Junior Member
turbolence began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: kindle
Brilliant!!!!!!!!!!!!!!!!!!!!

It works perfectly now. Thank you so much.

I just made a donation of 10$ to calibre.

Thank you for your work.
Ciao, gianmaria
turbolence is offline   Reply With Quote
Old 06-28-2011, 12:18 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're welcome
kovidgoyal is offline   Reply With Quote
Old 04-04-2015, 09:43 AM   #7
geniium
Junior Member
geniium began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2015
Device: Kindle Paperwhite
Hi guys

Just tried the "Le Temps" plugin that you have made kovidgoyal. It's not working anymore, the data aren't downloaded. The structure seems to be there, but not the article.

Could you help please?

Thanks!

Cheers!
geniium is offline   Reply With Quote
Old 04-04-2015, 09:53 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Like I said before, I need a username and password to fix it.
kovidgoyal is offline   Reply With Quote
Old 04-08-2015, 06:19 AM   #9
geniium
Junior Member
geniium began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2015
Device: Kindle Paperwhite
Send you the infos in PM.
geniium is offline   Reply With Quote
Old 04-10-2015, 04:30 AM   #10
pierregallaz
Junior Member
pierregallaz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2009
Device: Kindle Paperwhite (and an old DR-1000s)
The server address in the recipe seems to be wrong (letemp.ch instead of letemps.ch). Kovid, I happily sponsored your work on a working recipe for le Temps with a $100 donation 10 seconds ago (pierreg*****@gmail.com through paypal)... That would allow me to make the decision to become a paying subscriber to letemps.ch again.
pierregallaz is offline   Reply With Quote
Old 04-10-2015, 05:48 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Thanks, but the recipe was laready fixed yesterday, it should be working fine now.
https://github.com/kovidgoyal/calibr...e7ed0a397f1e69
kovidgoyal is offline   Reply With Quote
Old 04-11-2015, 02:24 AM   #12
geniium
Junior Member
geniium began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2015
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Thanks, but the recipe was laready fixed yesterday, it should be working fine now.
https://github.com/kovidgoyal/calibr...e7ed0a397f1e69
Thanks for fixing this!
geniium is offline   Reply With Quote
Old 07-20-2018, 04:30 AM   #13
riguello
Junior Member
riguello began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2018
Device: Kindle Oasis
Dears,
I have a similar issue: when trying to fetch news from "Le Temps" I get an error:
"mechanize._form_controls.ControlNotFoundError : no control matching name 'username' "
See details below.
My username and password pair works well when accessing https://www.letemps.ch website.
Other info that could be helpful:
my username is an email address
Using Calibre 3.28 on OSX 10.14b
Other news sources work well

Thanks for your support and the fantastic Calibre app.
Warm regards.

----------
calibre, version 3.28.0 (darwin, embedded-python: True)
Conversion error: Failed: Fetch news from Le Temps

Spoiler:
Fetch news from Le Temps
Conversion options changed from defaults:
output_profile: 'generic_eink'
verbose: 2
Resolved conversion options
calibre version: 3.28.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_split_on_page_breaks': True,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': '2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': None,
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x116ee6090>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x116ee6490>,
'page_breaks_before': None,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': None,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
Python function terminated unexpectedly: no control matching name 'username'
InputFormatPlugin: Recipe Input running
Using custom recipe
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 154, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 195, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 26, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1106, in run
File "site-packages/calibre/customize/conversion.py", line 246, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 119, in convert
File "site-packages/calibre/web/feeds/news.py", line 898, in __init__
File "<string>", line 37, in get_browser
File "site-packages/mechanize/_form_controls.py", line 1945, in __setitem__
File "site-packages/mechanize/_form_controls.py", line 2331, in find_control
File "site-packages/mechanize/_form_controls.py", line 2424, in _find_control
mechanize._form_controls.ControlNotFoundError: no control matching name 'username'

Last edited by BetterRed; 07-20-2018 at 04:57 AM.
riguello is offline   Reply With Quote
Old 07-20-2018, 11:10 AM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The login should be fixed by https://github.com/kovidgoyal/calibr...6884dd16aba1a2

if there are other problems then you will need to PM me your username and password for that site, since I dont subscribe to it.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Short Fiction Wharton, Edith: Autres Temps..., v.1, 4 Feb 2008. Patricia Kindle Books 1 02-22-2012 10:06 PM
Que lisez-vous ces temps-ci? Verencat E-Books 101 03-03-2010 06:08 PM
Science Fiction Wells, Herbert George: La Machine à Explorer le Temps (Français/French) Roberts324 IMP Books 5 06-06-2008 06:51 AM
Short Fiction Wharton, Edith: Autres Temps..., v.1, 4 Feb 2008. Patricia IMP Books 0 02-03-2008 10:32 PM
Short Fiction Wharton, Edith: Autres Temps..., v.1, 4 Feb 2008. Patricia BBeB/LRF Books 0 02-03-2008 10:28 PM


All times are GMT -4. The time now is 06:14 PM.


MobileRead.com is a privately owned, operated and funded community.