activity-browser
activity-browser copied to clipboard
Cannot change parameters
I cannot change values for parameters in my project. Every time I try to change a parameter's value I get the following pop-up:
I am using the development version and have the latest version installed.
Setting up a scenario file and change parameters there for a scenario LCA does work.
This is a duplicate of #618.
Unfortunately, parameters are rather unstable. Somewhere, somehow, AB lost track of a parameter that it still thinks exists, and it will keep giving this error indefinitely. The fastest workaround is to export the database and create a new project to continue in that.
Parameters are high on the list to get some proper attention, but it will be a while unfortunately.
Sorry for your trouble.
I fixed this kind of problem by deleting the activity parameter group creating issues from the different tables of the parameters.db file.
To access that database -> C:/Users/YOUR_USERNAME/AppData/Local/pylca/Brightway3/
and then select the folder of your bw project. The AppData
folder is hidden by default, but you can navigate to it by pasting it in the address bar of your file explorer.
You can read the parameters.db file using this program: https://sqlitebrowser.org/
Then you delete the parameter group causing the issue using a simple SQL statement: