Skip to content

demo prima gives unexpected Ctrl-C message and error at end #51

@mohawk2

Description

@mohawk2

@dk Do you have any idea what causes this? Latest PDL, in perldl:

pdl> demo prima
---- Code:
  # starting up the Prima GUI demo app
  PDL::Demos::Prima::run();
---- Output:
Use of uninitialized value $posn in numeric eq (==) at (LIB)/PDL/Demos/Prima.pm line 311, <DATA> line 224.
----

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:

pdl> Unknown error: time to exit the event loop at (LIB)/PDL/Demos/Prima.pm line 139, <DATA> line 224.
	...propagated at (LIB)PDL/Graphics/Prima/ReadLine.pm line 65, <DATA> line 224.

 exiting...
[then it shows the "demo" output again without the "prima" entry, then immediately:]
Ctrl-C detected
Compilation failed in require at (LIB)/PDL/Graphics/Prima.pm line 26.
BEGIN failed--compilation aborted at (LIB)/PDL/Graphics/Prima.pm line 26.
Compilation failed in require at (LIB)/PDL/Demos/Prima.pm line 5.
BEGIN failed--compilation aborted at (LIB)/PDL/Demos/Prima.pm line 5.
Compilation failed in require

To avoid doubt, I didn't press Ctrl-C.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions