您尚未登录。

#1 2018-07-30 22:55:16

smallville
会员
注册时间: 2013-12-23
帖子: 29

ranger遇上srt字幕文件崩溃,有谁遇到?

如题。
ranger version: ranger-master 1.9.1
Python version: 3.6.6 (default, Jun 27 2018, 13:11:40) [GCC 8.1.1 20180531]
Locale: zh_CN.UTF-8
Current file: '/home/liang/.mldonkey/incoming/files/Anne.of.Green.Gables.1985.CD1.DVDRip.XviD-VH-PROD.avi.srt'

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ranger/core/main.py", line 196, in main
    fm.loop()
  File "/usr/lib/python3.6/site-packages/ranger/core/fm.py", line 390, in loop
    ui.redraw()
  File "/usr/lib/python3.6/site-packages/ranger/gui/ui.py", line 338, in redraw
    self.draw()
  File "/usr/lib/python3.6/site-packages/ranger/gui/ui.py", line 365, in draw
    DisplayableContainer.draw(self)
  File "/usr/lib/python3.6/site-packages/ranger/gui/displayable.py", line 256, in draw
    displayable.draw()
  File "/usr/lib/python3.6/site-packages/ranger/gui/widgets/view_miller.py", line 100, in draw
    DisplayableContainer.draw(self)
  File "/usr/lib/python3.6/site-packages/ranger/gui/displayable.py", line 256, in draw
    displayable.draw()
  File "/usr/lib/python3.6/site-packages/ranger/gui/widgets/browsercolumn.py", line 176, in draw
    self._draw_file()
  File "/usr/lib/python3.6/site-packages/ranger/gui/widgets/browsercolumn.py", line 203, in _draw_file
    Pager.draw(self)
  File "/usr/lib/python3.6/site-packages/ranger/gui/widgets/pager.py", line 101, in draw
    self._draw_line(i, line)
  File "/usr/lib/python3.6/site-packages/ranger/gui/widgets/pager.py", line 132, in _draw_line
    self.addstr(chunk)
  File "/usr/lib/python3.6/site-packages/ranger/gui/curses_shortcuts.py", line 37, in addstr
    self.win.addstr(*args)
ValueError: embedded null character

ranger crashed. Please report this traceback at:
https://github.com/ranger/ranger/issues

离线

#2 2018-07-30 23:18:21

xtricman
エクス·トリクマン
注册时间: 2012-12-26
帖子: 1,267

Re: ranger遇上srt字幕文件崩溃,有谁遇到?

这怎么看都是上游的锅吧


反社会,精神极其不稳定,随时可能炸碎身边所有人

离线

页脚