View Single Post
Old 03-23-2011, 02:58 PM   #1
Picander
Junior Member
Picander began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2011
Location: Spain
Device: Kindle 3
Calibre stops converting RTF files

Hi,

Last week I got a Kindle and I converted some RTF files into MOBI with Calibre and no problem.

Suddenly Calibre sotpped converting RTF files. I have tried with new files and also with the same files converted previously always getting the same error.

I have reinstalled Calibre 0.7.50 several times. I also have tried installing previous versions, but the problem persists.

My OS is Windows 7 Home Premiun 64 bits service pack 1.

These are the job details. I think that the problem begins in the red marked lines.


Convert book 1 of 1 (Sharpe y el aguila del imperio)
Resolved conversion options
calibre version: 0.7.36
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': 'c:\\users\\luis\\appdata\\local\\temp\\calibre_0. 7.36_tmp_qrpb32\\calibre_0.7.36_stu_o4.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_compress': False,
'extra_css': None,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.SonyReaderInput object at 0x05423730>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'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 0x054238D0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\luis\\appdata\\local\\temp\\calibre_0. 7.36_tmp_qrpb32\\calibre_0.7.36_fklm_n.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 1.0,
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: RTF Input running
on C:\JL\Libros\Calibre\Bernard Cornwell\Sharpe y el aguila del imperio (67)\Sharpe y el aguila del imperio - Bernard Cornwell.rtf
Converting RTF to XML...
Preprocessing to convert unicode characters
Python function terminated unexpectedly
[Error 5] Acceso denegado: 'c:\\users\\luis\\appdata\\local\\temp\\tmpvtrhgq' (Error Code: 1)

Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 107, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 853, in run
File "site-packages\calibre\customize\conversion.py", line 216, in __call__
File "site-packages\calibre\ebooks\rtf\input.py", line 254, in convert
File "site-packages\calibre\ebooks\rtf\input.py", line 119, in generate_xml
File "site-packages\calibre\ebooks\rtf2xml\ParseRtf.py", line 331, in parse_rtf
File "site-packages\calibre\ebooks\rtf2xml\colors.py", line 247, in convert_colors
WindowsError: [Error 5] Acceso denegado: 'c:\\users\\luis\\appdata\\local\\temp\\tmpvtrhgq'



I would be very gratefully for your help.

Thanks in advance.
Picander is offline   Reply With Quote