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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2017, 10:23 AM   #226
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
5. Click "New"
6. Variable name="CALIBRE_TEMP_DIR" / Variable value="...." (... a directory with no special / utf-8 character and which will be the temporal directory for calibre).
Terisa de morgan is offline   Reply With Quote
Old 01-16-2017, 10:50 AM   #227
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Thank you, Terisa, now I understood, also following the advice of BetterRed here.
But the error message is the same.
There is content in my "Temporary folder", however.

Last edited by Leonatus; 01-16-2017 at 10:53 AM.
Leonatus is offline   Reply With Quote
Advert
Old 01-16-2017, 10:55 AM   #228
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Sorry, then it is out of my league
Terisa de morgan is offline   Reply With Quote
Old 01-16-2017, 11:04 AM   #229
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Thank you for your helpfulness, though! Perhaps the result may be interesting for davidfor and jgoguen.
Leonatus is offline   Reply With Quote
Old 01-16-2017, 05:56 PM   #230
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Leonatus View Post
Thank you, Terisa, now I understood, also following the advice of BetterRed here.
But the error message is the same.
There is content in my "Temporary folder", however.
Can you check the messages to make sure it is using the correct path? The line starting "Copying file" should show two paths and they will start with the temporary directory that is being used. Once you have added the environment variable and saved it, the next time you start calibre it should use it. If it doesn't, then check the spelling and maybe reboot before trying calibre again.
davidfor is offline   Reply With Quote
Advert
Old 01-17-2017, 04:02 AM   #231
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Quote:
Originally Posted by davidfor View Post
Can you check the messages to make sure it is using the correct path? The line starting "Copying file" should show two paths and they will start with the temporary directory that is being used. Once you have added the environment variable and saved it, the next time you start calibre it should use it. If it doesn't, then check the spelling and maybe reboot before trying calibre again.
I shall try this when back home. Only to make sure: I have saved the user variable in
Code:
C:\CalibreData\Temporary
. BetterRed said that on should set the variable to
Code:
%systemdrive%\CalibreData\Temporary
. This is what I did, and I assume this is correct?
Leonatus is offline   Reply With Quote
Old 01-17-2017, 05:35 AM   #232
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Leonatus View Post
I shall try this when back home. Only to make sure: I have saved the user variable in
Code:
C:\CalibreData\Temporary
. BetterRed said that on should set the variable to
Code:
%systemdrive%\CalibreData\Temporary
. This is what I did, and I assume this is correct?
That should work. I've given up on worrying about what someone boot drive is in Windows. It's so rarely something other than C, that it isn't usually worth the extra words.
davidfor is offline   Reply With Quote
Old 01-17-2017, 07:26 AM   #233
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
As far as I can see, C: drive is indeed the boot drive.
This time, I tried another book, but the error Code is:
Code:
calibre, version 2.77.0 (win32, embedded-python: True)
Konvertierungsfehler: Fehlgeschlagen: Buch 1 von 1 (Curiosités judiciaires et historiques du moyen âge. Procès contre les animaux) konvertieren

Buch 1 von 1 (Curiosités judiciaires et historiques du moyen âge. Procès contre les animaux) konvertieren
C:\Program Files\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Resolved conversion options
calibre version: 2.77.0
{'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(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': u'C:\\CalibreData\\Temporary\\calibre_mczi4k\\ontlwf.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_split_on_page_breaks': False,
 '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,
 'expand_css': False,
 'extra_css': u'@page {margin: 5pt}',
 'extract_to': None,
 'filter_css': u'',
 '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 0x05D57BD0>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'kepub_clean_markup': True,
 'kepub_disable_hyphenation': False,
 'kepub_hyphenate': True,
 'kepub_replace_lang': True,
 '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,
 '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.KoboReaderOutput object at 0x05D57FF0>,
 'page_breaks_before': u'/',
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'C:\\CalibreData\\Temporary\\calibre_mczi4k\\rccg_y.opf',
 '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': u'',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\CalibreData\Temporary\calibre_mczi4k\15aa_8.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Parsing Curiosites_judiciaires_et_histo_split_004.html ...
Parsing Curiosites_judiciaires_et_histo_split_002.html ...
Parsing page_styles.css ...
Parsing Curiosites_judiciaires_et_histo_split_005.html ...
Parsing titlepage.xhtml ...
Parsing stylesheet.css ...
Parsing Curiosites_judiciaires_et_histo_split_000.html ...
Parsing Curiosites_judiciaires_et_histo_split_003.html ...
Parsing Curiosites_judiciaires_et_histo_split_001.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 6 items of level: div_1
Found 172 items of level: p_1
div_1  left margin stats: Counter()
div_1  right margin stats: Counter()
Negative text indent detected at level  p_1, ignoring this level
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'titlepage.xhtml' from manifest
Creating KePub Output...
Rescaling image from 1200x1600 to 512x684 cover1.jpeg
Splitting markup on page breaks and flow limits, if any...
	Looking for large trees in Curiosites_judiciaires_et_histo_split_004.html...
	No large trees found
	Looking for large trees in Curiosites_judiciaires_et_histo_split_002.html...
	No large trees found
	Looking for large trees in Curiosites_judiciaires_et_histo_split_005.html...
	No large trees found
	Looking for large trees in Curiosites_judiciaires_et_histo_split_000.html...
	No large trees found
	Looking for large trees in Curiosites_judiciaires_et_histo_split_003.html...
	No large trees found
	Looking for large trees in Curiosites_judiciaires_et_histo_split_001.html...
	No large trees found
The cover image has an id != "cover". Renaming to work around bug in Nook Color
Copying file 'C:\CalibreData\Temporary\calibre_mczi4k\gbt7qw_KePubOutputPluginInfo' to 'C:\CalibreData\Temporary\calibre_mczi4k\nyrfhk_epub_container' as 'plugininfo.kte'
{'hyphenate': True, 'extended_kepub_features': True, 'clean_markup': True, 'smarten_punctuation': False, 'no-hyphens': False, 'replace_lang': True}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file Curiosites_judiciaires_et_histo_split_000.html
Forcing cleanup for file Curiosites_judiciaires_et_histo_split_001.html
Forcing cleanup for file Curiosites_judiciaires_et_histo_split_002.html
Forcing cleanup for file Curiosites_judiciaires_et_histo_split_003.html
Forcing cleanup for file Curiosites_judiciaires_et_histo_split_004.html
Forcing cleanup for file Curiosites_judiciaires_et_histo_split_005.html
Forcing cleanup for file titlepage.xhtml
Cleaning markup for file Curiosites_judiciaires_et_histo_split_000.html
Cleaning markup for file Curiosites_judiciaires_et_histo_split_001.html
Cleaning markup for file Curiosites_judiciaires_et_histo_split_002.html
Cleaning markup for file Curiosites_judiciaires_et_histo_split_003.html
Cleaning markup for file Curiosites_judiciaires_et_histo_split_004.html
Cleaning markup for file Curiosites_judiciaires_et_histo_split_005.html
Cleaning markup for file titlepage.xhtml
Copying file 'C:\CalibreData\Temporary\calibre_mczi4k\kepub_za5f0m_hyphenate' to 'C:\CalibreData\Temporary\calibre_mczi4k\nyrfhk_epub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file Curiosites_judiciaires_et_histo_split_000.html
C:\Program Files\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
  All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (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 195, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 1226, in run
  File "calibre_plugins.kepubout.conversion.kepub_output", line 131, in convert
  File "calibre_plugins.kepubout.common", line 103, in modify_epub
  File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
  File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
  File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
  File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
  File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
  File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
  File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
I dare say, there is nothing erroneous in the environment variable, but the error is the same.
Leonatus is offline   Reply With Quote
Old 01-17-2017, 10:43 PM   #234
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
[Conversion Output] KePub Output Plugin

You said it works on other Windows computers? What language settings do you have on each one? Are they all German and Unicode/UTF-8, or are they using a different encoding or language or locale? Unfortunately I don't know how to check all these on Windows.
jgoguen is offline   Reply With Quote
Old 01-18-2017, 02:19 AM   #235
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Quote:
Originally Posted by jgoguen View Post
You said it works on other Windows computers? What language settings do you have on each one? Are they all German and Unicode/UTF-8, or are they using a different encoding or language or locale? Unfortunately I don't know how to check all these on Windows.
The other of my computers is also a Windows 10, 32 bit; the one of my wife is Windows 10, 64 bit. The language settings are all german, and I suppose (as nobody changed something in the default settings in this point), they are all Unicode/UTF-8. Neither would I know how to change this settings, nor how to check them out, so it ought to be standard. Except the regular Windows updates, I didn't change anything at the system settings, and not at all in the registry.
Yesterday, I deinstalled the plugin, closed Calibre, started it new, reinstalled it and started again, but there was no change.
Leonatus is offline   Reply With Quote
Old 01-18-2017, 07:24 AM   #236
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,845
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Here is how to change the name of the user directory in Windows 10.

JSWolf is offline   Reply With Quote
Old 01-18-2017, 09:17 AM   #237
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Could you install this new version of the plugin (attached to this post) and try to convert a book that failed? I'd prefer if you try Im grünen Tann by Arthur Achleitner since that's the one you sent me, it's easiest for me to refer to that book.

I don't expect this to fix the problem, but it should give me more information I can use. Try both on the computer where it's failing and one where it was working. If the computer where conversion fails is 32-bit, try to also use a 32-bit computer where conversion has been working, just to minimize differences when I compare the log files. Upload the log files from both computers to https://www.dropbox.com/request/g0Q3WAW4jIcCYgkTFBt2

To install a new plugin from a file:
  1. Open calibre's preferences
  2. Under "Advanced", choose "Plugins"
  3. Click "Load plugin from file" and find the plugin ZIP file you downloaded
Attached Files
File Type: zip KePub Output.zip (27.1 KB, 193 views)
jgoguen is offline   Reply With Quote
Old 01-18-2017, 12:17 PM   #238
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Log-files have been sent!
Thank you for your efforts!

@JSWolf: Thanks to you as well! I hope I won't need it.

Last edited by Leonatus; 01-18-2017 at 01:44 PM.
Leonatus is offline   Reply With Quote
Old 01-28-2017, 05:59 AM   #239
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
I had a chance to take a look and I can see what the problem is but not why it's happening.

Part of creating the KePub file, when you request hyphenation support, is adding a CSS file to the book, and editing the inner HTML files to include a reference to that CSS file. The location of the CSS file is /kte-css/hyphenation.css (off the root of the ePub file). In the log you sent me showing it working, the paths look correct:

Code:
Input file: OEBPS/Text/@public@vhost@g@gutenberg@html@files@14105@14105-0-0.txt.html
CSS relative path: ../../kte-css/stylehacks.css
Home directory: C:\Users\Juergen
However, where it isn't working:

Code:
Input file: OEBPS/Text/@public@vhost@g@gutenberg@html@files@14105@14105-0-0.txt_split_000.html
CSS relative path: ../../../../J�rgen/Desktop/kte-css/hyphenation.css
Home directory: C:\Users\J�rgen
So something is indeed different between these computers. The formatting of the home directory suggests either there's a locale difference (which I don't know how to check on Windows) or the actual home directory name is different. On the working computer, where the CSS relative path is correct, you aren't using a different temporary directory; on the computer where the CSS relative path looks wrong, you are. I tried on Linux setting a specific temporary directory and it worked fine, so either that's not part of the problem or there's a Python bug specific to the Windows version of Python.
jgoguen is offline   Reply With Quote
Old 01-29-2017, 11:25 AM   #240
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Whereas on the first computer, I set the user Name to: "Juergen", I set it on the second one to: "Jürgen", which relates to the german "Umlaute", but which is not a ASCII character. As it is not so easy to change the user's name, could I perhaps change the css destination directory?
The html Code for "ü" shoukd be:"&uuml;".

Last edited by Leonatus; 01-29-2017 at 11:28 AM.
Leonatus 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
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 02:24 AM
Plugin which uses net as input and output medve Development 0 12-04-2011 03:20 PM
Creat new Output plugin (LaTeX and/or txt2tags) Lebewesen Development 3 11-22-2011 11:10 AM
AZW Conversion Output Plugin tylau0 Plugins 59 08-14-2011 10:36 PM


All times are GMT -4. The time now is 02:24 PM.


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