dipdup-io / dipdup

Modular framework for creating selective indexers and featureful backends for dapps
https://dipdup.io
MIT License
92 stars 52 forks source link

Installer doesn't handle builds from missing git refs #563

Closed droserasprout closed 1 year ago

droserasprout commented 1 year ago

Full log:

curl -Lsf https://dipdup.io/install.py | python
=> Welcome to DipDup installer

OS:                 Darwin
Arch:               arm64
Python:             3.10.8 (main, Oct 13 2022, 09:48:40) [Clang 14.0.0 (clang-1400.0.29.102)]
PATH:               /Users/.../Library/Caches/pypoetry/virtualenvs/nft-v2-ANCxD74Z-py3.10/bin:/Users/.../.poetry/bin:/Users/.../.poetry/bin:/Users/.../.nvm/versions/node/v14.18.3/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/.../.local/bin:/Users/.../.local/bin:/Users/.../.local/bin

python3             /Users/.../Library/Caches/pypoetry/virtualenvs/nft-v2-ANCxD74Z-py3.10/bin/python3
pipx                /Users/.../.local/bin/pipx
dipdup              /Users/.../Library/Caches/pypoetry/virtualenvs/nft-v2-ANCxD74Z-py3.10/bin/dipdup
datamodel-codegen   /Users/.../Library/Caches/pypoetry/virtualenvs/nft-v2-ANCxD74Z-py3.10/bin/datamodel-codegen
poetry              /Users/.../.local/bin/poetry

pipx packages:      datamodel-code-generator, poetry, dipdup

=> Updating DipDup
  WARNING: Did not find branch or tag 'aux/more-pipx', assuming revision or ref.
  error: subprocess-exited-with-error

  × git checkout -q aux/more-pipx did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error: pathspec 'aux/more-pipx' did not match any file(s) known to git
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git checkout -q aux/more-pipx did not run successfully.
│ exit code: 1
╰─> See above for output.
droserasprout commented 1 year ago

dipdup uninstall works fine in such cases. Won't fix.