Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Errors at startup (reading GeoLite2-Country.mmdb...) #937

Closed
kbarni opened this issue Dec 3, 2020 · 13 comments
Closed

Errors at startup (reading GeoLite2-Country.mmdb...) #937

kbarni opened this issue Dec 3, 2020 · 13 comments
Labels
bug Confirmed bugs.

Comments

@kbarni
Copy link

kbarni commented Dec 3, 2020

Technical information

Using version: 2.2.3 (AppImage)
Running on: Ubuntu 20.04 x64

Problem

I'm getting errors on startup (when displaying UI), also appearing in a message box

✖  error     Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-Country.mmdb not found in /tmp/.mount_eDEX-UpPuFLu/resources/app.asar: Uncaught Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-Country.mmdb not found in /tmp/.mount_eDEX-UpPuFLu/resources/app.asar
⬤  debug     at events.js 287:7
✖  error     Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-ASN.mmdb not found in /tmp/.mount_eDEX-UpPuFLu/resources/app.asar: Uncaught Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-ASN.mmdb not found in /tmp/.mount_eDEX-UpPuFLu/resources/app.asar
⬤  debug     at events.js 287:7
✖  error     Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-City.mmdb not found in /tmp/.mount_eDEX-UpPuFLu/resources/app.asar: Uncaught Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-City.mmdb not found in /tmp/.mount_eDEX-UpPuFLu/resources/app.asar
⬤  debug     at events.js 287:7

Tried to remove all the config files, clean everything, download again the AppImage, but no help.

Full startup messages in terminal

▶  start     Starting eDEX-UI v2.2.3
ℹ  info      With Node 12.16.3 and Electron 10.1.6
ℹ  info      Renderer is Chrome 85.0.4183.121
▶  Startup   Initialized timer...
ℹ  info      Base config dir is /home/barna/.config/eDEX-UI
☐  pending   Mirroring internal assets...
☐  pending   Loading settings file...
☐  pending   Resolving shell path...
ℹ  info      Shell found at /usr/bin/fish
✔  success   Settings loaded!
☐  pending   Creating new terminal process on port 3000
✔  success   Terminal back-end initialized!
☐  pending   Starting multithreaded calls controller...
✔  success   Multithreaded controller ready
ℹ  info      Creating window...
☒  complete  Frontend window created!
…  watching  Waiting for frontend connection...
ℹ  info      Multithread worker started at 157684
ℹ  info      Multithread worker started at 157686
ℹ  info      Multithread worker started at 157687
ℹ  info      Multithread worker started at 157694
ℹ  info      Multithread worker started at 157693
ℹ  info      Multithread worker started at 157688
ℹ  info      Multithread worker started at 157696
[157663:1203/180738.619676:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_OPERATION: Framebuffer is incomplete.
[157663:1203/180738.620682:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_OPERATION: Framebuffer is incomplete.
[157663:1203/180738.623821:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete.
[157663:1203/180738.624003:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete.
[157663:1203/180738.809237:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete.
[157663:1203/180738.809531:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete.
[157663:1203/180738.876509:ERROR:gl_utils.cc(316)] [.RendererMainThread-0x3faba6fb8000] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete.
✔  success   Connected to frontend!
◼  Startup   Timer run for: 4.80s
ℹ  info      Resized TTY to  134 029
ℹ  info      UpdateChecker: Running latest version.
✖  error     Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-ASN.mmdb not found in /tmp/.mount_eDEX-UfNpYWf/resources/app.asar: Uncaught Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-ASN.mmdb not found in /tmp/.mount_eDEX-UfNpYWf/resources/app.asar
⬤  debug     at events.js 287:7
✖  error     Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-Country.mmdb not found in /tmp/.mount_eDEX-UfNpYWf/resources/app.asar: Uncaught Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-Country.mmdb not found in /tmp/.mount_eDEX-UfNpYWf/resources/app.asar
⬤  debug     at events.js 287:7
✖  error     Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-City.mmdb not found in /tmp/.mount_eDEX-UfNpYWf/resources/app.asar: Uncaught Error: ENOENT, node_modules/geolite2-redist/dbs-tmp/GeoLite2-City.mmdb not found in /tmp/.mount_eDEX-UfNpYWf/resources/app.asar
⬤  debug     at events.js 287:7
ℹ  info      All windows closed
☒  complete  Shutting down...
☒  complete  Terminal exited { exitCode: 0, signal: 0 } undefined
@kbarni kbarni added bug labels Dec 3, 2020
@clragon
Copy link

clragon commented Dec 3, 2020

I am also having this exact issue. Screenshot:

81620921

@wrac4242
Copy link
Contributor

wrac4242 commented Dec 3, 2020

looks like it is caused by a module not being there, for some reason... which is odd

@kbarni
Copy link
Author

kbarni commented Dec 3, 2020

BTW, yesterday I didn't have this error... Strange.

@wrac4242
Copy link
Contributor

wrac4242 commented Dec 3, 2020

did you just reinstall the software?

@wrac4242

This comment has been minimized.

@wrac4242
Copy link
Contributor

wrac4242 commented Dec 3, 2020

@GitSquared possibly a bit of spam stuff here

Repository owner deleted a comment Dec 3, 2020
Repository owner deleted a comment Dec 3, 2020
Repository owner deleted a comment Dec 3, 2020
@GitSquared GitSquared added bug Confirmed bugs. and removed investigation labels Dec 3, 2020
@GitSquared GitSquared added the hold-upstream Work on hold because we're waiting for something to happen upstream. label Dec 3, 2020
@GitSquared
Copy link
Owner

Thanks @wrac4242 for mentioning me, I cleaned up the issue a bit
Regarding the actual issue I've found the root cause and will fix it upstream, unfortunately this may force us to make a new patch release asap

@GitSquared
Copy link
Owner

Yeah so this is going to start fucking up on everyone's installs and I legally cannot prevent it from happening lol. GeoIP databases need to stay up to date to comply with vendor's EULA (& CCPA in the US), so its apparently trying to replace the file inside the compressed application bundle. I'm going to switch it over to an os-level cache or something but current versions are doomed.

Expect v2.2.4 live ASAP

@GitSquared GitSquared removed the hold-upstream Work on hold because we're waiting for something to happen upstream. label Dec 3, 2020
@GitSquared
Copy link
Owner

v2.2.4 published: https://github.com/GitSquared/edex-ui/releases/tag/v2.2.4

Thanks for reporting this!

@kbarni
Copy link
Author

kbarni commented Dec 4, 2020

Reopening the issue... this bug still affects 2.2.4.

It appears after the second startup. (after it creates its configuration files).

@GitSquared
Copy link
Owner

GitSquared commented Dec 4, 2020

@kbarni are you sure its not #941?

@JustCryen
Copy link

I still have the same issue
I'm using 3.0.0.pre-2 (from AUR)
and I don't think it's the #941 because I have the exact same error message as clragon

I just have a third message regarding GeoLite2-Country.mmdb which was not shown on his screenshot.

I am also having this exact issue. Screenshot:

81620921

@GitSquared
Copy link
Owner

AUR -git packages don't auto-update unless i push a new package release, try reinstalling it and it should build you the latest master version.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Confirmed bugs.
Projects
None yet
Development

No branches or pull requests

5 participants