Bug XBMC.Extract
#47
(2020-04-13, 23:43)zachmorris Wrote:
(2020-04-13, 13:06)malte Wrote: Has anybody else issues with 7z-files? I created a simple text file and compressed it with Windows version of 7-zip.

I used following code to test it (quite similar to zachs code above):
python:

import xbmcvfs
from urllib.parse import quote_plus

file_7z = "C:\\Users\\Malte\\Documents\\Archivetests\\Test.7z"
archive_file = 'archive://%(archive_file)s' % {'archive_file': quote_plus(xbmc.translatePath(file_7z))}
(dirs, files) = xbmcvfs.listdir(archive_file)
print(files)

When I run this code inside a Kodi addon, Kodi just crashes without any error message. When I change the 7z file to a zip file, the same code runs without any issues.

I tested several compression types (lzma, lzma2, bzip2, ...) and also tested with simple files or files in folders etc. All with the same result.

Also tested with Kodi Leia (version 1.0.7 of Archive support) and Matrix (version 1.2.0 of Archive support)

Does anybody has an idea what is wrong with my test?

Documented issue on that already here
https://github.com/xbmc/vfs.libarchive/issues/37 
Ok, thanks. Didn't see that.
Reply


Messages In This Thread
XBMC.Extract - by L0RE - 2017-10-30, 23:28
RE: XBMC.Extract - by spiff - 2017-10-31, 08:26
XBMC.Extract - by Martijn - 2017-10-31, 08:36
RE: XBMC.Extract - by L0RE - 2017-11-01, 22:52
RE: XBMC.Extract - by spiff - 2017-11-02, 00:42
RE: XBMC.Extract - by zachmorris - 2017-11-02, 03:16
RE: XBMC.Extract - by spiff - 2017-11-02, 14:19
RE: XBMC.Extract - by spiff - 2017-11-02, 19:20
RE: XBMC.Extract - by L0RE - 2017-11-02, 22:50
RE: XBMC.Extract - by henricos - 2017-12-21, 22:30
RE: XBMC.Extract - by spiff - 2017-11-23, 17:58
RE: XBMC.Extract - by spiff - 2017-12-21, 23:14
RE: XBMC.Extract - by henricos - 2017-12-22, 00:23
RE: XBMC.Extract - by spiff - 2017-12-22, 01:51
RE: XBMC.Extract - by henricos - 2017-12-22, 11:45
RE: XBMC.Extract - by fape88 - 2019-08-16, 08:50
RE: XBMC.Extract - by spiff - 2017-12-22, 23:02
RE: XBMC.Extract - by cramm - 2018-03-06, 04:19
RE: XBMC.Extract - by spiff - 2018-03-06, 09:43
RE: XBMC.Extract - by cramm - 2018-03-11, 15:41
RE: XBMC.Extract - by zachmorris - 2018-07-27, 01:22
RE: XBMC.Extract - by garbear - 2018-07-29, 22:12
RE: XBMC.Extract - by spiff - 2018-09-06, 10:56
RE: XBMC.Extract - by garbear - 2018-09-06, 22:40
RE: XBMC.Extract - by zachmorris - 2019-01-03, 23:57
RE: XBMC.Extract - by spiff - 2019-01-06, 08:16
RE: XBMC.Extract - by zachmorris - 2019-01-06, 08:27
RE: XBMC.Extract - by spiff - 2019-01-22, 16:08
RE: XBMC.Extract - by cyriltra - 2019-02-12, 15:59
RE: XBMC.Extract - by helviojr - 2019-02-16, 18:26
RE: XBMC.Extract - by cyriltra - 2019-02-17, 16:00
RE: XBMC.Extract - by zachmorris - 2019-02-21, 01:17
RE: XBMC.Extract - by henricos - 2019-05-12, 15:02
RE: XBMC.Extract - by henricos - 2019-05-15, 03:04
RE: XBMC.Extract - by zachmorris - 2019-05-15, 07:29
RE: XBMC.Extract - by HiGhLaNdeR - 2019-11-07, 03:07
RE: XBMC.Extract - by zachmorris - 2019-11-07, 03:13
RE: XBMC.Extract - by HiGhLaNdeR - 2019-11-07, 12:20
RE: XBMC.Extract - by zachmorris - 2019-11-10, 18:56
RE: XBMC.Extract - by HiGhLaNdeR - 2020-04-10, 11:17
RE: XBMC.Extract - by zachmorris - 2020-04-12, 20:41
RE: XBMC.Extract - by HiGhLaNdeR - 2020-04-13, 10:38
RE: XBMC.Extract - by matthuisman - 2019-07-10, 03:38
RE: XBMC.Extract - by zachmorris - 2019-07-10, 04:44
RE: XBMC.Extract - by malte - 2020-04-13, 13:06
RE: XBMC.Extract - by zachmorris - 2020-04-13, 23:43
RE: XBMC.Extract - by malte - 2020-04-14, 06:28
RE: XBMC.Extract - by bugatsinho - 2020-12-23, 16:09
Logout Mark Read Team Forum Stats Members Help
XBMC.Extract0