Skip to content

CSV max size OverflowError on Windows #91

Open
@soof-golan

Description

@soof-golan

I've tried to import redisgraph_bulk_loader.bulk_insert but failed with the following error

File ~\dev\redis-graph-poc\venv\lib\site-packages\redisgraph_bulk_loader\entity_file.py:11, in <module>
      8 from enum import Enum
      9 from exceptions import CSVError, SchemaError
---> 11 csv.field_size_limit(sys.maxsize) # Don't limit the size of user input fields.
     14 class Type(Enum):
     15     UNKNOWN = 0

OverflowError: Python int too large to convert to C long

System:

  • x86_64 Windows 10
  • Python3.9

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