Giter VIP home page Giter VIP logo

Comments (4)

pad92 avatar pad92 commented on June 28, 2024

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

from nasa-wallpaper.

naviabbot avatar naviabbot commented on June 28, 2024

I think I'm facing the same issue. Attached is my backtrace, generated with
RUST_BACKTRACE=1 ./nasa-wallpaer -a 2> backtrace.txt

backtrace.txt

I'm running on Manjaro as well

Version Info:

rustc 1.43.0
nasa-wallpaper 2.0.0

from nasa-wallpaper.

stonespheres avatar stonespheres commented on June 28, 2024

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.

from nasa-wallpaper.

liwiwd avatar liwiwd commented on June 28, 2024

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.

from nasa-wallpaper.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.