trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
136 stars 19 forks source link

Crash on startup #782

Closed technicbasics closed 3 weeks ago

technicbasics commented 3 weeks ago

Summary When starting the program for the first time, it crashes unexpectedly. The config folder is created, then the program closes.

LPub3D Version

2.4.8r87 32/64 Bit mobile version unzipped in admin mode 2.4.8r101 32/64 Bit mobile version unzipped in admin mode

Runtime Environment Edition Windows 11 Home Version 23H2 Installiert am ‎07.‎10.‎2022 Betriebssystembuild 22631.4391 Leistung Windows Feature Experience Pack 1000.22700.1047.0

Prozessor 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz 2.50 GHz RAM 16,0 GB Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor

Complete content of the program path where only the config folder was newly created: grafik

Contents of the Config folder: grafik

Contents of the LPub3D.... folder: grafik

Zipped Lpub3D.ini LPub3D.ini.zip

If you need any other files, let me know.

Regards Johann

*

trevorsandy commented 3 weeks ago

Thank you for reporting this behaviour. I'll take a look.

Just to confirm, the application will AbEnd on initial startup after a new extract/install, or every time you launch the application it AbEnds on startup ?

Cheers,

technicbasics commented 3 weeks ago

Every time.

05.11.2024 18:57:06 Trevor SANDY @.***>:

Thank you for reporting this behaviour. I'll take a look.

Just to confirm, the application will AbEnd on initial startup after a new extract/install, or every time you launch the application, it AbEnds on startup ?

Cheers,

— Reply to this email directly, view it on GitHub[https://github.com/trevorsandy/lpub3d/issues/782#issuecomment-2457830161], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ALWM45OWLTEQ7LUI526VGTDZ7EBG3AVCNFSM6AAAAABRG7NU4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXHAZTAMJWGE]. You are receiving this because you authored the thread. [Verfolgungsbild][https://github.com/notifications/beacon/ALWM45JQTOZYYZTCMHYMSSLZ7EBG3A5CNFSM6AAAAABRG7NU4GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUSP6BRC.gif]

trevorsandy commented 3 weeks ago

Workaround

  1. Open a command console session
  2. Set the environment variable LPUB3D_DISABLE_UPDATE_CHECK=1 (any value is ok)
  3. Launch the application from the command line

Windows example commands (run from LPub3D executable location .\LPub3D_x86_64-2.4.8.101.4053_20241105\LPub3D_x86_64 or C:\Program Files\LPub3D):

SET LPUB3D_DISABLE_UPDATE_CHECK=1
.\LPub3D.exe

Linux example commands (run from LPub3D executable location /usr/share/lpub3d):

export LPUB3D_DISABLE_UPDATE_CHECK=1
./lpub3d

macOS example commands (run from LPub3D executable location /Applications/LPub3D.app/Contents/MacOS/):

export LPUB3D_DISABLE_UPDATE_CHECK=1
./lpub3d

I will check in a fix shortly.

Cheers,

trevorsandy commented 3 weeks ago

This behaviour has been corrected.

Cheers,

technicbasics commented 3 weeks ago

Many thanks. I'll wait for the next ci-build. Johann