View Single Post
Old 01-05-2018, 08:21 AM   #3
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 911
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by kovidgoyal View Post
Run calibre in debug mode and post the output

calibre-debug -g

and also try adding from the comamnd line and see what happens

calibredb add file.epub
Code:
dhdurgee@Z560 ~/Downloads $ calibre-debug -g
calibre 3.14  embedded-python: True is64bit: True
Linux-4.10.0-42-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.10.0-42-generic', '#46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017')
Python 2.7.12
Linux: ('debian', 'stretch/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 4, 3) && Hyphenate This! (0, 0, 8)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 100.861627907 x 100.55257732
Using calibre Qt style: True
Starting up...
Looking for desktop notifier support from: org.freedesktop.Notifications
org.freedesktop.Notifications found in 0.0 seconds
Started up in 1.85 seconds with 177 books
['zenity', '--modal', '--file-selection', '--title=Select books', '--separator=\n', '--attach=134217742', '--filename=/home/dhdurgee/Downloads/.fgdfg.gdfhjdhf*&^839', '--file-filter=Books | *.lrf *.rar *.zip *.rtf *.lit *.txt *.txtz *.text *.htm *.xhtm *.html *.htmlz *.xhtml *.pdf *.pdb *.updb *.pdr *.prc *.mobi *.azw *.doc *.epub *.fb2 *.djv *.djvu *.lrx *.cbr *.cbz *.cbc *.oebzip *.rb *.imp *.odt *.chm *.tpz *.azw1 *.pml *.pmlz *.mbp *.tan *.snb *.xps *.oxps *.azw4 *.book *.zbf *.pobi *.docx *.docm *.md *.textile *.markdown *.ibook *.ibooks *.iba *.azw3 *.ps *.kepub *.kfx', '--file-filter=EPUB books | *.epub *.kepub', '--file-filter=Kindle books | *.mobi *.prc *.azw *.azw3 *.kfx *.tpz *.azw1 *.azw4', '--file-filter=PDF books | *.pdf *.azw4', '--file-filter=HTML books | *.htm *.html *.xhtm *.xhtml', '--file-filter=LIT books | *.lit', '--file-filter=Text books | *.txt *.text *.rtf *.md *.markdown *.textile *.txtz', '--file-filter=Comics | *.cbz *.cbr *.cbc', '--file-filter=Archives | *.zip *.rar', '--file-filter=Wordprocessor files | *.odt *.doc *.docx', '--file-filter=All files | *', '--multiple']
DeDRM v6.4.3: Trying to decrypt Point_of_Contact.epub
DeDRM v6.4.3: Verifying zip archive integrity
DeDRM v6.4.3: Point_of_Contact.epub is a secure Adobe Adept ePub
DeDRM v6.4.3: Trying Encryption key RTC
Code:
dhdurgee@Z560 ~/Downloads $ calibredb add Point_of_Contact.epub 
DeDRM v6.4.3: Trying to decrypt Point_of_Contact.epub
DeDRM v6.4.3: Verifying zip archive integrity
DeDRM v6.4.3: Point_of_Contact.epub is a secure Adobe Adept ePub
DeDRM v6.4.3: Trying Encryption key RTC
Segmentation fault
Seeing the above I updated to the latest DeDRM plugin, v6.5.5, and the problem is gone.

Thank you for the pointer to debugging this.

Dave

Last edited by dhdurgee; 01-05-2018 at 08:48 AM. Reason: note resolution of problem
dhdurgee is offline   Reply With Quote