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

Docker Image - Cannot Create Screenshots #39

Open
jtemple967 opened this issue Sep 8, 2024 · 0 comments
Open

Docker Image - Cannot Create Screenshots #39

jtemple967 opened this issue Sep 8, 2024 · 0 comments

Comments

@jtemple967
Copy link

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 proc_callback
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

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

1 participant