Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-13-2011, 06:44 AM   #1
sdow1
Connoisseur
sdow1 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
Error with New Shortcut Feature

Speaking of bugs, I was adding a few shortcuts to try out, and when I added a splat-E to "edit metadata individually", I started getting the following error, which continually pops up every time I hit "ok". Even forcing a restart of Calibre, I can't go back into the keyboard shortcuts to take back what I've done without this popping up again, so I can't fix from my end.

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

Traceback (most recent call last):
  File "site-packages/calibre/gui2/keyboard.py", line 474, in sizeHint
  File "site-packages/calibre/gui2/keyboard.py", line 455, in to_doc
AttributeError: 'NoneType' object has no attribute 'is_shortcut'
sdow1 is offline   Reply With Quote
Old 08-13-2011, 06:51 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Moderator Notice
Moved to its own thread. Read before posting in Development forum.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-13-2011, 11:36 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What's splat-E? I've heard of ctrl/cmd and alt and meta and shift, but never splat.

Last edited by kovidgoyal; 08-13-2011 at 12:21 PM.
kovidgoyal is offline   Reply With Quote
Old 08-13-2011, 12:21 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can remove your customized shortcuts by going to Preferences->miscellaneous opening the calibre config directory and deleting the file shortcuts/main.json and restarting calibre.
kovidgoyal is offline   Reply With Quote
Old 08-14-2011, 06:04 AM   #5
sdow1
Connoisseur
sdow1 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
Sorry - splat is cmnd. I had a brain-freeze yesterday and reverted to old school apple speak. Thanks for the tips.
sdow1 is offline   Reply With Quote
Advert
Old 08-14-2011, 06:06 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The symbol for cmd does rather look like something went splat

It would be helpful if once you've restored your defaults, you could re-create the error and tell me what steps lead to it so I can debug it, as simplying assiginf cmd+e to the edit metadata action isn't causing an error for me.
kovidgoyal is offline   Reply With Quote
Old 08-14-2011, 10:36 AM   #7
mattcelt
Junior Member
mattcelt began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Kobo Touch
Quote:
Originally Posted by kovidgoyal View Post
The symbol for cmd does rather look like something went splat

It would be helpful if once you've restored your defaults, you could re-create the error and tell me what steps lead to it so I can debug it, as simplying assiginf cmd+e to the edit metadata action isn't causing an error for me.
That's interesting - I have the same error, but I don't have a shortcuts directory. I did put a keyboard shortcut into the Reading List plugin, could that be the cause? And how do I get around it with no .json file to delete?

Thanks!
mattcelt is offline   Reply With Quote
Old 08-14-2011, 10:44 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,037
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
How does this play with 'Open With'

The Open With PI has keystrokes assigned. how does the Keyboard setting play(avoid conflict) with those
theducks is offline   Reply With Quote
Old 08-14-2011, 12:28 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm seems to be some kind of interaction between plugins and calibre only on OS X. I've made a change that eliminates the error message so the dialog becomes usable again despite the error. It doesn't fix the underlying error, since I don't yet understand what causes it and I cannot reproduce it.
kovidgoyal is offline   Reply With Quote
Old 08-14-2011, 12:55 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I found and fixed one source of bugs triggered by some external plugins. Fix will be in next release.

@theducks: See https://www.mobileread.com/forums/sho...d.php?t=146014
kovidgoyal is offline   Reply With Quote
Old 08-14-2011, 01:38 PM   #11
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,037
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kovidgoyal View Post
I found and fixed one source of bugs triggered by some external plugins. Fix will be in next release.

@theducks: See https://www.mobileread.com/forums/sho...d.php?t=146014
THNX for the link. I don't always keep up with the topics in Guru-land
theducks is offline   Reply With Quote
Old 08-19-2011, 05:44 AM   #12
sdow1
Connoisseur
sdow1 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
Sorry for not responding earlier - I downgraded back to 8.13 because I couldn't otherwise get rid of the error message myself. when the new version is released, I'll see if I still have problems.
sdow1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shortcut for Headings? elmago79 Sigil 1 07-04-2011 07:48 PM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
shortcut creation richard_iii Nook Developer's Corner 2 04-15-2011 05:38 PM
TOC Shortcut? runtmms Amazon Kindle 12 11-14-2010 05:36 PM
shortcut to word to go aidren enTourage Archive 1 04-29-2010 03:53 AM


All times are GMT -4. The time now is 12:06 PM.


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