datalad / datalad-gooey

A graphical user interface for DataLad (datalad.org)
https://docs.datalad.org/projects/gooey
Other
5 stars 6 forks source link

Install Start issue: Mac OS 13.6.1 Apple Silicon #438

Open dkp opened 10 months ago

dkp commented 10 months ago

Is it a new bug?

I did not find an existing issue about my problem

What is the problem?

The gui does not start on mac, despite following the instructions to create the venv and start the program from the command line. See the detailed error messages in additional context.


Given your checklist below, I also tried brew install datalad-gooey, but it does not appear to exist:

Warning: No available formula with the name "datalad-gooey". Did you mean datalad?

What steps will reproduce the problem?

python3 -m venv ~/.venvs/datalad-gooey source ~/.venvs/datalad-gooey/bin/activate pip install datalad_gooey

datalad gooey datalad: Unknown command 'gooey'. See 'datalad --help'.

datalad_gooey zsh: command not found: datalad_gooey

datalad-gooey. (this one gets a reaction, see below in additional context)

Additional context

datalad-gooey Traceback (most recent call last): File "/Users/dpat/.venvs/datalad-gooey/bin/datalad-gooey", line 5, in from datalad_gooey.app import main File "/Users/dpat/.venvs/datalad-gooey/lib/python3.11/site-packages/datalad_gooey/init.py", line 25, in import datalad_gooey.patches File "/Users/dpat/.venvs/datalad-gooey/lib/python3.11/site-packages/datalad_gooey/patches/init.py", line 1, in from . import ( File "/Users/dpat/.venvs/datalad-gooey/lib/python3.11/site-packages/datalad_gooey/patches/clone.py", line 8, in from datalad_next.patches import clone as mod_clone ImportError: cannot import name 'clone' from 'datalad_next.patches' (/Users/dpat/.venvs/datalad-gooey/lib/python3.11/site-packages/datalad_next/patches/init.py)

How did you install the App?

System information

Mac OS 13.6.1 Apple M2 Max

Using zsh

welcome[bot] commented 10 months ago

Welcome Banner (Image: CC-BY license, The Turing Way Community, & Scriberia. Zenodo. http://doi.org/10.5281/zenodo.3332808) Hi there, and thank you for filing an issue. We're excited to have your input and welcome your idea! :blush:

adswa commented 10 months ago

Thanks for the issue, and for including the traceback! The entire experience sounds sub-optimal, but judging from the traceback, the most pressing issue at hand looks like a version incompatibility (an attempted import fails from a recent datalad-next). And looking further, the fix should be trivial - we need to release the current version to PyPi. For some reason, we only updated the previous releases as a Windows installer. I'll take a look what else might need doing before that. Ping @mih.

adswa commented 9 months ago

Another ping on this - @mih, can we release this?

Intermediate work-arounds for anyone coming across this issue are to install from source. For example, by git cloning the repository, and running pip install . inside of it.

dkp commented 9 months ago

Your workaround works for me! Thank you! (Great project)