Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Reader raises a ProgrammingError #13

Open
@cmft

Description

@cmft

Time to time the reader (configured to use hdbpp) raises the bellow error during get_attribute_values calls.
e.g.

attr_name = 'sys/tg_test/1/double_scalar'
t0 = '1541684831.979' #8 Nov
t1 = '1541781662.979' #9 Nov
get_attribute_values(attr_name, t0, t1, decimate=True)
TimerLoop 1    WARNING  2018-11-13 08:30:05,412 tlarf01.cells.es:10000.hdbpp:   Decimated sys/tg_test/1/double_scalar[301 > 301] in 0.000423908233643 s
Traceback (most recent call last):
  File "/home/cfalcon/tools/fandango/fandango/db.py", line 133, in getCursor
    self._cursor.close()
  File "build/bdist.linux-x86_64/egg/MySQLdb/cursors.py", line 100, in close
    while self.nextset(): pass
  File "build/bdist.linux-x86_64/egg/MySQLdb/cursors.py", line 132, in nextset
    nr = db.next_result()
ProgrammingError: (2014, "Commands out of sync; you can't run this command now")

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