Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start min the first time: no such file or directory #1

Closed
m040601 opened this issue Sep 19, 2020 · 2 comments
Closed

Start min the first time: no such file or directory #1

m040601 opened this issue Sep 19, 2020 · 2 comments

Comments

@m040601
Copy link

m040601 commented Sep 19, 2020

Thanks for your work on this tool.
I'm testing several clients for gemini.
So far I like it. Simple, uncomplicated text formats for bookmarks/history, good colors and you seem to have a good understanding of what sane and good keyboard defaults are.

Nice if you could support the XDG standard and have min
put its stuff in ~/.config/min instead of the home dir.

Nice, and very important, that you thought of releasing the precompiled binaries.

The first time one tries to run it, it doesnt' start, it complains:

Error loading history: open /home/USER/.min/history.tsv: no such file or directory

One needs to first explicitly create the config dir

mkdir ~/.min

The program then runs and automatically creates the config.ini and history.tsv

Seems to be working fine afterwards.
Testing both in x64 and armv6 (raspberry pi)

Additionally, on my Raspberry Pi 1.2 b (armv7h):

file ./min

ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=-6cHE7WyQ2x-ZvJ4Krdt/L5jZJZp3qJ8WtnI_3DtH/YGvvPxg3wqwhoqYkUKRz/Mp6_WOvgzmbR9kI0W9dA, strippedcat clorec

Please clarify in the README's that the binary you release as "armv6" should be ok (as I presume) to run on all raspberry pi's (zero, 1, 2, 3) except the PI 4.

@m040601 m040601 changed the title On first time run Error loading history: open /home/USER/.min/history.tsv: no such file or directory Start min the first time: no such file or directory Sep 19, 2020
@a-h a-h closed this as completed in 7403144 Sep 20, 2020
@a-h
Copy link
Owner

a-h commented Sep 20, 2020

Thanks so much for testing it out! I've got a few pis around the house including a Pi 4, so I'll give it a go on that and validate it.

I've fixed the configuration directory issue, thanks for pointing that out.

@a-h
Copy link
Owner

a-h commented Sep 20, 2020

I've just tested it on a Raspberry Pi Zero W (Raspbian) and Raspberry Pi 4 (running Ubuntu) that I have running around the house, both required the ARM v6 build. I've updated the README to clarify that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants