View Single Post
Old 06-12-2011, 08:26 AM   #1
Noughty
Addict
Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.
 
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
Error message with number columns

I get this error message then trying to edit column Pages (floating point numbers):

calibre, version 0.8.4
ERROR: Unhandled exception: <b>TypeError</b>:QDoubleSpinBox.setValue(float): argument 1 has unexpected type 'NoneType'

Traceback (most recent call last):
File "site-packages\calibre\gui2\library\delegates.py", line 291, in setEditorData
TypeError: QDoubleSpinBox.setValue(float): argument 1 has unexpected type 'NoneType'


I made another column for pages (integral) and I still get error message:
calibre, version 0.8.4
ERROR: Unhandled exception: <b>TypeError</b>:QSpinBox.setValue(int): argument 1 has unexpected type 'NoneType'

Traceback (most recent call last):
File "site-packages\calibre\gui2\library\delegates.py", line 291, in setEditorData
TypeError: QSpinBox.setValue(int): argument 1 has unexpected type 'NoneType'



This happens when column is empty and I want to add value to it (not in metadata edit window). I can add value fine, but I always get the error message. Unless there already was a value and I am changing it.

In debug mode:
calibre Debug log
calibre 0.8.4
Windows-Vista-6.0.6002-SP2
Windows
('Windows', 'Vista', '6.0.6002')
Python 2.7.1
Windows: ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free')
Failed to initialize plugin: u'C:\\Users\\Laura\\AppData\\Roaming\\calibre\\plu gins\\Goodreads Metadata.zip'
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 501, in initialize_plugins
File "site-packages\calibre\customize\ui.py", line 54, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 169, in load
File "importlib\__init__.py", line 37, in import_module
File "site-packages\calibre\customize\zipplugin.py", line 150, in load_module
File "calibre_plugins.dummy1.__init__", line 15, in <module>
ImportError: No module named fetch
Failed to initialize plugin: u'C:\\Users\\Laura\\AppData\\Roaming\\calibre\\plu gins\\Goodreads Covers.zip'
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 501, in initialize_plugins
File "site-packages\calibre\customize\ui.py", line 54, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 167, in load
File "site-packages\calibre\customize\zipplugin.py", line 150, in load_module
File "calibre_plugins.dummy1.__init__", line 16, in <module>
ImportError: No module named covers
Starting up...
Started up in 74.1159999371
Worker Launch took: 1.42100000381
Worker Launch took: 0.779000043869
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\delegates.py", line 291, in setEditorData
TypeError: QDoubleSpinBox.setValue(float): argument 1 has unexpected type 'NoneType'

Traceback (most recent call last):
File "site-packages\calibre\gui2\library\delegates.py", line 291, in setEditorData
TypeError: QDoubleSpinBox.setValue(float): argument 1 has unexpected type 'NoneType'

Last edited by Noughty; 06-12-2011 at 08:57 AM.
Noughty is offline   Reply With Quote