Ticket #6798 (closed: fixed)
Can't build qtassistant on RHEL6 if Mantid is also installed
Reported by: | Russell Taylor | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Release 2.5 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
The qt assistant help file generation is preventing this at present. The error was:
File "/home/tr9/TestingMantid/Code/Mantid/docs/qtassistant/fitfunctions_help.py", line 20, in process_function if func.numParams() <= 0: AttributeError: 'IFunction' object has no attribute 'numParams' make[2]: *** [bin/./qtassistant/fitfunctions.qhp] Error 1
This probably boils down to it looking at the installed version, which may or may not let things through depending on how old it is.
Change History
comment:1 Changed 8 years ago by Peter Peterson
- Summary changed from Can't build on RHEL6 if Mantid is also installed to Can't build qtassistant on RHEL6 if Mantid is also installed
comment:3 Changed 8 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:4 Changed 8 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:5 Changed 8 years ago by Peter Peterson
- Status changed from accepted to verify
- Resolution set to fixed
This is on bugfix/6798_qtassistant_installed.
To test try building mantid on a machine that already has mantid installed.
comment:6 Changed 8 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:7 Changed 8 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:8 Changed 8 years ago by Russell Taylor
- Status changed from verifying to closed
That did it - though it took me a while to reproduce the error (turned out the installation had to happen before running cmake on a clean checkout.
comment:9 Changed 8 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:10 Changed 7 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:11 Changed 7 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:12 Changed 7 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:13 Changed 7 years ago by Peter Peterson
Re #6798. Put build version of mantid at the head of the pythonpath.
Changeset: 587cb06e1af5cae1cd76744429df6cf1f46c22a3
comment:14 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7644