Audacity failed to read from a file in C:
- Dominant language
- C++
- Stars
- 18.4k
- Forks
- 2.7k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 85
Description
### Bug description
I was doing a macro batch task and I did one folder of files not problem, trying to the another folder and am getting this error. So I ran audacity as admin, same error. Then a selected a few at a time, which is when I don't get the error.
On windows 22H2, audacity v3.75. files were all in .OGG format.
-----------------------
{
"timestamp": 1764339466,
"event_id": "c95c72aa73111948aac9a9e1a1af8dde",
"platform": "native",
"release": "audacity@3.7.5",
"contexts": {
"os": {
"type": "os",
"name": "Windows",
"version": "10.0.19045"
}
},
"exception": {
"values": [
{
"type": "File_Error",
"value": "Audacity failed to read from a file in .",
"mechanism": {
"type": "runtime_error",
"handled": false,
"data": {
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step",
"sqlite3.rc": "101",
"sqlite3.context": "SqliteSampleBlock::GetBlob::step"
}
}
}
]
}
}
### Steps to reproduce
I was doing a macro batch task and I did one folder of files not problem, trying to the another folder and am getting this error. So I ran audacity as admin, same error. Then a selected a few at a time, which is when I don't get the error.
### Expected behavior
On the first folder it processed all the files with now error
### Actual behavior
Audacity is having an issue with one or more of the sound files.
### Audacity Version
Audacity 3.7.5
### Operating system
Windows
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the macro batch operation on Windows with the reported OGG files, then trace the reported SqliteSampleBlock::GetBlob::step context and sqlite3 error data. Done means the batch completes without the file-read failure, or the specific problematic file and reproducible cause are identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sqlite
- Domain
- databases, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100