Ticket #5787 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Copying script from python window to command line python opens save script dialog and throws unexpected exception when canceled

Reported by: Alex Buts Owned by: Martyn Gigg
Priority: major Milestone: Release 2.3
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

Observed on Window-7 64 bit machine.

Let's assume one wants to execute part of the python script with first row:

Load(Filename='MAR11001.raw',OutputWorkspace='MAR11001',LoadMonitors='Separate')

He loads this script and copies row above to python interpreter window.

On executing past operation (Ctrl V) Mantid opens save script window and when save script operation is cancelled, throws unexpected exception.

Bizarre.

Change History

comment:1 Changed 8 years ago by Alex Buts

Actually any python command I tested, not only "load" copied from the python script to python command causes this effect.

comment:2 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Martyn Gigg

Fixes bug with command-line interpreter pasting. Refs #5787

Changeset: c5b83dca40fd8c5b9fb3888700a0e105d73c5b0a

comment:4 Changed 8 years ago by Martyn Gigg

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

comment:5 Changed 8 years ago by Martyn Gigg

Fixes bug with command-line interpreter pasting. Refs #5787

Changeset: c5b83dca40fd8c5b9fb3888700a0e105d73c5b0a

comment:6 Changed 8 years ago by Nick Draper

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

comment:7 Changed 8 years ago by Nick Draper

single and multi line pasting work fine

comment:8 Changed 8 years ago by Nick Draper

  • Status changed from verifying to closed

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6633

Note: See TracTickets for help on using tickets.