LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
139 stars 54 forks source link

Stuck when importing ecoinvent 3.9 #1340

Open KellyC-IBP opened 1 month ago

KellyC-IBP commented 1 month ago

Issue

Hi, I am trying to import ecoinvent 3.9 into activity browser, My database is downloaded on my computer, it is unyipped and I have made sure that I chose the 'datasets' folder. It was running smoothly at the extracting XML data step. But now it is stuck at 40% of Applying brightway2 strategies for over 30 minutes. Does it just take a longer time and should I just wait? No error message popped up so far, except for the file not found error in anaconda prompt window, how can I check if it is stuck?

Here are the screenshots, hope it helps clarify my problem image image

thank you

mrvisscher commented 1 month ago

Hi @KellyC-IBP,

Looks to me like the migrations for your project haven't been created. How did you set-up your project?

In any case, the following commands should hopefully resolve your issue

conda activate ab python import bw2io as bi import bw2data as bd bd.projects.set_current("EAF_avgSteel") # project name from error, please change if needed bi.create_core_migrations()

Kind regards,

Marin

KellyC-IBP commented 1 month ago

Hi Marin, thank you for your reply, it works now!