[Bug 242656] deskutils/calibre: missing dependency to textproc/py-markdown

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 16 01:04:21 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242656

            Bug ID: 242656
           Summary: deskutils/calibre: missing dependency to
                    textproc/py-markdown
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: rk at ronald.org
                CC: koobs at FreeBSD.org, madpilot at FreeBSD.org
                CC: koobs at FreeBSD.org, madpilot at FreeBSD.org

Created attachment 209985
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209985&action=edit
patch to add dependency

The deskutils/calibre port lacks a dependency on textproc/py-markdown.

Whet using the "Polish books" feature of calibre (enabled by adding it to
a toolbar or menu), the following error is shown:

calibre 4.6  embedded-python: False is64bit: True
FreeBSD-12.1-STABLE-amd64-64bit-ELF FreeBSD ('64bit', 'ELF')
('FreeBSD', '12.1-STABLE', 'FreeBSD 12.1-STABLE r355284 GENERIC')
Python 2.7.17
Linux: ('', '', '')
Interface language: None
Traceback (most recent call last):
  File "/usr/local/lib/calibre/calibre/gui2/__init__.py", line 484, in dispatch
    self.func(*args, **kwargs)
  File "/usr/local/lib/calibre/calibre/gui2/actions/polish.py", line 546, in
book_polished
    self.report(db.title(book_id, index_is_id=True), book_id, fmts, job,
job.result)
  File "/usr/local/lib/calibre/calibre/gui2/actions/polish.py", line 356, in
__call__
    self.show_next()
  File "/usr/local/lib/calibre/calibre/gui2/actions/polish.py", line 384, in
show_next
    self.show_report(*self.reports.pop(0))
  File "/usr/local/lib/calibre/calibre/gui2/actions/polish.py", line 359, in
show_report
    from calibre.ebooks.markdown import markdown
  File "/usr/local/lib/calibre/calibre/startup.py", line 69, in load_module
    return import_module(fullname[len('calibre.ebooks.'):])
  File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in
import_module
    __import__(name)
ImportError: No module named markdown

So the markdown module is missing. Adding a dependency to textproc/py-markdown
fixes that.

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


More information about the freebsd-ports-bugs mailing list