2023.04.21 02:01 AM
I just downloaded the KX Developer and Installed it. It works to do the computation, but it doesn't work to print messages.
In KX Developer, if I simply run "show 123", I will have the error "cannot write to handle 1. OS reports: the parameter is incorrect". Any ideas? My version is "KX Developer 1.5.4".
2023.05.11 07:53 AM
What operating system are you using?
https://code.kx.com/developer/getting-started/#prerequisites
(Note: Windows 11 is not on supported list)
2023.04.21 05:38 AM
I did a test:
1. Downloaded developer-1.5.4-windows.zip
2. Extracted and ran install.bat
3. Opened the install folder and ran config\config.bat
4. Ran q launcher.q_
5. Opened my browser and ran show 123
using Ctrl+D
Works as expected:
Q version:
q)(.z.K;.z.k)
4f
2021.10.01
2023.04.21 07:37 AM - edited 2023.04.21 07:38 AM
Thanks for your reply.
1. I'm using Windows 11 version 22H2 (OS build 22621.1555)
2. Yes, I used the 5 steps as mentioned by you and then I saw the error I mentioned. But I run `C:\q\w64\w64\q.exe C:\developer\launcher.q_` instead of `q C:\developer\launcher.q_` because I have 32-bit q and 64-bit q so I need to specify a 64-bit `q.exe`
3. Yes I tried restarting developer/browser/laptop and still have this problem
2023.04.21 09:21 AM
"Please attempt to load Developer without any changes to $QHOME/q.k
or $QHOME/q.q
"
Do you have any customisations in these files?
2023.04.21 10:44 AM - edited 2023.04.21 10:45 AM
I didn't modify q.k. Meanwhile, I don't have a q.q file. When I downloaded the w64.zip file from the url provided by the free-trial-email, after unzipping the only available files I saw are q.exe and q.k, and there is no q.q.
Where is no problem for me to load workspace. If I run .z and .Q etc., there is no error.
It seems that the handle 1i is not connected to my console. If I run 1i"123", theorectically it should output 123, but at my KX Developer it just give me the same error "cannot write to handle 1. OS reports: the parameter is incorrect".
2023.04.21 02:19 PM
What version of kdb+ are you running?
(.z.K;.z.k)
2023.04.21 03:10 PM
It's below:
4f
2023.01.20
2023.05.11 07:01 AM
I have encountered the same problem as you, how did you solve it, how can I use show in developer?
2023.05.11 07:20 AM
Hi, I haven't solved the problem. Currently, I'm using a workaround as below:
1. Open another q-session in cmd, and then listen to a port using \p, say port 9001
2. At KX Developer, create handle h1 which connect to 9001 using h1:hopen`::9001
3. At KX Developer, if you run h1 "show 2+2", you will see 4 at the q-session
This workaround is not very ideal, but still a bit helpful while debugging
2023.05.11 07:53 AM
What operating system are you using?
https://code.kx.com/developer/getting-started/#prerequisites
(Note: Windows 11 is not on supported list)
2023.05.11 08:27 AM
i see, thanks. I am using Windows 11 version 22H2. That's why.
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.