You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show a user-fix error when RAxML rejects a partition file #319
Sentry RAXMLGUI2-2DF (raxmlGUI 2.0.17, Windows): a run with a user-loaded partition file fails with the generic Error: Exited with code 3. Check console output for more information. and is reported to Sentry as an app error.
RAxML 8 printed the real cause on stdout:
RAxML detected the character ";" in your partition file,
while it does not belong there!
Are you sure that your partition file complies with the RAxML partition file format?
The user's partition file had NEXUS-style lines (charset gene1 = 1-500;). Run.addPartitionFiles (src/app/store/Run.ts:1551) stores the file unchecked and passes it to RAxML with -q (Run.ts:835).
Repro
In static/test-files/ on the ticket branch: load test_ambiguous_nucleotide.txt as the alignment and fail_partition_semicolon.txt as the partition file, then run raxmlHPC (any analysis). RAxML exits with code 3.
Fix
Follow the unwritable-output-file case in src/main/processHelpers.ts:136: when stdout contains RAxML detected the character or Are you sure that your partition file complies, reject with a UserFixError saying the partition file must be in RAxML format (DNA, gene1 = 1-500), without ; or charset.
Acceptance
The repro run shows a user-fix dialog naming the partition file problem, not "Exited with code 3".
Repro on branch 319-show-a-user-fix-error-when-raxml-rejects-a-partition-file, files in static/example-files/repro/partition-semicolon/. The partition file is DNA, gene1 = 1-21; (a bare charset line fails earlier, with a different message). Running it gives the same stdout as Sentry. RAxML aborts on an assert, so the exit code is 3 on Windows and 134 (SIGABRT) on macOS. Match on stdout, not on the exit code.
Moved the repro into static/test-files/ (commit f64ec7d). Load test_ambiguous_nucleotide.txt as the alignment and fail_partition_semicolon.txt as the partition file, then run. The output is the same. The static/example-files/repro/ path in the description no longer exists.
Activity
jtklein-agents commentedon Nov 22, 2026
Repro on branch
319-show-a-user-fix-error-when-raxml-rejects-a-partition-file, files instatic/example-files/repro/partition-semicolon/. The partition file isDNA, gene1 = 1-21;(a barecharsetline fails earlier, with a different message). Running it gives the same stdout as Sentry. RAxML aborts on an assert, so the exit code is 3 on Windows and 134 (SIGABRT) on macOS. Match on stdout, not on the exit code.Move the partition repro into static/test-files
jtklein-agents commentedon Nov 22, 2026
Moved the repro into
static/test-files/(commit f64ec7d). Loadtest_ambiguous_nucleotide.txtas the alignment andfail_partition_semicolon.txtas the partition file, then run. The output is the same. Thestatic/example-files/repro/path in the description no longer exists.