Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C csvkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wireservice
  • csvkit
  • Issues
  • #799
Closed
Open
Issue created Feb 24, 2017 by Administrator@rootContributor

error using in2csv when piping xlsx stdin

Created by: alexsmartsky

Great library. I tried a lot of excel converters with unreliable results before I came across this solution.

I'm trying to pipe an xlsx file to in2csv and I get the error - "coercing to Unicode: need string or buffer, NoneType found"

Although I'm using nodeJS to pipe the excel file to in2csv, the same error comes up when you simply

cat file.xlsx | in2csv -f xlsx       <--- Error!
in2csv -f xlsx file.xlsx       <--- works perfectly

I don't have a lot of experience with file manipulation. Am I missing something or is there a bug?

Thanks, Alex

Assignee
Assign to
Time tracking