Comments (8)
Thank you.
Could you give me information about the bug?
For example,
- kotlin-csv version
- environment information (OS, jdk version, etc)
- describe the bug A clear and concise description of what the bug is.
- To Reproduce Steps to reproduce the behavior: (attach sample code)
- Screenshots If applicable, add screenshots to help explain your problem.
from kotlin-csv.
- kotlin-csv version 0.9.0.
- java version 14
- I tried the exact same code provided in the README file as an example.
- Example used
val row1 = listOf("a", "b", "c")
val row2 = listOf("d", "e", "f")
csvWriter().open("test.csv") {
writeRow(row1)
writeRow(row2)
writeRows(listOf(row1, row2))
}
from kotlin-csv.
I cannot reproduce the bug... Maybe, this link helps you.[https://stackoverflow.com/questions/27103877/java-io-filenotfoundexception-open-failed-erofs-read-only-file-system](java.io.FileNotFoundException: open failed: EROFS (Read-only file system)).
This article says it makes failure to save file in the root system partition which is always read-only.
from kotlin-csv.
What's the location of a file where it will be saved using writeRows and writeAll?
how can we define our custom path?
from kotlin-csv.
As you see this line, the passed file name is simply converted to java.io.File.
Or, you can pass java.io.File directly instead of file name (String).
csvWriter().open(File("test.csv")) {
//...
}
from kotlin-csv.
I have storage permission granted. but still this problem occurs. I have noticed it happen in android 10
from kotlin-csv.
/storage/emulated/0/Documents/test.csv: open failed: ENOENT (No such file or directory)
from kotlin-csv.
Sorry, I cannot do anything about java.io.File specific problem.
from kotlin-csv.
Related Issues (20)
- Make CsvFileReader.readNext() private HOT 6
- Keep input stream open HOT 2
- Optimize writeNext Method HOT 3
- The binary version of its metadata is 1.6.0, expected version is 1.4.2.
- Seeing a parsing error when quotes within text HOT 1
- Parser unable to parse csv file with lower row quantity compare with header HOT 6
- Introduce `insufficientFieldsRowBehaviour = "EMPTY_STRING"` option on CSV reader HOT 2
- How to read big csv file using your library?
- CsvFileWriter.writeRows writes line terminator even when passed list or sequence is empty HOT 3
- Allow an error interface channnel HOT 1
- Unable to parse with multiple quotes HOT 1
- Exception in thread "main" com.github.doyaaaaaken.kotlincsv.util.CSVParseFormatException: must appear escapeChar(") after escapeChar(") [rowNum = 729, colIndex = 467, char = "]
- Add support for WebAssembly HOT 2
- Use java.nio.Path instead of File
- Allow writing data with headers
- Make common ancestor for CsvReaderContext and CsvWriterContext
- Only reads 23 instead of 614 lines HOT 1
- Add reader's option to skip header row
- How to set/get Header HOT 1
- Write directly to a String HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-csv.