xarchiver can't open tar files created with this library
まだ誰も着手していません。
評価
調査の方向性
示されている TarOutputStream の例と生成された test.tar から始め、その構造を、Linux 上で xarchiver が開く tar アーカイブと比較します。アーカイブが tar と 7zip に対して有効なままであることを確認しつつ、xarchiver が拒否するものを特定します。完了条件は、xarchiver がライブラリによって生成されたアーカイブを開けることです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 3.9k
- フォーク
- 1k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
icsharpcode/SharpZipLib のほかの issue
-
*no response* bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
icsharpcode/SharpZipLib#905 · コメント 1 件 ·
-
bug bzip2
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
icsharpcode/SharpZipLib#904 ·
-
SetLevel in ZipFile オープンenhancement zip
難易度 2/5 1〜2日 初心者へのやさしさ 55/100
icsharpcode/SharpZipLib#903 ·
-
*no response* bug
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
icsharpcode/SharpZipLib#901 · コメント 1 件 ·
-
*no response* bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
icsharpcode/SharpZipLib#894 · コメント 1 件 ·
icsharpcode/SharpZipLib の issue をすべて見る
似ている issue
-
effort:S P3 refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1532 ·
-
core dependencies
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
C#/.NET Roslyn LSP オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DotNetNext/SqlSugar#1458 ·