-
-
Notifications
You must be signed in to change notification settings - Fork 651
[Bug]: custom theme does not seem to work #2671
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
Comments
Thanks @leonard-slass - I'll try and get a look this afternoon but will ping if I have any trouble reproducing! |
Hmm - I have tried this with the following settings:
and using atuin 18.4.0 (freshly downloaded from releases) and fish (I thought maybe that was the issue as I would not see a regression there perhaps). I am having some odd line overlap issue in fish, but that does not seem to be related. It seems to work OK: Config as aboveConfig without AlertError line
Keeping Without parent
Taking the line out of Without theme settingsRemoving the custom theme from
A couple of thoughts:
|
Hi Phil, Following your thoughts I have tried:
|
Couple more things I have tried:
I am out of ideas... |
Good thinking to try those - I am on gnome-terminal. Very puzzling! If you would be willing to try the branch on #2673, that might improve the debugging -- I will look at adding some more, but right now there are only a couple of messages available, stil it should help narrow it down! |
Hi, |
Hmm - if you are not seeing anything, even output from other atuin components, it feels like something odd more than the theme is going on :/ Just to try and further isolate this, could you try the attached script please? Essentially, it runs a docker container of the official atuin (server) image and sets up the config. Note that it does run as root inside the container, to minimize moving parts in this test, so feel free to adjust if you prefer.
The output should look like: As a side-note, there is something funny going on with the config paths as root, where the main config file is under /config, but the theme is looking at /root/.config/atuin - obviously, this is not a normal use-case, but makes me wonder if there are other circumstances where these do not align - will take a look. |
This highlighted that the themes do not use |
Hi, |
I am both fascinated and confused 😂 Sorry, that is not very helpful! However, the good news is that it works in the container, so it should be possible to bisect what is going on locally. Will get back with a couple of suggested steps! |
So, this suggests that the problem definitely within the atuin setup, at least. However, just to make 100% sure the atuin build is working as expected, could you try something like: https://gist.github.com/philtweir/087cb13d221ec4affa8b47ed288f1579 This version copies your env's atuin to Sorry this is taking a number of loops, but if there is something underlying this I just can't reproduce, it is probably affecting others, so really appreciate your patience :/ For reference, the point of scripting this, rather than a Dockerfile is to make it easier to reproduce the exact Arch setup steps if needed. |
OK, great - narrowing in. I have updated https://gist.github.com/philtweir/087cb13d221ec4affa8b47ed288f1579 to copy in your
|
Hi Phil, |
Thanks @leonard-slass - Just noticing, the first post has Either way though, making sure the debug is working and showing any loading problems is the next step, so I'll upload a Dockerfile to test the config later! |
This should be a fairly robust way of working around the logging:
Make sure you are happy with the steps it is doing - it is similar to the Dockerfile in the repo, but more like the script above, but the goal is getting debug output rather than replicating steps. Copy your atuin config (
That should give theme debug:
Sorry, typo - I meant making double-checking the environment variables match inside and outside the container with |
What did you expect to happen?
I have followed the instructions:
Relevant excerpt from
config.toml
:I was expecting to get the
autumn
theme with some color modified.What happened?
I got the default theme. Setting debug to true did not give me further information.
Atuin doctor output
Code of Conduct
The text was updated successfully, but these errors were encountered: