Ticket #578 (closed: worksforme)

Opened 11 years ago

Last modified 5 years ago

Error when starting MantidScript

Reported by: Nick Draper Owned by: Steve Williams
Priority: major Milestone: Iteration 17
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Error in MantidSimple API. It looks like a bad use of quotes withou an escape character.

C:\MantidInstall\bin>set PYTHONSTARTUP=MantidStartup.py

C:\MantidInstall\bin>python.exe Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last):

File "MantidStartup.py", line 1, in <module>

from MantidHeader import *

File "MantidHeader.py", line 12, in <module>

from mantidsimple import *

File "mantidsimple.py", line 1638

helpmsg += "Note 2: To i.app.mantidUI.runAlgorithmAsynchronously("LoadNexus"

)

Change History

comment:1 Changed 11 years ago by Steve Williams

  • Status changed from new to closed
  • Resolution set to worksforme

The file was generated fine on my computer the python script line read:

helpmsg += "Note 2: To include a particular optional argument, it should be given after the mandatory arguments in the form argumentname=\"value\".\n"

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1426

Note: See TracTickets for help on using tickets.