Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开始运行后报错 #954

Open
Error-Eric opened this issue May 15, 2022 · 0 comments
Open

开始运行后报错 #954

Error-Eric opened this issue May 15, 2022 · 0 comments

Comments

@Error-Eric
Copy link

已经尝试过运行 pip3 install -u NetEase_Musicbox.
命令行运行 muscibox 可以正常打开。
打开后按空格会跳出;

######:~$ musicbox 
Traceback (most recent call last):
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/__main__.py", line 35, in start
    nembox_menu.start_fork(version)
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/menu.py", line 293, in start_fork
    Menu().start()
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/menu.py", line 793, in start
    self.space_key_event()
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/menu.py", line 395, in space_key_event
    self.build_menu_processbar()
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/menu.py", line 545, in build_menu_processbar
    self.ui.build_process_bar(
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/ui.py", line 320, in build_process_bar
    self.update_lyrics(now_playing, lyrics, tlyrics)
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/ui.py", line 219, in update_lyrics
    next_lyric_time = get_lyric_time(lyrics[self.now_lyric_index + 1])
  File "/home/iun/.local/lib/python3.9/site-packages/NEMbox/ui.py", line 197, in get_lyric_time
    datetime.datetime.strptime(get_timestap(lyric_line), "%M:%S.%f")
  File "/usr/lib/python3.9/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.9/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '99:00.00' does not match format '%M:%S.%f'

timedatectl 运行结果正常

iun@iun-VivoBook-ASUSLaptop-X420UA:~$ timedatectl
               Local time: Sun 2022-05-15 16:10:33 CST
           Universal time: Sun 2022-05-15 08:10:33 UTC
                 RTC time: Sun 2022-05-15 08:10:33
                Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant