Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php on line 237 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php on line 2714 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php on line 3719 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Project has a deprecated constructor in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.project.php on line 3 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Url has a deprecated constructor in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.tpl.php on line 825 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 716 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 717 Warning: session_destroy(): Trying to destroy uninitialized session in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 726 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 727 Warning: session_name(): Cannot change session name when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 734 Warning: session_start(): Cannot start session when headers already sent in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 735 Notice: A non well formed numeric value encountered in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 96 Deprecated: Function create_function() is deprecated in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php on line 845 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.flyspray.php on line 687 Deprecated: Function create_function() is deprecated in /customers/7/6/b/epidata.info/httpd.www/flyspray/includes/class.user.php on line 111 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/index.php on line 77 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/index.php on line 78 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/index.php on line 79 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/index.php on line 82 Warning: Cannot modify header information - headers already sent by (output started at /customers/7/6/b/epidata.info/httpd.www/flyspray/adodb/adodb.inc.php:237) in /customers/7/6/b/epidata.info/httpd.www/flyspray/index.php on line 83 FS#180 : means fails when run in a .pgm if !t is not specified

Analysis

All aspects of development in Analysis (which does not fit in another project)
Tasklist

FS#180 - means fails when run in a .pgm if !t is not specified

Attached to Project: Analysis
Opened by Jamie Hockin (jhockin) - Thursday, 10 May 2018, 20:11 GMT
Last edited by Torsten Bonde Christiansen (torstenchr) - Thursday, 01 November 2018, 18:37 GMT
Task Type Bug Report
Category Statistics
Status Closed
Assigned To Torsten Bonde Christiansen (torstenchr)
Operating System All
Severity Low
Priority Normal
Reported Version 2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

v1.0.0 and anything I build has this error

if a .pgm has the following:

means x;

Output will be shown and then get an unhandled error: index out of bounds(n)
where n is the line number in the .pgm

Does not occur when running from the editor. As best I can tell, something fails in the history unit, but I cannot step into the error, so not certain. The statement appears correctly in commandlog.pgm
This task depends upon

Closed by  Torsten Bonde Christiansen (torstenchr)
Thursday, 01 November 2018, 18:37 GMT
Reason for closing:  Fixed
Comment by Jamie Hockin (jhockin) - Saturday, 12 May 2018, 15:52 GMT
The error arises in unit history.pas

history.pas sees the statement from the .pgm and Idx is the line number within the .pgm.
However, in the case of csrFailure or csrCustom, Idx is used as an index of the list of statements issued at the command line (or via Editor Run), which includes only the run statement.
history sees the actual statement from the .pgm as Statement

The solution will be to be able to identify in history.pas that the statement leading to Failure or Custom was executed because of a run statement. So history should be bypassed altogether for the statements within a .pgm and only called when the run statement ends. Can this be done by modifying the AfterExecution list of actions when a run is active? Or have a property within Statement object that tells history to ignore it?
Comment by Jamie Hockin (jhockin) - Tuesday, 15 May 2018, 16:25 GMT
I committed a change in (trunk) history.pas that corrects this behaviour, to check whether we are executing commands from a .pgm.

Loading...