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

Installing 0.0.7 in fresh environment is broken #37

Open
marc-vdm opened this issue May 15, 2024 · 3 comments
Open

Installing 0.0.7 in fresh environment is broken #37

marc-vdm opened this issue May 15, 2024 · 3 comments

Comments

@marc-vdm
Copy link
Member

marc-vdm commented May 15, 2024

Installing 0.0.7 in a new environment breaks AB

To reproduce:

conda create -n sl -c conda-forge --solver libmamba activity-browser -y
conda activate sl
conda install -c romainsacchi ab-plugin-scenariolink -y
activity-browser

which then gives:

Traceback (most recent call last):
  File "C:\Users\meidemtvander\AppData\Local\miniconda3\envs\sl\Scripts\activity-browser-script.py", line 5, in <module>
    from activity_browser import run_activity_browser
  File "C:\Users\meidemtvander\AppData\Local\miniconda3\envs\sl\Lib\site-packages\activity_browser\__init__.py", line 6, in <module>
    from PySide2.QtCore import QSysInfo, __version__ as qt_version
ImportError: DLL load failed while importing QtCore: The specified module could not be found.

This is likely a dependency problem as when I install I get this, I'm not sure why Scenariolink would need to downgrade qt-main:
image

This probably broke in 0.0.7 as when I instead do conda install -c romainsacchi ab-plugin-scenariolink=0.0.6 -y in a fresh environment, AB works as expected. Note that downgrading to 0.0.6 in a broken environment will keep it broken, you need to re-install to fix it.

@romainsacchi
Copy link
Collaborator

I think this is coming from activity-browser, no?

if you do:

conda create -n sl -c conda-forge --solver libmamba activity-browser -y
conda activate sl
activity-browser

you do not get the error?

@romainsacchi
Copy link
Collaborator

The following:

conda create -n sl -c conda-forge --solver libmamba activity-browser -y
conda activate sl
conda install -c romainsacchi ab-plugin-scenariolink -y
activity-browser

does not cause an error on my end (MacOs).
Hence, I'd say it's an issue appearing on Windows computers, but I'm still not convinced the plugin is to blame.
Can you try the above without the line installing the plugin?

@marc-vdm
Copy link
Member Author

marc-vdm commented May 21, 2024

That's right, I don't get the error when I only install AB, the environment breaks when I install the plugin.

It's probably some upstream dependency somewhere that breaks, but I haven't been able to figure it out.

edit: I just tried again to make sure it's broken, as of 9:25 this morning it's still giving the same error when I follow the steps above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants