After purchasing the Bosendorfer on the Pianoteq website, I tried to activate it.
However, today the Pianoteq website was experiencing a very slow performance, and for some reason my license appeared as invalid.
I decided to restart Zynthian and now ZynUI won’t start.
I investigated using the command line and the output of “journalctl -xe” looks like this:
Oct 03 22:50:29 zynthian-jere startx[4158]: File "./zynthian_main.py", line 35, in <module>
Oct 03 22:50:29 zynthian-jere startx[4158]: from zyngui.zynthian_gui import zynthian_gui
Oct 03 22:50:29 zynthian-jere startx[4158]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui.py", line 66, in <module>
Oct 03 22:50:29 zynthian-jere startx[4158]: from zyngui.zynthian_gui_engine import zynthian_gui_engine
Oct 03 22:50:29 zynthian-jere startx[4158]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_engine.py", line 49, in <module>
Oct 03 22:50:29 zynthian-jere startx[4158]: class zynthian_gui_engine(zynthian_gui_selector):
Oct 03 22:50:29 zynthian-jere startx[4158]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_engine.py", line 45, in initializator
Oct 03 22:50:29 zynthian-jere startx[4158]: cls.init_engine_info()
Oct 03 22:50:29 zynthian-jere startx[4158]: File "/home/pi/zynthian-ui/zyngui/zynthian_gui_engine.py", line 74, in init_engine_info
Oct 03 22:50:29 zynthian-jere startx[4158]: pt_info = get_pianoteq_binary_info()
Oct 03 22:50:29 zynthian-jere startx[4158]: File "/home/pi/zynthian-ui/zyngine/zynthian_engine_pianoteq.py", line 217, in get_pianoteq_binary_info
Oct 03 22:50:29 zynthian-jere startx[4158]: lkey = get_pianoteq_config_value('LKey')
Oct 03 22:50:29 zynthian-jere startx[4158]: File "/home/pi/zynthian-ui/zyngine/zynthian_engine_pianoteq.py", line 232, in get_pianoteq_config_value
Oct 03 22:50:29 zynthian-jere startx[4158]: values = xml_value.attrib['val'].split(';')
Oct 03 22:50:29 zynthian-jere startx[4158]: KeyError: 'val'
I edited the “zynthian_gui_engine.py” file and commented out line 74 onwards (in the part related to pianoteq) and the interface started up again normally.
As soon as the Pianoteq website started responding a little better (although still quite slow), I ran the command:
/home/pi/zynthian-sw/pianoteq6/pianoteq --activate MY-SERIAL-NUMBER
And after 4 attempts, it activated the license correctly on the command line.
I uncommented the lines in the “zynthian_gui_engine.py” file but the error came back and ZynUI stopped starting.