Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still can't use ecoinvent 3.10 by logging in credentials #1422

Open
1 task done
handsomejems opened this issue Dec 19, 2024 · 0 comments
Open
1 task done

Still can't use ecoinvent 3.10 by logging in credentials #1422

handsomejems opened this issue Dec 19, 2024 · 0 comments
Labels
bug Issues/PRs related to bugs

Comments

@handsomejems
Copy link

Updating AB

  • Yes, I have updated AB and still experience this issue

What happened?

I just recently installed AB using anaconda and if I understand it correctly, 2.10 AB already support ecoinvent 3.10 so I tried to import ecoinvent 3.10 using login credentials, but then there's an error (as attached below). I saw someone experienced the same issue previously (#1240), yet I already logged in into the new ecoinvent website, so I'm not sure what's wrong with this. Thank you in advance for the help!

Relevant errors

16:13:06 | ERROR | TypeError: string indices must be integers, not 'str'
Traceback (most recent call last):
  File "C:\Users\P70094004\AppData\Local\anaconda3\envs\ab\Lib\site-packages\activity_browser\ui\wizards\project_setup_wizard.py", line 149, in validatePage
    release.list_versions()
  File "C:\Users\P70094004\AppData\Local\anaconda3\envs\ab\Lib\site-packages\ecoinvent_interface\core.py", line 284, in list_versions
    return [obj["version_name"] for obj in self._get_all_files()]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\P70094004\AppData\Local\anaconda3\envs\ab\Lib\site-packages\ecoinvent_interface\core.py", line 284, in <listcomp>
    return [obj["version_name"] for obj in self._get_all_files()]
            ~~~^^^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'

Operating system

Windows 11

Conda environment

# packages in environment at C:\Users\P70094004\AppData\Local\anaconda3\envs\ab:
#
# Name                    Version                   Build  Channel
_openmp_mutex             4.5                       2_gnu    conda-forge
activity-browser          2.10.3             pyhd8ed1ab_1    conda-forge
annotated-types           0.7.0              pyhd8ed1ab_1    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
arrow                     1.3.0              pyhd8ed1ab_0    conda-forge
asteval                   1.0.5              pyhd8ed1ab_0    conda-forge
astunparse                1.6.3              pyhd8ed1ab_2    conda-forge
blinker                   1.9.0              pyhff2d567_0    conda-forge
brightway2                2.4.6              pyhd8ed1ab_0    conda-forge
brotli                    1.1.0                h2466b09_2    conda-forge
brotli-bin                1.1.0                h2466b09_2    conda-forge
brotli-python             1.1.0           py311hda3d55a_2    conda-forge
brotlicffi                1.1.0.0         py311hda3d55a_2    conda-forge
bw2analyzer               0.10               pyhd8ed1ab_0    conda-forge
bw2calc                   1.8.2           py311h1ea47a8_0    conda-forge
bw2data                   3.6.6              pyhd8ed1ab_0    conda-forge
bw2io                     0.8.12             pyhd8ed1ab_0    conda-forge
bw2parameters             1.1.0              pyhd8ed1ab_0    conda-forge
bw_migrations             0.2                pyhd8ed1ab_0    conda-forge
bzip2                     1.0.8                h2466b09_7    conda-forge
ca-certificates           2024.12.14           h56e8100_0    conda-forge
certifi                   2024.12.14         pyhd8ed1ab_0    conda-forge
cffi                      1.17.1          py311he736701_0    conda-forge
charset-normalizer        3.4.0              pyhd8ed1ab_1    conda-forge
click                     8.1.7           win_pyh7428d3b_1    conda-forge
colorama                  0.4.6              pyhd8ed1ab_1    conda-forge
contourpy                 1.3.1           py311h3257749_0    conda-forge
cycler                    0.12.1             pyhd8ed1ab_0    conda-forge
dill                      0.3.9              pyhd8ed1ab_1    conda-forge
docopt                    0.6.2                      py_1    conda-forge
ecoinvent_interface       2.4.1              pyhd8ed1ab_0    conda-forge
eidl                      2.0.1              pyhd8ed1ab_0    conda-forge
eight                     1.0.1              pyhd8ed1ab_4    conda-forge
et_xmlfile                2.0.0              pyhd8ed1ab_0    conda-forge
fasteners                 0.17.3             pyhd8ed1ab_0    conda-forge
flask                     3.1.0              pyhff2d567_0    conda-forge
fonttools                 4.55.1          py311h5082efb_0    conda-forge
freetype                  2.12.1               hdaf720e_2    conda-forge
future                    1.0.0              pyhd8ed1ab_0    conda-forge
glib                      2.82.2               h7025463_0    conda-forge
glib-tools                2.82.2               h4394cf3_0    conda-forge
gst-plugins-base          1.24.7               hb0a98b8_0    conda-forge
gstreamer                 1.24.7               h5006eae_0    conda-forge
h2                        4.1.0              pyhd8ed1ab_1    conda-forge
hpack                     4.0.0              pyhd8ed1ab_1    conda-forge
hyperframe                6.0.1              pyhd8ed1ab_1    conda-forge
icu                       75.1                 he0c23c2_0    conda-forge
idna                      3.10               pyhd8ed1ab_1    conda-forge
importlib-metadata        8.5.0              pyha770c72_1    conda-forge
importlib_metadata        8.5.0                hd8ed1ab_1    conda-forge
inflate64                 1.0.0           py311he736701_2    conda-forge
intel-openmp              2024.2.1          h57928b3_1083    conda-forge
itsdangerous              2.2.0              pyhd8ed1ab_1    conda-forge
jinja2                    3.1.4              pyhd8ed1ab_1    conda-forge
kiwisolver                1.4.7           py311h3257749_0    conda-forge
krb5                      1.21.3               hdf4eb48_0    conda-forge
lcms2                     2.16                 h67d730c_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libblas                   3.9.0              25_win64_mkl    conda-forge
libbrotlicommon           1.1.0                h2466b09_2    conda-forge
libbrotlidec              1.1.0                h2466b09_2    conda-forge
libbrotlienc              1.1.0                h2466b09_2    conda-forge
libcblas                  3.9.0              25_win64_mkl    conda-forge
libclang13                19.1.4          default_ha5278ca_0    conda-forge
libdeflate                1.22                 h2466b09_0    conda-forge
libexpat                  2.6.4                he0c23c2_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libgcc                    14.2.0               h1383e82_1    conda-forge
libglib                   2.82.2               h7025463_0    conda-forge
libgomp                   14.2.0               h1383e82_1    conda-forge
libhwloc                  2.11.2          default_ha69328c_1001    conda-forge
libiconv                  1.17                 hcfcfb64_2    conda-forge
libintl                   0.22.5               h5728263_3    conda-forge
libintl-devel             0.22.5               h5728263_3    conda-forge
libjpeg-turbo             3.0.0                hcfcfb64_1    conda-forge
liblapack                 3.9.0              25_win64_mkl    conda-forge
libogg                    1.3.5                h2466b09_0    conda-forge
libpng                    1.6.44               h3ca93ac_0    conda-forge
libsqlite                 3.47.0               h2466b09_1    conda-forge
libtiff                   4.7.0                hfc51747_1    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libwebp                   1.4.0                h2466b09_0    conda-forge
libwebp-base              1.4.0                hcfcfb64_0    conda-forge
libwinpthread             12.0.0.r4.gg4f2fc60ca      h57928b3_8    conda-forge
libxcb                    1.17.0               h0e4246c_0    conda-forge
libxml2                   2.13.5               h442d1da_0    conda-forge
libxslt                   1.1.39               h3df6e99_0    conda-forge
libzlib                   1.3.1                h2466b09_2    conda-forge
lxml                      4.9.3           py311h750ae06_3    conda-forge
lxmlh                     1.3.3              pyhd8ed1ab_0    conda-forge
markupsafe                3.0.2           py311h5082efb_1    conda-forge
matplotlib-base           3.9.3           py311h8f1b1e4_0    conda-forge
mkl                       2024.2.2            h66d3029_14    conda-forge
mrio_common_metadata      0.2.1              pyhd8ed1ab_0    conda-forge
multiprocess              0.70.17         py311he736701_1    conda-forge
multivolumefile           0.2.3              pyhd8ed1ab_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
networkx                  3.4.2              pyh267e887_2    conda-forge
numpy                     1.26.4          py311h0b4df5a_0    conda-forge
openjpeg                  2.5.2                h3d672ee_0    conda-forge
openpyxl                  3.1.5           py311ha68e1ae_1    conda-forge
openssl                   3.4.0                h2466b09_0    conda-forge
packaging                 24.2               pyhd8ed1ab_2    conda-forge
pandas                    2.2.3           py311hcf9f919_1    conda-forge
pathos                    0.3.3              pyhd8ed1ab_0    conda-forge
patsy                     1.0.1              pyhff2d567_0    conda-forge
pcre2                     10.44                h3d7b363_2    conda-forge
peewee                    3.17.7          py311h1eea93c_0    conda-forge
pillow                    11.0.0          py311h4fbf6a9_0    conda-forge
pint                      0.21               pyhd8ed1ab_0    conda-forge
pip                       24.3.1             pyh8b19718_0    conda-forge
platformdirs              4.3.6              pyhd8ed1ab_1    conda-forge
pox                       0.3.5              pyhd8ed1ab_0    conda-forge
ppft                      1.7.6.9            pyhd8ed1ab_0    conda-forge
psutil                    6.1.0           py311he736701_0    conda-forge
pthread-stubs             0.4               h0e40799_1002    conda-forge
py7zr                     0.22.0             pyhd8ed1ab_0    conda-forge
pybcj                     1.0.2           py311he736701_1    conda-forge
pycasreg                  0.1.0              pyhd8ed1ab_0    conda-forge
pycparser                 2.22               pyh29332c3_1    conda-forge
pycryptodomex             3.21.0          py311he736701_0    conda-forge
pydantic                  2.10.2             pyh3cfb1c2_1    conda-forge
pydantic-core             2.27.1          py311h533ab2d_0    conda-forge
pydantic-settings         2.6.1              pyh3cfb1c2_0    conda-forge
pyecospold                3.5.3              pyhd8ed1ab_0    conda-forge
pypardiso                 0.4.6              pyhd8ed1ab_0    conda-forge
pyparsing                 3.2.0              pyhd8ed1ab_2    conda-forge
pyperclip                 1.9.0              pyh7428d3b_1    conda-forge
pyppmd                    1.1.0           py311hda3d55a_1    conda-forge
pyprind                   2.11.2          py311h1ea47a8_1006    conda-forge
pyside2                   5.15.15         py311h4238720_0    conda-forge
pysocks                   1.7.1              pyh09c184e_7    conda-forge
python                    3.11.10         hce54a09_3_cpython    conda-forge
python-dateutil           2.9.0.post0        pyhff2d567_1    conda-forge
python-dotenv             1.0.1              pyhd8ed1ab_1    conda-forge
python-tzdata             2024.2             pyhd8ed1ab_1    conda-forge
python_abi                3.11                    5_cp311    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
pyxlsb                    1.0.10             pyhd8ed1ab_0    conda-forge
pyzstd                    0.16.2          py311h53056dc_0    conda-forge
qhull                     2020.2               hc790b64_5    conda-forge
qt-main                   5.15.15              h9151539_1    conda-forge
qt-webengine              5.15.15              h087ee03_1    conda-forge
requests                  2.32.3             pyhd8ed1ab_1    conda-forge
salib                     1.5.0              pyhd8ed1ab_0    conda-forge
scipy                     1.14.1          py311hf16d85f_1    conda-forge
seaborn                   0.13.2               hd8ed1ab_2    conda-forge
seaborn-base              0.13.2             pyhd8ed1ab_2    conda-forge
setuptools                75.6.0             pyhff2d567_1    conda-forge
setuptools-scm            8.1.0              pyhd8ed1ab_1    conda-forge
six                       1.16.0             pyhd8ed1ab_1    conda-forge
stats_arrays              0.7                pyhd8ed1ab_0    conda-forge
statsmodels               0.14.4          py311h0a17f05_0    conda-forge
tabulate                  0.9.0              pyhd8ed1ab_1    conda-forge
tbb                       2021.13.0            h62715c5_1    conda-forge
texttable                 1.7.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.13               h5226925_1    conda-forge
tomli                     2.2.1              pyhd8ed1ab_1    conda-forge
tqdm                      4.67.1             pyhd8ed1ab_0    conda-forge
types-python-dateutil     2.9.0.20241003     pyhd8ed1ab_1    conda-forge
typing-extensions         4.12.2               hd8ed1ab_1    conda-forge
typing_extensions         4.12.2             pyha770c72_1    conda-forge
tzdata                    2024b                hc8b5060_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_1    conda-forge
unicodecsv                0.14.1             pyhd8ed1ab_2    conda-forge
unicodedata2              15.1.0          py311he736701_1    conda-forge
unidecode                 1.3.8              pyhd8ed1ab_0    conda-forge
urllib3                   2.2.3              pyhd8ed1ab_1    conda-forge
vc                        14.3                ha32ba9b_23    conda-forge
vc14_runtime              14.42.34433         he29a5d6_23    conda-forge
voluptuous                0.15.2             pyhd8ed1ab_1    conda-forge
vs2015_runtime            14.42.34433         hdffcdeb_23    conda-forge
werkzeug                  3.1.3              pyhd8ed1ab_1    conda-forge
wheel                     0.45.1             pyhd8ed1ab_1    conda-forge
whoosh                    2.7.4           py311h1ea47a8_9    conda-forge
win_inet_pton             1.1.0              pyh7428d3b_8    conda-forge
wrapt                     1.17.0          py311he736701_0    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xlsxwriter                3.2.0              pyhd8ed1ab_0    conda-forge
xorg-libxau               1.0.11               h0e40799_1    conda-forge
xorg-libxdmcp             1.1.5                h0e40799_0    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
zipfile-deflate64         0.2.0           py311ha68e1ae_4    conda-forge
zipp                      3.21.0             pyhd8ed1ab_1    conda-forge
zstandard                 0.23.0          py311h53056dc_1    conda-forge
zstd                      1.5.6                h0ea2cb4_0    conda-forge
@handsomejems handsomejems added the bug Issues/PRs related to bugs label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues/PRs related to bugs
Projects
None yet
Development

No branches or pull requests

1 participant