Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2023 13:11:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275405] deskutils/calibre: content server "show more books"
Message-ID:  <bug-275405-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275405

            Bug ID: 275405
           Summary: deskutils/calibre: content server "show more books"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: matthias.pfaller@familie-pfaller.de
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)
          Assignee: madpilot@FreeBSD.org

When I'm using the content server and I press the "show more books" button,=
 I
get an internal server error. In calibre's logfile I find:

Unhandled exception in state: State: _job_done Client: 127.0.0.1:34965 Requ=
est:
POST /library/interface-data/more-books?library_id=3Dgeneral HTTP/1.0
Traceback (most recent call last):
  File "/usr/local/lib/calibre/calibre/srv/loop.py", line 631, in tick
    conn.handle_event(event)
  File "/usr/local/lib/calibre/calibre/srv/loop.py", line 348, in _job_done
    self.job_done(*event)
  File "/usr/local/lib/calibre/calibre/srv/http_response.py", line 502, in
job_done
    reraise(etype, e, tb)
  File "/usr/local/lib/calibre/polyglot/builtins.py", line 61, in reraise
    raise value
  File "/usr/local/lib/calibre/calibre/srv/pool.py", line 33, in run
    result =3D func()
  File "/usr/local/lib/calibre/calibre/srv/http_response.py", line 459, in
run_request_handler
    result =3D self.request_handler(data)
  File "/usr/local/lib/calibre/calibre/srv/routes.py", line 312, in dispatch
    ans =3D endpoint_(self.ctx, data, *args)
  File "/usr/local/lib/calibre/calibre/srv/code.py", line 332, in more_books
    raise HTTPNotFound('Invalid number of books: %r' % rd.query.get('num'))
  File "/usr/local/lib/calibre/calibre/srv/metadata.py", line 83, in
book_as_json
    add_field(field, db, book_id, ans, fm[field])
  File "/usr/local/lib/calibre/calibre/srv/metadata.py", line 60, in add_fi=
eld
    val =3D comments_to_html(val)
  File "/usr/local/lib/calibre/calibre/library/comments.py", line 88, in
comments_to_html
    soup =3D BeautifulSoup('<div>' + comments + '</div>').find('div')
  File "/usr/local/lib/calibre/calibre/ebooks/BeautifulSoup.py", line 33, in
BeautifulSoup
    return parse_html(markup)
  File "/usr/local/lib/calibre/calibre/ebooks/BeautifulSoup.py", line 21, in
parse_html
    from html5_parser.soup import parse
ModuleNotFoundError: No module named 'html5_parser.soup'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275405-7788>