Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 22:14:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233996] devel/mdv: Crash when running `mdv --help`
Message-ID:  <bug-233996-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 233996
           Summary: devel/mdv: Crash when running `mdv --help`
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: 0mp@FreeBSD.org

> $ mdv --help
> Option parsing error
> Traceback (most recent call last):
>   File "/usr/local/bin/mdv", line 11, in <module>
>     load_entry_point('mdv=3D=3D1.6.3', 'console_scripts', 'mdv')()
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 1342, in run
>     print(run_args(args, md=3Ddoc))
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 1309, in run_args
>     tab_length    =3D args.get('-b', 4))
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 1063, in main
>     the_html =3D MD.convert(md)
>   File "/usr/local/lib/python3.6/site-packages/markdown/__init__.py", lin=
e 375, in convert
>     newRoot =3D treeprocessor.run(root)
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 873, in run
>     formatter(doc, out)
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 868, in formatter
>     formatter(c, out, hir + 1, parent=3Del)
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 690, in formatter
>     links_list, t =3D replace_links(el, t)
>   File "/usr/local/lib/python3.6/site-packages/mdv/markdownviewer.py", li=
ne 624, in replace_links
>     cur +=3D '%s ' % unichr(link_start_ord + cur_link)
> NameError: name 'unichr' is not defined

I'm running FreeBSD 13.0-CURRENT r341995, py36-mdv-1.6.3_1.

--=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-233996-7788>