astro icon indicating copy to clipboard operation
astro copied to clipboard

Error on OpenBSD 7.6-current

Open TheWanderer1983 opened this issue 1 year ago • 8 comments

./ereandel[179]: syntax error: `(' unexpected

TheWanderer1983 avatar Nov 19 '24 21:11 TheWanderer1983

Great to know ereandel has OpenBSD users!

Please share with me some of your configs:

  • shell
  • terminal
  • terminfo
  • whatever you think may help

Thanks

blmayer avatar Nov 20 '24 13:11 blmayer

Hello blmayer,

The shell is ksh. The terminal is DWM ST (st-256color). I'm running these via Xenodm in a DWM suckless environment. OpenBSD 7.6-Current.

TheWanderer1983 avatar Nov 23 '24 21:11 TheWanderer1983

Hello TheWanderer1983,

I tried ksh on st on dwm on archlinux, and could not get your error. Are you using ereandel's latest code? Can you check if using ereandel version from main also fails?

If it fails, please share what versions of the aforementioned programs are you using?

blmayer avatar Nov 24 '24 22:11 blmayer

This was tried on the github clone and on the latest release ereandel-0.26.1. Same error.

TheWanderer1983 avatar Nov 25 '24 00:11 TheWanderer1983

Hi, I was using the wrong shell, but I still can't get your result. I changed some suspect code. Can you please try with this latest commit?

Thanks in advance.

blmayer avatar Nov 25 '24 23:11 blmayer

Okay it now runs, but I can't go to anything. When I run it with example ./ereandel gemini://gemini.circumlunar.space I get the following:

Only gemini links are supported. Type a key to continue.

Only gemini links are supported. Type a key to continue.

Only gemini links are supported. Type a key to continue.

when I run it just as ./erennadel I get:

Page not found! Type a key to return to previous page.

TheWanderer1983 avatar Nov 26 '24 00:11 TheWanderer1983

Ereandel needs dd, od, tr, head, wc and sed, and maybe others.

Can you check if you have these tools installed?

Also please run debug=2 ereandel and debug=2 ereandel gemini://gemini.circumlunar.space and post the output.

Thanks

blmayer avatar Nov 26 '24 15:11 blmayer

dd, od, tr, head, wc and sed are installed.

debug=2 ereandel

DEBUG: read configs DEBUG: parsing: gemini.circumlunar.space/ oldhost: oldpath: DEBUG: url: gemini.circumlunar.space/ DEBUG: parsed: proto: gemini host: gemini.circumlunar.space port: 1965 path: gemini.circumlunar.space/ rest: DEBUG: requesting gemini://gemini.circumlunar.space:1965/gemini.circumlunar.space/ DEBUG: response status - meta: 51 - Not found! Page not found!

and

debug=2 ereandel gemini://gemini.circumlunar.space DEBUG: read configs DEBUG: parsing: gemini://gemini.circumlunar.space oldhost: oldpath: DEBUG: url: gemini.circumlunar.space DEBUG: parsed: proto: gemini:// host: gemini.circumlunar.space port: 1965 path: gemini.circumlunar.space rest: Only gemini links are supported. Type a key to continue.

TheWanderer1983 avatar Nov 26 '24 22:11 TheWanderer1983