Comment 5 for bug 1588778

Revision history for this message
Armin Geller (armingeller) wrote :

Ups yes, sorry for not seen that directly. Thanks for the update.

I updated the source and run it via VS from source with the same file. Now it seems that the search engine will find the words but then (at maybe the end of the last finding?) there came up an error and then you can not go further with searching:

-------------------------------------
calibre, version 2.58.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'is_start'

calibre 2.58* [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Modify ePub && Goodreads Sync && Annotations && Extract ISBN && KoboTouchExtended && BOL_DE && Manage Sony x50 Reader Book List && Favourites Menu && Goodreads && Library Codes && Count Pages && EpubMerge && Job Spy && Open With && Quality Check && ScrambleEbook && Import List && food network Recipe Reader && Wiki Reader && Diaps Editing Toolbag && EpubSplit && Generate Cover && KindleUnpack - The Plugin && Search The Internet && Find Duplicates
Traceback (most recent call last):
  File "c:\Users\Armin\git\calibre\src\calibre\gui2\tweak_book\boss.py", line 924, in find_text
  File "c:\Users\Armin\git\calibre\src\calibre\gui2\tweak_book\text_search.py", line 164, in run_text_search
  File "c:\Users\Armin\git\calibre\src\calibre\gui2\tweak_book\editor\widget.py", line 290, in find_text
  File "c:\Users\Armin\git\calibre\src\calibre\gui2\tweak_book\editor\text.py", line 384, in find_text
  File "c:\Users\Armin\git\calibre\src\calibre\gui2\tweak_book\editor\smarts\html.py", line 684, in find_text
  File "c:\Users\Armin\git\calibre\src\calibre\gui2\tweak_book\editor\smarts\html.py", line 119, in find_tag_definition
AttributeError: 'NoneType' object has no attribute 'is_start'

----------------------------------------------

Is this a problem with running it from source?

A additional question: Is it normal that I need to check the option "dot all" with a normal search?

What I miss is an option wrap around for this search. Guess, this would be a benefit I recognize in my test :)

Once more thanks a lot,

Armin