From nobody Tue Nov 28 13:11:56 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SfjXX5n8cz52yrx for ; Tue, 28 Nov 2023 13:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SfjXX4T2Vz4M18 for ; Tue, 28 Nov 2023 13:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701177116; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c0Svfsod09ovec6c0jM9qR4iCOLNuS/s9aXyk5/9YD0=; b=YCCQzOY+TSOmmMZ+xQ3D5kaMI/ozWDyNpU5KfD/q6g7NfwlwiTVG260AJ2AamL2aMFW749 0llzq4Yatf2BQjk+PPLvVndwno3XSOhEKXq2JZlR0a1AYlP1Vy0s+04FCHUuKodcAEiv4+ Owf5QIUb8d2lJ5X6DnMiMyoaZkDMkdoVISfa2AmMQIPMp/9Gq0dbhPNw3A1xaPODQtmoSZ 480PpDZQ5+4BL9Xd1/DU+OlDnHq4h3XafpIXZrRi2yjEsGahSYd03dx8YsbkOJJDPvmo0P kLSR0fyja9g3meoNwvz31dE6yRCu30ujWNb3s3rjLkc81hai+jk908KVAEh1uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701177116; a=rsa-sha256; cv=none; b=Jp8NPrtzK7Hk0q294IP2v3Tb7tZAc2T6yAypkmNuLgZARGTn6ghtYznwQtrV1PaHAAy4l3 hN7M7Vf7dkNLdnKeRfrDTm70nWRQIPLHNPHiEaNiaZ5VPiphYt8l9d9IPcYjvwLLSutHxA TKYjioGd+CpQbaoE5q2d/+ahBQ13wIyLw1fPcX9R7NuaAwY/d77ZRO+t+xbhKY2si0Jui5 5PKbwDrK9xWSaipb8jbrtTwNlGiVMyKv9RS8LzyjsNK0v8oWdRhl1g/CLgjEXpljd5HPTJ vVVqtKYXH2dg4Fg0D3/4h+0MdYmCf3lsPxW9DJ7xXdFtNdGzrgbMaGtrTkQlWw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SfjXX3Xvvz7vx for ; Tue, 28 Nov 2023 13:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ASDBuHk089003 for ; Tue, 28 Nov 2023 13:11:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ASDBusL089002 for ports-bugs@FreeBSD.org; Tue, 28 Nov 2023 13:11:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275405] deskutils/calibre: content server "show more books" Date: Tue, 28 Nov 2023 13:11:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matthias.pfaller@familie-pfaller.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: madpilot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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('
' + comments + '
').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.=