New feature: Diagnostic report

Hi All,

To make it easier for all of us to help each other and future users I’ve created a Diagnostic report function. This functions gathers some information and packs it into a Zip file that can be shared easily :slight_smile:

A diagnostic report can be created in the client via: Help → Diagnostic report…

It will show a dialog which explains what is about to happen:

Contents of the created Zip file:

Contents of traintastic-client-info.txt:

### Traintastic Client ###
Version: 0.4.0-dev

### System info ###
OS: Windows
Version: 10.0 (build: 19045)
DisplayVersion: 22H2 
Memory total: 8191 MB
Memory available: 4242 MB
Process memory: 63 MB
CPU cores: 4

### Environment (TRAINTASTIC_*) ###
TRAINTASTIC_LOCALE_PATH=C:/Users/reinder/Traintastic/traintastic/shared/translations

### Compiler ###
Compiler: MSVC
Version: 19.44
Full Version: 194435226
Architecture: x86_64

### Libraries ###
Qt: 6.9.1 (compiled: 6.9.1)
libarchive: libarchive 3.7.7 zlib/1.3.1

Contents of traintastic-server-info.txt:

### Traintastic Server ###
Version: 0.4.0-dev

### System info ###
OS: Windows
Version: 10.0 (build: 19045)
DisplayVersion: 22H2 
Memory total: 8191 MB
Memory available: 4230 MB
Process memory: 11 MB
CPU cores: 4

### Environment (TRAINTASTIC_*) ###
TRAINTASTIC_LOCALE_PATH=C:/Users/reinder/Traintastic/traintastic/shared/translations

### Compiler ###
Compiler: Clang
Version: 19.1.5 
Architecture: x86_64

### Libraries ###
boost: 1.86.0
nlohmann::json: 3.10.5
libarchive: libarchive 3.7.7 zlib/1.3.1 liblzma/5.6.3
zlib: 1.3.1
lua: Lua 5.4.7  Copyright (C) 1994-2024 Lua.org, PUC-Rio

More diagnostics can be added if needed, as long as we’re transparant about what is collected and the user is able to check it before sharing.

The feature is available is available in master development build #1988 and later.

Feedback is welcome :slight_smile:

Greetings,
Reinder

1 Like