calibre problem

  • hi,


    i installed calibre on my installation (on a QNAP nas)


    but when i open the calibre tab i get the following error:


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command '/opt/calibre/calibredb list --library-path "/media/e3a3472c-e82a-47fe-acd9-3dd877e216c8/calibre-data" -f title,authors --separator " " 2>&1': /opt/calibre/calibredb: 1: /opt/calibre/calibredb: Syntax error: "(" unexpected' in /usr/share/openmediavault/engined/rpc/calibre.inc:243
    Stack trace:
    #0 [internal function]: OMVRpcServiceCalibre->getBookList(Array, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getBookList', Array, Array)
    #3 /usr/sbin/omv-engined(501): OMVRpc::exec('Calibre', 'getBookList', Array, Array, 1)
    #4 {main}


    this is on 1.0.11


    any ideas, or some info you need?

    • Offizieller Beitrag

    dpkg -l | grep openmediavault
    ls -al /opt/calibre/

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • root@QNAP-TS-220:~# dpkg -l | grep openmediavault
    ii openmediavault 1.0.11 all Open network attached storage solution
    ii openmediavault-calibre 1.0.3 all Calibre plugin for OpenMediaVault.
    ii openmediavault-extplorer 1.0.2 all OpenMediaVault eXtplorer plugin
    ii openmediavault-forkeddaapd 1.0 all OpenMediaVault forked-daapd (DAAP server) plugin
    ii openmediavault-keyring 0.3 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-minidlna 1.0.5 all OpenMediaVault miniDLNA (DLNA server) plugin
    ii openmediavault-omvextrasorg 1.0.3 all OMV-Extras.org Package Repositories for OpenMediaVault
    ii openmediavault-transmissionbt 1.0.8 all OpenMediaVault Transmission (BitTorrent client) plugin


    root@QNAP-TS-220:~# ls -al /opt/calibre/
    totaal 188
    drwxr-xr-x 5 calibre users 4096 aug 29 20:59 .
    drwxr-xr-x 3 root root 4096 aug 29 20:58 ..
    drwxr-xr-x 2 calibre users 4096 aug 29 06:07 bin
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre-complete
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre-customize
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibredb
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre-debug
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre-parallel
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre_postinstall
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre-server
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 calibre-smtp
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 ebook-convert
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 ebook-device
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 ebook-edit
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 ebook-meta
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 ebook-polish
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 ebook-viewer
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 fetch-ebook-metadata
    drwxr-xr-x 5 calibre users 4096 aug 29 06:07 lib
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 lrf2lrs
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 lrfviewer
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 lrs2lrf
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 markdown-calibre
    drwxr-xr-x 13 calibre users 4096 aug 28 09:48 resources
    -rwxr-xr-x 1 calibre users 5044 aug 29 06:07 web2disk

    • Offizieller Beitrag

    As root try:


    /opt/calibre/calibredb list --library-path "/media/e3a3472c-e82a-47fe-acd9-3dd877e216c8/calibre-data" -f title,authors --separator " "

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    calibre switched their package from bz2 to xz compression. 1.0.3 fixes that but I'm not sure why your system is not working. Did you try clicking on the Update button on the calibre plugin settings page? It should still work. Let me know if it says anything about bz2.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!


  • and ends with a popup: error occured. and thats it...

    Einmal editiert, zuletzt von WastlJ ()

    • Offizieller Beitrag

    There are only two architectures of calibre - 32 and 64 bit. Your NAS is 32 bit but maybe calibre doesn't work on it. Another user reported it didn't work on his Zyxel box either. Let me try it on my RPi running armel.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    i686 is x86 and 32 bit.


    You have a qnap ts 220, right? That is kirkwood or armel. I just confirmed that calibre doesn't work on armel and removed the plugin from that arch.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Much older version. Maybe the latest version need something armel doesn't have?? Not sure.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • @DaddyRazzy


    I am pretty interested in OpenMediaVault on kirkwood and armada 370 arm processors. Your QNAP is probably one of those.


    They seem like nice little devices for home or small offices but have a steep markup and come with crippled software. The full featured software is reserved for their vendor's premium lines.


    The challenge is, as we see with this and other related threads, OMV is primarily designed and tested for use on i368 or amd64 hardware. There are going to be a whole bunch of little issues like this when trying to support the "embedded zoo." ( https://events.linuxfoundation…/pdf/lcjp2012_masters.pdf )

  • @DaddyRazzy even though im aware its not entirely what you are looking for, if running calibe is not going to work in the end, there is still the option of just running an opds server the idea about how most people do it is they manage thair books with calibre and then 'export' thair library to a webserver running cops.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!