Skip to content

<INVALID OREF> when exit Python session #9

@daimor

Description

@daimor

Describe the bug
error <INVALID OREF> thrown right after exit from python

iris version/image
intersystemsdc/iris-community:latest
IRIS for UNIX (Ubuntu Server LTS for ARM64 Containers) 2023.2 (Build 227U) Mon Jul 31 2023 17:43:25 EDT

python version
iris python IRIS

To Reproduce
Steps to reproduce the behavior:

irisowner@6726e6941bf4:/opt/irisapp$ iris python iris

Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type quit() or Ctrl-D to exit this shell.
>>> import iris
>>> iris.sql.exec('select 1')
<iris.%SYS.Python.SQLResultSet object at 0xfffdd8f23fc0>
>>>quit()

<INVALID OREF>%QRS0c+5^%sqlcq.USER.cls2.1irisowner@6726e6941bf4:/opt/irisapp$

does not happen, this way, with using variable

rs=iris.sql.exec('select 1')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions