Skip to content

BERA Tools 0.7.1: Windows installer fixes - #10

Merged
Maverick-F merged 1 commit into
mainfrom
release-0.7.1
Dec 4, 2026
Merged

Maverick-F merged 1 commit into
mainfrom
release-0.7.1

Conversation

@Maverick-F

Copy link
Copy Markdown
Contributor

Fixes for the Windows installer of 0.7.0, which could fail to start BERA Tools or run its tools.

Changes

  • Startup crash: BERA Tools closed at launch with an access violation on some PCs. GDAL now
    loads before Qt, whose older msvcp140.dll crashed it.
  • Tool output: tools now run with -u -X utf8, so their output shows at once and symbols such
    as ✓ no longer stop them with a UnicodeEncodeError.
  • Tools hanging while loading: numba's cache was written under Program Files, where it can't be,
    and the import retried without end. It now goes to %LOCALAPPDATA%\BERA Tools\numba_cache.
  • Install location and upgrades: the installer now installs in 64-bit mode to
    C:\Program Files\BERA Tools, and removes an earlier version (0.7.0 or older) first.
  • Compiled Python files: precompiled with hash checks, so the installed .pyc files stay valid.
  • PC2Products and R:
    • finds R installed with CRAN's Windows installer: the registry, Program Files and
      %LOCALAPPDATA%\Programs\R, newest version first;
    • installs missing R packages into the user's R library when R is in Program Files, where
      a user can't write;
    • the error message for a missing R says where to download R 4.5 from;
    • the installer includes rpy2.
  • Version 0.7.1.

@Maverick-F
Maverick-F marked this pull request as ready for review December 4, 2026 16:42
@Maverick-F
Maverick-F merged commit b4719ee into main Dec 4, 2026
3 checks passed
@Maverick-F
Maverick-F deleted the release-0.7.1 branch December 4, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant