Skip to content

Error: "unhashable type: 'list'" when unfolding database imported #52

@WY-nn

Description

@WY-nn

When attempting to import a scenario database using the ScenarioLink plugin (version: 0.1.4) in Activity Browser, the following error occurs:
18:51:35 | INFO | Cache folder: C:\Users\SCT22632\AppData\Local\ActivityBrowser\ActivityBrowser\Cache
18:51:35 | INFO | File 14291145.zip already exists in cache.
The data package contains the following scenarios:
+-----+--------------------------+-----------------------------------------------------------------------------------------------+
| No. | Scenario | Description |
+-----+--------------------------+-----------------------------------------------------------------------------------------------+
| 0 | image - SSP1-Base - 2020 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2020, and external scenario . |
| 1 | image - SSP1-Base - 2025 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2025, and external scenario . |
| 2 | image - SSP1-Base - 2030 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2030, and external scenario . |
| 3 | image - SSP1-Base - 2035 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2035, and external scenario . |
| 4 | image - SSP1-Base - 2040 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2040, and external scenario . |
| 5 | image - SSP1-Base - 2045 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2045, and external scenario . |
| 6 | image - SSP1-Base - 2050 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2050, and external scenario . |
| 7 | image - SSP1-Base - 2060 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2060, and external scenario . |
| 8 | image - SSP1-Base - 2070 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2070, and external scenario . |
| 9 | image - SSP1-Base - 2080 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2080, and external scenario . |
| 10 | image - SSP1-Base - 2090 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2090, and external scenario . |
| 11 | image - SSP1-Base - 2100 | Prospective db, based on IMAGE, pathway SSP1-BASE, for the year 2100, and external scenario . |
+-----+--------------------------+-----------------------------------------------------------------------------------------------+

To unfold all scenarios, unfold().
To unfold a specific scenario, unfold(scenarios=[1,]).
Cannot find cached database. Will create one now for next time...
Getting activity data
100%|████████████████████████████████████████████████████████████████████████| 21238/21238 [00:00<00:00, 244745.04it/s]
Adding exchange data to activities
100%|███████████████████████████████████████████████████████████████████████| 674593/674593 [00:16<00:00, 40910.99it/s]
Filling out exchange data
100%|█████████████████████████████████████████████████████████████████████████| 21238/21238 [00:01<00:00, 13155.82it/s]
Cannot find cached database. Will create one now for next time...
Getting activity data
100%|█████████████████████████████████████████████████████████████████████████| 60012/60012 [00:00<00:00, 78564.85it/s]
Adding exchange data to activities
0it [00:00, ?it/s]
Filling out exchange data
100%|███████████████████████████████████████████████████████████████████████| 60012/60012 [00:00<00:00, 4798836.49it/s]
18:52:07 | ERROR | Failed to unfold database: unhashable type: 'list'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions