Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-17-2022, 08:55 AM   #526
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
I forget to tell you that the same message appears when i try to open the "output options" window in Calibre preferences menu (see image)
Attached Thumbnails
Click image for larger version

Name:	Image2.jpg
Views:	204
Size:	96.8 KB
ID:	195086  

Last edited by giododa; 07-17-2022 at 09:20 AM.
giododa is offline   Reply With Quote
Old 07-17-2022, 01:58 PM   #527
emiliolara
Junior Member
emiliolara began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2010
Device: Kobo h2o, Sony prs 505
Same problem here...

Quote:
Originally Posted by giododa View Post
When the conversion dialog window open the default output format is epub.
When I select kepub this message error appears

Spoiler:

calibre, version 6.1.0
ERRORE: Eccezione non gestita: <b>ModuleNotFoundError</b>:No module named 'PyQt4'

calibre 6.1 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: it
Successfully initialized third party plugins: KePub Output (3, 6, 0) && KoboTouchExtended (3, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.kepubout.conversion.output_config ", line 66, in setupUi
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\convert\single.py", line 225, in setup_pipeline
File "calibre_plugins.kepubout.conversion.kepub_output" , line 141, in gui_configuration_widget
File "calibre_plugins.kepubout.conversion.output_config ", line 40, in __init__
File "calibre\gui2\convert\__init__.py", line 65, in __init__
File "calibre_plugins.kepubout.conversion.output_config ", line 69, in setupUi
ModuleNotFoundError: No module named 'PyQt4'


Then I click anyway on OK and this new message follows

Spoiler:

calibre, version 6.1.0
ERRORE: Eccezione non gestita: <b>AttributeError</b>:'MetadataWidget' object has no attribute 'opf_file'

calibre 6.1 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: it
Successfully initialized third party plugins: KePub Output (3, 6, 0) && KoboTouchExtended (3, 6, 0)
Traceback (most recent call last):
File "calibre\gui2\convert\single.py", line 292, in accept
AttributeError: 'MetadataWidget' object has no attribute 'opf_file'
emiliolara is offline   Reply With Quote
Old 07-18-2022, 03:40 AM   #528
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by giododa View Post
I forget to tell you that the same message appears when i try to open the "output options" window in Calibre preferences menu (see image)
Were you running the 32bit version of calibre before? There have been some issues with the change-over from 32bit to 64bit. Sometimes it isn't done cleanly and the wrong executable or library gets used. If so, can you uninstall calibre and look to see if there are any 32bit version still shown in the Add/Remove programs and uninstall that. Then remove the "calibre2" directories from both "C:\Program Files" and "C:\Program Files(x86)". Then reinstall calibre.

Otherwise, please run calibre in debug mode and post the log. There might be something failing earlier that is triggering this.
davidfor is offline   Reply With Quote
Old 07-18-2022, 04:21 AM   #529
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Thank you for your reply.
I never used the 32bit version on the pc I'm using now.
Here is the log in debug mode
Attached Files
File Type: txt debug_log.txt (1.0 KB, 131 views)
giododa is offline   Reply With Quote
Old 07-18-2022, 05:53 AM   #530
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by giododa View Post
Thank you for your reply.
I never used the 32bit version on the pc I'm using now.
Here is the log in debug mode
Unfortunately, that didn't help. But, did you open try the conversion? The error from it is missing, but I can't think if there should be anything else as well.
davidfor is offline   Reply With Quote
Old 07-18-2022, 06:06 AM   #531
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
No I just opened Calibre.
Sorry, I did not understand.
Here is the log trying to convert.
Attached Files
File Type: txt log.txt (2.6 KB, 133 views)
giododa is offline   Reply With Quote
Old 07-19-2022, 12:08 AM   #532
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by giododa View Post
No I just opened Calibre.
Sorry, I did not understand.
Here is the log trying to convert.
Unfortunately, that did not have anything helpful in it.

Looking at the code, I can see something, but, I don't understand why it isn't breaking for others.

I have attached a beta that changes how the Qt library is loaded, and removes the code that loads Qt4 if loading from the current Qt fails. It works here, but, so did the other version. Hopefully it works.
Attached Files
File Type: zip KePub Output-beta.zip (34.5 KB, 204 views)
davidfor is offline   Reply With Quote
Old 07-19-2022, 02:14 AM   #533
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Quote:
Originally Posted by davidfor View Post
Unfortunately, that did not have anything helpful in it.

Looking at the code, I can see something, but, I don't understand why it isn't breaking for others.

I have attached a beta that changes how the Qt library is loaded, and removes the code that loads Qt4 if loading from the current Qt fails. It works here, but, so did the other version. Hopefully it works.
Ok I just installed your beta and something has changed.
When I click "convert book" in the main Calibre window and click to select Kepub in the convert book windows this message popup

Spoiler:

calibre, version 6.1.0
ERRORE: Eccezione non gestita: <b>ModuleNotFoundError</b>:No module named 'PyQt4'

calibre 6.1 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: it
Successfully initialized third party plugins: KePub Output (3, 6, 1) && KoboTouchExtended (3, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.kepubout.common", line 276, in intValueChanged
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.kepubout.common", line 278, in intValueChanged
ModuleNotFoundError: No module named 'PyQt4'


Then if I close the message popup I can set the preferences for the conversion to kepub and if I hit OK the processing begins but the conversion fails and another error message pop up

Spoiler:

calibre, version 6.1.0 (win32, embedded-python: True)
Errore di conversione: Non riuscita: Converti libro 1 di 1 (¡Tu la Pagaras!)

Converti libro 1 di 1 (¡Tu la Pagaras!)
Conversion options changed from defaults:
cover: 'D:\\Temp\\calibre_jpehdh4g\\25_iqfti.jpeg'
kepub_clean_markup: False
epub_version: '2'
read_metadata_from_opf: 'D:\\Temp\\calibre_jpehdh4g\\ypwok6lp.opf'
verbose: 2
output_profile: 'kobo'
Resolved conversion options
calibre version: 6.1.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'D:\\Temp\\calibre_jpehdh4g\\25_iqfti.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,
'epub_version': '2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'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 0x00000159F5D23E80>,
'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': False,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_hyphenate_chars': 6,
'kepub_hyphenate_chars_after': 3,
'kepub_hyphenate_chars_before': 3,
'kepub_hyphenate_limit_lines': 2,
'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 0x00000159F5D22B60>,
'page_breaks_before': '/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'D:\\Temp\\calibre_jpehdh4g\\ypwok6lp.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': '',
'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': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on D:\Temp\calibre_jpehdh4g\m0s0l6nb.epub
Found HTML cover OEBPS/Text/coverpage.xhtml
Parsing all content...
Parsing OEBPS/Text/content0003.xhtml ...
Parsing OEBPS/Text/content0018.xhtml ...
Parsing OEBPS/Text/content0022.xhtml ...
Parsing OEBPS/Text/content0027.xhtml ...
Parsing OEBPS/Text/content0005.xhtml ...
Parsing OEBPS/Text/content0012.xhtml ...
Parsing OEBPS/Text/content0014.xhtml ...
Parsing OEBPS/Styles/style001.css ...
Parsing OEBPS/Text/coverpage.xhtml ...
Parsing OEBPS/Text/content0008.xhtml ...
Parsing OEBPS/Text/content0017.xhtml ...
Parsing OEBPS/Text/content0020.xhtml ...
Parsing OEBPS/Text/colophon.xhtml ...
Parsing OEBPS/Text/content0025.xhtml ...
Parsing OEBPS/Text/content0006.xhtml ...
Parsing OEBPS/Text/content0009.xhtml ...
Parsing OEBPS/Text/content0011.xhtml ...
Parsing OEBPS/Text/content0013.xhtml ...
Parsing OEBPS/Text/content0015.xhtml ...
Parsing OEBPS/Text/content0004.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/content0021.xhtml ...
Parsing OEBPS/Text/content0028.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/Section0003.xhtml ...
Parsing OEBPS/Text/content0010.xhtml ...
Parsing OEBPS/Text/content0023.xhtml ...
Parsing OEBPS/Text/content0026.xhtml ...
Parsing OEBPS/Text/dediche.xhtml ...
Parsing OEBPS/Text/content0007.xhtml ...
Parsing OEBPS/Text/content0016.xhtml ...
Parsing OEBPS/Text/content0019.xhtml ...
Parsing OEBPS/Text/content0024.xhtml ...
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 2387 items of level: p_1
p_1 left margin stats: Counter({'0': 2387})
p_1 right margin stats: Counter({'0': 2387})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/Text/coverpage.xhtml' from manifest
Creating KePub Output...
2022-07-19 07:46:34 [DEBUG] Running ePub conversion
Rescaling image from 600x800 to 512x684 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/Text/content0003.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0018.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0022.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0027.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0005.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0012.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0014.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0008.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0017.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0020.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/colophon.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0025.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0006.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0009.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0011.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0013.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0015.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0004.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0002.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0021.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0028.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0001.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0003.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0010.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0023.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0026.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/dediche.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0007.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0016.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0019.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0024.xhtml...
No large trees found
2022-07-19 07:46:34 [DEBUG] Done ePub conversion
2022-07-19 07:46:35 [DEBUG] Creating KePub Container for ePub at D:\Temp\calibre_jpehdh4g\xou34pfq.kepub
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file titlepage.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/colophon.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/dediche.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0003.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/Section0001.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0004.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0005.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0006.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0008.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/Section0003.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0007.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0010.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0009.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0011.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0012.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0014.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0013.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0015.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0016.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0018.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0019.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0020.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0017.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/Section0002.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0021.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0022.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0023.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0025.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0026.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0024.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0028.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0027.xhtml
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 215, in main
File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1281, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 150, in convert
File "calibre_plugins.kepubout.container", line 119, in __init__
File "calibre_plugins.kepubout.container", line 375, in __run_async_over_content
File "calibre_plugins.kepubout.container", line 368, in __run_async
File "concurrent\futures\_base.py", line 438, in result
File "concurrent\futures\_base.py", line 390, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kepubout.container", line 310, in forced_cleanup
File "calibre_plugins.kepubout.container", line 170, in flush_cache
File "calibre_plugins.kepubout.container", line 368, in __run_async
File "concurrent\futures\_base.py", line 438, in result
File "concurrent\futures\_base.py", line 390, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kepubout.container", line 174, in __flush_cache_impl
File "calibre\ebooks\oeb\polish\container.py", line 1023, in commit_item
PermissionError: [Errno 13] Permission denied: 'D:\\TEMP\\calibre_jpehdh4g\\gz07yiu8_epub_contain er\\OEBPS\\Text\\dediche.xhtml'


The error has something to do with temporary folders and it seem the same I receive when sending book to my Kobo with the KoboTouchExtended plugin.
I will try to understand why this happens as moving the Temp directory location in not working.

If you need I attach the debug logfile.
Anyway thank you for your effort.
Attached Files
File Type: txt debug log.txt (891.8 KB, 134 views)
giododa is offline   Reply With Quote
Old 07-19-2022, 03:09 AM   #534
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by giododa View Post
Ok I just installed your beta and something has changed.
When I click "convert book" in the main Calibre window and click to select Kepub in the convert book windows this message popup

Spoiler:

calibre, version 6.1.0
ERRORE: Eccezione non gestita: <b>ModuleNotFoundError</b>:No module named 'PyQt4'

calibre 6.1 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: it
Successfully initialized third party plugins: KePub Output (3, 6, 1) && KoboTouchExtended (3, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.kepubout.common", line 276, in intValueChanged
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.kepubout.common", line 278, in intValueChanged
ModuleNotFoundError: No module named 'PyQt4'
Sorry, I didn't check if similar code elsewhere. The attached beta should fix this.
Quote:
Then if I close the message popup I can set the preferences for the conversion to kepub and if I hit OK the processing begins but the conversion fails and another error message pop up

Spoiler:

calibre, version 6.1.0 (win32, embedded-python: True)
Errore di conversione: Non riuscita: Converti libro 1 di 1 (¡Tu la Pagaras!)

Converti libro 1 di 1 (¡Tu la Pagaras!)
Conversion options changed from defaults:
cover: 'D:\\Temp\\calibre_jpehdh4g\\25_iqfti.jpeg'
kepub_clean_markup: False
epub_version: '2'
read_metadata_from_opf: 'D:\\Temp\\calibre_jpehdh4g\\ypwok6lp.opf'
verbose: 2
output_profile: 'kobo'
Resolved conversion options
calibre version: 6.1.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'D:\\Temp\\calibre_jpehdh4g\\25_iqfti.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,
'epub_version': '2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'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 0x00000159F5D23E80>,
'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': False,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_hyphenate_chars': 6,
'kepub_hyphenate_chars_after': 3,
'kepub_hyphenate_chars_before': 3,
'kepub_hyphenate_limit_lines': 2,
'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 0x00000159F5D22B60>,
'page_breaks_before': '/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'D:\\Temp\\calibre_jpehdh4g\\ypwok6lp.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': '',
'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': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on D:\Temp\calibre_jpehdh4g\m0s0l6nb.epub
Found HTML cover OEBPS/Text/coverpage.xhtml
Parsing all content...
Parsing OEBPS/Text/content0003.xhtml ...
Parsing OEBPS/Text/content0018.xhtml ...
Parsing OEBPS/Text/content0022.xhtml ...
Parsing OEBPS/Text/content0027.xhtml ...
Parsing OEBPS/Text/content0005.xhtml ...
Parsing OEBPS/Text/content0012.xhtml ...
Parsing OEBPS/Text/content0014.xhtml ...
Parsing OEBPS/Styles/style001.css ...
Parsing OEBPS/Text/coverpage.xhtml ...
Parsing OEBPS/Text/content0008.xhtml ...
Parsing OEBPS/Text/content0017.xhtml ...
Parsing OEBPS/Text/content0020.xhtml ...
Parsing OEBPS/Text/colophon.xhtml ...
Parsing OEBPS/Text/content0025.xhtml ...
Parsing OEBPS/Text/content0006.xhtml ...
Parsing OEBPS/Text/content0009.xhtml ...
Parsing OEBPS/Text/content0011.xhtml ...
Parsing OEBPS/Text/content0013.xhtml ...
Parsing OEBPS/Text/content0015.xhtml ...
Parsing OEBPS/Text/content0004.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/content0021.xhtml ...
Parsing OEBPS/Text/content0028.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/Section0003.xhtml ...
Parsing OEBPS/Text/content0010.xhtml ...
Parsing OEBPS/Text/content0023.xhtml ...
Parsing OEBPS/Text/content0026.xhtml ...
Parsing OEBPS/Text/dediche.xhtml ...
Parsing OEBPS/Text/content0007.xhtml ...
Parsing OEBPS/Text/content0016.xhtml ...
Parsing OEBPS/Text/content0019.xhtml ...
Parsing OEBPS/Text/content0024.xhtml ...
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 2387 items of level: p_1
p_1 left margin stats: Counter({'0': 2387})
p_1 right margin stats: Counter({'0': 2387})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/Text/coverpage.xhtml' from manifest
Creating KePub Output...
2022-07-19 07:46:34 [DEBUG] Running ePub conversion
Rescaling image from 600x800 to 512x684 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/Text/content0003.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0018.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0022.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0027.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0005.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0012.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0014.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0008.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0017.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0020.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/colophon.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0025.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0006.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0009.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0011.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0013.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0015.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0004.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0002.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0021.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0028.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0001.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/Section0003.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0010.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0023.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0026.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/dediche.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0007.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0016.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0019.xhtml...
No large trees found
Looking for large trees in OEBPS/Text/content0024.xhtml...
No large trees found
2022-07-19 07:46:34 [DEBUG] Done ePub conversion
2022-07-19 07:46:35 [DEBUG] Creating KePub Container for ePub at D:\Temp\calibre_jpehdh4g\xou34pfq.kepub
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file titlepage.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/colophon.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/dediche.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0003.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/Section0001.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0004.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0005.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0006.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0008.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/Section0003.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0007.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0010.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0009.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0011.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0012.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0014.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0013.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0015.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0016.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0018.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0019.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0020.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0017.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/Section0002.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0021.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0022.xhtml
2022-07-19 07:46:35 [DEBUG] Forcing cleanup for file OEBPS/Text/content0023.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0025.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0026.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0024.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0028.xhtml
2022-07-19 07:46:36 [DEBUG] Forcing cleanup for file OEBPS/Text/content0027.xhtml
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 215, in main
File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1281, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 150, in convert
File "calibre_plugins.kepubout.container", line 119, in __init__
File "calibre_plugins.kepubout.container", line 375, in __run_async_over_content
File "calibre_plugins.kepubout.container", line 368, in __run_async
File "concurrent\futures\_base.py", line 438, in result
File "concurrent\futures\_base.py", line 390, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kepubout.container", line 310, in forced_cleanup
File "calibre_plugins.kepubout.container", line 170, in flush_cache
File "calibre_plugins.kepubout.container", line 368, in __run_async
File "concurrent\futures\_base.py", line 438, in result
File "concurrent\futures\_base.py", line 390, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "calibre_plugins.kepubout.container", line 174, in __flush_cache_impl
File "calibre\ebooks\oeb\polish\container.py", line 1023, in commit_item
PermissionError: [Errno 13] Permission denied: 'D:\\TEMP\\calibre_jpehdh4g\\gz07yiu8_epub_contain er\\OEBPS\\Text\\dediche.xhtml'


The error has something to do with temporary folders and it seem the same I receive when sending book to my Kobo with the KoboTouchExtended plugin.
I will try to understand why this happens as moving the Temp directory location in not working.

If you need I attach the debug logfile.
Anyway thank you for your effort.
As it is a permissions problem, you could try running calibre as an administrator. If that works, then you would need to work out why you do not have permissions for the temp directory.

If it still fails, it might be a threading issue. The file might be still opened at the time the write is being done. I would have to dig back through some of the beta's last year that were done to try and solve the threading issues to see if all of the ideas were used.
Attached Files
File Type: zip KePub Output-beta.zip (34.4 KB, 172 views)
davidfor is offline   Reply With Quote
Old 07-19-2022, 03:41 AM   #535
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Quote:
Originally Posted by davidfor View Post
Sorry, I didn't check if similar code elsewhere. The attached beta should fix this.
It works.

Quote:
As it is a permissions problem, you could try running calibre as an administrator. If that works, then you would need to work out why you do not have permissions for the temp directory.
Strangely it worked at the first attempt and created the kepub file (runnin as administrator).
But now it works no more.
It fails also runnin as administator.

I will check problems with permissions.

Thank you.
giododa is offline   Reply With Quote
Old 07-19-2022, 04:12 AM   #536
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
I checked again and moved the environmental variables to drive C.
Now it works with some epub and not with others.
Sometimes trying many times (5-6) with the same book it works and create the kepub.
I will investigate.
giododa is offline   Reply With Quote
Old 07-19-2022, 04:56 AM   #537
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by giododa View Post
Strangely it worked at the first attempt and created the kepub file (runnin as administrator).
But now it works no more.
It fails also runnin as administator.

I will check problems with permissions.

Thank you.
Quote:
Originally Posted by giododa View Post
I checked again and moved the environmental variables to drive C.
Now it works with some epub and not with others.
Sometimes trying many times (5-6) with the same book it works and create the kepub.
I will investigate.
I think that means it is the threading. Try the attached beta. That has a some code in it from earlier in the year that I think fixed these problems at the time. From memory, it only was tested in the extended driver, but, the code is common between them, so it should be OK here.
Attached Files
File Type: zip KePub Output-beta.zip (34.7 KB, 249 views)
davidfor is offline   Reply With Quote
Old 07-19-2022, 11:23 AM   #538
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Thank you I will try.
Unfortunately just this morning I had a big problem with my pc and I guess I will reinstall everything.
As soon as done I will inform you.
giododa is offline   Reply With Quote
Old 07-20-2022, 01:57 PM   #539
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
That did the trick.
Now it is perfect.

I just did a fresh reinstallation of Windows10 but I don't think this is the reason for your plugin working.
Infact the KoboTouchExtended plugin is still not working with the same threading error.
Thank you again.
giododa is offline   Reply With Quote
Old 07-21-2022, 01:12 PM   #540
Denis_F
Junior Member
Denis_F began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2022
Device: Kobo Sage
Hello there,

I have the same problem as giododa (i.e. when updating to calibre 6.1 64 bits), when trying to convert an epub through the (newly re-installed) Kepub extension I get the same error message (No module named 'PyQt4') detailed below when I click on OK...is there any prospect so as to update the Kepub extension to solve this issue ?

Thank you for your help !

Code:
calibre, version 6.1.0
ERREUR : Exception non gérée: <b>ModuleNotFoundError</b>:No module named 'PyQt4'

calibre 6.1  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeDRM (7, 0, 0) && KePub Input (3, 4, 3) && KePub Output (3, 6, 0)
Traceback (most recent call last):
  File "calibre_plugins.kepubout.conversion.output_config", line 66, in setupUi
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\convert\single.py", line 225, in setup_pipeline
  File "calibre_plugins.kepubout.conversion.kepub_output", line 141, in gui_configuration_widget
  File "calibre_plugins.kepubout.conversion.output_config", line 40, in __init__
  File "calibre\gui2\convert\__init__.py", line 65, in __init__
  File "calibre_plugins.kepubout.conversion.output_config", line 69, in setupUi
ModuleNotFoundError: No module named 'PyQt4'
Denis_F is offline   Reply With Quote
Reply


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 12:32 AM.


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