Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPDS read issue with MoonReader Android app #1403

Closed
Braincoke opened this issue May 18, 2020 · 1 comment
Closed

OPDS read issue with MoonReader Android app #1403

Braincoke opened this issue May 18, 2020 · 1 comment

Comments

@Braincoke
Copy link

Bug

Then Android application Moon Reader fails to read the OPDS file served by Calibre-Web.

To reproduce

Steps to reproduce the behavior:

  1. Install Moon Reader
  2. In Moon Reader > OPDS Catalog add a new catalog pointing to http://calibre-ip:port/opds
  3. Fill in your credentials
  4. Restart Moon Reader
  5. Try to access any of the OPDS catalogs (Hot Books for instance)
  6. Get an error

Expected behavior

The android app is capable of reading the OPDS file.
Note that I tried with Librera and managed to make it work properly, so it might be an issue coming from MoonReader.

Environment

  • OS: Linux 4.15.0-74-generic don't put the search bar in the menu #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64
  • Python version: 3.6.9
  • Calibre-Web version: 0.6.7
  • Docker container: Linuxuser arm64v8-0.6.7-ls61
  • Browser: MoonReader

Log file (from Moon Reader)

Invalidated OPDS content, please contact owner of this OPDS site to verify below error:
At line 44, column 6: unbound prefix

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/terms/">
  <id>urn:uuid:2853dacf-ed79-42f5-8e8a-a7bb3d1ae6a2</id>
  <updated>2020-05-18T09:26:11+00:00</updated>
  <link rel="self"
        href="/opds/series/6?"
        type="application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"/>
  <link rel="start"
        href="/opds"
        type="application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"/>
  <link rel="up"
        href="/opds"
        type="application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"/>



    <link rel="search"
      href="/opds/osd"
      type="application/opensearchdescription+xml"/>
  <!--link title="Search" type="application/atom+xml" href="/opds/search?query={searchTerms}" rel="search"/-->
  <title>Calibre-Web</title>
  <author>
    <name>Calibre-Web</name>
    <uri>https://github.com/janeczku/calibre-web</uri>
  </author>



  <entry>
    <title>Head First Design Patterns</title>
    <id>urn:uuid:3eca4440-e95b-459a-ace9-879da0421b9f</id>
    <updated>2020-05-18T07:19:03+00:00</updated>

      <author>
        <name>Eric Freeman</name>
      </author>


      <publisher>
        <name>O&#39;Reilly Media, Inc.</name>
      </publisher>


      <dcterms:language>eng</dcterms:language>


    <category scheme="http://www.bisg.org/standards/bisac_subject/index.html"
              term="Programming"
              label="Programming"/>

    <summary>Using research in neurobiology, cognitive science and learning theory, this text loads patterns into your brain in a way that lets you put them to work immediately, makes you better at solving software design problems, and improves your ability to speak the language of patterns with others on your team.</summary>

    <link type="image/jpeg" href="/opds/cover/41" rel="http://opds-spec.org/image"/>
    <link type="image/jpeg" href="/opds/cover/41" rel="http://opds-spec.org/image/thumbnail"/>


    <link rel="http://opds-spec.org/acquisition" href="/opds/download/41/pdf/"
          length="28022821" mtime="2020-05-18T07:19:03+00:00" type="application/pdf"/>

  </entry>



</feed>
@OzzieIsaacs
Copy link
Collaborator

It's merged to the master branch, and should now work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants