qlik-py-tools icon indicating copy to clipboard operation
qlik-py-tools copied to clipboard

Qlik-Py-Start file not doing anything - capabilities not listed in the terminal.

Open MannyGrizzB opened this issue 3 years ago • 6 comments

Describe the bug Qlik-Py-Init runs perfectly with no errors... then when running Qlik-Py-Start with admin rights, with CLI open, it takes a few secs to display "Press any key to continue..." and no other text. So the communication between the SSE and QS is not confirmed. Also to check connection, used QS and typed "Pytools." in the expression editor and no function details came up..

Screenshots If applicable, add screenshots from Qlik-Py-Init to show the full error message.

Environment:

  • OS Windows Server 2012 R2 Standard and Windows 10 Enterprise
  • Qlik Sense Enterprise and Desktop June 2020 IR
  • SSE Version: 8.0 I also tried 8.1 and no luck
  • Python version: 3.6.7

Additional context Checked the firewall for the Qlik Pytools rule, it was created for port 50055; I also manually deleted and added the rule and tried to run Qlik-Py-Start... no luck. I also restarted the engine service, no luck.

MannyGrizzB avatar Oct 08 '20 12:10 MannyGrizzB

Hi @MannyGrizzB, the Qlik-Py-Start script doesn't have the text "Press any key to continue..." at all. I'd check that the script matches the file you downloaded from GitHub (you can open it in Notepad to check).

@echo off
cd "%~dp0\qlik-py-env\Scripts"
call activate
cd ..\core
python __main__.py
pause

You can also try executing the commands manually in a Command Prompt or PowerShell window to check where things are going wrong. You need to activate the Python virtual environment in ..\qlik-py-tools-8.1\qlik-py-env\Scripts by calling activate.bat or Activate.ps1.

Then navigate to ..\qlik-py-tools-8.1\qlik-py-env\core in the same terminal and execute the command python __main__.py.

nabeel-oz avatar Oct 13 '20 22:10 nabeel-oz

Hello @nabeel-oz , Im facing the same issue here. I've tried with 8.1, 7.1 and 6.1 versions. I guess the problem it's something related to python, because the message "Press any key to continue..." only shows when the PAUSE clause inside the bat is executed. So it's like the __main__py it's executed and finished, without starting the service...

Any clues?

gabrielboehme avatar Nov 04 '20 21:11 gabrielboehme

Hello @MannyGrizzB , were you successful running the SSE? Can you show me the solution for this problem, please?

gabrielboehme avatar Nov 05 '20 13:11 gabrielboehme

Hi all!

We also seem to face a similar issue. Did anybody find a solution for this one?

I opened a new ticket because I saw this issue after I created it, but does any of you have the same error under the Windows Event log (see images here: https://github.com/nabeel-oz/qlik-py-tools/issues/122).

We believe the issue has to do with a mismatch in Python modules around Tensorflow, but we can't figure out why there is a difference between the environments.

MarkJM84 avatar Feb 26 '21 14:02 MarkJM84

Hi @nabeel-oz I am facing the same issue, it seems the __main__.py does not produce anything. Here a screenshot when I run the script

issue

Thank you

rbstoni avatar Jul 13 '21 18:07 rbstoni

Hi @MarkJM84 , Have you found a solution to your problem? I'm facing the same issue, so would you kindly share your solution if it's founded?

abx-212 avatar Jun 29 '22 12:06 abx-212