Comments (13)
Hey, can you post your config file, preferably a minimal config file to reproduce the error?
Are all runtime dependencies needed for your enabled features available in your PATH
? See according feature section in README.
from dwm-status.
I just run the default config file with the order field set:
{
"debug": false,
"order": ["backlight", "battery", "time"],
"separator": " / ",
"audio": {
"control": "Master",
"mute": "MUTE",
"template": "S {VOL}%",
"icons": []
},
"backlight": {
"device": "intel_backlight",
"template": "L {BL}%",
"icons": []
},
"battery": {
"charging": "▲",
"discharging": "▼",
"enable_notifier": true,
"no_battery": "NO BATT",
"notifier_critical": 10,
"notifier_levels": [
2,
5,
10,
15,
20
],
"separator": " · ",
"icons": []
},
"cpu_load": {
"template": "{CL1} {CL5} {CL15}",
"update_interval": 20
},
"network": {
"no_value": "NA",
"template": "{IPv4} · {IPv6} · {ESSID}"
},
"time": {
"format": "%Y-%m-%d %H:%M",
"update_seconds": false
}
}
I found out that removing "network"
from the order array solved the error. I'm gonna check that required lib are correctly installed.
from dwm-status.
Could you please post the output of the following commands:
iwgetid -r
dig @resolver1.opendns.com A myip.opendns.com +short -4
dig @resolver1.opendns.com A myip.opendns.com +short -6
And does the following command remain open or exits it with an error?
ip monitor address link
from dwm-status.
I checked the necessary libs and I think they are installed on my arch linux. I'm not sure since arch doesn't probide directly -lib
packages, but I don't get any errors related to that.
iwgetid -r
correctly return the name of my internet box I'm connected at.
dig @resolver1.opendns.com A myip.opendns.com +short -4
return an ipv4 adress.
dig @resolver1.opendns.com A myip.opendns.com +short -6
return nothing.
ip monitor address link
remains open.
Thanks for the help.
from dwm-status.
Hey, could you try the branch issue-5-fix and post the error message?
And please post the output of:
dig @resolver1.opendns.com A myip.opendns.com +short
dig @resolver1.opendns.com AAAA myip.opendns.com +short
from dwm-status.
The branch solved the errors.
dig @resolver1.opendns.com A myip.opendns.com +short
return 193.51.159.250
dig @resolver1.opendns.com AAAA myip.opendns.com +short
return nothing
I was on the eduroam network know for IPV6 strange bugs...
from dwm-status.
I noticed a problem, if there was an error with the command used to gather the network ip the error is displayed in the status bar...
It printed in my status bar:
server not found: connection timed out; no servers could be reached
from dwm-status.
Does the dig
command exit with an exit code != 0? And is the message from stdout or stderr?
The time out is really hard to reproduce..
from dwm-status.
I found this way to make dig timeout:
dig example.com @72.66.115.13
it's basically a blackhole server wich will just drop all requests. (source: https://serverfault.com/questions/776049/how-to-simulate-dns-server-response-timeout)
➜ ~ dig example.com @72.66.115.13
; <<>> DiG 9.14.5 <<>> example.com @72.66.115.13
;; global options: +cmd
;; connection timed out; no servers could be reached
➜ ~ echo $?
9
So, dig return an error code of 9 when there is no answer from the the server as described in the manual (https://linux.die.net/man/1/dig). The error message doesn't seems to be written to stderr.
from dwm-status.
Ah okay, strange behaviour of dig. I will provide a fix based on the exit code later that day.
from dwm-status.
Should be fixed by now in the issue branch. Can you verify it? If everything is working, I will merge and release it.
Thank you for reporting this issue and helping to improve this project! :)
from dwm-status.
Yep the issue is fixed! Thanks for helping me :)
from dwm-status.
Fix is now available in version 1.6.3!
from dwm-status.
Related Issues (14)
- Use XStoreName instead of calling the xsetroot binary HOT 3
- Battery feature not working HOT 5
- Only one battery reported HOT 4
- On systems with multiple batteries notifications are sent when any of the battery is low HOT 2
- how to start? HOT 3
- Battery capacity rounding error HOT 2
- Action Required: Fix Renovate Configuration
- Add memory feature HOT 3
- Audio feature wrong volume HOT 8
- The battery feature report "NO BATT" HOT 2
- Dependency Dashboard
- dwm-status stop when battery runs low HOT 5
- Arch Linux AUR package HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwm-status.