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

Anaconda Python Crashes Electron App #67

Open
Firebird1029 opened this issue Jul 1, 2024 · 1 comment
Open

Anaconda Python Crashes Electron App #67

Firebird1029 opened this issue Jul 1, 2024 · 1 comment
Labels
bug Something isn't working dedupliFHIR DedupliFHIR repo tickets summer2024 Tickets for Summer 2024 Fellowship Cohort

Comments

@Firebird1029
Copy link
Member

Describe the bug
If Anaconda Python is installed, the Electron app crashes and complains that it cannot find the path to the Python executable.

To Reproduce
Steps to reproduce the behavior:

  • Download and install Anaconda Python at https://www.anaconda.com/download.
  • Download and install DedupliFHIR via make install.
  • Start the Electron app.
  • Upload a file and hit Submit. After this, the app crashes.

Expected behavior
The Electron app should proceed to the next screen after proceeding by hitting Submit.

Actual behavior
The Electron app crashes.

Screenshots
image

Device Info:

  • OS: MacOS Sonoma 14.5
  • Electron Version: 29

Additional context
Add any other context about the problem here.

@Firebird1029 Firebird1029 added bug Something isn't working dedupliFHIR DedupliFHIR repo tickets summer2024 Tickets for Summer 2024 Fellowship Cohort and removed summer2024 Tickets for Summer 2024 Fellowship Cohort labels Jul 1, 2024
@IsaacMilarky IsaacMilarky added the summer2024 Tickets for Summer 2024 Fellowship Cohort label Jul 3, 2024
@EndlessMe
Copy link

You can fix the issue by creating a virtual environment in the root of the code repo via Terminal.app

python3 -m venv .venv
source .venv/bin/activate

After this, you can install the dependencies

pip3 install poetry
make install

Try running the electron app again and you shouldn't have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dedupliFHIR DedupliFHIR repo tickets summer2024 Tickets for Summer 2024 Fellowship Cohort
Development

No branches or pull requests

3 participants