darknessomi / musicbox

网易云音乐命令行版本
MIT License
9.83k stars 1.58k forks source link

add try catch for login form ? #701

Closed rfyiamcool closed 6 years ago

rfyiamcool commented 6 years ago

verison

musicbox -v
NetEase-MusicBox installed version:0.2.4.3

stdout:

[ruifengyun@xiaorui ai_meinv (master ✗)]$ musicbox
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/NEMbox/__init__.py", line 38, in start
    nembox_menu.start_fork(version)
  File "/usr/local/lib/python2.7/site-packages/NEMbox/menu.py", line 171, in start_fork
    Menu().start()
  File "/usr/local/lib/python2.7/site-packages/NEMbox/menu.py", line 604, in start
    self.offset, self.index, self.step, self.START)
  File "/usr/local/lib/python2.7/site-packages/NEMbox/ui.py", line 298, in build_menu
    datalist[i]['song_name'], self.space,
TypeError: string indices must be integers
kigawas commented 6 years ago

Refactoring. Next release may fix it

rfyiamcool commented 6 years ago

yes, thank u.