You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently facing an issue with the brightway2 package, when running the command agb_importer.write_database() to set up the database. The error I encounter is:
Traceback (most recent call last):
File "/home/tu/git-repo/LCAI-API/setup/main.py", line 253, in <module>
main()
File "/home/tu/git-repo/LCAI-API/setup/main.py", line 160, in main
agb_importer.write_database()
File "/home/tu/.local/lib/python3.10/site-packages/bw2io/importers/simapro_csv.py", line 103, in write_database
db = super(SimaProCSVImporter, self).write_database(data, name, *args, **kwargs)
File "/home/tu/.local/lib/python3.10/site-packages/bw2io/importers/base_lci.py", line 242, in write_database
duplicates.append(o["name"])
KeyError: 'name'
This setup involves using the CSV version of Agribalyse for data. The command works fine on my and my coworkers local machines (One windows user, on mac user) and has worked in Docker in the past. We haven't changed anything since than. However, now it throws an error in the Docker environment and on other servers. We've ensured that the Python version and package versions are identical across setups (see requirements.txt).
What could be causing this discrepancy between environments, and how might I resolve it? We would really appreciate any kind of tipp or idea on how to make it run again.
The text was updated successfully, but these errors were encountered:
I'm currently facing an issue with the brightway2 package, when running the command
agb_importer.write_database()
to set up the database. The error I encounter is:This setup involves using the CSV version of Agribalyse for data. The command works fine on my and my coworkers local machines (One windows user, on mac user) and has worked in Docker in the past. We haven't changed anything since than. However, now it throws an error in the Docker environment and on other servers. We've ensured that the Python version and package versions are identical across setups (see requirements.txt).
requirements.txt
What could be causing this discrepancy between environments, and how might I resolve it? We would really appreciate any kind of tipp or idea on how to make it run again.
The text was updated successfully, but these errors were encountered: