shenwei356 / csvtk

A cross-platform, efficient and practical CSV/TSV toolkit in Golang
http://bioinf.shenwei.me/csvtk
MIT License
992 stars 84 forks source link

[ERRO] file path length exceeds maximum limit #281

Open MostafaYA opened 1 month ago

MostafaYA commented 1 month ago

Prerequisites

Describe your issue

Hi, I am using version 0.30.0, the csv2xlsx command produces the below error when the path is too long. I am using csvtk as a part of a pipleine and cannot control the path length of each project. Can this be considered? Thanks in advance!

[ERRO] file path length exceeds maximum limit

Thank you

I'm grateful to users who have greatly helped to report bugs and suggested new features.

I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).

shenwei356 commented 1 month ago

--infile-list

MostafaYA commented 1 month ago

Not really, the --infile-list also made the same error

csvtk csv2xlsx --infile-list  file
[ERRO] file path length exceeds maximum limit 207 characters
shenwei356 commented 1 month ago

I seems a limit of Windows: Why does the 260 character path length limit exist in Windows?

MostafaYA commented 1 month ago

In fact I work in Linux. Is it the same?

shenwei356 commented 1 month ago

I have no idea. the excel package does not have any issue or code containing the sentence "file path length exceeds maximum limit"

Google results are related to windows, strange.