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

macOS idem install does not copy to '~/.idemenv/bin' dir + errors in [14269] Failed to execute script 'idem' due to unhandled exception! #4

Open
TheBigBear opened this issue Jul 25, 2022 · 0 comments

Comments

@TheBigBear
Copy link

The idem install latest followed by idem use latest does not create a ~/.idemenv/bin dir nor does it copy the specified idem binary there.

So I have tried duplicating the output of idem exec test.version that is shown on the github page by instead entering the direct path to the binary in ~/.idemenv/versions but that does not like the command either?

Typing gives me:

~/.idemenv/versions/idem-v18.10.3 exec test.version
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/aiokafka/record/_crecords/cutil.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/aiokafka/record/_crecords/default_records.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/aiokafka/record/_crecords/legacy_records.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/aiokafka/record/_crecords/memory_records.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/cryptography/hazmat/bindings/_openssl.abi3.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/cryptography/hazmat/bindings/_rust.abi3.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/lazy_object_proxy/cext.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/markupsafe/_speedups.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/msgpack/_cmsgpack.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/multidict/_multidict.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/yaml/_yaml.cpython-39-darwin.so
[14268] WARNING: file already exists but should not: /var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/yarl/_quoting_c.cpython-39-darwin.so
Traceback (most recent call last):
  File "/private/var/folders/c6/10qfzy9x1qx7zhyc97t_yv_40000gn/T/tmpwgbqfwdl/bin/idem", line 44, in <module>
  File "idem/scripts.py", line 8, in start
  File "pop/contract.py", line 210, in __call__
  File "/var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/idem/idem/init.py", line 43, in cli
    retcode = hub.pop.Loop.run_until_complete(hub.idem.init.cli_apply())
  File "asyncio/base_events.py", line 647, in run_until_complete
  File "pop/contract.py", line 292, in __call__
  File "/var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/idem/idem/init.py", line 81, in cli_apply
    return await hub.idem.cli.exec()
  File "pop/contract.py", line 292, in __call__
  File "/var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/idem/idem/cli.py", line 107, in exec_
    ret = await hub.idem.ex.run(
  File "pop/contract.py", line 292, in __call__
  File "/var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/idem/idem/ex.py", line 28, in run
    func = hub[path]
  File "pop/hub.py", line 183, in __getitem__
  File "pop/hub.py", line 173, in __getattr__
  File "pop/contract.py", line 210, in __call__
  File "/var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/pop/mods/pop/ref.py", line 14, in last
    return hub.pop.ref.path(ref)[-1]
  File "pop/contract.py", line 210, in __call__
  File "/var/folders/rh/gz_zx7rs21d0yvw21xgxsplm0000gn/T/_MEIJ1NmZj/pop/mods/pop/ref.py", line 25, in path
    ret.append(getattr(ret[-1], chunk))
  File "pop/loader.py", line 426, in __getattr__
AttributeError: version
[14269] Failed to execute script 'idem' due to unhandled exception!

I recognise the various lines of WARNING: file already exists but should not: as something akin to the upstream idem issues
on the vmware idem gitlab repo.
On macOS https://gitlab.com/vmware/idem/idem/-/issues/46
On linux https://gitlab.com/vmware/idem/idem/-/issues/43
On windows https://gitlab.com/vmware/idem/idem/-/issues/45

But the rest of the unhandled expecption looks different to me.

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

1 participant