-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo prima
gives unexpected Ctrl-C message and error at end
#51
Comments
Yes, looks like this was always there. This should fix it |
Thanks! Could you PR it? |
and add minor style fixes
Thanks! More strangeness:
I believe this is because the P:G:Prima demo loads Prima, which initialises itself (at line 59 of Prima.pm), but is then not used. I don't consider it unreasonable for Prima to get itself ready for use on being loaded, and I could make P:G:Prima not load Prima itself, but instead change it so that its using libraries/scripts had to do so (in this case, making the demo do it when run). However, do you think Prima should handle this in a different way? Also I'm not clear why the signal handler (installed by Similar to the above happens when I run the demo and immediately use the window's "X" button to close it, then tell |
I'm not sure I understood the protocol, but at my best, I couldn't reproduce:
|
I also have another installation with demos pgplot, pgplot00, and transform - and again, nothing. I wonder if this could be a mix-up of several module versions in your installation? The string "time to exit the event loop" is only found in the older versions of P:G:P... |
With:
On Ubuntu, I am running I see your Could you also try installing OpenGL and OpenGL::GLUT? If your demo list is the complete list (mine was cut down), that might have an influence. (Also, the |
All right, tried on a fresh ubuntu and perl5.36:
|
Thank you. I shall have to dig into this and see what is going on locally! |
Just in case, I ran this on the latest Prima snapshot from github |
This is something I forgot I'd reported here, and just created dk/Prima#114 |
@dk Do you have any idea what causes this? Latest PDL, in
perldl
:The "uninitialized value" is if I click "Next" on the last page, after which it changes to a "Finish" button. On clicking "Finish", I see:
To avoid doubt, I didn't press Ctrl-C.
The text was updated successfully, but these errors were encountered: