I can't reproduce the problem. Maybe someone else
will have an idea. Please read BUGS in the PDL
distribution for the information needed ina bug
report (or question...).
--Chris
[~]$ pdl2
Perldl2 Shell v0.007
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.
Loaded plugins:
CleanErrors
Commands
Completion
CompletionDriver::INC
CompletionDriver::Keywords
CompletionDriver::LexEnv
CompletionDriver::Methods
DDS
FindVariable
History
Interrupt
LexEnv
MultiLine::PPI
NiceSlice
PDLCommands
Packages
PrintControl
ReadLineHistory
Type 'help' for online help
Type Ctrl-D or quit to exit
Loaded PDL v2.4.11_001
load_rcfile: got $HOME = /home/olpc
load_rcfile: loading /home/olpc/.perldlrc
pdl> p sequence(5) - sequence(6)
Runtime error: PDL: PDL::Ops::minus(a,b,c): Parameter 'b':
Mismatched implicit thread dimension 0: should be 5, is 6
at /home/olpc/perl/lib/perl5/i386-linux-thread-multi/PDL/Complex.pm
line 1240
PDL::cmi('PDL=SCALAR(0xaa4c804)', 'PDL=SCALAR(0xaa4c914)', '') called
at (eval 367) line 5
and
[olpc@xo-4a-9c-81 ~]$ perldl
perlDL shell v1.354_001
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.
ReadLines, NiceSlice, MultiLines enabled
Reading /home/olpc/.perldlrc...
Found docs database
/home/olpc/perl/lib/perl5/i386-linux-thread-multi/PDL/pdldoc.db
Type 'help' for online help
Type 'demo' for online demos
Loaded PDL v2.4.11_001 (supports bad values)
pdl> p sequence(5) - sequence(6)
PDL: PDL::Ops::minus(a,b,c): Parameter 'b':
Mismatched implicit thread dimension 0: should be 5, is 6
at /home/olpc/perl/lib/perl5/i386-linux-thread-multi/PDL/Complex.pm
line 1240
PDL::cmi('PDL=SCALAR(0x9e83edc)', 'PDL=SCALAR(0x99c04a4)', '') called
at (eval 71) line 4
main::__ANON__() called at /home/olpc/perl/bin/perldl line 669
eval {...} called at /home/olpc/perl/bin/perldl line 669
main::eval_and_report('p sequence(5) - sequence(6)\x{a}') called at
/home/olpc/perl/bin/perldl line 607
main::process_input() called at /home/olpc/perl/bin/perldl line 627
eval {...} called at /home/olpc/perl/bin/perldl line 627
On 8/29/12, Kaj Wiik <[email protected]> wrote:
> Hi!
>
> I miss the good old error messages, are they disabled on purpose from
> the pdl shell?
>
> E.g.
> pdl> p sequence(5) - sequence(5)
> [0 0 0 0 0]
> pdl> p sequence(5) - sequence(6)
>
> pdl>
> ----
> pdl2: Devel::REPL version 1.003011 not found, running
> '/usr/local/bin/perldl' instead...
> perlDL shell v1.354_001
> ...
> ReadLines, NiceSlice, MultiLines enabled
> Reading PDL/default.perldlrc...
> Found docs database /usr/local/lib/perl/5.14.2/PDL/pdldoc.db
> Type 'help' for online help
> Type 'demo' for online demos
> Loaded PDL v2.4.11_001 (supports bad values)
>
> Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)
> ----
>
> Am I doing something stupid?
>
> Cheers,
> Kaj
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl