Ticket #5176 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Semi-colon in pythonalgorithms.directories key causes loading problems

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Stuart Campbell

Description

Jon Taylor is having an issue with starting Mantid which turns out to be a bug in a code path that is not traced through by our test server.

If the pythonalgorithms.directories key has a semi-colon in it then the below error message is raised.

Traceback (most recent call last):
File "<string>", line 43, in <module>
File "/Applications/MantidPlot.app/Contents/MacOS/mantid/__init__.py", line 86, in <module>
_plugins.load(kernel.config['pythonalgorithms.directories'])
File "/Applications/MantidPlot.app/Contents/MacOS/mantid/kernel/plugins.py", line 63, in load
path = split(';')
NameError: global name 'split' is not defined
Error running init file "/Applications/MantidPlot.app/Contents/MacOS/mantidplotrc.py"

Needs fixing for the release.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Fix startup problem if ; in python algorithms config key. Refs #5176

Changeset: 9c73a00a6da56bcbcf8a5599836c48a94bc8684c

comment:2 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Martyn Gigg

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

comment:4 Changed 8 years ago by Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:5 Changed 8 years ago by Stuart Campbell

  • Status changed from verifying to closed

Seems ok.

comment:6 Changed 8 years ago by Martyn Gigg

Fix startup problem if ; in python algorithms config key. Refs #5176

Changeset: 9c73a00a6da56bcbcf8a5599836c48a94bc8684c

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6022

Note: See TracTickets for help on using tickets.