Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Crashes on startup (Arch, CachyOS)

A topic by narve created 33 days ago Views: 161 Replies: 8
Viewing posts 1 to 8

First time, it crashed with 

error: Uncaught (in promise) Error: Could not open library: Could not open library: libwebkitgtk-6.0.so.4: cannot open shared object file: No such file or directory

A quick 

sudo pacman -S webkitgtk-6.0


fixed that. 


Then it opens a blank window, and the log is full of errors: 

(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 13:15:29.892: invalid (NULL) pointer instance
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 13:15:29.892: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Static file error for /textures/buildings/industrial/default_a.jpg: NotFound: path not found: stat '/tmp/deno-compile-microlandia/dist/client/textures/buildings/industrial/default_a.jpg'

You can keep my $2, but I would like to try the game sometime :) 

Developer

It looks like something that can be fixed... I am looking into it right now... if it's possible, can you add more logging context? since you started the game till you see the blank page.

sure, i'll add more info tomorrow 

More info: 

⋊> ~/g/microlandia-linux ./microlandia                                                                                                                                                                                                                                                                              09:16:16
(process:386046): Gtk-WARNING **: 09:16:20.711: Locale not supported by C library.        Using the fallback 'C' locale.
Microlandia starting...
Starting HTTP server...
Microlandia started on 0.0.0.0:6200
(process:2): Gtk-WARNING **: 09:16:23.032: Locale not supported by C library.        Using the fallback 'C' locale.
rootPath /tmp/deno-compile-microlandia
Serving static file: /index.html -> /tmp/deno-compile-microlandia/dist/client/index.html
rootPath /tmp/deno-compile-microlandia
Serving static file: /assets/index-BdrvILnL.js -> /tmp/deno-compile-microlandia/dist/client/assets/index-BdrvILnL.js
rootPath /tmp/deno-compile-microlandia
Serving static file: /assets/index-DX-3iMsi.css -> /tmp/deno-compile-microlandia/dist/client/assets/index-DX-3iMsi.css
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/zones/road.png -> /tmp/deno-compile-microlandia/dist/client/textures/zones/road.png
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/zones/road-traffic.png -> /tmp/deno-compile-microlandia/dist/client/textures/zones/road-traffic.png
GStreamer element autoaudiosink not found. Please install it
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 09:16:23.279: invalid (NULL) pointer instance
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 09:16:23.279: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
rootPath /tmp/deno-compile-microlandia
Serving static file: /fonts/OpenTTD-Sans.ttf -> /tmp/deno-compile-microlandia/dist/client/fonts/OpenTTD-Sans.ttf
rootPath /tmp/deno-compile-microlandia
Serving static file: /fonts/BoldPixels.otf -> /tmp/deno-compile-microlandia/dist/client/fonts/BoldPixels.otf
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/residential_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/residential_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/office_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/office_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/hq_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/hq_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/fire_dept/fire_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/fire_dept/fire_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/police/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/police/default_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/hospital/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/hospital/default_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/industrial/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/industrial/default_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/default_a.jpg
Static file error for /textures/buildings/industrial/default_a.jpg: NotFound: path not found: stat '/tmp/deno-compile-microlandia/dist/client/textures/buildings/industrial/default_a.jpg'    at Object.stat (ext:deno_fs/30_fs.js:411:21)    at i3 (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:10929)    at ecu (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:18566)    at eventLoopTick (ext:core/01_core.js:179:7)    at async mapped (ext:deno_http/00_serve.ts:360:18) {  name: "NotFound",  code: "ENOENT"
}
Static file error for /textures/buildings/private/default_a.jpg: NotFound: path not found: stat '/tmp/deno-compile-microlandia/dist/client/textures/buildings/private/default_a.jpg'    at Object.stat (ext:deno_fs/30_fs.js:411:21)    at i3 (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:10929)    at ecu (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:18566)    at eventLoopTick (ext:core/01_core.js:179:7)    at async mapped (ext:deno_http/00_serve.ts:360:18) {  name: "NotFound",  code: "ENOENT"
}
Error reading DB directory /home/narve/.microlandia/db NotFound: No such file or directory (os error 2): readdir '/home/narve/.microlandia/db'    at Object.readDirSync (ext:deno_fs/30_fs.js:209:10)    at a.listCities (file:///tmp/deno-compile-microlandia/dist/server/server.js:43:7046)    at Qmu (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:12294)    at ecu (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:18533)    at file:///tmp/deno-compile-microlandia/dist/server/server.js:45:19548    at mapped (ext:deno_http/00_serve.ts:360:24)    at mapped (ext:deno_http/00_serve.ts:457:16)    at ext:deno_http/00_serve.ts:744:29    at eventLoopTick (ext:core/01_core.js:179:7) {  name: "NotFound",  code: "ENOENT"
}
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 09:16:23.324: invalid (NULL) pointer instance
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 09:16:23.324: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
WebSocket error: ErrorEvent {  bubbles: false,  cancelable: false,  composed: false,  currentTarget: WebSocket {    url: "",    readyState: 3,    extensions: "",    protocol: "",    binaryType: "arraybuffer",    bufferedAmount: 0,    onmessage: null,    onerror: null,    onclose: null,    onopen: null  },  defaultPrevented: false,  eventPhase: 2,  srcElement: null,  target: WebSocket {    url: "",    readyState: 3,    extensions: "",    protocol: "",    binaryType: "arraybuffer",    bufferedAmount: 0,    onmessage: null,    onerror: null,    onclose: null,    onopen: null  },  returnValue: true,  timeStamp: 0,  type: "error",  message: "Unexpected EOF",  filename: "",  lineno: 0,  colno: 0,  error: Error: Unexpected EOF    at WebSocket.[[[eventLoop]]] (ext:deno_websocket/01_websocket.js:577:25)    at eventLoopTick (ext:core/01_core.js:179:7)
}

⋊> ~/g/microlandia-linux uname -a                                                                                                                                                                                                                                                                                   09:17:30
Linux ncachy 6.17.0-3-cachyos #1 SMP PREEMPT_DYNAMIC Tue, 30 Sep 2025 16:05:23 +0000 x86_64 GNU/Linux

Developer

Hi we just fixed a bug where in some installs, the database directory was not created. Hopefully the new build is working for you :) 

Still fails :( 



⋊> ~/g/m/microlandia-linux(1) ./microlandia                                                                                                                                                                                                                                                                         14:11:40
Microlandia starting... log
Debug mode enabled
Starting HTTP server...
Microlandia started on 127.0.0.1:6200
rootPath /tmp/deno-compile-microlandia
Serving static file: /index.html -> /tmp/deno-compile-microlandia/dist/client/index.html
rootPath /tmp/deno-compile-microlandia
Serving static file: /assets/index-Bcc_-jU8.js -> /tmp/deno-compile-microlandia/dist/client/assets/index-Bcc_-jU8.js
rootPath /tmp/deno-compile-microlandia
Serving static file: /assets/index-CuYAFzXr.css -> /tmp/deno-compile-microlandia/dist/client/assets/index-CuYAFzXr.css
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/zones/road.png -> /tmp/deno-compile-microlandia/dist/client/textures/zones/road.png
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/zones/road-traffic.png -> /tmp/deno-compile-microlandia/dist/client/textures/zones/road-traffic.png
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/zones/road_crossing.png -> /tmp/deno-compile-microlandia/dist/client/textures/zones/road_crossing.png
GStreamer element autoaudiosink not found. Please install it
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 14:11:45.886: invalid (NULL) pointer instance
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 14:11:45.886: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/residential_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/residential_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/office_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/office_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/hq_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/hq_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/fire_dept/fire_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/fire_dept/fire_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/police/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/police/default_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/hospital/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/hospital/default_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/industrial/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/industrial/default_a.jpg
rootPath /tmp/deno-compile-microlandia
Serving static file: /textures/buildings/private/default_a.jpg -> /tmp/deno-compile-microlandia/dist/client/textures/buildings/private/default_a.jpg
Static file error for /textures/buildings/industrial/default_a.jpg: NotFound: path not found: stat '/tmp/deno-compile-microlandia/dist/client/textures/buildings/industrial/default_a.jpg'    at Object.stat (ext:deno_fs/30_fs.js:411:21)    at E3 (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:10973)    at rcu (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:19522)    at eventLoopTick (ext:core/01_core.js:179:7)    at async mapped (ext:deno_http/00_serve.ts:360:18) {  name: "NotFound",  code: "ENOENT"
}
Static file error for /textures/buildings/private/default_a.jpg: NotFound: path not found: stat '/tmp/deno-compile-microlandia/dist/client/textures/buildings/private/default_a.jpg'    at Object.stat (ext:deno_fs/30_fs.js:411:21)    at E3 (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:10973)    at rcu (file:///tmp/deno-compile-microlandia/dist/server/server.js:45:19522)    at eventLoopTick (ext:core/01_core.js:179:7)    at async mapped (ext:deno_http/00_serve.ts:360:18) {  name: "NotFound",  code: "ENOENT"
}
Database directory does not exist, creating it
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 14:11:45.918: invalid (NULL) pointer instance
(WebKitWebProcess:2): GLib-GObject-CRITICAL **: 14:11:45.918: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Developer

Maybe you are missing the gstreamer library. Does this command work for you?


sudo pacman -S gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav

Yes, that worked :) 


Now I just gotta find out how to increase the employment rate from 0% :)