Closed patrick-tang closed 3 years ago
Thank you for the bug report. This is not a bug of rnr di-per-se, but a bug in the Urwid framework used by rnr. I'll try looking into it, but from my experience the Urwid team is not very fast in merging new pull requests and releasing new versions. You could try issuing a bug report to Urwid as well.
Thank you for the bug report. This is not a bug of rnr di-per-se, but a bug in the Urwid framework used by rnr. I'll try looking into it, but from my experience the Urwid team is not very fast in merging new pull requests and releasing new versions. You could try issuing a bug report to Urwid as well.
Thanks @bugnano . let me see if I can find Urwid in Github and check if that's a known bug with PR.
Actually, I'm able to fix the problem in rnr, without touching Urwid. Asian characters can have a width of 2, so I need to take into account that factor when displaying the file names. I think that by tomorrow it will be fixed.
Actually, I'm able to fix the problem in rnr, without touching Urwid. Asian characters can have a width of 2, so I need to take into account that factor when displaying the file names. I think that by tomorrow it will be fixed.
Thanks, @bugnano . I haven't got chance to search Urwid project yet. Been too busy this week.
Fixed in version 1.0.3
Fixed in version 1.0.3
@bugnano I just verified the long non-english file name won't crash rnr any more. Good work! I also noticed the solution was to shorten the file name for display by cut some of characters in the middle of the name. That works :+1:
Got error when trying to open a folder with files in long non-english file name. Error log:
version: 1.0.2 platform: Manjaro 20.2.1 (kernel 5.10.18-1-MANJARO, GNome 3.38.4) python: 3.9.1
The long non-english file name: 有生之年一定要读的科幻经典烧脑神作(共28册)(阿西莫夫忌辰纪念套装,阿瑟·克拉克.epub