放到字段中的所有音频,仅有图标;点击报错

当我在字段中放入wav音频文件时,一开始使用正常,不确定的某个时间就不能使用了;查看字段html代码时:由如下:

[sound:xxxxxx.wav]

变成了:

<a class="replay-button soundLink" href="#" onclick="pycmd('play:q:3'); return false;">
    <svg class="playImage" viewBox="0 0 64 64" version="1.1">
        <circle cx="32" cy="32" r="29"></circle>
        <path d="M56.502,32.301l-37.502,20.101l0.329,-40.804l37.173,20.703Z"></path>
    </svg>
</a>

使用时,音频图标存在,点击发音时报如下错误:

Anki 23.12.1 (1a1d4d54)  
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

Traceback (most recent call last):
  File "aqt.webview", line 50, in cmd
  File "aqt.webview", line 157, in _onCmd
  File "aqt.webview", line 686, in _onBridgeCmd
  File "aqt.reviewer", line 658, in _linkHandler
  File "aqt.sound", line 842, in play_clicked_audio
IndexError: list index out of range

注:我已经禁用所有插件

Sounds like an add-on has modified your notes, breaking them.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.