Package Details: reddio-git 0.45.r0.185d044-1

Git Clone URL: https://aur.archlinux.org/reddio-git.git (read-only, click to copy)
Package Base: reddio-git
Description: A command-line interface for Reddit written in POSIX sh
Upstream URL: https://gitlab.com/aaronNG/reddio
Keywords: CLI minimal POSIX reddit shell
Licenses: custom:MIT
Conflicts: reddio
Provides: reddio
Submitter: Kr1ss
Maintainer: Kr1ss
Last Packager: Kr1ss
Votes: 2
Popularity: 0.000018
First Submitted: 2019-08-23 18:03 (UTC)
Last Updated: 2021-03-22 22:59 (UTC)

Dependencies (5)

Required by (1)

Sources (2)

Latest Comments

Kr1ss commented on 2019-09-03 13:17 (UTC)

The author has just fixed this upstream @jezza. :)

jezza commented on 2019-08-24 14:04 (UTC)

Thanks again! It works now, so you were spot on. Also thanks for submitting the Gitlab ticket. All happy now! :-)

Kr1ss commented on 2019-08-24 13:31 (UTC)

Well thx for reporting that.

After some debugging, I figured you'd likely be using some locale where the "decimal point" is not an actual dot, but likely something like e.g. a comma (at least this was a way for me to reproduce the error on my end). For example in the german locale, decimal numbers are represented as 1,23, as opposed to 1.23.

This can cause two certain printf statements in the script to fail in the way that you experienced.

For the time being I modified the package to use the default locale for the according statements, and the user defined one everywhere else. I will also submit a ticket to the Gitlab repo though, since it would be much better to have this fixed upstream.

For now, you should be good without taking any further action (except updating), but please report back in case there are still issues for you.

jezza commented on 2019-08-24 10:32 (UTC) (edited on 2019-08-24 10:33 (UTC) by jezza)

Thank you! I removed reddio-git and its dependencies, then deleted ~/.cache/yay/reddio-git. This time, I installed reddio-git manually with makepkg. When I now run 'reddio', I get this:

/usr/share/reddio/pretty-time.sh: line 47: printf: 4.89: invalid number

Looking in that file, I see this:

printf '%.1f %ss ago\n' $_int.$_frac $2

I am not knowledgeable enough to fix this though. Thanks for your help!

Kr1ss commented on 2019-08-24 09:43 (UTC)

Thanks for your comment. Actually, you shouldn't need to set the environment variable, nor the setting in the config file. Could u pls try again without setting any of these and report back if it works ? I'm currently not at my box, but I'll look into this when I'm back home later today.

jezza commented on 2019-08-23 22:35 (UTC)

Very promising cli app (I watched DistroTube's video on it), but following the GitLab README.md regarding setting the location of the library directory by either using environment variable or setting the lib_dir in $HOME/.config/reddio/config hasn't made it work for me. Am I overlooking something?

Thank you for looking into this and for your comments.