mduplouy / silex-cops

A port of COPS (Calibre OPDS PHP Server) under Silex micro framework
24 stars 9 forks source link

Adapter azw3 does not exist #26

Closed joshbatchelor closed 9 years ago

joshbatchelor commented 9 years ago

AdapterNotFoundException in AbstractFactory.php line 56: Adapter azw3 does not exist, valid adapters are original_epub, epub, pdf, mobi in AbstractFactory.php line 56 at AbstractFactory->getInstance('azw3') in BookFileFactory.php line 45 at BookFileFactory->getInstance('AZW3') in BookFileCollection.php line 58 at BookFileCollection->setDataFromArray(array(array('id' => '12025', 'book_id' => '10805', 'format' => 'EPUB', 'uncompressed_size' => '565724', 'name' => 'Some Book - An Author', 'directory' => 'An Author/Some Book (10805)'), array('id' => '12025', 'book_id' => '10805', 'format' => 'EPUB', 'uncompressed_size' => '565724', 'name' => 'Some Book - An Author', 'directory' => 'An Author/Some Book (10805)'), array('id' => '12026', 'book_id' => '10805', 'format' => 'AZW3', 'uncompressed_size' => '1178992', 'name' => Some Book - An Author', 'directory' => 'An Author/Some Book (10805)'), array('id' => '12026', 'book_id' => '10805', 'format' => 'AZW3', 'uncompressed_size' => '1178992', 'name' => 'Some Book - An Author', 'directory' => 'An Author/Some Book(10805)'))) in BookFileCollection.php line 148 at BookFileCollection->findFromBook(object(EditableBook)) in Book.php line 196 at Book->findById('10805') in BookController.php line 58 at BookController->detailAction(object(Application), '10805') at call_user_func_array(array(object(BookController), 'detailAction'), array(object(Application), '10805')) in HttpKernel.php line 126 at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 66 at HttpKernel->handle(object(Request), '1', true) in Application.php line 516 at Application->handle(object(Request)) in Application.php line 493 at Application->run() in index.php line 13

mduplouy commented 9 years ago

Hi, thanks for reporting this !

I could add the adapter very soon

mduplouy commented 9 years ago

Resolved with your PR, thank you