qlik-oss / qlik-cli

Tool for Qlik Sense SaaS which provides access to all public APIs through the command line.
MIT License
32 stars 3 forks source link

qlik space ls - not working on Linux cli v2.25.0 #37

Open jaredchurch opened 1 month ago

jaredchurch commented 1 month ago

When I try to execute qlik space ls. It will hang with no response, even when including --verbose flag.

bojanth commented 1 month ago

Hi @jaredchurch, I'm not working in the company any more and don't have the source code to verify, so this is just my guess.

It sounds like the CLI detected your environment as a pipe input and it hangs because it thinks there is something to read from stdin.

To check if my assumption is correct, you could set an environment variable that will disable this feature. I think this variable is undocumented. After greping the binary with strings ~/Downloads/qlik | grep SKIP I think I've found it under the name QLIK_CLI_SKIP_STDIN. However, I'm not sure which value the code expects in this variable, it's probably either "1", "true", or "TRUE".

I would try setting it to all of these values and see if it works. Hope this helps. 🙂

For the team: sorry for jumping in, I still watch this repo and get email notifications. 😄 If my assumption is correct, maybe it would be good to document this as a troubleshooting step.