[ark] [Bug 476196] Ark fails to parse 7z archive if it was created with attributes omitted ('-mtr=off')

2024-04-25 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=476196

Elvis Angelaccio  changed:

   What|Removed |Added

   Version Fixed In||24.05
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #4 from Elvis Angelaccio  ---
I'll mark this one as fixed. As discussed on gitlab, the new libarchive-based
7z backend can handle these kind of archives just fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 476196] Ark fails to parse 7z archive if it was created with attributes omitted ('-mtr=off')

2023-10-28 Thread Hanabishi
https://bugs.kde.org/show_bug.cgi?id=476196

--- Comment #3 from Hanabishi  ---
Created attachment 162616
  --> https://bugs.kde.org/attachment.cgi?id=162616&action=edit
Test archive

Test archive made with '-mtr=off', just in case.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 476196] Ark fails to parse 7z archive if it was created with attributes omitted ('-mtr=off')

2023-10-28 Thread Hanabishi
https://bugs.kde.org/show_bug.cgi?id=476196

--- Comment #2 from Hanabishi  ---
By the way, opening such archive in debug build causes Ark to crash with failed
assertion.

ASSERT: "isDir()" in file /ark/kerfuffle/archiveentry.cpp, line 90
[1]18771 IOT instruction (core dumped)  ark /test.7z

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 476196] Ark fails to parse 7z archive if it was created with attributes omitted ('-mtr=off')

2023-10-28 Thread Hanabishi
https://bugs.kde.org/show_bug.cgi?id=476196

--- Comment #1 from Hanabishi  ---
The problem is, seems like there is no way to distinguish between directories
and empty files via 7z CLI, without relying on attributes.

Path = test
Size = 0
Packed Size = 0
Modified = 2023-10-28 13:10:47.8804270
CRC =
Encrypted = -
Method =
Block =

Path = test/test
Size = 0
Packed Size = 0
Modified = 2023-10-28 13:10:49.8933970
CRC =
Encrypted = -
Method =
Block =

The first record is a directory, the second is an empty file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ark] [Bug 476196] Ark fails to parse 7z archive if it was created with attributes omitted ('-mtr=off')

2023-10-28 Thread Hanabishi
https://bugs.kde.org/show_bug.cgi?id=476196

Hanabishi  changed:

   What|Removed |Added

  Latest Commit||8c7e0a2117fc6db538b3df33b19
   ||e9b910f07c160

-- 
You are receiving this mail because:
You are watching all bug changes.