Open EmiliaB0nes opened 5 years ago
Hello,
my backtrace on arch
# RUST_BACKTRACE=1 nasa-wallpaper -a
Title: Decorating the Sky
Date: 2019-12-12
Explanation: Bright stars, clouds of dust and glowing nebulae decorate this cosmic scene, a skyscape just north of Orion's belt. Close to the plane of our Milky Way galaxy, the wide field view spans about 5.5 degrees. Striking bluish M78, a reflection nebula, is on the right. M78's tint is due to dust preferentially reflecting the blue light of hot, young stars. In colorful contrast, the red sash of glowing hydrogen gas sweeping through the center is part of the region's faint but extensive emission nebula known as Barnard's Loop. At lower left, a dark dust cloud forms a prominent silhouette cataloged as LDN 1622. While M78 and the complex Barnard's Loop are some 1,500 light-years away, LDN 1622 is likely to be much closer, only about 500 light-years distant from our fair planet Earth.
Copyright: Leonardo Julio
Changing wallpaper...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', src/libcore/result.rs:997:5
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: __libc_start_main
16: <unknown>
# pacman -Q nasa-wallpaper
nasa-wallpaper 2.0-1
# nasa-wallpaper -V
nasa-wallpaper 2.0.0
I think I'm facing the same issue. Attached is my backtrace, generated with
RUST_BACKTRACE=1 ./nasa-wallpaer -a 2> backtrace.txt
I'm running on Manjaro as well
Version Info:
rustc 1.43.0
nasa-wallpaper 2.0.0
I believe this is due to differing timezones. See #9
Solved: I am in UTC+8, application is asking for image from a date a day ahead of NASA's timezone, the image simply doesn't exist.
It looks like we can change the program where it calls local
and instead call timezone
.
The project rely on wallpaper-2.0.1 package to configure wallpaper, and for different desktop environment, the package needs different dependency.
desktop environment | dependency |
---|---|
GNOME | gsettings |
i3 | feh |
KDE | qdbus |
X-Cinnamon | dconf |
MATE | dconf |
XFCE | xfconf-query |
LXDE | pcmanfm |
Deepin | dconf |
Here is the source code.
I have the same problem, my distribution is openSUSE Leap 15.4, KDE Plasma version 5.24.4.
The dependency for KDE is qdbus, at /usr/lib64/qt5/bin/qdbus
, has a symbolic link at /usr/bin/qdbus-qt5
.
But system's default PATH is $PATH=/usr/local/bin:/usr/bin:/bin
, when I run nasa-wallpaper, it can not find qdbus and will throw the error: No such file or directory. I create a new symbolic link in /usr/bin/
and nasa-wallpaper runs normally.
So maybe you can check the dependency for your desktop environment.
I changed the timezone (commit 8a2b79ed7961f51e904510c4b3b399f051a0cd8c) to Eastern Standard Time (EST), that it is the timezone where APOD is published (according to https://asterisk.apod.com/viewtopic.php?t=23771)
Also I updated the wallpaper crate to the latest version (commit c15c964f2b16fde21bd9a043537bccc0a0ce348b).
If possible, please check if the error has been solved (it has to be built from source, there is no release with the updates yet, in the following days I am going to publish new version). Thank you in advance.
Still persists for me. Using latest aur version nasa-wallpaper 2.1.0 on 6.11.4-arch1-1
env RUST_BACKTRACE=full nasa-wallpaper -n
thread 'main' panicked at src/main.rs:413:54:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0: 0x60f39ffdbee2 - <unknown>
1: 0x60f3a0005d7c - <unknown>
2: 0x60f39ffd8f9f - <unknown>
3: 0x60f39ffdbcb4 - <unknown>
4: 0x60f39ffdd2cb - <unknown>
5: 0x60f39ffdd023 - <unknown>
6: 0x60f39ffdd76d - <unknown>
7: 0x60f39ffdd642 - <unknown>
8: 0x60f39ffdc3b6 - <unknown>
9: 0x60f39ffdd374 - <unknown>
10: 0x60f39fc3a615 - <unknown>
11: 0x60f39fc3ab13 - <unknown>
12: 0x60f39fc43284 - <unknown>
13: 0x60f39fc4ebb3 - <unknown>
14: 0x60f39fc4d9b9 - <unknown>
15: 0x60f39ffd43d3 - <unknown>
16: 0x60f39fc44045 - <unknown>
17: 0x726cccf5ae08 - <unknown>
18: 0x726cccf5aecc - __libc_start_main
19: 0x60f39fc3acc5 - <unknown>
20: 0x0 - <unknown>
same for -a
Error: No such file or directory (os error 2)
@Corship What desktop environment and Linux distribution do you use? What is your timezone? In order to test it (for me it does work)
@davidpob99 Here the requested information:
Operating System: Arch Linux
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.4-arch1-1 (64-bit)
Graphics Platform: Wayland
My time zone is Berlin.
Hi,
I am currently using a fresh/updated Manjaro Gnome 18.0.4 installation.
I installed nasa-wallpaper from the AUR repo.
Here is what happens when I execute nasa-wallpaper with "nasa-wallpaper -a" :