Ticket #4423 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Python algorithms are missing if new Python api is the default

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description


Change History

comment:1 Changed 9 years ago by Martyn Gigg

Refs #4423. Ensure Python algorithms are always loaded.

They use the old API at the moment so ensure they are loaded regardless.

Changeset: 84abd6b4fe4784adfe449125ad28c3be15131113

comment:2 Changed 9 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:4 Changed 9 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:5 Changed 9 years ago by Nick Draper

  • Status changed from verifying to closed

Python algorithms tested in new API, and old API

comment:6 Changed 9 years ago by Janik Zikovsky

I still get errors like:

Error: Importing module "RefLoad" failed". Python argument types in
    FrameworkManager._getPropertyOrder(MantidPyFramework, IAlgorithm)
did not match C++ signature:
    _getPropertyOrder(Mantid::PythonAPI::FrameworkManagerProxy {lvalue}, Mantid::API::IAlgorithm const*)

and no python algorithms if I enable the new API. This is on Ubuntu 11.04, running in debug mode. Am I missing something to make it work? My build is up-to-date as of a few minutes ago.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5270

Note: See TracTickets for help on using tickets.