Back to the Shapespark home page

Install Failed. Fatal error

I’m going to install the shape park, delete it once, and reinstall it.
After running the installation file and the shapepark logo appears, messages “false error” and “failed to start server” appear.

editor.log

[2022. 1. 24. 오후 10:30:20] - info: Started. Command line: C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\Shapespark.exe --squirrel-install 2.1.1
[2022. 1. 24. 오후 10:30:20] - info: Loading configuration from file: C:\Users\HERO\AppData\Roaming\Shapespark\config.json
[2022. 1. 24. 오후 10:30:20] - info: Lack of configuration file. Assuming default configuration.
[2022. 1. 24. 오후 10:30:20] - info: Installing the application.
[2022. 1. 24. 오후 10:30:20] - info: Terminating HTTP server.
[2022. 1. 24. 오후 10:30:21] - error: HTTP server socket timeout
[2022. 1. 24. 오후 10:30:22] - error: HTTP server socket timeout
[2022. 1. 24. 오후 10:30:22] - info: HTTP server terminated.
[2022. 1. 24. 오후 10:30:23] - info: Quitting.
[2022. 1. 24. 오후 10:30:23] - info: Started. Command line: C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\Shapespark.exe --squirrel-firstrun
[2022. 1. 24. 오후 10:30:23] - info: Loading configuration from file: C:\Users\HERO\AppData\Roaming\Shapespark\config.json
[2022. 1. 24. 오후 10:30:23] - info: Lack of configuration file. Assuming default configuration.
[2022. 1. 24. 오후 10:30:24] - error: HTTP server socket timeout
[2022. 1. 24. 오후 10:30:24] - info: Starting HTTP server and waiting until it is available
[2022. 1. 24. 오후 10:30:25] - error: HTTP server socket timeout
[2022. 1. 24. 오후 10:30:26] - error: HTTP server exited with code 1.
[2022. 1. 24. 오후 10:30:26] - error: Failed to start HTTP server
[2022. 1. 24. 오후 10:30:28] - info: Quitting.

server.log

[2022-01-24 22:30:25,901] INFO: Lack of configuration file. Assuming default configuration.
[2022-01-24 22:30:25,951] INFO: Starting http server on port 5000. Version 2.1.1.
[2022-01-24 22:30:25,998] ERROR: Server terminated because of an error. Version 2.1.1.
Traceback (most recent call last):
File “C:\msys64\tmp\pip-target-uo3kpu44\lib\python\spark\local\main.py”, line 112, in main
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\baseserver.py”, line 398, in serve_forever
self.start()
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\baseserver.py”, line 336, in start
self.init_socket()
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\pywsgi.py”, line 1501, in init_socket
self.update_environ()
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\pywsgi.py”, line 1513, in update_environ
name = socket.getfqdn(address[0])
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent_socketcommon.py”, line 287, in getfqdn
hostname, aliases, _ = gethostbyaddr(name)
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent_socketcommon.py”, line 259, in gethostbyaddr
return get_hub().resolver.gethostbyaddr(ip_address)
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\resolver\thread.py”, line 66, in gethostbyaddr
return self.pool.apply(_socket.gethostbyaddr, args, kwargs)
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\pool.py”, line 161, in apply
return self.spawn(func, *args, **kwds).get()
File “src\gevent\event.py”, line 305, in gevent._gevent_cevent.AsyncResult.get
File “src\gevent\event.py”, line 335, in gevent._gevent_cevent.AsyncResult.get
File “src\gevent\event.py”, line 323, in gevent._gevent_cevent.AsyncResult.get
File “src\gevent\event.py”, line 303, in gevent._gevent_cevent.AsyncResult._raise_exception
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent_compat.py”, line 65, in reraise
raise value.with_traceback(tb)
File “C:\Users\HERO\AppData\Local\Shapespark\app-2.1.1\resources\http-spark\gevent\threadpool.py”, line 142, in __run_task
thread_result.set(func(*args, **kwargs))
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xb1 in position 0: invalid start byte

We suspect that your hostname (computer name) contains unsupported characters. Could you check your hostname (instruction: https://www.makeuseof.com/tag/find-windows-10-computer-name/ ) and change it if it is not a problem?

It looks like your are using older version of Shapespark (2.1.1 vs the newest 2.4.1), I’m not 100% sure but the newest version may handle such hostnames without problems.