Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2017, 02:47 AM   #1
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Search & Replace Error

This doesn't cause me too much trouble, except the trouble of hitting the 'Find' button again, but thought I would mention it.

Every once in a while, when I search for something the following comes up:

Code:
calibre, version 3.3.0
ERROR: Unhandled exception: <b>AttributeError</b>:'QPushButton' object has no attribute 'setPopupMode'

calibre 3.3 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.14393-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.14393')
Python 2.7.12+
Windows: ('10', '10.0.14393', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Generate Cover (1, 5, 21) && FanFicFare (2, 14, 0) && Save To Format (0, 0, 6) && Job Spy (1, 0, 72) && EpubMerge (2, 1, 1) && Favourites Menu (1, 0, 4) && Find Duplicates (1, 6, 3) && Count Pages (1, 8, 0) && EpubSplit (2, 2, 1) && Kobo Utilities (2, 5, 2)
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 959, in search
  File "site-packages\calibre\gui2\tweak_book\search.py", line 1532, in run_search
  File "site-packages\calibre\gui2\tweak_book\search.py", line 1431, in do_find
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 1411, in edit_file
  File "site-packages\calibre\gui2\tweak_book\editor\__init__.py", line 39, in editor_from_syntax
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 145, in __init__
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 336, in create_toolbars
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 393, in populate_toolbars
  File "site-packages\calibre\gui2\tweak_book\editor\widget.py", line 376, in add_action
AttributeError: 'QPushButton' object has no attribute 'setPopupMode'
As I mentioned, after dismissing the error message, clicking 'Find' again works perfectly.
MerlinMama is offline   Reply With Quote
Old 07-12-2017, 03:36 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a very odd error, I dont know how it could happen, but I have added a workaround for it.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regex in search problems (NOT Search&Replace; the search bar) lairdb Calibre 3 03-15-2017 07:10 PM
I got this error when comparing search replace results! user743 Editor 0 06-26-2014 08:30 PM
Search & Replace Scott Nielsen Sigil 4 10-29-2013 12:10 PM
Search & Replace :help: krussell Calibre 3 08-02-2011 04:45 PM
Search & Replace Pat Nickholds Sigil 2 10-21-2010 11:18 PM


All times are GMT -4. The time now is 12:14 AM.


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