Skip to content

dirigent and Ph2 ACF version numbers uploaded to Panthera are reset if Felis username/password are incorrect

Bug Report

  1. Please make sure you have selected the correct template (bug report/feature request) from the Description drop-down menu above.
  2. You can switch to either "plain text editing" or "rich text editing" as you prefer at the bottom of this text box.
  3. Please do not delete any of the below fields!
  4. Please fill out all fields below.

Summary

as title

Expected Result

dirgient version and Panthera version should be stored and 'remembered' regardless of how many times a user enters their username and password incorrectly

Actual Result

Ph2 ACF and dirigent version are uploaded as "unknown" when username and/or password are entered incorrectly, then entered correctly.

2025-10-22 16:20:13 INFO felis_handler - Uploading files for sequence 'ThresholdAdjustment_2000' to Panthera...
2025-10-22 16:20:13 INFO felis_handler - Passing version numbers dirigent: 4.0.0-4-gb8976db and Ph2 ACF: v6-20 to Panthera...
Please enter your username (enter 'exit' to abort): 
test
Please enter your password: 
****
FELIS LOG: Uploading metadata 

100%|███████████████████████████████████████████████████████████| 4.45k/4.45k [00:00<00:00, 8.33kB/s]
FELIS ERROR: Failed to create sequence entry. Panthera responded with status code 401 and response The username you entered has not been registered. 
 

2025-10-22 16:20:23 INFO felis_handler - Upload did not work. Try again
2025-10-22 16:20:23 INFO felis_handler - 
2025-10-22 16:20:23 INFO felis_handler - Uploading files for sequence 'ThresholdAdjustment_2000' to Panthera...
2025-10-22 16:20:23 INFO felis_handler - Passing version numbers dirigent: unknown and Ph2 ACF: unknown to Panthera...
Please enter your username (enter 'exit' to abort):

Steps to Reproduce

  1. Successfully run a calibration with felis = true in the dirigent.toml file
  2. Enter an incorrect username or password when prompted by Felis
  3. Enter a correct username and password when reprompted

Checklist

Please note: depending on the issue, log files may be found either in your working directory, or in the Results_dirigent/ folder

  • I have attached my dirigent.toml, instruments.json, and modules.json files
  • I have attached the Ph2 ACF XML file
  • I have attached the dirigent.log and status.log files
  • I have zipped and attached the Ph2 ACF logs/ folder

Final steps

  1. Please assign this report to @mfranks below.
  2. Add the label "bug" in the Labels field below.
  3. Please ignore Epic, Milestone, Weight, Due date, and Iteration fields below.
Edited by Matthew Lewis Franks