Ticket #7877 (assigned)
Possible Mantid Python API error
Reported by: | Samuel Jackson | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Backlog |
Component: | Python | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
A user was spotting the following error occurring in multiple places across the IDA interface on a copy of Mantid taken from develop (2.6.20130904.1941). This could apparently be produced by many points in the interface, such as by running ConvFit with some appropriate input.
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 14 in '<Interface>' caused by line 201 in 'C:/MantidInstall/scripts/Inelastic\IndirectDataAnalysis.py' caused by line 736 in 'C:/MantidInstall/bin\mantid\simpleapi.py'
Attempts to reproduce the error locally failed (including doing a fresh install of the build on Windows and Ubuntu). The user also reported that they were not experiencing the error in the latest clean master copy of Mantid (2.6.20130904.1527).
I performed a git bisect back through from a future develop commit (552e2167846f33486c9df13f422493111874c84f) to the last commit to make it into the clean build of master (fe17ad900abdd11feadb453005b0643f968f2ab7) but still failed to be able to reproduce the error.
This ticket is to preserve this information in case anyone else manages to spot this error cropping up in a reproducible situation during the transition to the new Python API.
bulk move to assigned at the into of the triage step