Ticket #5142 (closed: wontfix)
Error running python algorithm from Python
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Owen Arnold |
Description
Vickie has observed that this script
from MantidFramework import * mtd.initialise() import os SNSPowderReduction(Instrument='PG3', RunNumber='8364', Extension='_event.nxs', PreserveEvents=True, CalibrationFile='/home/vel/Mantid/Code/Mantid/release/bin/PG3_SS_d7297_2012_02_17.cal',CharacterizationRunsFile='/home/vel/Mantid/Code/Mantid/release/bin/PG3_characterization_2012_02_23-HR.txt', Binning='0.2,-0.0004,10.',BinInDspace=True, StripVanadiumPeaks=True, FilterBadPulses=True, NormalizeByCurrent=True, SaveAs='gsas', OutputDirectory='/home/vel/Mantid/Code/Mantid/mpi/bin', FinalDataUnits='dSpacing')
fails in the python window with this error
RuntimeError: Mantid import error. The mock simple API functions have not been replaced! This is an error in the core setup logic of the mantid module, please contact the development team. at line 5 in '/home/vel/Mantid/Code/Mantid/release/bin/PowderReduction.py' caused by line 622 in '/home/vel/Mantid/Code/Mantid/release/bin/mantid/simpleapi.py'
Change History
comment:2 Changed 8 years ago by Martyn Gigg
Leave out mock api functions for the moment. Refs #5142
They are interfering with the simple functions from the old API
Changeset: 89d0ee22a360358650814269db798184ade1bc83
comment:3 Changed 8 years ago by Martyn Gigg
Leave out mock api functions for the moment. Refs #5142
They are interfering with the simple functions from the old API
Changeset: 89d0ee22a360358650814269db798184ade1bc83
comment:4 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.1 to Release 2.2
Moved at end of release 2.1
comment:5 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.2 to Release 2.3
Moved at the end of release 2.2
comment:6 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to wontfix
I've created #5884 to better describe the problem. Marking this as won't fix.
comment:7 Changed 8 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
Note: See
TracTickets for help on using
tickets.