[GH-ISSUE #52] v0.8.0 crashes on startup, fails to create log file #18

Closed
opened 2026-03-14 12:24:27 +03:00 by kerem · 3 comments
Owner

Originally created by @herbygillot on GitHub (Dec 14, 2021).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/52

Originally assigned to: @aome510 on GitHub.

thread 'main' panicked at 'failed to create application's log file: No such file or directory (os error 2)', hackernews_tui/src/main.rs:132:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace`

It's crashing because the $HOME/.cache directory does not exist, which is where it wants to create the log file.

After doing:

$ mkdir ~/.cache

...v0.8.0 starts up without issues.

Originally created by @herbygillot on GitHub (Dec 14, 2021). Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/52 Originally assigned to: @aome510 on GitHub. ``` thread 'main' panicked at 'failed to create application's log file: No such file or directory (os error 2)', hackernews_tui/src/main.rs:132:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace` ``` It's crashing because the `$HOME/.cache` directory does not exist, which is where it wants to create the log file. After doing: ```bash $ mkdir ~/.cache ``` ...`v0.8.0` starts up without issues.
kerem 2026-03-14 12:24:27 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Dec 14, 2021):

hi @herbygillot. Thanks for reporting.

This should be fixed in github.com/aome510/hackernews-TUI@be6b431b97. Will release a new version (0.8.1) shortly with the fix.

<!-- gh-comment-id:993707618 --> @aome510 commented on GitHub (Dec 14, 2021): hi @herbygillot. Thanks for reporting. This should be fixed in https://github.com/aome510/hackernews-TUI/commit/be6b431b975839e15bf703beee2bab7348095bac. Will release a new version (`0.8.1`) shortly with the fix.
Author
Owner

@herbygillot commented on GitHub (Dec 15, 2021):

OK, fix confirmed. BTW, hackernews-tui is available via MacPorts: https://ports.macports.org/port/hackernews-tui/

That's an option for those who want to install it on macOS.

<!-- gh-comment-id:994576658 --> @herbygillot commented on GitHub (Dec 15, 2021): OK, fix confirmed. BTW, `hackernews-tui` is available via MacPorts: https://ports.macports.org/port/hackernews-tui/ That's an option for those who want to install it on macOS.
Author
Owner

@aome510 commented on GitHub (Dec 15, 2021):

@herbygillot thanks for confirming and mentioning MacPorts. Added a new method to README!

<!-- gh-comment-id:995014173 --> @aome510 commented on GitHub (Dec 15, 2021): @herbygillot thanks for confirming and mentioning MacPorts. Added a new method to `README`!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hackernews-TUI#18
No description provided.