-
Notifications
You must be signed in to change notification settings - Fork 57
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
"Python has stopped working" when starting ab #377
Comments
Hey, thanks for the comprehensive bug report! I was able to completely recreate your environment but I was not able to recreate the exception :(. Can I ask you to create an environment using the 'defaults' channel? Perhaps that offers improvement. conda create -n abdefault -c defaults -c conda-forge -c cmutel -c bsteubing -c haasad -c pascallesage activity-browser-dev Should result in the following environment
|
Thank you for the help. I followed the advice, but the same issue remains when I start ab. I noticed the packages installed are exactly the same as the ones you listed above. What other possible reason that could cause this? So strange... It also magically disappeared for me last time, but since this is the 2nd time I encounter this, I would like to figure out the reasons behind...
|
Will the crash also occur if you run python by itself? |
No it won't crash if I just run python in this env. I also have other conda environments where python, brightway, jupyter notebook... work fine. I usually have two environments running at the same time, one with activity browser, the other with brightway+jupyter, etc. |
Since I want to make it to work, I tried to follow the advice under https://github.com/LCA-ActivityBrowser/activity-browser#important-notice-the-ab-switched-from-pyqt5-to-pyside2 I tried the 2nd option: 2. Remove PyQt5 and install PySide2 (within your existing environment) and saw this
After I did the updates, I got this:
|
Can you look at the package list again? I have a feeling the
Just to be sure that Qt is the problem, can I ask you to create two environments, one with PyQt5 and one with PySide2. And then try and import a qt module in python |
List of packages in ab_dev:
Followed your advice and created pyqt with the specific version installed, and I could import the qt module in this env without any problem. So I guess the problem is not qt. Had problem creating and installing the 2nd env though, due to missing channel
|
Ahhh, yes. The |
To be honest, I am mostly guessing at this point. I have absolutely no idea why python crashes on your system. |
Sorry I missded "2" in "pyside". Had no issue importing the module as well. hmmm. thanks for all your suggestions anyway. I know the difficult part here is you can not recreate my exception. Trying to recall what did I do before this issue occurred. But you see I spent some effort trying to resolve this as ab is a good tool:) |
Thanks for trying that anyway! I'll keep track of this and will make sure to record any instances of python crashing while I'm working on the code. |
Hello, |
In the Windows log, we get this: |
It says here (https://stackoverflow.com/questions/47828821/python-has-stopped-working) that the error code 0xc0000005 is an 'memory access violation' error. Here it probably relates to ig9icd64.dll. So it seems to be a Windows issue, not one related to ab :-/ |
@romainsacchi frankly speaking, I'm even a bit glad to see your face here 😄 ....as I recall I got this error right after we managed installing rmnd-lca on my laptop... so this error must have something to do with that. By the way, I also tried installing ab on my home computer yesterday, it was fine too! @dgdekoning rmnd-lca is a package Romain developed, and I just got it installed last week in another env. After that, I encountered this error when starting activity browser, which I did't have before. |
Hey @xiaoshir @dgdekoning , I updated the Intel drivers and that seems to have fixed the issue :-) |
Mine is fixed too by the personal from IT department. I asked them what exact updates did they make. Here is their reply: I think we can close this issue now. Thanks for all the help! @dgdekoning |
I have been using the development version of activity browser (installed in its own environment"ab_dev") for quite a while. But recently I suddenly have this error message when I try to start activity browser, that says
I then remove the whole environment, made sure I have the right channels as well as the right order of their sequence and reinstall it again, but I still have the same issue.
I ran into this issue before (#234 (comment)), and "magically" solved it by updating my conda. Unfortunately this does not help this time. Below is a list of packages I have in the environment. What can I do to resolve this?
The text was updated successfully, but these errors were encountered: