xarchiver can't open tar files created with this library
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với ví dụ TarOutputStream được hiển thị và test.tar đã tạo, sau đó so sánh cấu trúc của nó với các tar archive mà xarchiver mở được trên Linux. Xác nhận rằng archive vẫn hợp lệ đối với tar và 7zip, đồng thời xác định những gì xarchiver từ chối; công việc được xem là hoàn tất khi xarchiver mở được các archive do thư viện tạo ra.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
The .tar files created with the library can be opened with 7zip, they can be extracted with "tar -xf" but the linux program xarchiver (default with some low memory graphical instalations - in my case debian with xfce) says that the archive format is not recognized.
Another place where xarchiver is installed by default is the raspberry pi debian instalation.
Reproduction Code
No response
Steps to reproduce
Simplest example I can come up with:
using FileStream os = new FileStream("test.tar", FileMode.Create);
using TarOutputStream tar = new TarOutputStream(os);
byte[] data = Encoding.UTF8.GetBytes("my text contents");
TarEntry entry = TarEntry.CreateTarEntry("myfile.txt");
entry.Size = data.Length;
tar.PutNextEntry(entry);
tar.Write(data);
tar.CloseEntry();
Expected behavior
The archive should be opened normally as it does in other applications.
Operating System
Linux
Framework Version
.NET 6
Tags
Tar
Additional context
There is a chance that xarchiver is just bad considering other software opens the archive.
But then again xarchiver opens tar archives made with other software.
- Ngôn ngữ chính
- C#
- Star
- 3.9k
- Fork
- 1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của icsharpcode/SharpZipLib
-
*no response* bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
icsharpcode/SharpZipLib#905 · 1 bình luận ·
-
bug bzip2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
icsharpcode/SharpZipLib#904 ·
-
SetLevel in ZipFile Đang mởenhancement zip
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 55/100
icsharpcode/SharpZipLib#903 ·
-
*no response* bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
icsharpcode/SharpZipLib#901 · 1 bình luận ·
-
*no response* bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
icsharpcode/SharpZipLib#894 · 1 bình luận ·
Tất cả issue của icsharpcode/SharpZipLib
Issue tương tự
-
core dependencies
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
-
bug frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
unoplatform/uno#24629 ·
-
agentic-workflows Needs: Triage :mag: State: In-PR
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Down / Waiting for removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100