{"action":"created","issue":{"url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1523","repository_url":"https://api.github.com/repos/DobyTang/LazyLibrarian","labels_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1523/labels{/name}","comments_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1523/comments","events_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1523/events","html_url":"https://github.com/DobyTang/LazyLibrarian/issues/1523","id":345481140,"node_id":"MDU6SXNzdWUzNDU0ODExNDA=","number":1523,"title":"Post process calibredb KeyEroor format_group","user":{"login":"yongbi85","id":10360961,"node_id":"MDQ6VXNlcjEwMzYwOTYx","avatar_url":"https://avatars0.githubusercontent.com/u/10360961?v=4","gravatar_id":"","url":"https://api.github.com/users/yongbi85","html_url":"https://github.com/yongbi85","followers_url":"https://api.github.com/users/yongbi85/followers","following_url":"https://api.github.com/users/yongbi85/following{/other_user}","gists_url":"https://api.github.com/users/yongbi85/gists{/gist_id}","starred_url":"https://api.github.com/users/yongbi85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongbi85/subscriptions","organizations_url":"https://api.github.com/users/yongbi85/orgs","repos_url":"https://api.github.com/users/yongbi85/repos","events_url":"https://api.github.com/users/yongbi85/events{/privacy}","received_events_url":"https://api.github.com/users/yongbi85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-28T21:46:31Z","updated_at":"2018-07-29T13:03:26Z","closed_at":null,"author_association":"NONE","body":"I’m running lazylibrarian and calibredb in thraxis docker on a synology + a separate calibre gui docker.\r\nI’m running the latest commit and both dockers have the same parameters for volumes i.e /calibre and /Downloads/eBooks\r\nI can’t seems to have the calibredb to work beside the test calibredb being ok (read and write access to db ok)\r\nI get the exact same log whether it is the auto postprocessing running or a manual import (the log below is from a manual import)\r\n\r\nCommit : 4dceecd9a9ecb06d6d4863cf8b6d84bad7b89e6e\r\n\r\nOS : DSM 6.1 (Synology)\r\nSource : thraxis lazylibrarian calibre docker\r\n\r\nprocess_book\t1367\tPostprocessing for Le Crime de la Momie - Christian Jacq has failed: calibredb rc 1 from /opt/calibre/calibredb\r\n2018-07-28 23:36:31\tDEBUG\tIMPORTALT\tcalibre.py\tcalibredb\t444\tcalibredb err 0[]\r\n2018-07-28 23:36:31\tDEBUG\tIMPORTALT\tcalibre.py\tcalibredb\t443\tcalibredb res 218[Traceback (most recent call last): File \"site-packages/calibre/srv/cdb.py\", line 48, in cdb_run File \"site-packages/calibre/db/cli/cmd_add.py\", line 64, in implementation KeyError: u'format_group' u'format_group' ]\r\n2018-07-28 23:36:31\tDEBUG\tIMPORTALT\tcalibre.py\tcalibredb\t436\tcalibredb rc 1\r\n2018-07-28 23:36:31\tDEBUG\tIMPORTALT\tcalibre.py\tcalibredb\t429\t[u'/opt/calibre/calibredb', 'add', '--username', u'xxxxxx', '--password', u'xxxxxx', '-1', '--with-library', u'http://192.168.1.13:32770', u'/Downloads/eBooks']\r\n2018-07-28 23:36:31\tDEBUG\tIMPORTALT\tpostprocess.py\tprocessDestination\t1510\tImporting Le Crime de la Momie - Christian Jacq into calibre library"},"comment":{"url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/comments/408676485","html_url":"https://github.com/DobyTang/LazyLibrarian/issues/1523#issuecomment-408676485","issue_url":"https://api.github.com/repos/DobyTang/LazyLibrarian/issues/1523","id":408676485,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY3NjQ4NQ==","user":{"login":"yongbi85","id":10360961,"node_id":"MDQ6VXNlcjEwMzYwOTYx","avatar_url":"https://avatars0.githubusercontent.com/u/10360961?v=4","gravatar_id":"","url":"https://api.github.com/users/yongbi85","html_url":"https://github.com/yongbi85","followers_url":"https://api.github.com/users/yongbi85/followers","following_url":"https://api.github.com/users/yongbi85/following{/other_user}","gists_url":"https://api.github.com/users/yongbi85/gists{/gist_id}","starred_url":"https://api.github.com/users/yongbi85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongbi85/subscriptions","organizations_url":"https://api.github.com/users/yongbi85/orgs","repos_url":"https://api.github.com/users/yongbi85/repos","events_url":"https://api.github.com/users/yongbi85/events{/privacy}","received_events_url":"https://api.github.com/users/yongbi85/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T13:03:26Z","updated_at":"2018-07-29T13:03:26Z","author_association":"NONE","body":"Ok i have added the variable edge to 1 for calibre to auto update on the aptalca docker and now the issue is on permission denied :\r\n\r\n\r\n2018-07-29 14:57:28\tDEBUG\tPOSTPROCESS\tcommon.py\tscheduleJob\t467\tStop processDir job\r\n2018-07-29 14:57:28\tINFO\tPOSTPROCESS\tpostprocess.py\tprocessDir\t801\tNothing marked as snatched. Stopping postprocessor.\r\n2018-07-29 14:57:28\tINFO\tPOSTPROCESS\tpostprocess.py\tprocessDir\t739\t0 books/mags processed.\r\n2018-07-29 14:57:28\tWARNING\tPOSTPROCESS\tpostprocess.py\tprocessDir\t731\tResidual files remain in /Downloads/eBooks/Christian Jacq Le Crime de la momie.fail\r\n2018-07-29 14:57:28\tERROR\tPOSTPROCESS\tpostprocess.py\tprocessDir\t710\tPostprocessing for Le Crime de la Momie - Christian Jacq has failed: calibredb rc 1 from /opt/calibre/calibredb\r\n2018-07-29 14:57:28\tDEBUG\tPOSTPROCESS\tcalibre.py\tcalibredb\t444\tcalibredb err 0[]\r\n2018-07-29 14:57:28\tDEBUG\tPOSTPROCESS\tcalibre.py\tcalibredb\t443\tcalibredb res 588[Traceback (most recent call last): File \"site-packages/calibre/srv/cdb.py\", line 56, in cdb_run File \"site-packages/calibre/db/cli/cmd_add.py\", line 103, in implementation File \"site-packages/calibre/db/cli/cmd_add.py\", line 84, in format_group File \"site-packages/calibre/startup.py\", line 139, in local_open IOError: [Errno 13] Permission denied: u'/Downloads/eBooks/Christian Jacq Le Crime de la momie/Le Crime de la Momie - Christian Jacq.epub' [Errno 13] Permission denied: u'/Downloads/eBooks/Christian Jacq Le Crime de la momie/Le Crime de la Momie - Christian Jacq.epub' ]\r\n\r\nSo is there any way to make an auto chmod 777 on the file ?\r\n\r\nWhen i ssh to my server the file is owned by admin and both dockers are ran by admin...\r\nand the epub is 311"}}
{"actor":{"display_login":"yongbi85"}}