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

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

Open
MannyGrizzB opened this issue Oct 8, 2020 · 6 comments
Labels
installation Issues related to setup and installation

Comments

@MannyGrizzB
Copy link

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 MannyGrizzB added the installation Issues related to setup and installation label Oct 8, 2020
@nabeel-oz
Copy link
Owner

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
Copy link

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
Copy link

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

@MarkJM84
Copy link

MarkJM84 commented Feb 26, 2021

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: #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
Copy link

rbstoni commented Jul 13, 2021

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
Copy link

abx-212 commented Jun 29, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Issues related to setup and installation
Projects
None yet
Development

No branches or pull requests

6 participants