mailQuick release of relax version 3.3.3, and an idea for automatic bug submission when relax crashes.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on November 20, 2014 - 11:45:
Hi,

Just so you know, due to the fix for bug #22961
(https://gna.org/bugs/?22961), the failure of relaxation data loading
with the message "IndexError: list index out of range", I plan on soon
release a new relax version with this fix.  I don't know why relax
users have not reported this problem before, as it is likely to have
been encountered a few times.

Maybe the solution would be to catch all errors, skip the RelaxErrors
so they proceed as normal, and then create a system for automatic bug
submission?  This would be a radical and highly disruptive change
though.  A different solution would be required for each UI (prompt,
script, and graphical).

The hard part would be to interface with the Gna! infrastructure.
This may make automation impossible.  Therefore maybe a set of
instructions for bug submission should be presented to the user.  Some
ideas for the text would be:

- "An unidentified error has been encountered."
- Please create a bug report using the link
https://gna.org/bugs/?func=additem&group=relax.
- Copy and paste the entirety of the error message.
- Attach the log file if one was created (or copy and paste the relax
output or rerun relax with the --log or --tee option), compressing if
it is a large file.
- Ideally create truncated input data files for 1 or 2 spins, slightly
randomising the data and changing file names for privacy, and attach
those files.
- Attach a script file, if it exists.
- If the attached data and script files are sufficient to reproduce
the bug, a solution can usually be found within 5 to 10 minutes.
- Run 'relax --info --tee relax_info.log' and attach the
relax_info.log file to the report.

These are just some ideas for the future.

Regards,

Edward



Related Messages


Powered by MHonArc, Updated Thu Nov 20 16:00:15 2014