Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] XLSXInterpreter throws an exception #603

Closed
rhazn opened this issue Jul 26, 2024 · 0 comments · Fixed by #628
Closed

[BUG] XLSXInterpreter throws an exception #603

rhazn opened this issue Jul 26, 2024 · 0 comments · Fixed by #628
Labels
bug Something isn't working

Comments

@rhazn
Copy link
Contributor

rhazn commented Jul 26, 2024

Steps to reproduce

  1. Use the XLSXInterpreter block

Description

  • Expected: Works
  • Actual:
[Interpreter] Reading from XLSX file
error: An unknown error occurred: TypeError: exceljs.Workbook is not a constructor
    at XLSXInterpreterExecutor.doExecute (file:///usr/local/lib/node_modules/@jvalue/jayvee-interpreter/main.js:13670:30)
    at XLSXInterpreterExecutor.execute (file:///usr/local/lib/node_modules/@jvalue/jayvee-interpreter/main.js:11157:40)

Minimal reproduction example

pipeline Pipeline {
    Extractor
        -> Interpreter
        -> Picker
        -> TableInterpreterBlock
        -> Loader;

    block Extractor oftype HttpExtractor {
        url: "https://github.com/KRICT-DATA/SIMD/raw/main/dataset/estm.xlsx";
    }
    block Interpreter oftype XLSXInterpreter { }
    block Picker oftype SheetPicker {
        sheetName: "Sheet1";
    }
    block TableInterpreterBlock oftype TableInterpreter {
        columns: [
            'Formula' oftype text
        ];
    }
    block Loader oftype CSVFileLoader {
        file: "./sink.csv";
    }
}

@rhazn rhazn added the bug Something isn't working label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant