👽 gnuserland

@lykso I beg pardon for my behavior, but you once was so kind to prepare me a modified gemlog.sh script suitable for FreeBSD.

The link expired because it took me too much time to test it out. Would you still be so kind to share that script with me?

🙏

2 years ago

Actions

👋 Join Station

15 Replies

👽 gnuserland

@lykso looks like something wrong happened with the atom.xml file. Not sure if happened before or after the patch but I received an email from @ew0k kindly alerting me that something weird was happening with that XML file.

I left the poor @op @op2 looking for a fix... 😇 · 2 years ago

👽 lykso

Fair. TBH, half my reason for leaving that comment was as a note to people who might read this thread in the future (myself included). :) · 2 years ago

👽 gnuserland

@lykso I do not understand those stuff but I am glad were fixed, I was publishing from Linux rather than FreeBSD... 😅 · 2 years ago

👽 lykso

Ah, I see. The regexes were the issue. Good to know!

https://git.sr.ht/~nytpu/gemlog.sh/commit/29bb66b3beccce40d4e7ea38d6848d176b8595a1 · 2 years ago

https://git.sr.ht/~nytpu/gemlog.sh/commit/29bb66b3beccce40d4e7ea38d6848d176b8595a1

👽 lykso

Awesome. Looking forward to seeing what the trouble was! :D · 2 years ago

👽 gnuserland

@lykso @op or @op2 created a patch! He will send it to @nytpu

YO!!! · 2 years ago

👽 lykso

I'm having trouble reproducing the error on my OpenBSD box. I would guess that the call to "cat" on line 50 is somehow getting passed a string that doesn't correspond to a file (either an empty string or a string containing whitespace, by the looks of it), but I'm not sure how that would happen.

I would try making an empty gemlog directory and then copying the files from your original gemlog into it until you figure out which filename (if any) is causing the problem. Let me know what you find! · 2 years ago

👽 gnuserland

@lykso last message... :D

I think I had all the dependencies now but still doesn't work... :( · 2 years ago

👽 gnuserland

@lykso "SED" found is "GSED"... · 2 years ago

👽 gnuserland

@lykso am I missing any dependencies?

sh
perl
date
tr
sed

Sure I have "sh", "perl", "date", not sure about: "tr" and "sed"... · 2 years ago

👽 gnuserland

@lykso I still have problem with FreeBSD...

I got this error now...

Bulding atom feed...
Building index...
cat: : No such file or directory

It looks doesn't recognize some folders but without any reference I couldn't understand where it got stuck... :( · 2 years ago

👽 gnuserland

dumb myself... 🤦‍♂️ · 2 years ago

👽 lykso

I realize now that I probably never got the notification a week ago because mentions are case-sensitive. 😅 · 2 years ago

👽 gnuserland

Oh nice... 👍 · 2 years ago

👽 lykso

Sorry, I see you also tried to contact me a week ago. The file's long gone, but my changes were merged in upstream. ~nytpu's script should work for you now: https://git.sr.ht/~nytpu/gemlog.sh/blob/master/gemlog.sh · 2 years ago

https://git.sr.ht/~nytpu/gemlog.sh/blob/master/gemlog.sh