View Single Post
Old 10-17-2017, 01:12 PM   #5
parsival
Junior Member
parsival began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2017
Device: Sony PRS T2
Problems with adding of new ebooks

Quote:
Originally Posted by gbm View Post
  1. On the pc that does not work. open calibre, create a new empty library, then try adding books to it, this works see step 2.
  2. Check the properties of your calibre library and make sure calibre has permission to read and write to it, if this does not work see step 3.
  3. Open a terminal and run calibre in debug mode try to add a book then post the result here.

Should look like this if it works correctly.
Spoiler:
Code:
xxxxxxx-SDA ~ $ calibre-debug -g
calibre 3.9  embedded-python: True is64bit: True
Linux-4.8.0-53-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.8.0-53-generic', '#56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017')
Python 2.7.12
Linux: ('debian', 'stretch/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 5, 4) && Modify ePub (1, 3, 13) && Goodreads (1, 1, 12) && KindleUnpack - The Plugin (0, 81, 5) && Baen (0, 0, 3) && Barnes & Noble (1, 2, 14) && EpubSplit (2, 2, 1) && Generate Cover (1, 5, 21) && Quality Check (1, 9, 11) && Diaps Editing Toolbag (0, 3, 5) && Hyphenate This! (0, 0, 8)
Turning off automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 96.3318518519 x 96.0945812808
Using calibre Qt style: True
Starting up...
libpng warning: iCCP: known incorrect sRGB profile
Started up in 3.13 seconds with 696 books
DeDRM v6.5.4: Trying to decrypt B071G1GZ68_EBOK.azw
Using Library AlfCrypto DLL/DYLIB/SO
MobiDeDrm v0.41.
Copyright © 2008-2012 The Dark Reverser et al.
MOBI header version 6, header length 232
Extra Data Flags: 3
Decrypting Mobipocket 6 ebook: Echoes of Glory (Blood on the Stars Book 4)
Found 5 keys to try after 0.1 seconds
Crypto Type is: 0
This book is not encrypted.
Decryption succeeded after 0.1 seconds
DeDRM v6.5.4: Finished after 0.1 seconds
Added Echoes of Glory (Blood on the Stars Book 4) to db in: 1.6
Added 1 books in 2.3 seconds


bernie
To item 1: I got the same results as described earlier
To item 2: The permissions of the database-directory are ok.
I stored my ebooks on a ntfs partition which is mounted with autofs.
The permissions were uid=0,umask=000; I changed this to uid=0,
gid=46,umask=007. The results are known
To item 3: I started calibre in debug mode and surprise, surprise the adding of ebooks
worked. B U T the next time I started calibre normaly I had my wellknown
problems.
Debug output:

calibre 3.9 embedded-python: True is64bit: True
Linux-4.9.0-4-amd64-x86_64-with-debian-9.2 Linux ('64bit', 'ELF')
('Linux', '4.9.0-4-amd64', '#1 SMP Debian 4.9.51-1 (2017-09-28)')
Python 2.7.12
Linux: ('debian', '9.2', '')
Interface language: de
Not controlling automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.3318518519 x 96.0945812808
physicalDpi: 85.5578947368 x 85.5578947368
Using calibre Qt style: True
Starting up...
Started up in 1.75 seconds with 84 books
['kdialog', '--title', 'B\xc3\xbccher ausw\xc3\xa4hlen', '--attach', '100663310', '--multiple', '--separate-output', '--getopenfilename', '/home/parsival/Schreibtisch/laufwerk3/ArchivIII/ebooks/dan_brown', 'B\xc3\xbccher (*.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)\nEPUB-B\xc3\xbccher (*.epub *.kepub)\nKindle-B\xc3\xbccher (*.mobi *.prc *.azw *.azw3 *.kfx *.tpz *.azw1 *.azw4)\nPDF-B\xc3\xbccher (*.pdf *.azw4)\nHTML-B\xc3\xbccher (*.htm *.html *.xhtm *.xhtml)\nLIT-B\xc3\xbccher (*.lit)\nText-B\xc3\xbccher (*.txt *.text *.rtf *.md *.markdown *.textile *.txtz)\nComics (*.cbz *.cbr *.cbc)\nArchive (*.zip *.rar)\nTextverarbeitungsdateien (*.odt *.doc *.docx)\nAlle Dateien (*)']
Added PR 2929 – Welt der Pilze to db in: 2.3
Added 1 books in 2.8 seconds

parsival
parsival is offline   Reply With Quote