-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
betaIssues related to the Activity Browser 3 BetaIssues related to the Activity Browser 3 Beta
Description
What do you want to report?
The following message appears when doing a scenario LCA using a superstructure database.
Application version: 3.0.0b1163
bw2data version: 4.5.1
bw2io version: 2.2.2
bw2calc version: 0.9.11
Relevant errors
02:04:27 | INFO | <function SuperstructureManager.check_scenario_exchange_values at 0x000001F711620040> -- 0.015303850173950195
02:04:29 | INFO | <function SuperstructureManager.merge_flows_to_self at 0x000001F711607A60> -- 1.4999103546142578
02:04:31 | DEBUG | open file: C:/Users/sweerasi/AppData/Local/pylca/Brightway3/ecoinvent-311-cutoff.48ac3d3e/processed/biosphere-311.c31527c4.zip
02:04:31 | DEBUG | open file: C:/Users/sweerasi/AppData/Local/pylca/Brightway3/ecoinvent-311-cutoff.48ac3d3e/processed/super_db_05-12-2025.be325719.zip
02:04:31 | DEBUG | open file: C:/Users/sweerasi/AppData/Local/pylca/Brightway3/ecoinvent-311-cutoff.48ac3d3e/processed/ipcc-2021cg.b7e40ada75432fee257e97a013cc0869.zip
02:04:31 | INFO | Initialized LCA object. Demand: {255283747610030080: 1}, data_objs: [<bw_processing.datapackage.Datapackage object at 0x000001F79BD38D10>, <bw_processing.datapackage.Datapackage object at 0x000001F789440E50>, <bw_processing.datapackage.Datapackage object at 0x000001F79BFCE890>]
02:04:31 | DEBUG | open file: C:/Users/sweerasi/AppData/Local/pylca/Brightway3/ecoinvent-311-cutoff.48ac3d3e/processed/ipcc-2021cg.b7e40ada75432fee257e97a013cc0869.zip
02:04:31 | INFO | Switched LCIA method. data_objs: [<bw_processing.datapackage.Datapackage object at 0x000001F789404A50>]
02:04:37 | ERROR | TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback (most recent call last):
File "C:\Users\sweerasi\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\layouts\pages\calculation_setup\calculation_setup.py", line 89, in run_calculation
actions.CSCalculate.run(self.calculation_setup_name, scenario_data)
File "C:\Users\sweerasi\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\actions\base.py", line 59, in wrapper
raise e
File "C:\Users\sweerasi\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\actions\base.py", line 49, in wrapper
func(*args, **kwargs)
File "C:\Users\sweerasi\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\actions\calculation_setup\cs_calculate.py", line 47, in run
mlca = bwutils.SuperstructureMLCA(cs_name, scenario_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sweerasi\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\bwutils\superstructure\mlca.py", line 81, in __init__
self.indices_to_matrix()
File "C:\Users\sweerasi\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\bwutils\superstructure\mlca.py", line 143, in indices_to_matrix
self.matrix_indices[i] = convert(index)
~~~~~~~~~~~~~~~~~~~^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'Version
No response
Installation method
PyPI (pip)
Operating system
Windows 11
Metadata
Metadata
Assignees
Labels
betaIssues related to the Activity Browser 3 BetaIssues related to the Activity Browser 3 Beta