>From an earlier thread 'pdl shell silent with barf':

> From the per-version docs at http://www.perl.org it
> appears that this change happened with 5.14.
> 
> On Mon, Jul 16, 2012 at 10:41 AM, Chris Marshall <[email protected] 
> (mailto:[email protected])> wrote:
> 
> 
> 
> > Well, I think I've located the problem. Perl 5.16
> > appears to have changed the way the G_KEEPERR
> > flag works for call_sv with G_EVAL. It used to
> > append the backtrace stuff to $@ but now it only
> > prints the warnings which can be turned off.
> > 
> > I'm not planning on any changes to perldl at the
> > moment since the code has been around for a
> > long time in its current form. If we can determine
> > the full set of perl versions that changed the
> > operation of G_KEEPERR that could be added
> > to the documentation and Known_problems.
> > 
> > --Chris
> > 
> > On Sun, Jul 15, 2012 at 6:24 PM, chm <[email protected] 
> > (mailto:[email protected])> wrote:
> > > Still no clue what it going on but I did
> > > discover that if I use carp directly (from
> > > use Carp) then I get the backtrace. However,
> > > confess, croak, and die are "no shows".
> > > 
> > > --Chris
> > 

-- 
Christian Soeller PhD - Dept. of Physiology - Univ. of Auckland
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Thursday, 30 August 2012 at 2:44 AM, Chris Marshall wrote:

> 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] (mailto:[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] (mailto:[email protected])
> > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> > 
> 
> 
> _______________________________________________
> Perldl mailing list
> [email protected] (mailto:[email protected])
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> 
> 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to