[PR #529] [CLOSED] Printing exact error for clean file. #1353

Open
opened 2026-01-29 17:15:57 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/529
Author: @saurabhshri
Created: 12/13/2016
Status: Closed

Base: masterHead: patch-7


📝 Commits (1)

  • 5294f49 Printing exact error for clean file.

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 src/lib_ccx/ccx_demuxer.c (+1 -0)

📄 Description

Removes ambiguity as of why unable to open clean file. Gives better aid in resolving the issue.

Example : I have attached a console log below of 4 different runs. fopenerror.txt

  1. cf -output.txt

shouldn't work because I am working in directory which requires admin rights to create new files. Only displays : ###MESSAGE#Unable to open clean file: output.txt

  1. -cf /out/output.txt

same as above.

  1. -cf d:/out/output.txt

Directory d:/ doesn't require any admin right, but "out" doesn't exist. So again, only displays : ###MESSAGE#Unable to open clean file: output.txt

  1. -cf d:/output.txt

Works, because d:/ is both writable and exists.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/529 **Author:** [@saurabhshri](https://github.com/saurabhshri) **Created:** 12/13/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-7` --- ### 📝 Commits (1) - [`5294f49`](https://github.com/CCExtractor/ccextractor/commit/5294f49eeb032bffc83575fdea451179e62762fc) Printing exact error for clean file. ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/ccx_demuxer.c` (+1 -0) </details> ### 📄 Description Removes ambiguity as of why unable to open clean file. Gives better aid in resolving the issue. Example : I have attached a console log below of 4 different runs. [fopenerror.txt](https://github.com/CCExtractor/ccextractor/files/648421/fopenerror.txt) 1. cf -output.txt > shouldn't work because I am working in directory which requires admin rights to create new files. Only displays : ###MESSAGE#Unable to open clean file: output.txt 2. -cf /out/output.txt > same as above. 3. -cf d:/out/output.txt > Directory d:/ doesn't require any admin right, but "out" doesn't exist. So again, only displays : ###MESSAGE#Unable to open clean file: output.txt 4. -cf d:/output.txt > Works, because d:/ is both writable and exists. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:15:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1353