|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Resolved: Calibre 3.3 AttributeError: 'NoneType' object has no attribute
Resolved by removing then reinstalling calibre. (placing Resolved in the title and post #4 may not have been enough last night at 5:38am so for future onlookers here it is in red)
After updating to calibre portable 3.3, I manually downloaded metadata twice for 2 separate books recently added to calibre. Each time upon clicking OK I got the error, AttributeError: 'NoneType' object has no attribute 'refill_quickview'. Best I can tell all of the metadata was updated and calibre keeps on ticking. Any idea what is causing this error message? Update: Simply opening the edit metadata window for any book then clicking OK produces the error on any book. Spoiler:
Last edited by DoctorOhh; 07-09-2017 at 01:52 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Looks like it is related to the Quickview changes, you will have to wait for chaley to comment.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@kovid: that exception is happening because the Quickview plugin is "initialized" but the "actual_plugin_" is not. Apparently either "load_actual_plugin" is not being called or the plugin is being initialized a second time. Any idea how can this happen?
|
![]() |
![]() |
![]() |
#4 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Since the answer wasn't quickly obvious and it seemed to only affect me. I removed everything in the calibre folder, re-downloaded calibre and installed again. The mysterious error has now gone away. Thanks for taking the time to ponder this mystery.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I pushed code to protect against this strange thing happening again. The code also removes a regression that left the QV column headings empty.
@DoctorOhh: do you use QV? If so, have you tried changing the preference (Preferences / Look & Feel / Quickview) for which columns are shown in the QV window? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not really, from looking at the code in ui.py it should not be possible.
|
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Some observations: Would be nice if the columns could be dragged around a'la the Book List, would not want changes to persists. When docked, with no tag browser shown, the left edge could do with margin, see attachment When panel is not docked, the panel has three ways to dismiss it - red X top right, a Close button, and via the Layout button, whereas when its docked there's only one - via the Layout button. This seems 'inconsistent' to me, either keep the Close button when docked or get rid of it altogether. Now that QV has become a Layout feature could it have a keyboard shortcut toggle that is consistent with the other Layout features - i.e Miscellaneous->Toggle Quick View. Other : Am I right in observing that version 3.3 lost the default kb shorts for Toggle Tag Browser (Alt+Shift+T), Toggle Book Details (Alt+Shift+D) etc - I can't recall, or imagine, I would have set them to 'None'. No biggie for me 'cos I change them anyway. Would be nice if the Job Details panel could be docked. BR |
|
![]() |
![]() |
![]() |
#9 | ||||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
There is also the problem that keyboard users would no longer have ALT+C to close the window. For the moment I will do nothing. Quote:
Quote:
Quote:
|
||||||
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#12 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I've never used Quickview, didn't even realize that section in the preferences existed. A nice feature for viewing secondary series or universes without changing the main focus.
Last edited by DoctorOhh; 07-09-2017 at 02:01 PM. |
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |
AttributeError: 'PDFWriter' object has no attribute 'get_printer' | kleinfelter | Calibre | 11 | 01-03-2011 02:28 PM |
AttributeError: 'NoneType' object has no attribute 'replace' when trying to add books | tilleydog | Calibre | 16 | 10-04-2010 04:29 AM |
AttributeError: 'NoneType' object has no attribute 'lower | manada | Calibre | 2 | 08-10-2010 10:54 PM |