2022.04.09 02:57 PM
Hello!
I installed the basic windows prompt for Q and that works, but now I am trying to install Developer and have encountered many problems.
When trying to launch launcher.q_ to use Developer, I am shown the Windows error prompt:
"C:\developer\launcher.q_
This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page."
I think I'm stuck on the prerequesites section of the setup. I am not confident that I've setup the enviroment variables correctly. I tried, in Windows 10 environment varialbes:
New:
Variable name: QHOME
Variable value: C:\q
and the same for QLIC
Somewhere mentioned setting q to %PATH% and I don't know what to do with that information
Following the readme, in the windows CMD prompt the following command seems to work without issue:
<install>\config\config.bat - (in my correct directory)
but then this next command fails, apparently because it doesn't understand the first 'q'.
q <install>\launcher.q_
I have two file directories, one C:\Q and since downloading Developer, C:\developer - do I need to combine these?
Somewhere where I was advised to set a port. I don't know how to do that. I found a guide but I wasn't able to test if it had worked.
I followed the setup from the FAQ and encountered this error:
q)`DEVELOPER_HOME setenv "c:\developer"
'"c:\developer"
[0] `DEVELOPER_HOME setenv "c:\developer"
^
where ^ is beneath the `
Sorry for this chaotic post, I don't know what I'm doing or missing. Thank you in advance to anyone who can help!
2022.04.10 08:02 PM
Specific port number shouldn't be an issue.
Best to source all of the config params prior to running the launcher.q_ script as per this note i.e. running the config.bat script first.
2022.04.10 12:45 AM
Hello again, today I think the main issue is the following, from: "https://code.kx.com/q/learn/install/", step 5, edit profile, the steps are:
In the command shell issue the following commands:
setx QHOME "C:\q"
setx PATH "%PATH%;C:\q\w64"
Below is my result. It fails at step 2:
C:\WINDOWS\system32>setx PATH "%PATH";C:\q\w64"
SUCCESS: Specified value was saved.
C:\WINDOWS\system32>q
'q' is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS\system32>
2022.04.10 01:09 AM
Adding a port progressed me to the next step!
q)\l C:/developer/launcher.q_
[developer] version 1.5.1
[developer] [!] couldn't validate install, proceeding with startup...
[developer] loading...
[developer] failed to start Kx Developer: server.init
2022.04.10 01:36 AM
I am in!
I had to set the port to 40000!
2022.04.10 08:02 PM
Specific port number shouldn't be an issue.
Best to source all of the config params prior to running the launcher.q_ script as per this note i.e. running the config.bat script first.
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.