HaisenC

  • #2 Sir.P 仔细看了下nameartist 变量为 None,应该确实是这个问题?不过歌单的歌曲太多了排查有点困难,最后换了个账号就可以了😂感谢回复

  • 已关闭加速器TT从额外功能进去获取红心歌单也无反应

    日志

    
    I'm sorry, but an uncaught exception occurred.
    
    While running game code:
    
      File "renpy/common/00gamemenu.rpy", line 173, in script
    
    $ ui.interact()
    
      File "renpy/common/00gamemenu.rpy", line 173, in <module>
    
    $ ui.interact()
    
      File "renpy/common/00action_other.rpy", line 484, in __call__
    
    rv = self.callable(\*self.args, \*\*self.kwargs)
    
      File "game/Submods/NeteaseInMas/NeteaseMusicPlayerHead.rpy", line 80, in np_get_ml
    
    np_util.Get_User_Playlist()
    
      File "game/Submods/NeteaseInMas/NeteaseMusicPlayerMain.rpy", line 296, in Get_User_Playlist
    
    showname = name + " - " + artist
    
    TypeError: coercing to Unicode: need string or buffer, NoneType found
    
    \-- Full Traceback ------------------------------------------------------------
    
    Full traceback:
    
      File "renpy/common/00gamemenu.rpy", line 173, in script
    
    $ ui.interact()
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\ast.py", line 814, in execute
    
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\python.py", line 1719, in py_exec_bytecode
    
    exec bytecode in globals, locals
    
      File "renpy/common/00gamemenu.rpy", line 173, in <module>
    
    $ ui.interact()
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\ui.py", line 285, in interact
    
    rv = renpy.game.interface.interact(roll_forward=roll_forward, \*\*kwargs)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\core.py", line 2526, in interact
    
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, \*\*kwargs)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\core.py", line 3204, in interact_core
    
    rv = root_widget.event(ev, x, y, 0)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\transition.py", line 45, in event
    
    return self.new_widget.event(ev, x, y, st)  # E1101
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\screen.py", line 651, in event
    
    rv = self.child.event(ev, x, y, st)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 232, in event
    
    rv = d.event(ev, x - xo, y - yo, st)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 232, in event
    
    rv = d.event(ev, x - xo, y - yo, st)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 232, in event
    
    rv = d.event(ev, x - xo, y - yo, st)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\viewport.py", line 303, in event
    
    rv = super(Viewport, self).event(ev, x, y, st)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 232, in event
    
    rv = d.event(ev, x - xo, y - yo, st)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\layout.py", line 960, in event
    
    rv = i.event(ev, x - xo, y - yo, cst)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\behavior.py", line 889, in event
    
    return handle_click(self.clicked)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\behavior.py", line 824, in handle_click
    
    rv = run(action)
    
      File "D:\\MAS\\MAS_CN0012F4\\renpy\\display\\behavior.py", line 306, in run
    
    return action(\*args, \*\*kwargs)
    
      File "renpy/common/00action_other.rpy", line 484, in __call__
    
    rv = self.callable(\*self.args, \*\*self.kwargs)
    
      File "game/Submods/NeteaseInMas/NeteaseMusicPlayerHead.rpy", line 80, in np_get_ml
    
    np_util.Get_User_Playlist()
    
      File "game/Submods/NeteaseInMas/NeteaseMusicPlayerMain.rpy", line 296, in Get_User_Playlist
    
    showname = name + " - " + artist
    
    TypeError: coercing to Unicode: need string or buffer, NoneType found
    
    Windows-8-6.2.9200
    
    Ren'Py 6.99.12.4.2187
    
    Monika After Story 0.12.15
    
    

    还是说需要添加个人api吗