terminal_markdown_viewer icon indicating copy to clipboard operation
terminal_markdown_viewer copied to clipboard

'unichr' still in pip package

Open kBite opened this issue 7 years ago • 5 comments

Hey,

I'm experiencing the same issue like #46 with current pip package: mdv (1.6.3)

$ mdv --help
Option parsing error
Traceback (most recent call last):
...
  File "/home/user/.local/lib/python3.5/site-packages/mdv/markdownviewer.py", line 624, in replace_links
    cur += '%s ' % unichr(link_start_ord + cur_link)
NameError: name 'unichr' is not defined

When I manually replace unichr with chr it works like a charm.

I saw your change 834bfd8 in #46 but this hasn't made it downstream yet. Please update the pip package.

kBite avatar Aug 16 '17 13:08 kBite

Same experience here.

ghost avatar Nov 19 '17 13:11 ghost

Same experience here. Using:

  • OS : Ubuntu 17.10 / Linux 4.13.0-21-generic
  • Term : xterm-256color
  • Python : 3.6.3
  • mdv : v0.1

Can you not write some version specific code? Also why was this issue closed on 16 August 2017? It should be reopened surely. .. Actually, maybe it is not closed.

robbiemorrison avatar Dec 22 '17 10:12 robbiemorrison

This error still exists for me.

clampak avatar Feb 17 '18 16:02 clampak

Still not in the pip package I got today (I also updated my pip and tried to upgrade mdv again, neither of which helped).

OS: Mac 10.11.6 (El Capitan) python: 3.6.4 pip: 9.0.2

MikeSperone avatar Mar 19 '18 18:03 MikeSperone

Confirmed on:

  • OS: macOS High Sierra 10.13.4 17E202 x86_64
  • pip version: pip 10.0.1 from ~/anaconda3/lib/python3.6/site-packages/pip (python 3.6)

atomic avatar May 12 '18 01:05 atomic