brightway-lca / brightway2-data

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.
https://docs.brightway.dev/
BSD 3-Clause "New" or "Revised" License
11 stars 24 forks source link

Unknown interruption of the assesment during writing to the database #137

Open SusSysEngi opened 1 year ago

SusSysEngi commented 1 year ago

Hello,

I am working on a project with a tcl program that executes LCA Brightway@ scripts for ReCiPe Midpoint (H) V1.13', 'climate change', 'GWP100' and ReCiPe Midpoint (H) V1.13', 'metal depletion', 'MDP'.

The program stops working with this error code but I spent some much time to identify the problem but I still don't know what causes this. At least, I would like to know where I should look identify the error cause.

Extracted 1 worksheets in 0.04 seconds Extracted 1 worksheets in 0.04 seconds Applying strategy: csv_restore_tuples Applying strategy: csv_restore_booleans Applying strategy: csv_numerize Applying strategy: csv_drop_unknown Applying strategy: csv_add_missing_exchanges_section Applying strategy: normalize_units Applying strategy: normalize_biosphere_categories Applying strategy: normalize_biosphere_names Applying strategy: strip_biosphere_exc_locations Applying strategy: set_code_by_activity_hash Applying strategy: link_iterable_by_fields Applying strategy: assign_only_product_as_production Applying strategy: link_technosphere_by_activity_hash Applying strategy: drop_falsey_uncertainty_fields_but_keep_zeros Applying strategy: convert_uncertainty_types_to_integers Applying strategy: convert_activity_parameters_to_list Applied 16 strategies in 11.64 seconds Applying strategy: link_iterable_by_fields Applying strategy: link_iterable_by_fields Applying strategy: link_iterable_by_fields 8 datasets 45 exchanges 0 unlinked exchanges

Title: Writing activities to SQLite3 database: Started: 05/15/2023 13:54:41 Finished: 05/15/2023 13:54:41 Total time elapsed: 00:00:00 CPU %: 0.00 Memory %: 0.25 Created database: AM_example Writing activities to SQLite3 database:

0% [# ] 100% | ETA: 00:00:01 0% [## ] 100% | ETA: 00:00:01 0% [### ] 100% | ETA: 00:00:01 0% [#### ] 100% | ETA: 00:00:01 0% [##### ] 100% | ETA: 00:00:01 0% [###### ] 100% | ETA: 00:00:01 0% [####### ] 100% | ETA: 00:00:01 0% [########] 100% | ETA: 00:00:01 0% [########] 100% | ETA: 00:00:01 Total time elapsed: 00:00:00 while executing "exec $python "$python_script" {*}$argv" (procedure "getData" line 175) invoked from within "getData $C [lindex $VolumeBasis 0]" invoked from within "set valueX [getData $C [lindex $VolumeBasis 0]]" (file "filename/program.tcl" line 4320)