Restricted VEC. Gretl crashes
by Daniel Ventosa-Santaulària
Hi everyone,
I was estimating a VEC and I decided to include a number of restrictions. I
noted that Gretl crashes (the whole program closes) whenever I include
restrictions in the error-correction terms (the alphas). I therefore
prepared an arbitrary code to show it.
clear
open np.gdt
vecm 4 1 ngnp emply pcons money --impulse-response --silent
restrict --full
b[1] = 1
b[3] = 0
a[3] = 0
a[4] = 0
end restrict
Usually, I am able to run the code once, but definitely not twice. I am
running gretl 2022a (MS Windows (x86_64, gtk2)). I hope this bug is easy to
fix.
Cheers,
Daniel
* Daniel Ventosa-Santaulària*
*CIDE*
- http://www.ventosa-santaularia.com
2 years, 3 months
Bundl request from dbnomics errors
by klaus.hasenbach@web.de
Hi Allin
I very appreciate gretl with dbnomics.
I use windows 10 and normaly gretl 2021d. Making bundl request I have
very often the problem that the program fails to got to the next
request. (Please refer to the pdf attached "error with gretl 2021d".) I
help my self by executing the next request again and again until it works.
With gretl 2022a I will get a different error ("error with gretl 2022a")
and to repeat the request doest not help. (I attach the bundl test
script, which produced such errors)
Thanks
Klaus
2 years, 3 months
Re: Bundl request from dbnomics errors
by ESTEVEZ NUÑEZ JUAN CARLOS
It occurs to me to test if the problem arises with an also fresh update in Ubuntu.
Unfortunately, I can´t as since some days the 'make' command stops waiting for
an answer after the message ! Missing $ inserted.
(I build all the gretl updates, following appendix B of Users Guide over the last years)
Don´t know if this may be related.
Sorry, if it´s noise.
________________________________
De: Sven Schreiber <svetosch(a)gmx.net>
Enviado: venres, 24 de xuño de 2022 10:55
Para: gretl-users(a)gretlml.univpm.it <gretl-users(a)gretlml.univpm.it>
Asunto: [Gretl-users] Re: Bundl request from dbnomics errors
Am 23.06.2022 um 21:09 schrieb Cottrell, Allin:
> Thanks, Juan Carlos. So the problem is confirmed, at least on Windows.
> I'll investigate before long.
Since it ran OK for me, some other ingredients are needed, I guess.
On this machine I am using the decimal point (i.e., _not_ using the
local German settings, which would be the comma), and my username does
not contain blanks or special characters.
Klaus and Juan Carlos, what about you?
thanks
sven
_______________________________________________
Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
2 years, 3 months
Using functions
by 66.leon@gmail.com
Hi
I am new to Gretl so still a very basic user. From the Function Reference
help menu, I saw there is a ljungbox function. I would like to use this but
when I enter the function into the console window using the series name and
lag, nothing is returned, just a blank line. The same happens with other
functions listed under Statistical in the help menu. I have looked through
all the help menus and manuals but can't find guidance on how to run these
functions. Please provide instruction for how to use these functions.
Thanks
Leon
2 years, 3 months
Re: Repeatable crash
by Fred Engst
Date: Mon, 20 Jun 2022 08:17:42 -0400
> From: "Cottrell, Allin" <cottrell(a)wfu.edu>
> Subject: [Gretl-users] Re: Repeatable crash
> To: Gretl list <gretl-users(a)gretlml.univpm.it>
> Message-ID:
> <CA+BOgOB1g8Au-c4ebLuroPhue2wmjz2N38gjpgtMVXcMB4oPuw(a)mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> On Mon, Jun 20, 2022 at 2:15 AM Fred Engst <engst.uibe(a)gmail.com> wrote:
>>
>> Hi Allin and others,
>> My gretl was crashing quite often lately when I tried to create a new script.
>> However only today I found the crashes were repeatable.
>> If I start the gretl without any dataset and try to create a new script either with the script button, or through the menu items (file->script file->new script->gretl script) it will crash on the 1st, 2nd, or 3rd try.
>
> I can't replicate this on Linux, or on an M1 macbook.
>
> Is this with a tabbed script editor, or in single-script-per-window mode?
>
> I have just put up new snapshots, which might make a difference.
>
> Allin
>
It is in a single-script-per-window mode.
I just downloaded the latest version (build date 2022-06-20) and it crashed just the same.
Fred
Here are the first few lines of the crash report:
Process: gretl [47978]
Path: /Applications/Gretl.app/Contents/MacOS/gretl
Identifier: net.sourceforge.gretl
Version: 2022b-git
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gretl [47978]
User ID: 502
Date/Time: 2022-06-21 14:12:36.685 +0800
OS Version: Mac OS X 10.14.6 (18G9323)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: D0C17D83-C8DE-88A8-08E7-19E42233A73F
Sleep/Wake UUID: 1B9EE8A8-AD22-41F8-B571-03E9B1E12795
Time Awake Since Boot: 790000 seconds
Time Since Wake: 5900 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [47978]
2 years, 3 months
Repeatable crash
by Fred Engst
Hi Allin and others,
My gretl was crashing quite often lately when I tried to create a new script.
However only today I found the crashes were repeatable.
If I start the gretl without any dataset and try to create a new script either with the script button, or through the menu items (file->script file->new script->gretl script) it will crash on the 1st, 2nd, or 3rd try.
Here are the first few lines of the crash reports:
one type of crash with error "Segmentation fault: 11”:
-----------------------------------------------------------------------------------------------
Process: gretl [32290]
Path: /Applications/Gretl.app/Contents/MacOS/gretl
Identifier: net.sourceforge.gretl
Version: 2022b-git
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gretl [32290]
User ID: 502
Date/Time: 2022-06-20 13:18:54.212 +0800
OS Version: Mac OS X 10.14.6 (18G9323)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: D0C17D83-C8DE-88A8-08E7-19E42233A73F
Sleep/Wake UUID: 2CF7C166-AC37-4807-8875-F11F71A6F4C4
Time Awake Since Boot: 720000 seconds
Time Since Wake: 22000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007f0073667478
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [32290]
Another type of crash with error "Illegal instruction: 4”:
------------------------------------------------------------------------------------
Process: gretl [32627]
Path: /Applications/Gretl.app/Contents/MacOS/gretl
Identifier: net.sourceforge.gretl
Version: 2022b-git
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gretl [32627]
User ID: 502
Date/Time: 2022-06-20 13:27:05.624 +0800
OS Version: Mac OS X 10.14.6 (18G9323)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: D0C17D83-C8DE-88A8-08E7-19E42233A73F
Sleep/Wake UUID: 2CF7C166-AC37-4807-8875-F11F71A6F4C4
Time Awake Since Boot: 720000 seconds
Time Since Wake: 23000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [32627]
2 years, 3 months
Repeatable crash
by Fred Engst
Hi Allin and others,
My gretl was crashing quite often lately when I tried to create a new script.
However only today I found the crashes were repeatable.
If I start the gretl without any dataset and try to create a new script either with the script button, or through the menu items (file->script file->new script->gretl script) it will crash on the 1st, 2nd, or 3rd try.
Here are the first few lines of the crash reports:
one type of crash with error "Segmentation fault: 11”:
-----------------------------------------------------------------------------------------------
Process: gretl [32290]
Path: /Applications/Gretl.app/Contents/MacOS/gretl
Identifier: net.sourceforge.gretl
Version: 2022b-git
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gretl [32290]
User ID: 502
Date/Time: 2022-06-20 13:18:54.212 +0800
OS Version: Mac OS X 10.14.6 (18G9323)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: D0C17D83-C8DE-88A8-08E7-19E42233A73F
Sleep/Wake UUID: 2CF7C166-AC37-4807-8875-F11F71A6F4C4
Time Awake Since Boot: 720000 seconds
Time Since Wake: 22000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007f0073667478
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [32290]
Another type of crash with error "Illegal instruction: 4”:
------------------------------------------------------------------------------------
Process: gretl [32627]
Path: /Applications/Gretl.app/Contents/MacOS/gretl
Identifier: net.sourceforge.gretl
Version: 2022b-git
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: gretl [32627]
User ID: 502
Date/Time: 2022-06-20 13:27:05.624 +0800
OS Version: Mac OS X 10.14.6 (18G9323)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: D0C17D83-C8DE-88A8-08E7-19E42233A73F
Sleep/Wake UUID: 2CF7C166-AC37-4807-8875-F11F71A6F4C4
Time Awake Since Boot: 720000 seconds
Time Since Wake: 23000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [32627]
2 years, 3 months
Not able to open .gretl session files in a loop
by Fred Engst
I’m sorry, Sven, but as you can see, I did start a new thread.
As I said before, I have a need to loop through quit a few .gretl files I get from my students and to find something inside each of them, for example model outputs saved in the .gretl files.
I can’t do loops with .gretl files like I do with .gdt files.
Here is a sample script:
<hansl>
string path = "/Users/fred/Documents/UIBE/22-1/ECON301/Data4Students/"
string studentnames = path ~ "names.txt"
string namesread = readfile(studentnames)
strings anames = strsplit(namesread,"\n")
loop i=1..nelem(anames)
string fname = anames[i]
dataname = "@path@fname.gretl"
open \
@dataname #--preserve --quiet
scalar incomecoeff = model_income.$coeff[2]
# do something here with what I found, for example.
endloop
</hansl>
As I tried to figure out why, instead of looping .gretl files, if I just using a script to open one of them, there is a message about: “Opening a new session file will automatically close the current session. Any unsaved work will be lost. Proceed to open session file?”
There seems to be no way to turn off this warning, so the script gets hang on this warning message.
Any suggestion?
Fred
>
> Date: Sun, 19 Jun 2022 18:26:54 +0200
> From: Sven Schreiber <svetosch(a)gmx.net>
> Subject: [Gretl-users] Re: Not able to open .gretl session files in a
> loop
> To: gretl-users(a)gretlml.univpm.it
> Message-ID: <b6ddf599-8dfa-e95d-1d7d-bbaa4f0f21ca(a)gmx.net>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Am 18.06.2022 um 01:40 schrieb Fred Engst:
>> Hi Allin and all,
>
> Fred, first of all please start a new thread when you start a new topic,
> do not reply to an unrelated one.
>
>> I have a need to loop through quit a few .gretl files, but found that I can’t do that like I do with .gdt files.
>
> Please be more specific what you mean by "can't do".
>
> cheers,
>
> sven
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
> To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
> Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
>
>
> ------------------------------
>
> End of Gretl-users Digest, Vol 185, Issue 12
> ********************************************
2 years, 3 months
Not able to open .gretl session files in a loop
by Fred Engst
Hi Allin and all,
I have a need to loop through quit a few .gretl files, but found that I can’t do that like I do with .gdt files.
As I tried to figure out why, instead of looping .gretl files, if I just using a script to open one of them, there is a message about: “Opening a new session file will automatically close the current session. Any unsaved work will be lost. Proceed to open session file?”
There seems to be no way to turn off this warning.
Any suggestion?
Fred
2 years, 3 months