nabeel-oz / qlik-py-tools

Data Science algorithms for Qlik implemented as a Python Server Side Extension (SSE).
https://nabeel-oz.github.io/qlik-py-tools/
MIT License
186 stars 87 forks source link

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

Open MannyGrizzB opened 4 years ago

MannyGrizzB commented 4 years ago

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:

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.

nabeel-oz commented 4 years ago

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.

gabrielboehme commented 4 years ago

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 mainpy it's executed and finished, without starting the service...

Any clues?

gabrielboehme commented 4 years ago

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

MarkJM84 commented 3 years ago

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.

rbstoni commented 3 years ago

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

abx-212 commented 2 years ago

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?