Package Details: prayer-times 0.3.1-1

Git Clone URL: https://aur.archlinux.org/prayer-times.git (read-only, click to copy)
Package Base: prayer-times
Description: Islamic Prayer Times Informations and Notifications
Upstream URL: https://github.com/Yasso9/prayer-times
Licenses: MIT
Submitter: Yasso
Maintainer: Yasso
Last Packager: Yasso
Votes: 1
Popularity: 0.002141
First Submitted: 2024-01-20 18:58 (UTC)
Last Updated: 2024-05-26 14:19 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Yasso commented on 2024-04-02 17:47 (UTC)

Sorry for that, I've just issued a fix that should correct this build issue. You can build it normally now.

Korialo commented on 2024-04-01 18:47 (UTC) (edited on 2024-04-01 18:48 (UTC) by Korialo)

@Yasso

Did you have an internet connection actived ?

actually my ISP currently have shaky connection (maintenance, maybe?), so this could've been the issue, also my current command is:

prayer-times --madhab Hanafi --latitude 25 --longitude 55

also the toml config inside XDG_CONFIG_HOME/prayer-times also have been config'dXDG_CONFIG_HOME/prayer-times. Now v0.3.0 fails to build, so I didn't get to test it, any idea why?

Yasso commented on 2024-04-01 16:09 (UTC)

If you run the command without specifying longitude and latitude, and you have no internet connection to query your IP address, this will happen.

Did you have an internet connection actived ?

If you run this command for example : prayer-times --latitude 25 --longitude 55 it should work.

I will make a more verbose output and better error log to prevent this to happen.

Korialo commented on 2024-03-31 19:21 (UTC) (edited on 2024-03-31 20:39 (UTC) by Korialo)

Build fails with now v0.3.0:

thread 'main' panicked at src/config.rs:111:13:
No location provided in config file and impossible to get it automatically
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().
    Aborting...

EDIT: Full Trace

stack backtrace:
   0:     0x5c6a4969d3bc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h439f5508843e834f
   1:     0x5c6a496c6b80 - core::fmt::write::h405d81d52eb93041
   2:     0x5c6a4969a31d - std::io::Write::write_fmt::h72d90567ac71bf01
   3:     0x5c6a4969d194 - std::sys_common::backtrace::print::hd7199cb5ec847893
   4:     0x5c6a4969e8d7 - std::panicking::default_hook::{{closure}}::hb9bf5ef4ecd4fb1f
   5:     0x5c6a4969e639 - std::panicking::default_hook::h1133b8961109710c
   6:     0x5c6a4969ed68 - std::panicking::rust_panic_with_hook::hb551ecc452af7ef8
   7:     0x5c6a4969ec09 - std::panicking::begin_panic_handler::{{closure}}::h74a8b38872d3c500
   8:     0x5c6a4969d8d6 - std::sys_common::backtrace::__rust_end_short_backtrace::h88b81e4853955780
   9:     0x5c6a4969e994 - rust_begin_unwind
  10:     0x5c6a48d78105 - core::panicking::panic_fmt::h1439c41504986fbf
  11:     0x5c6a48d7c941 - prayer_times::config::Config::new::hadfc1e04c714dda0
                               at /build/prayer-times/src/prayer-times-0.3.0/src/config.rs:111:13
  12:     0x5c6a48dcecf1 - prayer_times::main::h625157c426cb8f05
                               at /build/prayer-times/src/prayer-times-0.3.0/src/main.rs:62:18
  13:     0x5c6a48d8a46b - core::ops::function::FnOnce::call_once::h63efc2a2b89449a5
                               at /usr/src/debug/rust/rustc-1.77.1-src/library/core/src/ops/function.rs:250:5
  14:     0x5c6a48db976e - std::sys_common::backtrace::__rust_begin_short_backtrace::h0ecee365347b9832
                               at /usr/src/debug/rust/rustc-1.77.1-src/library/std/src/sys_common/backtrace.rs:155:18
  15:     0x5c6a48d88621 - std::rt::lang_start::{{closure}}::h4edb735bffa1575b
                               at /usr/src/debug/rust/rustc-1.77.1-src/library/std/src/rt.rs:166:18
  16:     0x5c6a49693f00 - std::rt::lang_start_internal::h20470e6b261028cc
  17:     0x5c6a48d885fa - std::rt::lang_start::h5a094ee0caacecef
                               at /usr/src/debug/rust/rustc-1.77.1-src/library/std/src/rt.rs:165:17
  18:     0x5c6a48dcf62e - main
  19:     0x7c8f7da43cd0 - <unknown>
  20:     0x7c8f7da43d8a - __libc_start_main
  21:     0x5c6a48d789e5 - _start
  22:                0x0 - <unknown>

Korialo commented on 2024-03-31 18:58 (UTC)

@Yasso This issue disappeared after a while on it's own, I have no idea if prayer-times needs to connect to the internet or can it do this locally and offline, because nothing explain the temporary described issue, thanks for your response and for this package, much appreciated.

Yasso commented on 2024-03-31 11:42 (UTC)

Sorry for this very late response,

I just made an update to the package that fixed a lot of things. Just verify that you are not in 0.1.0 or 0.2.0 when running prayer-times -V.

Korialo commented on 2024-03-20 11:29 (UTC)

This package has been broken for couple of days now, with zeros for output, any idea why?

prayer-times --latitude 25 --longitude 55                                  
Starting Prayer Time Daemon
Waiting for next prayer...

Prayer times:
Adhan Fajr at 00:00:00
Adhan Dhuhr at 00:00:00
Adhan Asr at 00:00:00
Adhan Maghrib at 00:00:00
Adhan Isha at 00:00:00
Adhan Fajr in 00:00
Adhan Fajr at 00:00:00
Prayer time has passed
Sleeping...
Adhan Fajr in 00:00
Adhan Fajr at 00:00:00
Prayer time has passed
Sleeping...