Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-02-2016, 06:30 AM   #1
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 183
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
TypeError: 'NoneType' object has no attribute '__getitem__'

I just install calibre version 2.71
after that I added some books. all works well.
but when I connect my Kobo Glo HD I get the following error message.
It seems I cannot get the status information from my reader into Calibre.
Could you please guide me how to solve this.


calibre, version 2.71.0
FEHLER: Nicht abgefangener Fehler: <b>TypeError</b>:'NoneType' object has no attribute '__getitem__'

calibre 2.71 [64bit] embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 8) && KoboBooks (1, 0, 0) && KoboTouchExtended (2, 8, 2) && Count Pages (1, 6, 9) && Generate Cover (1, 5, 21) && Kobo Utilities (2, 4, 1) && Quality Check (1, 9, 11) && Modify ePub (1, 3, 13) && KePub Metadata Writer (2, 7, 1)
Traceback (most recent call last):
File "calibre_plugins.koboutilities.dialogs", line 225, in do_books
TypeError: 'NoneType' object has no attribute '__getitem__'
Katja_hbg is offline   Reply With Quote
Old 11-02-2016, 06:57 AM   #2
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 183
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
ok, I found the rootcause: I removed the custom column #boboreadloc.

Some days ago I changed to metadata view screen to one page and adjust the order of own fields by the addition metadata_edit_custom_column_order.
That works well but I don't like to see Koboreadloc. And as I feel I do not need it ... I deleted the field.
That's why I get the error message.

As I still not like to see the column in metadate, I now point in kobo utilities the first entry to any other field. And it seems to work.

No error message anymore.
Get the read percentage into Calibre.
Katja_hbg is offline   Reply With Quote
Advert
Old 11-02-2016, 07:30 AM   #3
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 Katja_hbg View Post
ok, I found the rootcause: I removed the custom column #boboreadloc.

Some days ago I changed to metadata view screen to one page and adjust the order of own fields by the addition metadata_edit_custom_column_order.
That works well but I don't like to see Koboreadloc. And as I feel I do not need it ... I deleted the field.
That's why I get the error message.

As I still not like to see the column in metadate, I now point in kobo utilities the first entry to any other field. And it seems to work.

No error message anymore.
Get the read percentage into Calibre.
Yes, removing one of the columns used in the configuration will break things. I'll have to put some checking in.

Unless you want to be able to restore the reading position after a factory reset, or want to sync between devices, there isn't a reason to store the reading location. But, if you do want it, the column doesn't have to be displayed anywhere. You can hide it in the list by right-clicking on the column heading and selecting the hide option. To remove it from the details, it's in the preferences, then "Look and Feel" and "Book Details".
davidfor is offline   Reply With Quote
Old 11-02-2016, 08:56 AM   #4
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 183
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
Hi David,
thanks for looking into it.
I do not need this information.
But keeping this field in Kobo Utilities empty leads to the error.
I know I can hide everywhere but not in Metadata - right?
Katja_hbg is offline   Reply With Quote
Old 11-02-2016, 09:21 AM   #5
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 Katja_hbg View Post
Hi David,
thanks for looking into it.
I do not need this information.
But keeping this field in Kobo Utilities empty leads to the error.
I know I can hide everywhere but not in Metadata - right?
The error should be because the column you had selected to use no longer exists. If you don't want to store any of these parts, simply make sure no column is selected in the plugins configuration. If you click the drop-down in the configuration, it will have an empty item first. Select that.

As to hiding a column, you should be able to hide it everywhere except in the metadata editor.
davidfor is offline   Reply With Quote
Advert
Old 06-05-2019, 04:09 PM   #6
smiley1081
Member
smiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watch
 
Posts: 14
Karma: 10794
Join Date: Jan 2016
Location: Italy
Device: Kobo Glo HD
I am resurrecting this thread because I have a similar error:

Code:
calibre, version 3.44.0
ERRORE: Errore: Errore di comunicazione col dispositivo

'bool' object has no attribute '__getitem__'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 89, in run
  File "site-packages\calibre\gui2\device.py", line 593, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 399, in upload_books
  File "site-packages\calibre\devices\kobo\driver.py", line 2087, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 313, in _modify_epub
  File "ntpath.py", line 289, in expanduser
TypeError: 'bool' object has no attribute '__getitem__'
However, for me it's out of the blue, I did not modify anything in the configuration, simply updated Calibre.

The Kobo is a Glo HD.
smiley1081 is offline   Reply With Quote
Old 06-05-2019, 06:52 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,439
Karma: 168808777
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by smiley1081 View Post
I am resurrecting this thread because I have a similar error:

Code:
calibre, version 3.44.0
ERRORE: Errore: Errore di comunicazione col dispositivo

'bool' object has no attribute '__getitem__'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 89, in run
  File "site-packages\calibre\gui2\device.py", line 593, in _upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 399, in upload_books
  File "site-packages\calibre\devices\kobo\driver.py", line 2087, in upload_books
  File "calibre_plugins.kobotouch_extended.device.driver", line 313, in _modify_epub
  File "ntpath.py", line 289, in expanduser
TypeError: 'bool' object has no attribute '__getitem__'
However, for me it's out of the blue, I did not modify anything in the configuration, simply updated Calibre.

The Kobo is a Glo HD.
There are some issues with the KoboTouchExtended driver and changes in calibre moving to using python3. Check this message and responses in the Kobo Touch Extended Driver thread in the calibre/pugins forum.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help - AttributeError: 'NoneType' object has no attribute 'lower' Sazzaroo Calibre 9 12-11-2015 10:22 AM
AttributeError: 'NoneType' object has no attribute 'split' Thalia Helikon Conversion 1 12-30-2012 08:09 AM
'NoneType' object has no attribute '__getitem__' Steven630 Recipes 2 07-18-2012 09:41 PM
'NoneType' object has no attribute 'tag'? gweminence Calibre 7 09-13-2011 10:03 AM
AttributeError: 'NoneType' object has no attribute 'lower manada Calibre 2 08-10-2010 10:54 PM


All times are GMT -4. The time now is 04:59 AM.


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