hulxv / vnstat-client

GUI Client for vnStat Network Monitor for Linux or GNU/Linux
https://hulxv.github.io/vnstat-client/
GNU General Public License v2.0
150 stars 10 forks source link

vnstat not detected #1

Closed AhmadDakhlallah closed 2 years ago

AhmadDakhlallah commented 2 years ago

Hello,

This startup error only appears when vnstat is install from source or from debian repo. Screenshot from 2022-01-08 09-15-11

The error will disappear the moment I uninstall vnstat.

This is the console log:

ahmad@pop-os:~$ vnstat-client
10:38:59.303 › [PRODUCTION] vnStat Client is Running.
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[5071:0108/103859.397433:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
10:38:59.910 › Getting data...
10:38:59.911 › Checking for update
10:38:59.922 › Error: Error: ENOENT: no such file or directory, open '/opt/vnstat-client/resources/app-update.yml'
(node:5032) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/vnstat-client/resources/app-update.yml'
(Use `vnstat-client --trace-warnings ...` to show where the warning was created)
(node:5032) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
10:38:59.949 › vnStat isn't installed, You should download and setup it before using this client.
10:39:04.481 › vnStat-client has been closed.

The issue about the update doesn't go no matter what.

hulxv commented 2 years ago

Sorry for this bug, As soon as possible I'll release a new version to fix the bug. And thanks to inform me about the bug. Please check here and here.