After having no luck getting the mod-sdk running on MacOS, or Ubuntu using virtualisation, I am now trying to get it running on a Raspberry Pi 4 running Raspbian.
- Install dependancies
sudo apt-get install build-essential liblilv-dev python3-pil python3-pystache python3-setuptools python3-pyinotify
pip install tornado==4.3
- Build
sudo python3 setup.py build
- Install
sudo python3 setup.py install
- Run
modsdk
Here’s the error message it returns when I go to localhost:9000
Using raw lilv for plugin info (without checks)
Please configure your environment properly. The following issues were found:
- PhantomJS not found. Please install it and make sure the binary is located at /usr/local/bin/phantomjs
Welcome to the MOD-SDK
The goal of this SDK is to implement the MODGUI specification for LV2, so you must be familiar with LV2 first.
Please check http://lv2plug.in/ if you need help on that.
To start testing your plugin interfaces, open your webkit-based browser (Google Chrome, Chromium, Safari) and point to http://localhost:9000
ERROR:tornado.application:Uncaught exception GET /?v=1675377874 (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:9000', method='GET', uri='/?v=1675377874', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Host': 'localhost:9000', 'Connection': 'keep-alive', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (X11; CrOS armv7l 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.105 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-User': '?1', 'Sec-Fetch-Dest': 'document', 'Sec-Ch-Ua': '" Not A;Brand";v="99", "Chromium";v="104"', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Linux"', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-GB,en-US;q=0.9,en;q=0.8'})
Traceback (most recent call last):
File "/home/dmh-pi/.local/lib/python3.9/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.9/dist-packages/modsdk/webserver.py", line 467, in get
with open(DEFAULT_ICON_TEMPLATE, 'r') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/mod-sdk/html/resources/templates/pedal-default.html'
ERROR:tornado.access:500 GET /?v=1675377874 (127.0.0.1) 67.31ms
WARNING:tornado.access:404 GET /favicon.ico (127.0.0.1) 1.38ms
When I go to /usr/share/
I can see there is no mod-sdk folder.
Any clues as to what is going wrong? I’d love to be able to contribute.
Happy to make an issue on GitHub instead if that is easier.