View Single Post
Old 07-09-2014, 08:28 AM   #42
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
Ah I never use Dn'D so I didnt spot that. Fixed: https://github.com/kovidgoyal/calibr...111e2c132af03a
And it tests OK. Now...

Code:
calibre, version 1.200.0
ERROR: Failed to set data: Could not set data, click Show Details to see why.

Traceback (most recent call last):
  File "D:\Development\GitHub\calibre-qt5\src\calibre\gui2\library\models.py", line 1026, in setData
  File "D:\Development\GitHub\calibre-qt5\src\calibre\gui2\library\models.py", line 1052, in _set_data
  File "D:\Development\GitHub\calibre-qt5\src\calibre\gui2\library\models.py", line 985, in set_custom_column_data
AttributeError: 'NoneType' object has no attribute 'isNull'
That happened when I clicked in a date custom column, pressed "-" to clear it and then clicked elsewhere to save the change. It works fine for the date column.

The published date column also has a problem when clicking in it:

Code:
calibre, version 1.200.0
ERROR: Unhandled exception: <b>TypeError</b>:QDateTimeEdit.setDate(QDate): argument 1 has unexpected type 'QDateTime'

calibre 1.200*  isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: ...
Traceback (most recent call last):
  File "D:\Development\GitHub\calibre-qt5\src\calibre\gui2\library\delegates.py", line 141, in setEditorData
TypeError: QDateTimeEdit.setDate(QDate): argument 1 has unexpected type 'QDateTime'
davidfor is offline   Reply With Quote