simplisafe-python icon indicating copy to clipboard operation
simplisafe-python copied to clipboard

script/setup hangs

Open theRealFakeJ opened this issue 10 months ago • 4 comments

Describe the bug Following the instructions in https://simplisafe-python.readthedocs.io/en/latest/usage.html#installation, after running scripts/setup in the virtualenv the terminal hangs and does not complete and therefor not allowing you to proceed to the 'scripts/auth' step.

Ubuntu 24.04.2 LTS desktop running in VMware Workstation.

To Reproduce Steps to reproduce the behavior:

Run the setup steps through "step 3: Initialize the dev environment for simplipy: script/setup

Expected behavior Expected for the process to complete and present the command prompt again, allowing you to proceed to step 4.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I also tried exiting CTRL+Z and then running scripts/auth but it gives me the following error:

Traceback (most recent call last): File "/home//simplisafe-python/script/auth", line 8, in from simplipy.util.auth import ( ModuleNotFoundError: No module named 'simplipy'

theRealFakeJ avatar Feb 23 '25 21:02 theRealFakeJ

This is happening to me as well. I am on a Fedora 41 system.

Here is a grep of the output and failed packages that the setup script is choking on...

  - Installing frozenlist (1.4.0): Failed
  - Installing multidict (6.0.4): Failed

pghpete avatar Mar 06 '25 19:03 pghpete

uninstalling those packages in the virtual environment and reinstalling those specific versions manually doesn't seem to help either. If I can help by gathering any other logs or retrying to get past this, please let me know. I would be glad to help.

pghpete avatar Mar 06 '25 19:03 pghpete

uninstalling those packages in the virtual environment and reinstalling those specific versions manually doesn't seem to help either. If I can help by gathering any other logs or retrying to get past this, please let me know. I would be glad to help.

Can you install these packages at all (separate from doing so through this script)?

bachya avatar Mar 06 '25 20:03 bachya

It does not appear so. I tried this... simplisafe-python]$ pip3 install "multidict==6.0.4" from the virtual environment and received these errors (snipped down)

Building wheels for collected packages: multidict
  Building wheel for multidict (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for multidict (pyproject.toml) did not run successfully.
  │ exit code: 1
...
/tmp/pip-build-env-1gdegvnj/overlay/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'multidict._multilib' is absent from the `packages` configuration.
...
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Failed to build installable wheels for some pyproject.toml based projects (multidict)

Problem with the virtual environment?

However, if I simply run pip3 install multidict it installs correctly.

pghpete avatar Mar 06 '25 20:03 pghpete

There hasn't been any activity on this issue recently, so it has been marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment. This issue will be closed if no further activity occurs. Thanks!

github-actions[bot] avatar Apr 06 '25 08:04 github-actions[bot]