Exporting logs as ZIP results in a 0-byte file
When exporting logs as a ZIP file, the resulting file has a size of 0 bytes. I am unable to open the file, as it appears to be empty or corrupted.
Steps I Took to Encounter the Issue:
-
I selected the logs I wanted to export.
-
I chose the ZIP export option.
-
I started the export and downloaded the generated ZIP file.
-
I noticed that the downloaded ZIP file was 0 bytes and couldn’t be opened.
Expected Behavior: The ZIP file should contain the exported logs and be accessible without issues.
Current Behavior: The generated ZIP file is 0 bytes in size and cannot be opened.
Additional Information:
Operating System: Android 10
Logfox Version: v2.0.3 d0ac7d6
Device Model: Xiaomi Redmi Note 9 Pro with MIUI 12.0.3
Root Status: Device is rooted with Magisk 28
Troubleshooting Attempts:
-
Restarted the app and tried exporting again
-
Cleared the app cache and forced stop the app
-
Uninstalled and reinstalled different versions of the app
-
Restarted the phone and retried the export
-
Attempted export with different log sets
Do you mean these steps?
- Select logs in LogFox tab
- Click "To recording"
- Export created recording as ZIP
If so, then can't reproduce on Pixel 7 with A15. Could you attach a video showing all your steps in the app?
Can it be the fact that is uses SAF, instead of storage R/W Permission(s) - IDK, but on systems that the "Files" (DocumentsUI) app is missing or disabled/frozen (the later I did on purpose to reproduce and should be addressed as an exception) I get no file at all, LogFox crashes instead, it's easily reproducible, so I didn't grab logs by for example using another app that does also capture crashes.
But the problem is "0 bytes files" and not the crash. But maybe it's also something with ROM and system Files app
But maybe it's also something with ROM and system Files app
Exactly, IDT my comment is that off-topic, it's kind of on point, but I can delete it if you want...
Here's an off-topic thing, which I certainly have to delete:
The Build Actions Workflow https://github.com/F0x1d/LogFox/actions/runs/11671049563 throws 2 warnings:
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3.
The 'set-output' command is deprecated and will be disabled soon. Please upgrade to using Environment Files.
The artifacts/files are only 4 days old and already expired, you might want to adjust that .yml for that one, the others seem fine ;)
I will probably find some time on weekends to fix these warnings. And also fix ttl for artifacts
I've same issue with v2.0.6. Export or Zip both creates 0-bytes file if you use system Files (com.android.documentsui), where as no files created if you use 3rd party FM such as Material Files.
For now I'm using Share feature of LogFox which does the work for me.
Same here using Export or Zip options it always leads to 0 bytes saved file.