Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-27-2014, 11:29 PM   #1
miglanc
Junior Member
miglanc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2014
Device: none
ImportError: No module named PyQt4

HELP!, calibre v2.0
Conversion - Input Options is not working

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\main.py", line 283, in show_plugin
File "site-packages\calibre\customize\__init__.py", line 642, in create_widget
File "importlib\__init__.py", line 37, in import_module
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.doc_input.doc_input", line 9, in <module>
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.doc_input.doc_input_ui", line 10, in <module>
ImportError: No module named PyQt4

Input Options in calibre-portable.exe is working fine.
miglanc is offline   Reply With Quote
Old 08-27-2014, 11:32 PM   #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: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just uninstall the doc input plugin and wait for it to be made compatible with calibre 2.0
kovidgoyal is offline   Reply With Quote
Advert
Old 08-27-2014, 11:44 PM   #3
miglanc
Junior Member
miglanc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2014
Device: none
THANK YOU
Kovid you are the greatest.
miglanc is offline   Reply With Quote
Old 08-28-2014, 12:09 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@miglanc - FYI - there is a calibre 2.0 compliant version of Doc input here ==>> [Conversion Input] Microsoft Doc Input Plugin

You could install it and 'try' it, I'm sure davidfor, who did the changes for calibre V2.0/Qt5, would appreciate another 'tester'. I tested it yesterday, looks good to me

You may need to reconfigure the location of wordconv.exe in Preferences->Conversion Input->DOC Input.

BR
BetterRed is offline   Reply With Quote
Old 08-28-2014, 01:32 AM   #5
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
@miglanc: Yes, please test it and tell me how it goes. I would like at least one more confirmation it is all OK before we get it released.
davidfor is offline   Reply With Quote
Advert
Old 08-28-2014, 02:26 AM   #6
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 kovidgoyal View Post
Just uninstall the doc input plugin and wait for it to be made compatible with calibre 2.0
I just saw the checkin to fix the way the DOC Input plugin loads the configuration widget. This had me baffled for a while as it crashed calibre on my machine. It took me longer than I like to think to find the offending code.

When I looked, some code was added to gui2/convert/__init__.py on 30/06/2014 that broke what was in the plugin. The strange thing is that the change was checked in by the author of the plugin but the plugin was never updated to match. When I removed the code from the plugin, everything worked perfectly.

I have the plugin ready to go. It works with both 1.48 and 2.0. And your new code. I just want confirmation from another person who actually uses it before it gets released.
davidfor is offline   Reply With Quote
Old 08-28-2014, 02:49 AM   #7
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: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah, I dont know what happened to the plugin author after sending me that patch for calibre.
kovidgoyal is offline   Reply With Quote
Old 09-10-2014, 05:08 PM   #8
loudab
Member
loudab began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Oct 2012
Device: Kindle 3 and Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Just uninstall the doc input plugin and wait for it to be made compatible with calibre 2.0
Mine says I can't uninstall or disable it.
loudab is offline   Reply With Quote
Old 09-11-2014, 12:51 AM   #9
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
loudab: The DOC Input plugin has been updated for calibre v2. You should have been prompted to upgrade. If you haven't, you should manually install it from the link the BetterRed posted. And report any problems in that link.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ImportError: No module named djvu canadianjameson Conversion 12 04-01-2012 11:23 PM
ImportError: No module named setup pramodxyle Development 4 03-20-2012 12:41 AM
Error on install: No module named PyQt4 good_man Calibre 4 02-18-2011 03:10 PM
ImportError: No module named profiles ould Calibre 11 02-28-2009 07:25 PM
ImportError: No module named pkg_resources erik80 Calibre 3 08-02-2008 09:33 AM


All times are GMT -4. The time now is 01:51 PM.


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