Ticket #7877 (assigned)

Opened 7 years ago

Last modified 5 years ago

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.

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

bulk move to assigned at the into of the triage step

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8722

Note: See TracTickets for help on using tickets.