question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flavour could not be built or found

See original GitHub issue

Per our discussion in https://github.com/raiyanyahya/freshenv/discussions/29, having difficulty using the new custom flavors. fr version: 1.1.4 fr config

[myenv]
base=ubuntu
install=apt update -y && apt upgrade -y && apt install snapd
cmd=bash

Steps to repro

pipx upgrade freshenv
fr build config
# copied the boilerplate config into ~/.freshenv/freshenv
fr build myenv
fr -provision -f myenv

Output

λ fr -provision -f myenv
❌ Flavour could not be built or found.

Also tried fr provision -f myenv with the same results.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
raiyanyahyacommented, May 25, 2022

@pythoninthegrass Thank you so much for finding this bug. Turns out Jinja2 doesnt escape “&” automatically. I have fixed it and released a new version. Please continue the test and let me know how it goes.

Update to the latest version and run the below before testing again so that you have a clean setup.

  • Run fr clean --force

Remove containers which have exited.

  • docker rm $(docker ps -a -q)

  • fr build myenv

  • fr provision -f myenv

I will add better integration tests in the next release along with the cloud features. ❤️

Also when you install snapd with apt you need to pass in the -y flag 😃

1reaction
pythoninthegrasscommented, May 25, 2022

Thanks so much! Appreciate the quick response!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Openstack - Flavor <flavor id> could not be found · Issue #12440
Short-term fix would probably be to delete the flavor from the ManageIQ database; that should get things working right away. We'll work on...
Read more >
Ressource conflict/not found with flavors in android studio
i am playing around with flavors in Android studio, i made one demo and one full flavor, the sole difference beeing the demo...
Read more >
Product flavour/Flavour Dimensions in Android - ProAndroidDev
Navigate to build variants -> Now when you navigate to build variants section, you should be able to see build variants for both...
Read more >
How Smell and Taste Change as You Age
Cooked vegetables can have strong odors that may not be appealing. Drink lots of fluids, including water, weak tea, juice, and ginger ale....
Read more >
Genetics of Taste - News Medical
The perception of taste varies according to the genetic makeup of different individuals and this genetic influence on taste was discovered in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found