Trying to use the mod-sdk to create a MOD compatible version of brummer10's StompTuner. I downloaded the docker image and was able to configure the plugin but trying to generate the screenshots resulted in the following:
QXcbConnection: Could not connect to display
PhantomJS has crashed. Please read the bug reporting guide at
http://phantomjs.org/bug-reporting.html and file a bug report.
ERROR:tornado.application:Uncaught exception GET /screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&=1725761640093 (172.17.0.1)
HTTPServerRequest(protocol='http', host='localhost:9000', method='GET', uri='/screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&=1725761640093', version='HTTP/1.1', remote_ip='172.17.0.1', headers={'Sec-Fetch-Dest': 'empty', 'X-Requested-With': 'XMLHttpRequest', 'Host': 'localhost:9000', 'Sec-Fetch-Site': 'same-origin', 'Referer': 'http://localhost:9000/?v=1725761639', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Linux"', 'Connection': 'keep-alive', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': 'application/json, text/javascript, /; q=0.01', 'Sec-Ch-Ua': '"Chromium";v="128", "Not;A=Brand";v="24", "Google Chrome";v="128"', 'Accept-Language': 'en-US,en;q=0.9', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36', 'Sec-Fetch-Mode': 'cors'})
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tornado/web.py", line 1425, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "", line 3, in raise_exc_info
File "/usr/lib/python3/dist-packages/tornado/stack_context.py", line 314, in wrapped
ret = fn(*args, **kwargs)
File "/modsdk/modsdk/webserver.py", line 529, in proccallback
fh = open(fname, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/b06136.png'
ERROR:tornado.access:500 GET /screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&=1725761640093 (172.17.0.1) 93.80ms
ERROR:tornado.access:500 GET /screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&_=1725761640093 (172.17.0.1) 93.91ms
Trying to use the mod-sdk to create a MOD compatible version of brummer10's StompTuner. I downloaded the docker image and was able to configure the plugin but trying to generate the screenshots resulted in the following:
QXcbConnection: Could not connect to display PhantomJS has crashed. Please read the bug reporting guide at http://phantomjs.org/bug-reporting.html and file a bug report. ERROR:tornado.application:Uncaught exception GET /screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&=1725761640093 (172.17.0.1) HTTPServerRequest(protocol='http', host='localhost:9000', method='GET', uri='/screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&=1725761640093', version='HTTP/1.1', remote_ip='172.17.0.1', headers={'Sec-Fetch-Dest': 'empty', 'X-Requested-With': 'XMLHttpRequest', 'Host': 'localhost:9000', 'Sec-Fetch-Site': 'same-origin', 'Referer': 'http://localhost:9000/?v=1725761639', 'Sec-Ch-Ua-Mobile': '?0', 'Sec-Ch-Ua-Platform': '"Linux"', 'Connection': 'keep-alive', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': 'application/json, text/javascript, /; q=0.01', 'Sec-Ch-Ua': '"Chromium";v="128", "Not;A=Brand";v="24", "Google Chrome";v="128"', 'Accept-Language': 'en-US,en;q=0.9', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36', 'Sec-Fetch-Mode': 'cors'}) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/web.py", line 1425, in _stack_context_handle_exception raise_exc_info((type, value, traceback)) File "", line 3, in raise_exc_info
File "/usr/lib/python3/dist-packages/tornado/stack_context.py", line 314, in wrapped
ret = fn(*args, **kwargs)
File "/modsdk/modsdk/webserver.py", line 529, in proccallback
fh = open(fname, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/b06136.png'
ERROR:tornado.access:500 GET /screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&=1725761640093 (172.17.0.1) 93.80ms
ERROR:tornado.access:500 GET /screenshot?uri=urn%3Abrummer10%3Astomptuner&width=230&height=431&_=1725761640093 (172.17.0.1) 93.91ms