Skip to content

IPC example Discarding unexpected async message from handle #45

@Matoran

Description

@Matoran

Describe the bug
Hi, the example readwrite.py doesn't work (on licensed mode at least).

To Reproduce
Follow instructions to test it (following readme)

// run tick.q
$ q tick/tick.q sym ./log/
q)

// run the mock feed
$ q tick/feed.q
q)

// Start the q process to receive data from PyKX
$ q -p 5130
q)

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

python readwrite.py 
Running example in presence of licensed q
WARN: Discarding unexpected async message from handle: 11 # not happy about async message
Traceback (most recent call last):
  File "readwrite.py", line 58, in <module>
    trade = kx.q('trade')
  File "pykx/embedded_q.py", line 246, in __call__
    return factory(result, False, name=query.__str__())
  File "pykx/_wrappers.pyx", line 522, in pykx._wrappers._factory
  File "pykx/_wrappers.pyx", line 515, in pykx._wrappers.factory
pykx.exceptions.QError: trade

Additional context
pykx 3.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions