Download raw body.
solfege launch error and fix; solfege depends on timidity
OpenBSD 7.5
GENERIC.MP#82
amd64
1. solfege won't launch
# pkg_add solfege
$ solfege
Traceback (most recent call last):
File "/usr/local/bin/solfege", line 55, in <module>
import solfege.startup
File "/usr/local/share/solfege/solfege/startup.py", line 45, in
<module> from solfege.mainwin import MainWin, SplashWin
File "/usr/local/share/solfege/solfege/mainwin.py", line 28, in
<module> i = webbrowser._tryorder.index("x-www-browser")
AttributeError: 'NoneType' object has no attribute 'index'
patch /usr/local/share/solfege/solfege/mainwin.py
27a28
> webbrowser.get()
taken from:
git clone git://git.savannah.gnu.org/solfege.git
less solfege/solfege/mainwin.py
makes solfege launch.
there is another suggestion (someone had the same error 5 years ago):
https://bugs.archlinux.org/task/63703
> Insert the following line before line 28:
> webbrowser.register_standard_browsers()
27a28
> webbrowser.register_standard_browsers()
also works (on my machine).
Or maybe solfege wants an update instead of a patch?
2. Having launched solfege, it doesn't play sounds,
throwing errors at you, until you install timidity.
Perhaps, timidity should be a dependency?
solfege launch error and fix; solfege depends on timidity