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

"failed to load theme" logs despite it is a standard theme #3373

Closed
adsick opened this issue Aug 9, 2022 · 2 comments · Fixed by #3399
Closed

"failed to load theme" logs despite it is a standard theme #3373

adsick opened this issue Aug 9, 2022 · 2 comments · Fixed by #3399
Labels
A-theme Area: Theme and appearence related C-bug Category: This is a bug

Comments

@adsick
Copy link

adsick commented Aug 9, 2022

Summary

not a problem, but for some reason these "failed to load theme" messages appear in logs on every startup for standard themes, everything works fine.

sample:


2484   │ 2022-08-09T17:04:12.370 helix_view::theme [WARN] Theme: malformed hexcode: grey
2485   │ 2022-08-09T17:04:12.401 helix_view::theme [WARN] Theme: malformed hexcode: grey
2486   │ 2022-08-09T17:04:12.431 helix_view::theme [WARN] Theme: malformed hexcode: grey
2487   │ 2022-08-09T17:04:12.583 helix_view::theme [WARN] Theme: malformed hexcode: purple
2488   │ 2022-08-09T17:04:12.583 helix_view::theme [WARN] Theme: malformed hexcode: light-grey
2489   │ 2022-08-09T17:04:12.583 helix_view::theme [WARN] Theme: malformed hexcode: greay
2490   │ 2022-08-09T17:04:17.849 helix_view::theme [WARN] Theme: malformed hexcode: purple
2491   │ 2022-08-09T17:04:17.849 helix_view::theme [WARN] Theme: malformed hexcode: greay
2492   │ 2022-08-09T17:04:17.849 helix_view::theme [WARN] Theme: malformed hexcode: light-grey
2493   │ 2022-08-09T17:04:28.207 helix_view::theme [WARN] Theme: malformed hexcode: greay
2494   │ 2022-08-09T17:04:28.207 helix_view::theme [WARN] Theme: malformed hexcode: purple
2495   │ 2022-08-09T17:04:28.207 helix_view::theme [WARN] Theme: malformed hexcode: light-grey
2496   │ 2022-08-09T17:04:30.236 helix_view::theme [WARN] Theme: malformed hexcode: grey
2497   │ 2022-08-09T17:04:30.763 helix_view::theme [WARN] Theme: malformed hexcode: grey
2498   │ 2022-08-09T17:04:31.502 helix_view::theme [WARN] Theme: malformed hexcode: grey
2499   │ 2022-08-09T17:04:36.329 helix_view::theme [WARN] Theme: malformed hexcode: grey
2500   │ 2022-08-09T17:04:36.359 helix_view::theme [WARN] Theme: malformed hexcode: grey
2501   │ 2022-08-09T17:04:36.390 helix_view::theme [WARN] Theme: malformed hexcode: grey
2502   │ 2022-08-09T17:04:36.542 helix_view::theme [WARN] Theme: malformed hexcode: greay
2503   │ 2022-08-09T17:04:36.542 helix_view::theme [WARN] Theme: malformed hexcode: purple
2504   │ 2022-08-09T17:04:36.542 helix_view::theme [WARN] Theme: malformed hexcode: light-grey
2505   │ 2022-08-09T17:05:07.707 helix_view::theme [WARN] Theme: malformed hexcode: grey
2506   │ 2022-08-09T17:05:09.210 helix_view::theme [WARN] Theme: malformed hexcode: grey
2507   │ 2022-08-09T17:05:10.262 helix_view::theme [WARN] Theme: malformed hexcode: grey
2508   │ 2022-08-09T17:05:12.829 helix_view::theme [WARN] Theme: malformed hexcode: purple
2509   │ 2022-08-09T17:05:12.829 helix_view::theme [WARN] Theme: malformed hexcode: greay
2510   │ 2022-08-09T17:05:12.829 helix_view::theme [WARN] Theme: malformed hexcode: light-grey
2511   │ 2022-08-09T17:05:57.096 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
**2512   │ 2022-08-09T17:06:31.963 helix_term::application [WARN] failed to load theme `catppuccin-frappe` - No such file or directory (os error 2)**

Reproduction Steps

I tried this:

  1. hx

I expected this to happen:

Instead, this happened:

Helix log

No response

Platform

Linux

Terminal Emulator

alacritty 0.10.1

Helix Version

helix 22.05 (bf6f704)

@adsick adsick added the C-bug Category: This is a bug label Aug 9, 2022
@the-mikedavis the-mikedavis added the A-theme Area: Theme and appearence related label Aug 10, 2022
@n0s4
Copy link
Contributor

n0s4 commented Aug 11, 2022

Looks like this is for base16_transparent:

  • greay is a typo
  • light-grey should be light-gray
  • purple should be magenta

Do you want to open a pr to fix these?

@adsick
Copy link
Author

adsick commented Aug 11, 2022

Oh, yea, that's the issue 😄

the-mikedavis pushed a commit that referenced this issue Aug 12, 2022
AlexanderBrevig pushed a commit to AlexanderBrevig/helix that referenced this issue Aug 29, 2022
thomasskk pushed a commit to thomasskk/helix that referenced this issue Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-theme Area: Theme and appearence related C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants