LongDirtyAnimAlf / Reiniero-fpcup

fpcup (and fpclazup) are installers for FPC (and Lazarus).
52 stars 10 forks source link

During installation of help: fpclazup: ERROR: TNormalUnzipper: Could not unzip file. #57

Open marsupilami79 opened 3 months ago

marsupilami79 commented 3 months ago

Hello,

we use fpclazup to update fpc 3.2 and lazarus on a nightly basis. For some time now we get the following error when updating in the logs:

01:03:12 fpclazup: info: helplazarus: documentation directory: C:\fpc-3.2-fixes+lazarus-2.0-fixes-win32\lazarus\docs\chm. 01:03:12 Using WinINet to download doc-chm-fpc3.2.2-laz2.2.0-0.zip from /projects/lazarus/files/Lazarus Documentation/Lazarus 2.2.0/ 01:03:15 fpclazup: ERROR: TNormalUnzipper: Could not unzip file. 01:03:15 An unhandled exception occurred at $0040E5DF: 01:03:15 EAccessViolation: Access violation 01:03:15 $0040E5DF 01:03:15 $004AFDE2 01:03:15 $004B1BFE 01:03:15 $0043D026 01:03:15 $0043F038 01:03:15 $0043EFB4 01:03:15 $0043EFB4 01:03:15 $0043C529 01:03:15 $00403D0F 01:03:15 01:03:15

This is the version information as printed by fpclazup:

00:34:10 Version: based on commit fpcup489 (20231225) 00:34:10 Build date: 2023/12/27 08:45:49 00:34:10 Compiled for CPU: i386 on win32

I do this on Windows 10. The command line is:

C:\fpclazup\fpclazup-i386-win32.exe --installdir="C:\fpc-3.2-fixes+lazarus-2.0-fixes-win32" --fpcsplit --noconfirm --fpcURL="fixes-3.2.gitlab" --lazURL="fixes-2.0.gitlab" --fpcPATCH=comprsrc.pas.diff

Are there any ides what I can do?

Best regards,

Jan

LongDirtyAnimAlf commented 3 months ago

Should be solved by new release. Please test.

marsupilami79 commented 3 months ago

Hello,

I downloaded the new release but it doesn't work:

Fpclazup, a FPC/Lazarus downloader/updater/installer Original by BigChimp: https://bitbucket.org/reiniero/fpcup This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

Fpclazup will download the FPC and Lazarus sources from the source SVN repositories, and compile, and install. Result: you get a fresh, up-to-date Lazarus/FPC installation.

Version: based on commit fpcup502 (20240605) Build date: 2024/06/06 09:23:31 Compiled for CPU: i386 on win32

Options: Binutils/make dir: C:\fpc-3.2-fixes+lazarus-3.0-fixes-win32\fpcbootstrap Base directory: C:\fpc-3.2-fixes+lazarus-3.0-fixes-win32 Bootstrap dir: C:\fpc-3.2-fixes+lazarus-3.0-fixes-win32\fpcbootstrap FPC URL: https://gitlab.com/freepascal.org/fpc/source FPC options:
FPC directory: C:\fpc-3.2-fixes+lazarus-3.0-fixes-win32\fpc Lazarus URL: https://gitlab.com/freepascal.org/lazarus/lazarus Lazarus options:
Lazarus directory: C:\fpc-3.2-fixes+lazarus-3.0-fixes-win32\lazarus Keep changes: no Re-apply changes: no Log file name: C:\fpclazup\fpcup.log Standard modules: suggestedpackages Standard modules: fpdebug [...] fpclazup: info: helplazarus: documentation directory: C:\fpc-3.2-fixes+lazarus-3.0-fixes-win32\lazarus\docs\chm. Using WinINet to download fpc-lazarus-0.9.28-doc-chm.tar.bz2 from /projects/lazarus/files/Lazarus Documentation/Old releases/Lazarus 0.9.28/ fpclazup: ERROR: TNormalUnzipper: Could not unzip file. An unhandled exception occurred at $0040E6CF: EAccessViolation: Access violation $0040E6CF $004BB1D2 $004BCFEE $0043DD86 $0043FD58 $0043FCD4 $0043FCD4 $0043C519 $00403D1F

LongDirtyAnimAlf commented 3 months ago

This might be a new fpcupdeluxe bugger. It should never try to download fpc-lazarus-0.9.28-doc-chm.tar.bz2 when installing Lazarus 3.0 fixes. Will look into this.

LongDirtyAnimAlf commented 3 months ago

Bugger fixed. https://github.com/LongDirtyAnimAlf/fpcupdeluxe/commit/fdef17b59377fe6a0b113c9a685781410aca6d20

Will release an update soon.