Comments (19)
I guess this works for now :S
cd "~/Library/Application Support/flavours/base16"
gsed -i '/aram/d' sources/schemes/list.yaml
flavours update templates
flavours update schemes
from flavours.
Have the same problem and ^ these fixes doesn't seem to help.
flavours update schemes
is what is giving the error. And I feel stuck not being able to use the program in any way. Really want to, though.
It seems that a few of the scheme sources are no longer available, breaking the update process.
Specifically ia: https://github.com/aramisgithub/base16-ia-scheme
and solarized: https://github.com/aramisgithub/base16-solarized-scheme
.
(When trying to access the github I only get a 404.)
Fixing this should be as easy as commenting both out in $XDG_DATA_HOME/flavours/base16/sources/schemes/list.yml
.
(Where $XDG_DATA_HOME
defaults to $HOME/.local/share
, so $HOME/.local/share/flavours/base16/sources/schemes/list.yml
.)
Though if you use flavours update list
, (or flavours update all
, which internally calls this,) you will have to modify it again.
from flavours.
btw the latest release does not include the latest commit, also you do not offer instructions to install from source so I do not know how to go about that
from flavours.
Uhg I guess these are the culprits
https://github.com/chriskempson/base16-schemes-source/blob/main/list.yaml#L37-L66
from flavours.
also I have to pass in the config path or it wont find it:
flavours apply nord
Error: Couldn't get items from config file. Check the default file or github for config examples.
flavours --config ~/.config/flavours/config.toml apply nord
:ok
from flavours.
Re last comment:
I had to pass in --config
because XDG_CONFIG_HOME
was not available, a better error message would be helpful :)
from flavours.
Have the same problem and ^ these fixes doesn't seem to help.
flavours update schemes
is what is giving the error. And I feel stuck not being able to use the program in any way. Really want to, though.
from flavours.
Yeah I guess this worked for the schemes to update. Still when trying to apply any scheme it tells me there are no .mustache files in the .config/flavours/templates"..."
folder. Even though every folder has a "template.yaml" file. Must have configured something wrong I guess.
from flavours.
Just got hit by this, also building from source.
Project seems unmaintained how unfortunate. May have to maintain this locally.
from flavours.
Just got hit by this, also building from source.
Project seems unmaintained how unfortunate. May have to maintain this locally.
I mean flavours
uses https://github.com/chriskempson/base16-schemes-source as default source for schemes, which is kind of badly maintained.
See:
flavours/src/operations/update.rs
Line 48 in 884dadc
from flavours.
Just got hit by this, also building from source.
Project seems unmaintained how unfortunate. May have to maintain this locally.I mean
flavours
uses https://github.com/chriskempson/base16-schemes-source as default source for schemes, which is kind of badly maintained.See:
Indeed, ideally this external list should be forked and under flavours control (considering a simple 404 on this list breaks initial setup here!) or simply integrated into flavours however I see the author was made aware of this quite some time ago and seems uninterested?
Would a PR be merged?
from flavours.
Indeed, ideally this external list should be forked and under flavours control (considering a simple 404 on this list breaks initial setup here!)
You can actually do that yourself! While it is not really documented, you can override the default by either
- setting
schemes
/templates
in theconfig.toml
- setting
schemes
/templates
in$XDG_DATA_HOME/flavours/base16/sources.yaml
(defaults to$HOME/.local/share/flavours/base16/sources.yaml
)
See the get_sources
function:
flavours/src/operations/update.rs
Lines 46 to 98 in 884dadc
Otherwise it might be a good idea to have something like --ignore-errors
, which ignores errors like the 404
and just does what it can.
or simply integrated into flavours however I see the author was made aware of this quite some time ago and seems uninterested?
In my opinion that would be kind of out of scope for flavours
.
Having functionality to configure where the sources come from. Sure.
Managing the sources itself. Not really.
Would a PR be merged?
I can't speak for the maintainer, but I would guess that while it might take a while, that yes.
from flavours.
Indeed, ideally this external list should be forked and under flavours control (considering a simple 404 on this list breaks initial setup here!)
You can actually do that yourself! While it is not really documented, you can override the default by either
* setting `schemes`/`templates` in the `config.toml` * setting `schemes`/`templates` in `$XDG_DATA_HOME/flavours/base16/sources.yaml` (defaults to `$HOME/.local/share/flavours/base16/sources.yaml`)
See the
get_sources
function:Otherwise it might be a good idea to have something like
--ignore-errors
, which ignores errors like the404
and just does what it can.or simply integrated into flavours however I see the author was made aware of this quite some time ago and seems uninterested?
In my opinion that would be kind of out of scope for
flavours
. Having functionality to configure where the sources come from. Sure. Managing the sources itself. Not really.Would a PR be merged?
I can't speak for the maintainer, but I would guess that while it might take a while, that yes.
Ofcourse it can be done by oneself. That's not the issue.
The issue is that new users are being hit with this upon install, and spending who knows how long figuring it out.
Then hacking their way around it to get it working.
The correct solution is as I stated previously.
It's a very quick 'fix' - for an otherwise interesting project seems odd the author hasn't done so or nominated someone else.
Nb. not intended to be an attack on the author. We are free to fork and whatnot and thanks for your work thus far.
from flavours.
Related Issues (20)
- info fails to parse non-existent scheme HOT 2
- Configure alacritty with more specific colors ? HOT 3
- Add to Alpine package repository
- Modify sources HOT 2
- Error pulling from github HOT 1
- Error updating after installation HOT 3
- (docs) should mention that you support Base24 as well HOT 2
- Publish package on Homebrew HOT 3
- AUR package cannot find templates in config path HOT 3
- Select subtemplate based on scheme HOT 1
- Why dunstrc template is defined using base16_{low,normal,critical} and not urgency_{low,normal,critical}?
- Error when ~/.local/share/flavours does not exist
- More descriptive error messages
- Sources have repos that no longer exist HOT 11
- HSL not supported by the builder? HOT 1
- Specify configuration directory through an environment variable HOT 4
- Automatically determine dark/light theme from theme colors HOT 1
- Replace between start and end no longer works with version 0.7.0 HOT 2
- Broken path for custom themes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flavours.