Perl 6 - the future is here, just unevenly distributed

IRC log for #padre, 2014-01-20

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

All times shown according to UTC.

Time Nick Message
01:02 asarch joined #padre
04:48 sewi joined #padre
09:55 dolmen joined #padre
10:41 kaare joined #padre
13:20 dod joined #padre
14:33 dolmen1 joined #padre
14:36 dolmen2 joined #padre
14:50 dolmen2 left #padre
14:54 asarch joined #padre
15:43 itcharlie joined #padre
15:46 itcharlie (10:44:04 AM) botbot: bowtie_ said do you want to add first char upper for dist name check as well, while you are hacking around :)
15:46 itcharlie sure will do !    I created a ticket for this  task  #1511
15:56 bowtie_ itcharlie: cool
15:56 bowtie_ itcharlie: I will go and read #1511
15:58 itcharlie not fixed but will get there.
15:58 bowtie_ itcharlie: I noticed in your screen cap that you had not set a dir
15:59 itcharlie ah
16:00 itcharlie hmm maybe there should be a notification that lets you know that you need one.
16:00 itcharlie will test again later.
16:00 bowtie_ itcharlie: ok
16:01 bowtie_ itcharlie: if you have used module::Starter::PBP in past and have some ...rc files hanging around you will need it as well
16:10 dolmen joined #padre
16:13 itcharlie hmm
16:13 itcharlie ok .
16:14 itcharlie I have not used this before. honestly this would be the first time I work with this module.
16:14 bowtie_ itcharlie: cool
16:14 itcharlie I will let you know how it goes.
16:21 bowtie_ itcharlie: it works on *inux, you are looking at a win32 issue, it was developed/re-enabled by me on ubuntu and first written by adamk on win32, hope that helps
16:22 bowtie_ if you need to alter the dialog, use wxformbuilder and the fbp plugin for padre, see the plugin cookbooks for more of just shout
16:24 itcharlie coolio. Thanks
16:29 dolmen left #padre
16:32 bowtie_ itcharlie: have you seen this - http://matrix.cpantesters.org/?dist=Module-Starter+1.62
16:34 itcharlie nope - taking a look at it now.
16:34 bowtie_ itcharlie: is any thing here relevant - https://rt.cpan.org/Dist/Display.html?Name=Module-Starter
16:42 itcharlie hmm not sure.
16:43 itcharlie looking at the code. seems like $ms->{error} is empty but does exists.
16:44 itcharlie line 152  in ModuleStarter.pm   $ms = Padre::Util::run_in_directory_two( cmd => "module-starter @cmd", dir => $data->{directory}, option => 0 );
16:47 itcharlie hmm
16:47 itcharlie I think I know what the problem is
16:48 itcharlie Padre::Util line 495
16:48 itcharlie shows you the command is going to run and the arguments for the commands.
16:48 itcharlie I print Dumper \@cmd
16:48 itcharlie and I get the following:
16:49 itcharlie $VAR1 = [
16:49 itcharlie 'svn info',
16:49 itcharlie '1>C:\\Users\\CGONZA~1\\AppData\\Local\\Temp\\yDOH6kmSAs',
16:49 itcharlie '2>C:\\Users\\CGONZA~1\\AppData\\Local\\Temp\\O72mS_sMzU'
16:49 itcharlie ];
16:49 itcharlie I don't thnk it handles ~ in the file path very well.
16:51 bowtie_ itcharlie: run_in_directory_two will give you input output and error
16:51 bowtie_ looks like it's our old friend relative paths again
16:51 bowtie_ itcharlie: nice catch
16:52 itcharlie cool
16:52 itcharlie hmm so how to fix?
16:54 bowtie_ itcharlie: $data->{directory} is that C:\\Users\\CGONZA~1\\AppData\\Local\\Temp in above
16:54 itcharlie let me check
16:55 notEvilEnough joined #padre
16:55 bowtie_ itcharlie: I don't think you dumped the data relating to Module::Starter (M-S)
16:56 bowtie_ itcharlie: that looks like something happing from elsewhere
16:59 bowtie_ itcharlie: I am a Data:: Printer bob, try dumping when running from trunk -> perl dev -t
16:59 itcharlie $VAR1 = [
16:59 itcharlie 'svn info',
16:59 itcharlie '1>C:\\Users\\CGONZA~1\\AppData\\Local\\Temp\\yDOH6kmSAs',
16:59 itcharlie '2>C:\\Users\\CGONZA~1\\AppData\\Local\\Temp\\O72mS_sMzU'
16:59 itcharlie ];
16:59 itcharlie opps
16:59 itcharlie Data => $VAR1 = {
16:59 itcharlie 'author_name' => 'Charlie',
16:59 itcharlie 'builder_choice' => 'Module::Install',
16:59 itcharlie 'module_name' => 'Testing',
16:59 itcharlie 'license_choice' => 'perl',
16:59 itcharlie 'email' => 'itcharlie@gmail.com',
16:59 itcharlie 'directory' => 'C:\\Users\\cgonzalez\\Desktop'
16:59 itcharlie };
16:59 itcharlie CMD => $VAR1 = [
16:59 itcharlie '--module',
16:59 itcharlie 'Testing',
16:59 itcharlie '--author',
16:59 itcharlie '"Charlie"',
16:59 itcharlie '--email',
16:59 itcharlie 'itcharlie@gmail.com',
16:59 itcharlie '--builder',
16:59 itcharlie 'Module::Install',
16:59 itcharlie '--license',
16:59 itcharlie 'perl',
16:59 itcharlie '--verbose'
16:59 itcharlie ];
17:00 bowtie_ itcharlie: that way you can check what  you see is from M-S
17:00 itcharlie Data::Printer?
17:01 bowtie_ D-P is just pretty :)
17:02 bowtie_ itcharlie: Data => looks ok
17:03 itcharlie yes I even ran the command and it works just fine
17:03 itcharlie do we perform redirection in win cmd line?
17:06 bowtie_ itcharlie: I don't know, did the M-S feature work
17:09 itcharlie yes
17:09 sugar_ joined #padre
17:10 itcharlie running in the commandline I was able to create my Distribution
17:13 itcharlie ah
17:14 itcharlie failed because directory option needs to be specified
17:14 itcharlie --dir option
17:14 itcharlie ok
17:14 itcharlie hmm
17:15 itcharlie The command needs to be something like this : C:\Users\cgonzalez\Desktop\Padre\Padre>module-starter --module Testing --author "Charlie" --email itcharlie@gmail.com --builder Module::Install --license perl --verbose  --dir=C:\\Users\\cgonzalez\\Desktop
17:16 itcharlie actually --dir C:\\Users\\cgonzalez\\Desktop\\$module_name
17:17 bowtie_ itcharlie: that  is what it does now?
17:18 bowtie_ itcharlie: or dose Module::Name end up as ...\\Module\Name
17:20 itcharlie one sec
17:33 itcharlie hmm
17:33 itcharlie to be more accurate _execute_process_and_wait is being called . line 114 inside Padre/Util/Win32.pm
18:05 ilbot2 joined #padre
18:05 Topic for #padre is now Welcome to Padre, The Perl IDE, latest release is 1.00 http://padre.perlide.org | Archive Log: http://irclog.perlgeek.de/padre/today | Don't paste! Use http://paste.scsys.co.uk/padre | for basic help just type help
18:33 dod joined #padre
19:01 lostinfog joined #padre
19:11 Foxcool joined #padre
20:05 dolmen1 joined #padre
20:30 kaare joined #padre
20:32 dod joined #padre
20:47 dolmen1 joined #padre
21:06 dolmen1 joined #padre
21:20 dolmen1 joined #padre
21:25 dolmen1 joined #padre
22:05 itcharlie left #padre
22:06 Di-ima joined #padre
22:06 ulisesv joined #padre
22:10 ulisesv Hello guys, I'm trying to prove my own module PM in PAdre but it doesn't work it marks me the following error
22:10 shadowpaste "ulisesv" at 217.168.150.38 pasted "error on padre module testing" (10 lines) at http://paste.scsys.co.uk/292297
22:10 ulisesv any help is really appreciated
22:13 bowtie_ ulisesv: hi
22:15 ulisesv hi bowtie_
22:16 bowtie_ ulisesv: can you paste a tree of your module please
22:16 ulisesv I'm new to PADRE, how can I get a tree of the module?
22:17 shadowpaste "bowtie" at 217.168.150.38 pasted "like this" (68 lines) at http://paste.scsys.co.uk/292301
22:18 bowtie_ ulisesv: tree is a cmd util
22:18 dolmen1 joined #padre
22:24 ulisesv bowtie_: my tree only shows directories, files are left
22:24 shadowpaste "ulisesv" at 217.168.150.38 pasted "tree of module" (8 lines) at http://paste.scsys.co.uk/292302
22:26 ulisesv bowtie_ I have a nother tree
22:26 ulisesv give me one second
22:27 shadowpaste "ulisesv" at 217.168.150.38 pasted "tree_with_files" (38 lines) at http://paste.scsys.co.uk/292303
22:29 ulisesv bowtie_: in this tree you can find the .pl and .pm file I'm trying to test in PADRE
22:29 bowtie_ ulisesv: you don't have a Makefile.PL or Build.PL, create a padre.yml in your project root, ie touch padre.yml
22:31 bowtie_ ulisesv: suggest you use Module::Starter to create a perl dist structure, Padre expects it
22:31 bowtie_ also *.pm live under lib
22:32 bowtie_ see my nopaste for an example
22:35 ulisesv bowtie_: my PC does not recognize Module::Starter command
22:35 bowtie_ ulisesv: what is your Padre version
22:36 dolmen1 joined #padre
22:37 bowtie_ ulisesv: see - http://padre.perlide.org/trac/wiki/Features/ProjectSkeletonGeneration
22:37 bowtie_ ulisesv: works in Padre 1.0
22:38 ulisesv bowtie_: I'm using 0.94 do you suggest updating my version?
22:38 bowtie_ ulisesv: YES
22:44 ulisesv bowtie_: is there a problem if i install it on d: instead of c:?
22:45 bowtie_ ulisesv: why would you want to keep an old copy
22:46 ulisesv bowtie_: i don't want to keep and old copy i just install all my tools in d: just in case c: goes wrong, but whats your suggestion?
22:47 bowtie_ ulisesv: go ahead, you might need to sort out your paths later, ok
22:54 ulisesv bowtie_: I install it on c: so i don't have path problems
22:54 ulisesv but my version of PAdre still says 0.94
22:56 bowtie_ ulisesv: use cpan in cmd - see videos for assistance - http://padre.perlide.org/trac/wiki#HowdoItryit
23:05 ulisesv bowtie_: i might be getting the wrong version of dwin padre, can you provide me with a link to version 1.0 of padre please?
23:06 bowtie_ ulisesv: did you watch Gabors great video about using dwim-padre and how to use cpan
23:27 ulisesv joined #padre
23:29 ulisesv bowtie:hi
23:30 bowtie_ ulisesv: pong
23:35 ulisesv bowtie: I looked at one video but there are many interviews and I don't find the video on how to use cpan in PADRE? can you point me to it?
23:36 bowtie_ ulisesv: there are 4 videos there on Padre

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