Perl 6 - the future is here, just unevenly distributed

IRC log for #padre, 2013-11-15

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

All times shown according to UTC.

Time Nick Message
01:47 user_9718 joined #padre
01:47 botbot Welcome user_9718
05:15 user_8542 joined #padre
05:15 botbot Welcome user_8542
05:16 sewi joined #padre
06:29 user_9533 joined #padre
06:29 botbot Welcome user_9533
06:30 user_9533 hello
06:30 user_9533 what is this
08:42 nori joined #padre
08:43 nori Hi, I would like to know if Padre supports multi threading or multi process Perl programs . Thanks
08:53 sewi Hi
08:54 sewi Padre is an Editor with many additional features, it doesn't care about Multi-Threading, because the source doesn't differ from single-threading programs.
09:08 sugar joined #padre
09:16 nori Hi sewi, I am reffering to the debugger functionality, breakpoints setting, stepping in or over , variables watching etc. Can it do all the above correctly in each and all active Perl thread that a program might create ? Doesn't it get confused ?
09:19 sewi Sorry, I don't know. It's using the Perl debugger to run the script. I suggest to simply try it :)
09:21 nori I've tried to understand which version to download for a machine running Red Hat Linux 6.2, 64 bit but I don't see it on the list - can you help ?
09:39 nori joined #padre
09:52 jq joined #padre
13:22 icemonk joined #padre
13:34 icemonk hi, found a akward bug in padre. the problem is with padre installed on win xp. it can happen that the lineend is only CR (not CR LF). but padre (editor) displays both as line ends. so you dont see the difference.  but perl does not separate text with CR, so the part behind CR will get lost (for perl) and this causes program error during runtime.
13:35 icemonk but there is no syntax error in padre. also for the debugger it will lead to miscounting the lines (and perhaps obscure errors too if not an error or a warning is caused).
13:37 icemonk is ther any description for this error. it has nothing to do with the fact that i use perl on windwos and unix. it hust happend with a simple "hello world" program and 2 lines added.
13:45 icemonk is this a known bug. ?  how to find ?  if fact it's the missing LF which padre ignores (an/or produces) i looked for LF bud did not find any ticket. could supply error sample. can be simply detected using vi (on unix or win).
13:58 asarch joined #padre
15:37 itcharlie joined #padre
16:19 lostinfog joined #padre
16:46 notEvilEnough joined #padre
17:28 sewi1 joined #padre
17:46 sewi joined #padre
17:53 stkowski joined #padre
18:09 bowtie_ joined #padre
18:20 bowtie_ botbot: tell icemonk that the line encoding is show in status bar, look at Editor -> Convert Line Encodings  to fix your perl script
18:20 botbot bowtie_, I'll tell that icemonk when we see each other.
18:49 ellcaroc joined #padre
18:56 ellcaroc Hi, I just installed Padre 1.00 from CPAN without problems. However when launching Padre it exits with  Invalid version format (non-numeric data) at /usr/local/share/perl/5.18.1/Padre/Document.pm line 126.
18:56 ellcaroc BEGIN failed--compilation aborted at /usr/local/share/perl/5.18.1/Padre/Document.pm line 126.
18:56 ellcaroc Compilation failed in require at /usr/local/share/perl/5.18.1/Padre/Wx/Main.pm line 4115.
18:56 bowtie_ ellcaroc: hi
18:56 itcharlie hello
18:58 bowtie_ ellcaroc: can you launch padre from the command line in a terminal and paste output using http://paste.scsys.co.uk/padre
18:59 itcharlie use File::Spec 3.2 (); # 3.21 needed for volume-safe abs2rel # line 126 in Document.pm for trunk
18:59 bowtie_ itcharlie: hi
19:00 itcharlie here to help
19:00 bowtie_ itcharlie: so we need to bump dependency version ?
19:01 shadowpaste "ellcaroc" at 217.168.150.38 pasted "padre 1.00 aborts after start" (8 lines) at http://paste.scsys.co.uk/278031
19:01 ellcaroc hi itcharlie: my File::Spec is 3.40
19:02 itcharlie hmm is that the correct way to pass in version number?
19:04 bowtie_ itcharlie: yes it's ok
19:04 bowtie_ ellcaroc: is your perl threaded
19:05 ellcaroc itcharlie: changing the 'use File::Spec  3.2  ();' line to 'use File::Spec  ();' solved it for me
19:05 ellcaroc bowtie_: yes perl has -Dusethreads
19:06 bowtie_ ellcaroc: ok, just checking
19:08 ellcaroc bowtie_, itcharlie: thanks for your help, I should have fiddled with the code before coming here.
19:08 itcharlie Coolio.  hmm but how do we ensure that other user should not have this problem
19:08 itcharlie in the future
19:09 itcharlie is there a way to say use this version or higher?
19:09 bowtie_ itcharlie: yes add to Makefile.PL
19:10 itcharlie ok cool so I shall create a ticket in Padre for this :)
19:10 bowtie_ itcharlie: this type of issue is due to limited number of helpers running Padre trunk and running all tests :(
19:13 ellcaroc bowtie_, itcharlie: another quirk - btw when installing manually  I get 'Unparsable version '6,59' for prerequisite ExtUtils::MakeMaker at inc/Module/Install/Makefile.pm line 352. at the 'perl Makefile.PL' step
19:17 bowtie_ ellcaroc: perl v5.18.1 comes with ExtUtils::MakeMaker 6.66, which file has version string '6,59'
19:18 itcharlie http://padre.perlide.org/trac/ticket/1510   - created ticket
19:19 itcharlie hmm
19:20 itcharlie this is not part of padre right?
19:20 itcharlie bowtie_?
19:22 itcharlie ok so in Makefile.PL I see only :  configure_requires 'ExtUtils::MakeMaker' => '6.52';   # line 31
19:23 itcharlie so this must be a bug in 'ExtUtils::MakeMaker module.
19:23 itcharlie opps
19:23 itcharlie I just see what you mentioned bowtie_
19:23 itcharlie err saw*
19:25 itcharlie hmm Makefile.PL aready requires 3.2701 of File::Spec
19:25 bowtie_ itcharlie: Makefile.PL has File::Spec -> 3.2701, so we can just remove the 3.2, the 3.2 is correct, and is used my toolchain to determine what vesion is required as well as perl
19:25 itcharlie :D
19:25 itcharlie ok
19:33 bowtie_ ellcaroc: hi, can you download the Padre trunk, or cpan look, and run all tests against padre please, then paste result, thanks
19:34 itcharlie http://padre.perlide.org/trac/wiki/Development <-- here's this wiki for reference - ellcaroc
19:36 itcharlie bowtie_ did you see email about multithread support in padre?
19:36 itcharlie should we create a ticket about this to test?
19:37 stkowski joined #padre
19:37 bowtie_ itcharlie: i don't think so, have you tried to debug a threaded perl script with perl -d, try it for fun, ouch!!
19:38 itcharlie hehe
19:38 itcharlie ok
19:39 bowtie_ itcharlie: when I can figure out how to do it, I will think about extending our code,
19:40 bowtie_ itcharlie: take a look at devel-trepan it might be able to do it, or ask rocky, he's cool
19:48 itcharlie cool thanks!
19:48 ellcaroc bowtie_: yes, I'm currently checking out
19:50 bowtie_ ellcaroc: cool
20:05 andmott joined #padre
20:23 notEvilEnough1 joined #padre
20:23 shadowpaste "ellcaroc" at 217.168.150.38 pasted "output from Padre testing" (2821 lines) at http://paste.scsys.co.uk/278073
20:25 ellcaroc bowtie_: I just posted the output of the Padre/t testing, I have also run Padre/xt . is this of interest too ? it has a lot of " Error:  Invalid version format (non-numeric data)" errors
21:04 shadowpaste "bowtie" at 217.168.150.38 pasted "and I get the following" (58 lines) at http://paste.scsys.co.uk/278102
21:20 shadowpaste "bowtie" at 217.168.150.38 pasted "or with -> make test" (94 lines) at http://paste.scsys.co.uk/278108
21:31 itcharlie his config is messed up?
21:33 bowtie_ itcharlie: you think it is his padre config.db file
21:34 itcharlie hmm If it is then this presents problem with upgrading to newer versions
21:35 bowtie_ itcharlie: if you run test against a padre trunk, you are using a different config
21:35 itcharlie should there be a way to upgrade and set configuration to default?
21:35 bowtie_ itcharlie: try -> padre -h
21:35 itcharlie k
21:36 itcharlie I don't have a copy of trunk right now but will try later.
21:36 bowtie_ itcharlie:  --reset             Flush entire local config directory and reset to defaults
21:36 bowtie_ itcharlie: hence: padre --reset
21:37 bowtie_ itcharlie: or make a copy of config, so you rollback
21:37 bowtie_ itcharlie: or do a diff later
21:52 itcharlie ok cool opps I feel like we chatted about this before .
21:59 itcharlie ok heading out. Take care
21:59 itcharlie left #padre
22:03 bowtie_ itcharlie: I should have realised earlier, it appears to be a padre staple, when some one upgrades to a new version from an old, as we have some changes across versions, D'oh!
22:05 notEvilEnough joined #padre
22:06 ellcaroc left #padre
22:06 notEvilEnough joined #padre
22:06 notEvilEnough1 joined #padre
22:07 notEvilEnough joined #padre
22:48 notEvilEnough1 joined #padre
22:53 sugar joined #padre
22:58 bowtie joined #padre
23:03 bowtie_ joined #padre

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