Ticket #5098 (closed: worksforme)
Running a script with python comments at the top messes up the filename in an error
| Reported by: | Martyn Gigg | Owned by: | Martyn Gigg | 
|---|---|---|---|
| Priority: | major | Milestone: | Release 2.2 | 
| Component: | Mantid | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Tester: | Peter Parker | 
Description
"""
    Testing a comment
"""
import nonexistent
The above script fails as it should but the filename in the output is complete gibberish. Removing the comment lines restores the correct name however.
Change History
comment:3 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
 - Resolution set to worksforme
 
It appears to work properly now.
comment:4 Changed 8 years ago by Peter Parker
- Status changed from verify to verifying
 - Tester set to Peter Parker
 
Note: See
        TracTickets for help on using
        tickets.
    
Moved at end of release 2.1