Comments (9)
There is #867, but we haven't been able to find the root cause yet unfortunately
from activity-browser.
Hi haasad,
thank you very much for your answer! The differnce seems to be that in my case it is permanently crashing. Do you know if there is a fomer version of AB in which this error does not occurr and which is already supporting ecoinvent 3.8? Installing AB 2.6.9 returns a NumPy error when starting AB:
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Thank you!
from activity-browser.
Hi ljlazar,
as far as I am aware we have only been seeing this for Linux, this has also mainly be related to the imports (with which I am still regularly getting segmentation faults) not so much upon completing the calculations.
The older versions including 2.6.9 are using features that have since been deprecated, I guess you are probably using the environment from the latest installs, right? So to use the older versions would require reverting back to older versions in the numpy dependency (there might also be changes in some of the pandas code too)
Could you also send us some info on your environment?
from activity-browser.
Hi Zoophobus,
in windows it crashes as well but does not show any error message in the prompt.
You are right, I created now a new environment for 2.6.9, the NumPy error disappeared but a Qt error appeared
ImportError: DLL load failed while importing QtWebEngineWidgets: Das angegebene Modul wurde nicht gefunden.
I copied the conda list of the environment, thanks for having a look at it:
#
# Name Version Build Channel
activity-browser 2.6.9 py_0 bsteubing
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
arrow 1.2.3 pyhd8ed1ab_0 conda-forge
asteval 0.9.28 pyhd8ed1ab_0 conda-forge
astunparse 1.6.3 pyhd8ed1ab_0 conda-forge
beautifulsoup4 4.11.2 pyha770c72_0 conda-forge
brightway2 2.4.2 pyhd8ed1ab_1 conda-forge
brotli 1.0.9 hcfcfb64_8 conda-forge
brotli-bin 1.0.9 hcfcfb64_8 conda-forge
brotli-python 1.0.9 py39h99910a6_8 conda-forge
brotlicffi 1.0.9.2 py39h99910a6_3 conda-forge
brotlipy 0.7.0 py39ha55989b_1005 conda-forge
bw2analyzer 0.10 pyhd8ed1ab_0 conda-forge
bw2calc 1.8.1 py39hcbf5309_3 conda-forge
bw2data 3.6.5 pyhd8ed1ab_0 conda-forge
bw2io 0.8.8 pyhd8ed1ab_1 conda-forge
bw2parameters 0.7 pyhd8ed1ab_0 conda-forge
bw_migrations 0.2 pyhd8ed1ab_0 conda-forge
bzip2 1.0.8 h8ffe710_4 conda-forge
ca-certificates 2022.12.7 h5b45459_0 conda-forge
certifi 2022.12.7 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py39h68f70e3_3 conda-forge
charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge
click 8.1.3 win_pyhd8ed1ab_2 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
contourpy 1.0.7 py39h1f6ef14_0 conda-forge
cryptography 39.0.1 py39hb6bd5e6_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
dill 0.3.6 pyhd8ed1ab_1 conda-forge
docopt 0.6.2 py_1 conda-forge
eidl 1.5.1 pyhd8ed1ab_1 conda-forge
eight 1.0.1 pyhd8ed1ab_4 conda-forge
et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge
fasteners 0.17.3 pyhd8ed1ab_0 conda-forge
flask 2.2.2 pyhd8ed1ab_0 conda-forge
fonttools 4.38.0 py39ha55989b_1 conda-forge
freetype 2.12.1 h546665d_1 conda-forge
future 0.18.3 pyhd8ed1ab_0 conda-forge
gettext 0.21.1 h5728263_0 conda-forge
glib 2.74.1 h12be248_1 conda-forge
glib-tools 2.74.1 h12be248_1 conda-forge
gst-plugins-base 1.22.0 h001b923_0 conda-forge
gstreamer 1.22.0 h6b5321d_0 conda-forge
icu 70.1 h0e60522_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
importlib-metadata 6.0.0 pyha770c72_0 conda-forge
importlib-resources 5.10.2 pyhd8ed1ab_0 conda-forge
importlib_metadata 6.0.0 hd8ed1ab_0 conda-forge
importlib_resources 5.10.2 pyhd8ed1ab_0 conda-forge
inflate64 0.3.1 py39ha55989b_3 conda-forge
intel-openmp 2023.0.0 h57928b3_25922 conda-forge
itsdangerous 2.1.2 pyhd8ed1ab_0 conda-forge
jinja2 3.1.2 pyhd8ed1ab_1 conda-forge
jpeg 9e hcfcfb64_3 conda-forge
kiwisolver 1.4.4 py39h1f6ef14_1 conda-forge
krb5 1.20.1 heb0366b_0 conda-forge
lcms2 2.14 ha5c8aab_1 conda-forge
lerc 4.0.0 h63175ca_0 conda-forge
libblas 3.9.0 16_win64_mkl conda-forge
libbrotlicommon 1.0.9 hcfcfb64_8 conda-forge
libbrotlidec 1.0.9 hcfcfb64_8 conda-forge
libbrotlienc 1.0.9 hcfcfb64_8 conda-forge
libcblas 3.9.0 16_win64_mkl conda-forge
libclang 15.0.7 default_h77d9078_1 conda-forge
libclang13 15.0.7 default_h77d9078_1 conda-forge
libdeflate 1.17 hcfcfb64_0 conda-forge
libffi 3.4.2 h8ffe710_5 conda-forge
libglib 2.74.1 he8f3873_1 conda-forge
libhwloc 2.8.0 h039e092_1 conda-forge
libiconv 1.17 h8ffe710_0 conda-forge
liblapack 3.9.0 16_win64_mkl conda-forge
libogg 1.3.4 h8ffe710_1 conda-forge
libpng 1.6.39 h19919ed_0 conda-forge
libsqlite 3.40.0 hcfcfb64_0 conda-forge
libtiff 4.5.0 hf8721a0_2 conda-forge
libvorbis 1.3.7 h0e60522_0 conda-forge
libwebp-base 1.2.4 h8ffe710_0 conda-forge
libxcb 1.13 hcd874cb_1004 conda-forge
libxml2 2.10.3 hc3477c8_0 conda-forge
libxslt 1.1.37 h0192164_0 conda-forge
libzlib 1.2.13 hcfcfb64_4 conda-forge
lxml 4.9.2 py39h0942119_0 conda-forge
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
markupsafe 2.1.2 py39ha55989b_0 conda-forge
matplotlib-base 3.7.0 py39haf65ace_0 conda-forge
mkl 2022.1.0 h6a75c08_874 conda-forge
mrio_common_metadata 0.2.1 pyhd8ed1ab_0 conda-forge
msys2-conda-epoch 20160418 1 conda-forge
multiprocess 0.70.14 py39ha55989b_3 conda-forge
multivolumefile 0.2.3 pyhd8ed1ab_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
networkx 3.0 pyhd8ed1ab_0 conda-forge
numpy 1.24.2 py39h16ffa76_0 conda-forge
openjpeg 2.5.0 ha2aaf27_2 conda-forge
openpyxl 3.1.1 py39ha55989b_0 conda-forge
openssl 3.0.8 hcfcfb64_0 conda-forge
packaging 23.0 pyhd8ed1ab_0 conda-forge
pandas 1.5.3 py39h2ba5b7c_0 conda-forge
pathos 0.3.0 pyhd8ed1ab_0 conda-forge
patsy 0.5.3 pyhd8ed1ab_0 conda-forge
pcre2 10.40 h17e33f8_0 conda-forge
peewee 3.15.4 py39habf9222_0 conda-forge
pillow 9.4.0 py39hcebd2be_1 conda-forge
pip 23.0 pyhd8ed1ab_0 conda-forge
pooch 1.6.0 pyhd8ed1ab_0 conda-forge
pox 0.3.2 pyhd8ed1ab_0 conda-forge
ppft 1.7.6.6 pyhd8ed1ab_0 conda-forge
presamples 0.2.7 pyhd8ed1ab_1 conda-forge
psutil 5.9.4 py39ha55989b_0 conda-forge
pthread-stubs 0.4 hcd874cb_1001 conda-forge
pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge
py7zr 0.20.4 pyhd8ed1ab_0 conda-forge
pybcj 1.0.1 py39ha55989b_2 conda-forge
pybcpy 0.0.17 pyhd8ed1ab_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pycryptodomex 3.16.0 py39ha55989b_0 conda-forge
pyopenssl 23.0.0 pyhd8ed1ab_0 conda-forge
pypardiso 0.4.2 pyhd8ed1ab_1 conda-forge
pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge
pyppmd 1.0.0 py39h99910a6_1 conda-forge
pyprind 2.11.2 py39hcbf5309_1004 conda-forge
pyside2 5.15.8 py39h56cbfbc_2 conda-forge
pysocks 1.7.1 pyh0701188_6 conda-forge
python 3.9.16 h4de0772_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python_abi 3.9 3_cp39 conda-forge
pytz 2022.7.1 pyhd8ed1ab_0 conda-forge
pyxlsb 1.0.10 pyhd8ed1ab_0 conda-forge
pyzstd 0.15.3 py39h95af829_1 conda-forge
qt-main 5.15.8 h720456b_6 conda-forge
requests 2.28.2 pyhd8ed1ab_0 conda-forge
salib 1.4.7 pyhd8ed1ab_0 conda-forge
scipy 1.10.0 py39hfbf2dce_2 conda-forge
seaborn 0.12.2 hd8ed1ab_0 conda-forge
seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge
setuptools 67.3.1 pyhd8ed1ab_0 conda-forge
setuptools-scm 7.1.0 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge
stats_arrays 0.6.5 pyhd8ed1ab_0 conda-forge
statsmodels 0.13.5 py39hc266a54_2 conda-forge
tabulate 0.9.0 pyhd8ed1ab_1 conda-forge
tbb 2021.7.0 h91493d7_1 conda-forge
texttable 1.6.7 pyhd8ed1ab_0 conda-forge
tk 8.6.12 h8ffe710_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
typing-extensions 4.4.0 hd8ed1ab_0 conda-forge
typing_extensions 4.4.0 pyha770c72_0 conda-forge
tzdata 2022g h191b570_0 conda-forge
ucrt 10.0.22621.0 h57928b3_0 conda-forge
unicodecsv 0.14.1 py_1 conda-forge
unicodedata2 15.0.0 py39ha55989b_0 conda-forge
unidecode 1.3.6 pyhd8ed1ab_0 conda-forge
urllib3 1.26.14 pyhd8ed1ab_0 conda-forge
vc 14.3 hb6edc58_10 conda-forge
voluptuous 0.13.1 pyhd8ed1ab_0 conda-forge
vs2015_runtime 14.34.31931 h4c5c07a_10 conda-forge
werkzeug 2.2.3 pyhd8ed1ab_0 conda-forge
wheel 0.38.4 pyhd8ed1ab_0 conda-forge
whoosh 2.7.4 py39hcbf5309_7 conda-forge
win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge
wrapt 1.14.1 py39ha55989b_1 conda-forge
xlrd 2.0.1 pyhd8ed1ab_3 conda-forge
xlsxwriter 3.0.8 pyhd8ed1ab_0 conda-forge
xorg-libxau 1.0.9 hcd874cb_0 conda-forge
xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge
xz 5.2.6 h8d14728_0 conda-forge
zipfile-deflate64 0.2.0 py39ha55989b_3 conda-forge
zipp 3.13.0 pyhd8ed1ab_0 conda-forge
zstd 1.5.2 h12be248_6 conda-forge
from activity-browser.
Hi ljlazar,
the Qt error is because the qt-webengine is not installed, for some reason this changed fairly recently now both qt-main and this have to be specified.
I know it's a pain, but would it be possible to try the AB with gdb?
from activity-browser.
Hi Zoophobus,
thank you!
I tried to install pyqtwebengine, but it did not help, do you know a fix for the qt error?
I will read up on how to use gdb and have a try.
from activity-browser.
Hi,
hang on conda install --force qt-webengine
didn't work? Maybe you need to reactivate the environment? Otherwise this is extremely strange I mean the error states it can't find it, so installing it should fix that. For your sake I hope it's something simple, otherwise that'll be a headache for sure.
For the gdb debugging you should check out this link https://wiki.python.org/moin/DebuggingWithGdb
It really helped me, I've previously used it for c and c++ but hadn't a clue for using it with python (another AB user/developer demonstrated it with the AB for me)
from activity-browser.
Actually I just saw your previous issue, so sorry for this previous question I posed (and now deleted) @ljlazar
If you want some help with using gdb then just send me a message? However, I would prefer to see some results from this before trying much further, as otherwise I feel like I'll be groping around in the dark
from activity-browser.
Thank you @Zoophobus !
I tried it again with a new installation of Ubuntu and the crashes seemed to have disappeared. In windows the problem still exists. I am going to contact you because of gdb., thanks for the offer.
from activity-browser.
Related Issues (20)
- Help understanding how activity parameters work. HOT 3
- Change font color in dark mode/allow for different colour setting from system HOT 2
- Updating ab_dev gives error HOT 2
- Sankey is broken in v2.7.3 HOT 4
- Substitution flows should be listed together with products or in a separate table HOT 1
- QtWebEngine not working on Arch Linux HOT 5
- Graph explorer only shows content after "Refresh HTML" HOT 3
- Activity Browser doesn't start on Windows 11 with latest instructions (March 12, 2023) HOT 11
- Excel export not working HOT 2
- We should freeze dependencies in stable version HOT 27
- Filtering bug with 0 matches
- Accidentally deleted project from activity browser
- AB browser not installing on Mac Ventura 13.1 HOT 11
- Scenario LCA: A value is trying to be set on a copy of a slice from a DataFrame HOT 2
- Activity `Name` and `Location` fields are read-only when creating new activity HOT 1
- AB version numbers HOT 6
- Project dropdown should show full project names as tooltip HOT 2
- AB not starting after running "activity-browser" HOT 15
- Characterization factors for biogenic emissions in ReCiPe HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activity-browser.