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

error running on Ventura #24

Open
hmarinox opened this issue Feb 14, 2023 · 1 comment
Open

error running on Ventura #24

hmarinox opened this issue Feb 14, 2023 · 1 comment

Comments

@hmarinox
Copy link

❯ /opt/homebrew/bin/python3 -m touchbar_lyric --app music
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/[email protected]/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/homebrew/lib/python3.10/site-packages/touchbar_lyric/main.py", line 57, in
typer.run(run)
File "/opt/homebrew/lib/python3.10/site-packages/typer/main.py", line 859, in run
app()
File "/opt/homebrew/lib/python3.10/site-packages/typer/main.py", line 214, in call
return get_command(self)(*args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/typer/main.py", line 497, in wrapper
return callback(**use_params) # type: ignore
File "/opt/homebrew/lib/python3.10/site-packages/touchbar_lyric/main.py", line 44, in run
songs = universal_search(media_info.name, media_info.artists)
File "/opt/homebrew/lib/python3.10/site-packages/diskcache/core.py", line 1877, in wrapper
result = func(*args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/touchbar_lyric/service/init.py", line 45, in universal_search
for i, s in enumerate(rentanadviser_music_search(title, artists)))
File "/opt/homebrew/lib/python3.10/site-packages/touchbar_lyric/service/misc.py", line 55, in rentanadviser_music_search
result_links = soup.find(id="tablecontainer").find_all("a")
AttributeError: 'NoneType' object has no attribute 'find_all'

@ChenghaoMou
Copy link
Owner

Thank you for reporting this!

The bug should be fixed in 0.8.1 and you can upgrade to the new version by running this command in your Terminal:

pip install touchbar_lyric --upgrade

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

2 participants