Closed rgildein closed 1 year ago
@rgildein I can reproduce this if I disconnect the snap plug (sudo snap disconnect jhack:dot-local-share-juju snapd:personal-files
) although oddly I also get a friendly "ERROR:jhack:It seems like the snap doesn't have access to /home/aieri/.local/share/juju;to grant it, run 'sudo snap connect jhack:dot-local-share-juju snapd'.Some Jhack commands will still work, but those that interact with the juju client will not."
. Do you have the snap connection in place?
FTR the command fails for me even with the connection in place, but that's because I have a juju 2.x controller.
the get_models code is very messy either way, I'm busy cleaning it up in #49
This should be fixed by #49. Could you please try again and let me know if there's still an issue?
I tried to install latest/edge
and it seems working fine. I hit another issue, but I think it's because I'm using juju < 3
.
It seems that jack has a problem finding the name of the current model. I have seen this error with multiple commands.