[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56097] Freezing of command window after help
From: |
Dieter Kadelka |
Subject: |
[Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win |
Date: |
Mon, 8 Apr 2019 17:28:25 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
Follow-up Comment #7, bug #56097 (project octave):
Thanks, actually octave stops at line 154. Here the output:
>> dbstop __makeinfo__
ans = 63
>> help sin
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 63
63: if (nargin < 1 || nargin > 3)
debug> dbnext
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 67
67: if (! ischar (text))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 71
71: if (! ischar (output_type))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 78
78: if (nargin < 3)
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 79
79: if (strcmpi (output_type, "plain text"))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 80
80: fsee_also = @(T) ["\nSee also:", sprintf(" %s,", T{:})(1:end-1),
"\n"];
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 86
86: if (! is_function_handle (fsee_also))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 92
92: if (text(2) == " ")
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 96
96: text = regexprep (text, '^ address@hidden tex', '@end tex',
'lineanchors');
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 98
98: file = texi_macros_file ();
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 99
99: fid = fopen (file, "r");
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 100
100: if (fid < 0)
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 103
103: macros_text = fread (fid, Inf, "*char")';
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 104
104: text = [macros_text text];
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 106
106: fclose (fid);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 108
108: if (strcmpi (output_type, "texinfo"))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 115
115: text = sprintf ("\\input address@hidden", text);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 119
119: template = "octave-help-XXXXXX";
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 120
120: [fid, name] = mkstemp (fullfile (tempdir, template), true);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 121
121: if (fid < 0)
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 124
124: fprintf (fid, "%s", text);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 125
125: fclose (fid);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 128
128: switch (lower (output_type))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 130
130: cmd = sprintf ('%s --no-headers --no-warn --force --no-validate
--output=- "%s"',
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 140
140: [status, retval] = system (cmd);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 143
143: if (strcmpi (output_type, "plain text"))
debug> status
status = 0
debug> retval
retval = -- : sin (X)
Compute the sine for each element of X in radians.
See also: asin, sind, sinh.
debug> dbnext
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 144
144: if (numel (retval) > 2 && retval(end-1:end) == "\n\n")
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 145
145: retval = retval(1:end-2);
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 150
150: retval = regexprep (retval, '^ -- : +', ' -- ', "lineanchors");
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 153
153: if (exist (name, "file"))
debug>
stopped in /usr/local/share/octave/5.1.0/m/help/__makeinfo__.m at line 154
154: delete (name);
debug>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56097>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Doug Stewart, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Rik, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Rik, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Rik, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win,
Dieter Kadelka <=
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Rik, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/08
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Torsten Lilge, 2019/04/09
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/09
- [Octave-bug-tracker] [bug #56097] Freezing of command window after help sin or doc win, Dieter Kadelka, 2019/04/09
- [Octave-bug-tracker] [bug #56097] unlink ("filename") hangs GUI, Rik, 2019/04/09
- [Octave-bug-tracker] [bug #56097] unlink ("filename") hangs GUI, Dieter Kadelka, 2019/04/09
- [Octave-bug-tracker] [bug #56097] unlink ("filename") hangs GUI, Dieter Kadelka, 2019/04/09