Vis problemdetaljer

IDProsjektKategoriVisningsstatusSiste oppdatering
0000131BAS21BAS21Offentlig2026-04-28 10:08
Rapportert averik Delegert tilchreide  
PrioritetNormalAlvorlighetsgradKræsjMulighet for å reprodusereAlltid
Status LøstLøsningsstatusFikset 
PlattformMacbook Pro M4OSMacOSVersjon26.4.1
Oppsummering0000131: BAS21 2.0 beta 62 kan ikke åpnes
BeskrivelseThe BAS21 app crash on launch. The included binaries does not seem to be compatible with arm64 architecture of the M-series Apple Macs. This problem did not exist on beta 51. Trace log below.
TilleggsinformasjonTraceback (most recent call last):
  File "/Applications/BAS21 2.app/Contents/Resources/__boot__.py", line 184, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/__boot__.py", line 138, in _run
  File "/Applications/BAS21 2.app/Contents/Resources/bas21.py", line 19, in <module>
  File "utils/backend_manager.pyc", line 8, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/bascore/schemas/__init__.py", line 5, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic/__init__.py", line 5, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic/_migration.py", line 4, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic/warnings.py", line 5, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic/version.py", line 7, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic_core/__init__.py", line 8, in <module>
ImportError: dlopen(/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic_core/_pydantic_core.cpython-314-darwin.so, 0x0002): tried: '/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic_core/_pydantic_core.cpython-314-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic_core/_pydantic_core.cpython-314-darwin.so' (no such file), '/Applications/BAS21 2.app/Contents/Resources/lib/python3.14/pydantic_core/_pydantic_core.cpython-314-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64e.v1' or 'arm64' or 'arm64'))
2026-04-21 13:39:31.287 BAS21[66773:6463665] Launch error
2026-04-21 13:39:31.287 BAS21[66773:6463665] Launch error
See the py2app website for debugging launch issues
NøkkelordIngen nøkkelord tilknyttet

Aktiviteter

chreide

2026-04-22 10:15

Administrator   ~0000259

Kan du prøve https://download.bas21.no/bas21/BAS21-2.0.0-beta63.dmg

erik

2026-04-22 11:33

Rapportør   ~0000260

Hei, jeg har prøvd beta63. Programmet krasjer ikke lenger, men det starter ikke heller. errorloggen gir følgende hvis det er til noe hjelp:

2026-04-22 11:30:32,148 - ERROR - Task exception was never retrieved
future: <Task finished name='Task-1' coro=<Bas21App.start_bas21() done, defined at /Applications/BAS21 2.app/Contents/Resources/bas21.py:183> exception=ImportError("dlopen(/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/PIL/_imaging.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_jpeg_resync_to_restart'")>
Traceback (most recent call last):
  File "/Applications/BAS21 2.app/Contents/Resources/bas21.py", line 214, in start_bas21
  File "ui/mainwin.pyc", line 20, in <module>
  File "ui/bilag/mvamelding.pyc", line 8, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/bascore/baslib/mva.py", line 7, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/bascore/baslib/docexport/mvamld2022.py", line 6, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/reportlab/platypus/__init__.py", line 7, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/reportlab/platypus/flowables.py", line 29, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/reportlab/lib/colors.py", line 43, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/reportlab/lib/rl_accel.py", line 34, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/reportlab/lib/utils.py", line 15, in <module>
  File "/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/PIL/Image.py", line 95, in <module>
ImportError: dlopen(/Applications/BAS21 2.app/Contents/Resources/lib/python3.12/PIL/_imaging.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_jpeg_resync_to_restart'

chreide

2026-04-23 22:12

Administrator   ~0000261

Jeg har gjort et nytt forsøk nå. Samme link (altså beta 63) men innholdet er oppdatert.

erik

2026-04-23 22:49

Rapportør   ~0000262

problemet er løst i den versionen (beta 63 v2). Programmet starter helt fint på maskinen min nå.

chreide

2026-04-28 10:08

Administrator   ~0000263

Løst med universal2 eller dual builds for alle dependencies.

Sakshistorikk

Dato endret Brukernavn Felt Endring
2026-04-21 14:01 erik Ny sak
2026-04-21 14:01 erik Status Ny => Delegert
2026-04-21 14:01 erik Delegert til => chreide
2026-04-22 10:15 chreide Notat lagt til: 0000259
2026-04-22 11:33 erik Notat lagt til: 0000260
2026-04-23 22:12 chreide Notat lagt til: 0000261
2026-04-23 22:49 erik Notat lagt til: 0000262
2026-04-28 10:08 chreide Status Delegert => Løst
2026-04-28 10:08 chreide Løsningsstatus Åpen => Fikset
2026-04-28 10:08 chreide Notat lagt til: 0000263