View Single Post
Old 05-17-2014, 08:36 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Attribute Error on NoneType???

Q1: Without a book open, Edit, Quick Open a File to Edit generated a handled error (which is always nice), but .... (you knew this was coming)

.... if any operation is (or should be) not allowed, it would be more user friendly (IMHO) to dim the menu option so that it is not execuateable

Code:
calibre, version 1.37.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'mime_map'

calibre 1.37 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 1086, in quick_open
AttributeError: 'NoneType' object has no attribute 'mime_map'
Q2: Is there any thought to allowing the user to customize the main toolbar: adding icons / deleting unused icons / rearranging into a more personal arrangement

Thanks
phossler is offline   Reply With Quote