Camelia, the Perl 6 bug

IRC log for #padre, 2012-12-01

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:49 sivoais joined #padre
05:20 Foxcool joined #padre
08:02 GlitchMr joined #padre
08:16 Smylers joined #padre
08:16 Kharec joined #padre
08:27 kaare joined #padre
08:38 sewi joined #padre
10:42 sugar joined #padre
13:00 drsssmith joined #padre
15:11 bowtie joined #padre
16:15 asarch joined #padre
16:29 kaare joined #padre
16:38 asarch joined #padre
19:12 rindolf joined #padre
19:14 rindolf Hi all. Launching the debugger on Padre on t/01-convert-to-xsl-fo.t causes Padre to stall and the window to become non-responsive. I'm on Magiea Linux 3/Cauldron.
19:14 rindolf jq: hi.
19:15 bowtie rindolf, hi
19:15 rindolf bowtie: hi.
19:16 bowtie rindolf, where do I find code to test here
19:16 rindolf bowtie: let me see.
19:17 rindolf bowtie: see this - https://bitbucket.org/shlomif/qantor
19:17 bowtie will do
19:18 sewi joined #padre
19:20 bowtie rindolf, what is this, git or svn
19:20 rindolf bowtie: Mercurial.
19:20 rindolf bowtie: use hg clone
19:20 bowtie ok,
19:22 bowtie just install Mercurial.
19:25 rindolf bowtie: what?
19:26 rindolf bowtie: I don't have a problem with Mercurial
19:26 rindolf bowtie: I have a problem debugging my test script using Padre.
19:29 bowtie rindolf, yes, but I have a problem, in that I don't use Mercurial, so I have to install it, be patient
19:30 bowtie now loading perl modules
19:30 rindolf bowtie: OK.
19:32 bowtie rindolf, Can't locate Text/Qantor/ConfigData.pm
19:32 rindolf bowtie: you need to run perl Build.PL
19:33 bowtie ok
19:34 rindolf bowtie: thanks for trying to help.
19:40 bowtie rindolf, ok is it this, ./blib/lib/Text/Qantor/ConfigData.pm and your .t file has use lib "./t/lib";
19:42 bowtie rindolf, you can't run the test in Padre via 'Run This Test'
19:45 rindolf bowtie: I didn't try.
19:46 rindolf bowtie: I want to debug it.
19:47 shadowpaste "bowtie" at 217.168.150.38 pasted "kevin@billy:~/fish/Text-Qantor" (51 lines) at http://paste.scsys.co.uk/216202
19:49 bowtie rindolf, Parser line 120 # TODO : Remove this exception later.
19:51 rindolf bowtie: well, it should throw an exception.
19:51 rindolf bowtie: the tests do not succeed yet and the code is not supposed to be reachable.
19:51 rindolf bowtie: however, I'm not even getting that far.
19:52 rindolf bowtie: I tried setting up a breakpoint and it just causes padre to hang.
19:53 shadowpaste "bowtie" at 217.168.150.38 pasted "#!/usr/bin/perl use strict; us" (87 lines) at http://paste.scsys.co.uk/216204
19:55 bowtie rindolf, see above, it's all todo with libraries, I also had to copy configdata to lib,
19:55 bowtie remember if you can't run it, you can't debug it
20:51 rindolf bowtie: padre still gets stuck with your code.
20:52 bowtie rindolf, I managed to run your test
20:52 rindolf bowtie: OK.
20:52 rindolf bowtie: what is your Padre version?
20:52 rindolf bowtie: and your OS?
20:58 bowtie Padre 0.97 aka trunk and ubuntu 12.04
22:11 rindolf bowtie: OK, let me try Padre trunk.
22:12 bowtie cool
22:17 rindolf bowtie: still gets stuck. :-(
22:17 bowtie rindolf, where are you trying to set breakpoints
22:17 rindolf bowtie: >> /usr/lib/perl5/5.16.2/x86_64-linu​x-thread-multi/IO/Socket.pm:249:     $peer = accept($new,$sock)
22:17 rindolf ==> it gets stuck here.
22:18 rindolf On a socket call.
22:18 rindolf bowtie: in the .t file.
22:19 bowtie rindolf, filename and linr number please
22:19 bowtie s/linr/line/
22:19 rindolf bowtie: I gave you those.
22:20 bowtie but they are not your files
22:20 bowtie you can only set breakpoints on files in your project
22:20 rindolf bowtie: it also happens with Module-Format.
22:21 rindolf bowtie: https://bitbucket.org/shlomif/web-cpan/sr​c/8e5c66b95ee07920b2778b2113fef6db68d665c​4/Module-Format/Module-Format?at=default
22:21 rindolf bowtie: t/module.t on line 9.
22:22 shadowpaste "bowtie" at 217.168.150.38 pasted "kevin@billy:~/fish/Text-Qantor" (31 lines) at http://paste.scsys.co.uk/216237
22:24 rindolf bowtie: is this in Padre?
22:25 rindolf bowtie: I cleared "iptables" and it still happens.
22:27 rindolf bowtie: https://metacpan.org/module/Debug::Client - "The prime use" ==> "primary use".
22:27 bowtie rindolf, the last past was to show you where your code was failing using good old perl -d
22:28 bowtie as for 't/module.t on line 9' this is not in your code
22:30 bowtie did you upgrade Debug-Client 0.21_12 for trunk
22:30 rindolf bowtie: on the console I am getting - 00:29:34: Error: Image file is not of type 1.
22:30 rindolf bowtie: don't know.
22:30 bowtie https://metacpan.org/module/Debug::Client - "The prime use" ==> "primary use". ?
22:31 bowtie see -> http://padre.perlide.org/trac​/wiki/Features/Perl5Debugger
22:33 rindolf bowtie: I mean it's a typo there.
22:33 rindolf bowtie: "The prime use" should be "The primary use".
22:34 bowtie ok
22:37 rindolf bowtie: that's what perldoc -m gives me : our $VERSION = '0.21_12';
22:37 rindolf bowtie: and it still happens.
22:37 bowtie thanks for that, correction made now 'primary use'
22:39 bowtie the last nopaste was to demonstrate that there is an error, as all the debugger in padre dose is the equivalent of 'perl -d filename' so if you run perl -d against your file localy it should work, ie the c is run to breakpoit ie end
22:40 rindolf bowtie: OK.
22:40 rindolf bowtie: perl -d works fine.
22:41 bowtie have you removed that die statement now?
22:41 rindolf bowtie: what can cause accept to fail?
22:41 rindolf bowtie: I'm now debugging Module::Format's Build.PL.
22:41 rindolf bowtie: still fails.
22:46 bowtie rindolf, ok just looked at https://metacpan.org/module/Module::Format - I will download later and test, I had not considered running debugger against a Build.PL file before, so will try tomorrow, is the version in cpan ok to use for this or do I need a more current version
22:47 rindolf bowtie: it's OK.
22:48 bowtie rindolf, it's getting late, we will talk more tomorrow ok
22:48 rindolf bowtie: it doesn't work with that either - http://paste.debian.net/213841/
22:48 rindolf bowtie: OK.
22:48 bowtie night
22:48 rindolf I think I'll use perl -d for now.

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary