Skip to content

Fatal error when loading a data file - FATAL error: In context KW-LOAD: While parsing KW-LOAD #1387

@tsathis

Description

@tsathis

pgloader fails with a fatel error when trying pgloader <file>.

  • pgloader --version

    pgloader version "3.6.3~devel"
    compiled with SBCL 2.2.4
    
  • did you test a fresh compile from the source tree?

    Yes. Compiled from source. OS: Red Hat Enterprise Linux Server 7.9 (Maipo)

  • did you search for other similar issues?

    Yes

  • how can I reproduce the bug?

    wget https://github.com/dimitri/pgloader/raw/master/test/data/2013_Gaz_113CDs_national.txt
    pgloader 2013_Gaz_113CDs_national.txt
    
  • pgloader output you obtain

    2022-05-17T11:23:14.009000Z LOG pgloader version "3.6.3~devel"
    KABOOM!
    FATAL error: At
    
      USPS	GEOID	ALAND	AWATER	
      ^ (Line 1, Column 0, Position 0)
    
    In context KW-LOAD:
    
    While parsing KW-LOAD. Expected:
    
         the character Tab
      or the character Newline
      or the character Return
      or the character Space
      or the string "--"
      or the string "/*"
      or the string "load"
    An unhandled error condition has been signalled: At
    
      USPS	GEOID	ALAND	AWATER	
      ^ (Line 1, Column 0, Position 0)
    
    In context KW-LOAD:
    
    While parsing KW-LOAD. Expected:
    
         the character Tab
      or the character Newline
      or the character Return
      or the character Space
      or the string "--"
      or the string "/*"
      or the string "load"
    
    
    What I am doing here?
    
    At
    
      USPS	GEOID	ALAND	AWATER	
      ^ (Line 1, Column 0, Position 0)
    
    In context KW-LOAD:
    
    While parsing KW-LOAD. Expected:
    
         the character Tab
      or the character Newline
      or the character Return
      or the character Space
      or the string "--"
      or the string "/*"
      or the string "load"
    
    
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions