View Single Post
Old 05-13-2015, 08:04 PM   #1
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Error trying to add an Open with application on linux

... by which I mean the builtin Open with, not the plugin. I get the following two errors in a row.

By default the /usr/share/applications/ folder is opened for selection, so I assumed I was supposed to select a desktop file to generate the entry with.

Code:
calibre, version 2.27.0
ERROR: Cannot execute: The program /home/eschwartz/.local/share/applications/wine/Programs/Adobe/Adobe Digital Editions/Adobe Digital Editions.desktop
 is not an executable file

-----------------------------------------------------------------------

calibre, version 2.27.0
ERROR: Unhandled exception: <b>AttributeError</b>:'int' object has no attribute 'get'

calibre 2.27*  isfrozen: True is64bit: False
Linux-4.0.0-1-ck-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '4.0.0-1-ck', '#1 SMP PREEMPT Mon Apr 27 03:40:55 CDT 2015')
Python 2.7.9
Linux: ('', '', '')
Successfully initialized third party plugins: DeDRM && View Manager && KindleUnpack - The Plugin && Quality Check && Modify ePub && Diaps Editing Toolbag && FanFicFare && Goodreads Sync && Overdrive Link && Open With && Kindle Collections && Annotations && Overdrive Link
Traceback (most recent call last):
  File "/home/eschwartz/git/calibre/src/calibre/gui2/book_details.py", line 500, in choose_open_with
    entry = choose_program(fmt, self)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/open_with.py", line 299, in choose_program
    entry = finalize_entry(entry)
  File "/home/eschwartz/git/calibre/src/calibre/gui2/open_with.py", line 202, in finalize_entry
    icon_path = entry.get('Icon')
AttributeError: 'int' object has no attribute 'get'
eschwartz is offline   Reply With Quote