Skip to content

Instantly share code, notes, and snippets.

@gmc444-b
Created October 19, 2023 21:15
Show Gist options
  • Save gmc444-b/577425728c7e94818462a47a490fb088 to your computer and use it in GitHub Desktop.
Save gmc444-b/577425728c7e94818462a47a490fb088 to your computer and use it in GitHub Desktop.
fastavro build crash
running build_ext
Error compiling Cython file:
------------------------------------------------------------
...
writer_schema, named_schemas, offset, size, return_record_name
)
class Block:
def __init__(
^
------------------------------------------------------------
fastavro/_read.pyx:1029:4: Compiler crash in AnalyseDeclarationsTransform
File 'ModuleNode.py', line 203, in analyse_declarations: ModuleNode(_read.pyx:1:0,
doc = 'Python code for reading AVRO files',
full_module_name = 'fastavro._read')
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_read.pyx:10:0)
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_read.pyx:1028:0)
File 'Nodes.py', line 5161, in analyse_declarations: PyClassDefNode(_read.pyx:1028:0,
name = 'Block')
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_read.pyx:1029:4)
File 'Nodes.py', line 2709, in analyse_declarations: CFuncDefNode(_read.pyx:1029:4,
args = [...]/10,
modifiers = [...]/0,
outer_attrs = [...]/2,
overridable = True,
visibility = 'private')
File 'Nodes.py', line 2720, in declare_cpdef_wrapper: CFuncDefNode(_read.pyx:1029:4,
args = [...]/10,
modifiers = [...]/0,
outer_attrs = [...]/2,
overridable = True,
visibility = 'private')
File 'Nodes.py', line 2786, in call_self_node: CFuncDefNode(_read.pyx:1029:4,
args = [...]/10,
modifiers = [...]/0,
outer_attrs = [...]/2,
overridable = True,
visibility = 'private')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment