Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error code 2 using "p7zip", Fatal Error #995

Closed
mabundis opened this issue Dec 15, 2021 · 8 comments
Closed

Error code 2 using "p7zip", Fatal Error #995

mabundis opened this issue Dec 15, 2021 · 8 comments
Assignees
Milestone

Comments

@mabundis
Copy link

Configuration

  • Keka version: 1.2.50 (4808)
  • macOS version: 10.15.7
  • iMac 14,3

Describe the bug

I have downloaded a file several times and tried to decompress it using Keka (as recommended by VW)
The file I download is located at: https://app-connect.volkswagen.com/mapupdates/download/#download
'Europe - Bundle 1'
I have now tried with two different version dates (one previous version, and the current version) with the same result.
I am trying to decompress the file to an SD card using the built in SD card reader.
The media I am using is an empty SanDisk Ultra, 32GB 120MS/s factory formatted (and later formatted on the iMac) as MS-DOS (Fat 32).
Each time, near completion of the decompression process, I receive the same result: Error code 2 using "p7zip", Fatal Error

To Reproduce

The error happens simply as part of the standard decompression process, near the end of its run.
I have copied the log file below, from my latest attempt.

Thank you for your help!

2021-12-15 08:42:13.615 Dev mode enabled
2021-12-15 08:42:13.616 READER: Dev reader mode enabled
2021-12-15 08:42:13.616 NOTIFICATION: Dev notifications mode enabled
2021-12-15 08:42:13.616 Running on OS X/macOS version 10.15.7 (Build 19H1519)
2021-12-15 08:42:13.616 Running sandboxed Keka (MAS) version 1.2.50 (4808)
2021-12-15 08:42:13.617 Used localization: en
2021-12-15 08:42:21.740 DEV: Dismissing delayed tasks
2021-12-15 08:42:26.811 DEV: Bookmarks updated: 3
2021-12-15 08:42:26.812 DEV: Checking tasks queue
2021-12-15 08:42:26.831 DEV: Starting queued task
2021-12-15 08:42:26.842 DEV: Path set as unavailable: /Volumes/NO NAME/DiscoverMedia2_EU-AS_1810_V15.kextraction
2021-12-15 08:42:26.852 DEV: OS: Version 10.15.7 (Build 19H1519)
2021-12-15 08:42:26.852 DEV: Keka: v1.2.50-r4808 (MAS) (Sandboxed) (en)
2021-12-15 08:42:26.852 DEV: Format detected: 7Z
2021-12-15 08:42:26.853 DEV: Binary used: keka7z
2021-12-15 08:42:26.853 DEV: Arguments: (
x,
"/Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z",
"-o/Volumes/NO NAME/DiscoverMedia2_EU-AS_1810_V15.kextraction/Operation",
"-aou",
"-xr!__MACOSX",
"-xr!.DS_Store",
"-xr!.localized",
"-xr!._",
"-xr!.FBC
",
"-xr!.Spotlight-V100",
"-xr!.Trash",
"-xr!.Trashes",
"-xr!.background",
"-xr!.TemporaryItems",
"-xr!.fseventsd",
"-xr!.com.apple.timemachine.*",
"-xr!.VolumeIcon.icns"
)
2021-12-15 08:42:27.002 READER:
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)
Modified by aONe for Keka

Scanning the drive for archives:
0M Scan /Users/marcus/Desktop/
2021-12-15 08:42:27.003 READER:
2021-12-15 08:42:27.011 READER: 1 file, 16063003944 bytes (15 GiB)

Extracting archive: /Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z

2021-12-15 08:42:27.035 READER: --
Path = /Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z
Type = 7z
Physical Size = 16063003944
Headers Size = 37842
Method = LZMA2:24
Solid = +
Blocks = 9

0%
2021-12-15 08:42:27.448 READER: 0% 35
2021-12-15 08:42:28.267 READER: 0% 105
2021-12-15 08:42:28.670 READER: 0% 139
2021-12-15 08:42:29.274 READER: 0% 207
2021-12-15 08:42:29.474 READER: 0% 229
2021-12-15 08:42:29.675 READER: 0% 251
2021-12-15 08:42:29.876 READER: 0% 271
2021-12-15 08:42:31.794 READER: 0% 428
2021-12-15 08:42:31.994 READER: 0% 442
2021-12-15 08:42:33.396 READER: 0% 546
2021-12-15 08:42:33.596 READER: 0% 565
2021-12-15 08:42:33.796 READER: 0% 586
2021-12-15 08:42:33.996 READER: 0% 606
2021-12-15 08:42:35.533 READER: 0% 702
2021-12-15 08:42:36.146 READER: 0% 738
2021-12-15 08:45:43.177 READER: 20% 6546
2021-12-15 08:48:07.348 READER: 44% 6577
2021-12-15 08:49:17.085 READER: 55% 6587
2021-12-15 08:50:42.251 READER: 68% 6598
2021-12-15 08:51:56.591 READER: 80% 6616
2021-12-15 08:52:39.570 READER:
ERROR: E_FAIL

2021-12-15 08:52:39.571 READER:
2021-12-15 08:52:40.768 READER:
Archives with Errors: 1

2021-12-15 08:52:40.888 DEV: Checking ended task
2021-12-15 08:52:40.889 Setting extraction error code: 2
2021-12-15 08:52:40.897 DEV: Checking tasks queue
2021-12-15 08:52:40.901 DEV: Path set as unavailable: /Volumes/NO NAME/maps 2
2021-12-15 08:52:40.901 DEV: Path already set as unavailable: /Volumes/NO NAME/maps 2
2021-12-15 08:52:40.910 DEV: Path set as available: /Volumes/NO NAME/maps 2
2021-12-15 08:52:40.911 DEV: Path set as available: /Volumes/NO NAME/DiscoverMedia2_EU-AS_1810_V15.kextraction
2021-12-15 08:52:40.911 DEV: Error code 2
2021-12-15 08:52:40.913 NOTIFICATION: Notify task...
2021-12-15 08:52:40.913 NOTIFICATION: Notify with title: Extraction failed
2021-12-15 08:52:40.914 NOTIFICATION: Notify with informativeText: Extraction failed
2021-12-15 08:52:40.914 DEV: (
"OS: Version 10.15.7 (Build 19H1519)",
"Keka: v1.2.50-r4808 (MAS) (Sandboxed) (en)",
"Format detected: 7Z",
"Binary used: keka7z",
"Arguments: (\n x,\n "/Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z",\n "-o/Volumes/NO NAME/DiscoverMedia2_EU-AS_1810_V15.kextraction/Operation",\n "-aou",\n "-xr!__MACOSX",\n "-xr!.DS_Store",\n "-xr!.localized",\n "-xr!._",\n "-xr!.FBC",\n "-xr!.Spotlight-V100",\n "-xr!.Trash",\n "-xr!.Trashes",\n "-xr!.background",\n "-xr!.TemporaryItems",\n "-xr!.fseventsd",\n "-xr!.com.apple.timemachine.*",\n "-xr!.VolumeIcon.icns"\n)",
"\n7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21\np7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)\nModified by aONe for Keka\n\nScanning the drive for archives:\n 0M Scan /Users/marcus/Desktop/",
"",
"1 file, 16063003944 bytes (15 GiB)\n\nExtracting archive: /Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z\n",
"--\nPath = /Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z\nType = 7z\nPhysical Size = 16063003944\nHeaders Size = 37842\nMethod = LZMA2:24\nSolid = +\nBlocks = 9\n\n 0%",
" 0% 35",
" 0% 105",
" 0% 139",
" 0% 207",
" 0% 229",
" 0% 251",
" 0% 271",
" 0% 428",
" 0% 442",
" 0% 546",
" 0% 565",
" 0% 586",
" 0% 606",
" 0% 702",
" 0% 738",
" 20% 6546",
" 44% 6577",
" 55% 6587",
" 68% 6598",
" 80% 6616",
"\nERROR: E_FAIL\n",
"",
"\nArchives with Errors: 1\n\n",
"Error code 2"
)
2021-12-15 08:52:41.021 NOTIFICATION: Notification didDeliverNotification
2021-12-15 08:52:41.021 NOTIFICATION: {
path = "/Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z";
type = 3;
}

@mabundis mabundis added the bug label Dec 15, 2021
@aonez aonez added this to the 1.2.51 milestone Dec 15, 2021
@aonez
Copy link
Owner

aonez commented Dec 15, 2021

@mabundis you should be more specific on the file because the provided link displays a car model selection, the first option tried does not redirect to your file.

That said most probably you're hitting the 4GB file size limit on the FAT32 format. I'm unaware of the VW requirements, but probably you need to format that SD as NTFS or EXFAT so it supports >4GB files.

As a tip, that will enable you to write (format) as NTFS and EXFAT on macOS: https://github.com/tuxera/ntfs-3g

If you provide the link to your used 7z file (or all steps) I can assure this is the issue.

@mabundis
Copy link
Author

Thanks much for your quick response:
In locating the specific file I am downloading, follow the prior link and . . .
#1 - the model to select is 'Golf Sportsvan from 2019'
#2 - the navigation system is 'Discover Media' (MIB 2)
#3 - the region to select is 'Europe - Bundle 1'
My apologies for not being more clear about this (I assumed I gave you the correct link without actually checking)

That said most probably you're hitting the 4GB file size limit on the FAT32 format. I'm unaware of the VW requirements, but probably you need to format that SD as NTFS or EXFAT so it supports >4GB files. <

Hmm, okay – that is interesting. All the research I did in exploring the VW side of things stated that one MUST use the FAT32 format. This is because the system where one ultimately loads the decompressed files into (the VW car computer) requires/uses FAT32. Still, I am happy to try anything that works in the end.
Yes, in reading the Keka log file it seemed like there was a 'size' problem somewhere, but I was unsure of what/where.

I will await your further feedback to see if you can confirm the actual source of the issue.
Please let me know if you need more detail.
TIA!

@aonez
Copy link
Owner

aonez commented Dec 15, 2021

Thanks, now I've downloaded and checked that the extraction works properly. Also there's no >4GB file, so the FAT32 format is not an issue. I've successfully extracted it to booth the macOS disk and an external FAT32 formatted 32GB thumb drive.

  • Just to discard try extracting it first to your macOS drive instead of the SD. If it works copy the extracted files to the SD and see if it returns any error.
  • The most common issue is lack of space but you've said it's 32GB and empty. Anyway formatting again won't hurt. Also check there're no files in the Trash.
    Screenshot 2021-12-15 at 13 57 38

Another common issue is a broken file, but you've downloaded it multiple times (and different file versions). Anyway you can check the file integrity using the Terminal.app:

md5 /Users/marcus/Desktop/DiscoverMedia2_EU-AS_1810_V15.7z

This should return this string: e1037e1f7c0a4a40b727a4fe116c199e

aone@aONe-M1 ~ % md5 /Users/aone/Downloads/DiscoverMedia2_EU-AS_1810_V15.7z 
MD5 (/Users/aone/Downloads/DiscoverMedia2_EU-AS_1810_V15.7z) = e1037e1f7c0a4a40b727a4fe116c199e

If it does not return the same string the downloaded file is corrupted.

@mabundis
Copy link
Author

I will check and try as you suggest. Thanks for the info . . .

MORE INFO: I just put the VW factory SD card into my iMac's card reader to check its actual format.
It reported MS-DOS (Fat 32) . . .
BUT, Finder could not see the SD card. I instead used Disk Utility to see the card and check its format.
Earlier, Finder could see the VW factory SD card, but not now.
I restarted my iMac in hopes of clearing things up – but then neither Finder nor Disk Utility could see the VW factory SD card.
Any thoughts to such odd behavior?

@aonez
Copy link
Owner

aonez commented Dec 15, 2021

Faulty or dead SD card?

@mabundis
Copy link
Author

Except that the VW factory SD card works fine in the intended/needed application (in the car's computer) . . .
I will let you know what happens.

@mabundis
Copy link
Author

okay, like you said works fine this way . . . I seems to have a dodgy SD card reader that is causing my problems/confusion.
Sorry for bothering you!!

@aonez
Copy link
Owner

aonez commented Dec 16, 2021

Well! That's the easiest and cheapest to fix, glad to hear that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants