Skip to content

ParallelQuery error when some but not all requests fail #338

Closed

Description

@drewaogle
2023-11-03 09:29:50,390 : ERROR : aperturedb.ParallelQuery : 139786824185408 : 242 : 'str' object has no attribute 'items'
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/aperturedb/ParallelQuery.py", line 240, in worker
    self.do_batch(db, generator[batch_start:batch_end])
  File "/usr/local/lib/python3.10/dist-packages/aperturedb/ParallelQuery.py", line 210, in do_batch
    [v['status'] == 0 for i in r for k, v in i.items()])
  File "/usr/local/lib/python3.10/dist-packages/aperturedb/ParallelQuery.py", line 210, in <listcomp>
    [v['status'] == 0 for i in r for k, v in i.items()])
AttributeError: 'str' object has no attribute 'items'

Activity

  1. added
    bug
    on Nov 3, 2023
  2. self-assigned this
    on Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions