Camelia, the Perl 6 bug

IRC log for #padre, 2010-05-10

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

All times shown according to UTC.

Time Nick Message
00:02 SvenDowideit joined #padre
00:53 psybermonkey joined #padre
03:20 CSJewell2 joined #padre
03:51 |Sno| joined #padre
03:57 [Sno] joined #padre
05:16 mohsen joined #padre
05:19 kaare joined #padre
05:37 Xaero joined #padre
06:05 szabgab johaBBa, have you followed the instructions on how to bootstrap local::lib?
06:08 aukjan joined #padre
06:15 psybermonkey joined #padre
07:40 pece joined #padre
07:53 SvenDowideit_ joined #padre
08:00 johaBBa szabgab, i have followed a couple of howto's for local::lib. either it cannot find packages or it tries to install in /usr/local/lib as well as my home dir.
08:00 johaBBa this is one: http://scratching.psybermonkey.net/​2010/03/20/perl-how-to-install-perl​-module-without-root-or-super-user/
08:00 johaBBa and this one: http://sial.org/howto/perl​/life-with-cpan/non-root/
08:01 johaBBa now i am trying to install perl in my home dir
08:01 szabgab maybe try following this: http://search.cpan.org/dist/local-lib/lib​/local/lib.pm#The_bootstrapping_technique
08:02 johaBBa szabgab, i have been able to get padre to build on debian stable...i started again to try to isntall vi plugin from svn
08:03 johaBBa i tried bootstrap and boostrap=/my/home/dir
08:20 pece joined #padre
08:44 johaBBa is there a way to build padre and vi plugin together from svn. for example if i download only those two from svn?
08:46 zenog johaBBa: Yes there is.
08:47 zenog johaBBa: Just install Padre, and then install the plugin using perl Makefile.PL; make; make install
08:47 zenog johaBBa: Then you just need to activate the plug-in in the plug-in manager (in the Tools menu)
08:48 johaBBa zenog, when i do that i get an error:
08:48 johaBBa Bareword "is_padre_plugin" not allowed while "strict subs" in use at Makefile.PL
08:49 johaBBa i can skip tests to make the plugin install
08:49 johaBBa and that will let me enable it
08:49 johaBBa but i also get that error in padre
08:50 zenog Which plugin is it?
08:51 johaBBa i have just installed perl in my home directory, and i have padre installed OK in my home directory.....how to get vi plugin now?
08:52 johaBBa it is pretty :)
08:52 zenog Have you checked out Padre from the svn?
08:52 johaBBa yes and all plugins
08:53 johaBBa i did 'cpan .' in padre svn dir
08:53 zenog Ah okay, I usually do it manually.
08:53 johaBBa i'm going to try perl Makefile.PL
08:53 zenog in  the directory Padre-Plugin-Vi ...
08:54 johaBBa yes :)
08:54 johaBBa Error as described above.
08:55 johaBBa should i do 'cpan .' here like in padre dir?
08:55 johaBBa nope. that errors too.
08:55 zenog No.
08:56 zenog So you have Padre itself installed?
08:56 johaBBa yes
08:56 zenog And when you change into the Padre-Plugin-Vi directory, you get the 'Bareword "is padre...' error?
08:57 johaBBa when i change to Padre-Plugin-Vi directory and run "perl Makefile.PL" i get bareword error, yes.
08:57 zenog hm
08:57 zenog Strange.
08:58 johaBBa installing alien::wx. Wx, module::install, and padre was no prob
08:58 johaBBa i can manually put the vi plugin files in place
08:58 johaBBa i can skip tests and force install
08:58 johaBBa but i still get bareword error when i enable in padre
08:59 zenog No wait, it should work anyway, I guess.
08:59 johaBBa it kinda works, but if i do 'dd' to cut a line in vi mode
08:59 johaBBa then 'p' for paste.
08:59 johaBBa Boom.
08:59 johaBBa bye bye padre window. back to shell
09:01 zenog Okay, don't know about the vi plugin - I never used it. I just wonder what's the difference in our configurations that gives you the error and not me.
09:01 johaBBa i'm using debian stable
09:01 johaBBa not mixing repos
09:01 johaBBa not using compiz...nvidia card...
09:02 zenog Do you run Padre by typing 'padre', or by typing './dev.pl' or something?
09:02 johaBBa i installed perl v5.12.0 in my home dir
09:02 johaBBa padre yes
09:03 johaBBa i linked it to $home/bin from where i installed perl
09:03 johaBBa i have also gotten this far installing into system-wide perl location with debian's perl and root access
09:03 johaBBa same error after successfully getting padre
09:04 zenog So Padre works, but the vi plugin does not work?
09:05 johaBBa yes
09:05 johaBBa i will try another plugin
09:06 johaBBa i'll try nopaste
09:06 zenog johaBBa: The plug-ins have different quality.
09:06 johaBBa should i install from cpan? or from the svn?
09:06 zenog johaBBa: Try the XML plugin, it is one where I know it works and it is simple.
09:06 johaBBa ok
09:07 zenog johaBBa: If you have the svn checked out, use the one from the svn.
09:07 johaBBa ok
09:07 psybermonkey joined #padre
09:07 zenog johaBBa: It is also what I have here, so it is easier to compare.
09:08 johaBBa zenog, the README here says to run 'perl Build.PL' instead of 'perl Makefile.PL'
09:09 johaBBa should i just do that?
09:09 johaBBa is that how you installed?
09:13 zenog johaBBa: perl Makefile.PL also worked for me.
09:13 johaBBa zenog, xml plugin installed without issue
09:13 johaBBa i followed the readme
09:13 zenog johaBBa: Does it also work?
09:14 johaBBa zenog, yes
09:14 johaBBa enabled. and loaded a xml file
09:16 johaBBa hrm it seems Gabor Szabo wrote the vi plugin ;)
09:16 zenog johaBBa: Activate Syntax Checking and see whether it works for the XML file.
09:17 szabgab johaBBa, don't blame me ;-)
09:17 johaBBa hehe
09:17 johaBBa szabgab, no i thank you for such a great program.
09:18 johaBBa zenog, i don't see syntax checking. i see 'tidy xml'...?
09:19 Hyppolit svn: r11434 | sblandin++ | http://padre.perlide.org/trac/changeset/11434
09:19 Hyppolit Updated Padre Italian Translation
09:19 Hyppolit trunk/Padre/share/locale/
09:21 zenog johaBBa: In the "View" menu, there is "Show Syntax Check"
09:22 johaBBa zenog, ah. yes. it seems to be working. i see the syntax pane
09:23 zenog So I guess plugins generally should work for you. If not, it may be a problem specific to the plug-in.
09:24 johaBBa yes, it could be. will try some more plugins from svn. i will also try to remove svn padre and install from the cpan in my home dir
09:24 johaBBa is there a "good" way to remove padre installed from svn?
09:26 zenog johaBBa: Not that I know of. I don't think that the svn padre is much worse than the CPAN one, so maybe there is no need to do it.
09:28 johaBBa zenog, ah yes. they are both 0.60.
09:30 johaBBa vi does work on debian unstable/testing...but i can't use that at work :\
09:30 johaBBa zenog, thank you for your help. I will try to help with the vi plugin if i can
09:33 zenog johaBBa: Great.
09:33 zenog johaBBa: Have fun with Padre! There are many things that actually DO work in Padre ;-)
09:42 psybermonkey joined #padre
09:44 Hyppolit svn: r11435 | zenogantner++ | http://padre.perlide.org/trac/changeset/11435
09:44 Hyppolit fixed Outline handling of unsaved Perl files; added more stuff to Changes file
09:44 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Task/Outline/
09:44 zenog I just found+fixed a problem with Outline handling for unsaved files.
09:46 zenog Everyone, please check whether the Outline feature works for you ...
09:51 danlucraft joined #padre
10:12 waxhead joined #padre
10:12 waxhead evening all
10:13 Alias_ \o
10:13 zenog Hello Australia ...
10:13 waxhead :)
10:14 waxhead zenog, have you worked out what to do with the plugin to cpan?
10:14 waxhead if the plugin isn't on cpan, it's 'yours'...
10:15 waxhead otherwise you need to get comaintainership of the module..
10:15 waxhead which is what I did for the svn one...
10:15 waxhead seems gabor has written a lot of 'initial' work as a version 0.01 for others to take up
10:16 waxhead and, as a bonus, the release.pl script that's in the tools directory can be used to put together a release of a  module... I used that to do the SVN one
10:16 zenog waxhead: I applied for a PAUSE account; will use that to upload the LaTeX plugin I wrote. I initially asked because I fixed something in the XML plugin.
10:16 waxhead does anyone have the xml plugin on cpan yet?
10:16 zenog waxhead: Yey, FAYLAND
10:16 zenog s/Yey/Yes/
10:17 waxhead ha.. that changes the context somewhat! :)
10:17 waxhead have you got your pause account sorted?
10:17 waxhead I think Alias_ is a cpan admin... give him a nudge..
10:18 zenog waxhead: The website says that it takes between one and three weeks.
10:18 waxhead well the thing is, if the plugin is ready for a release, either ask fayland to do it or ask if you can.. and get him to give you the rights to do so
10:18 waxhead zenog, it's not what you know, but WHO you know...
10:18 waxhead my cpan account was done fairly quickly...
10:18 zenog waxhead: Okay, then I'll contact fayland and Alias_ ... thanks for the hints.
10:34 psybermonkey joined #padre
10:50 Hyppolit #903: Test Failure - xt/compile.t (closed defect) [ http://padre.perlide.org/trac/ticket/903#comment:3 ]
10:52 Xaero joined #padre
10:53 Hyppolit #902: Test Failure - xt/badcode.t (new defect) [ http://padre.perlide.org/trac/ticket/902#comment:3 ]
10:54 zenog lunch &
11:05 bricas Alais: tried to install the latest pip -- tests failed wanting "Compress::Bzip2" installed. undeclared dependency, perhaps?
11:22 daxim joined #padre
11:42 CSJewell joined #padre
11:55 psybermonkey joined #padre
12:02 awnstudio joined #padre
12:12 szabgab joined #padre
12:47 johaBBa joined #padre
13:34 psybermonkey joined #padre
14:09 Xaero joined #padre
14:42 johaBBa i am successfully with installing Padre from cpan on centos 5.4. most likely should work on rhel5.5 too
14:43 daxim good
14:45 johaBBa only problem is with the vi plugin. I have gotten vi plugin to work from debian unstable. I'm going to try debian's vi plugin files on centos padre installed from cpan...
14:47 daxim are you copying debian files?  Padre::Plugin::Vi is available from CPAN, too
14:51 kaare joined #padre
15:03 dapatrick joined #padre
15:04 Sewi joined #padre
15:56 johaBBa daxim, the vi plugin from cpan and SVN has not work for me yet.
15:56 johaBBa the only vi plugin that has work in my testing this weekend was debian testing/unstable
15:57 johaBBa i can get padre to install on debian stable/testing and centos 5.4 from cpan and svn...other plugins work for me as well...but i need vi :)
16:01 patspam joined #padre
16:03 shadowpaste "johaBBa" at 217.168.150.38 pasted "Bareword error from Padre-Plugin-Vi-0.22.tar.gz cpan and SVN" (11 lines) at http://paste.scsys.co.uk/43362
16:41 szabgab johaBBa, I'd guess the vi plugin on CPAN is way out of date
16:41 szabgab try the one in svn
16:41 johaBBa ok i will try that now
16:41 johaBBa both say 0.22
16:42 szabgab because we only change the version number before we release
16:42 johaBBa ok...i will try it.
16:47 shadowpaste "johaBBa" at 217.168.150.38 pasted "Bareword error from Padre-Plugin-Vi SVN" (4 lines) at http://paste.scsys.co.uk/43365
16:47 johaBBa similar 'bareword' error
16:49 johaBBa i found that debian testing works. they seem to have added a patch
16:49 johaBBa a patch for WXGTK which my first error points too
16:49 johaBBa http://paste.scsys.co.uk/43362
16:59 johaBBa i needed that patch
16:59 johaBBa vi plugin on centos 5.4 working now from debian testing/unstable's libpadre-plugin-vi-perl files
17:02 johaBBa bah. spoke too soon. it will let me install and enable the plugin now....but it padre crashes when I do a vi paste command
17:03 kthakore left #padre
17:07 szabgab johaBBa, so maybe someone can help you track down the problem and then you can fix it?
17:08 johaBBa i'm trying....but i just took my first perl course last week......
17:08 johaBBa is the plugin author around for padre-plugin-vi?
17:10 El_Che isn't that Gabor?
17:11 johaBBa i thought it was....i was trying to help. but maybe i am just being noisy....i'll pastebot the info i have.....sry
17:11 shadowpaste "johaBBa" at 217.168.150.38 pasted "undef value error after patching padre-vi plugin from CPAN. patch included" (121 lines) at http://paste.scsys.co.uk/43366
17:11 johaBBa left #padre
17:12 szabgab who is gabor ?
17:12 El_Che some mba high shot
17:13 szabgab a dead jazz musician
17:14 szabgab but wait johaBBa left
17:27 awnstudio joined #padre
17:30 Hyppolit svn: r11436 | szabgab++ | http://padre.perlide.org/trac/changeset/11436
17:30 Hyppolit some fixes in the poll page
17:30 Hyppolit trunk/perlide.org/ trunk/perlide.org/polls/the-most-important-​features-of-an-employer-or-job-opportunity/
17:32 szabgab I don't know , it does not crash for me
17:32 szabgab though it does not work either...
17:48 CSJewell joined #padre
18:38 Steffen joined #padre
19:51 eilara joined #padre
19:56 eilara Hey all. Padre is amazing. Can I get commit bit from someone for work on the VI plugin?
19:57 szabgab trac?
19:57 Hyppolit trac is http://padre.perlide.org/trac and also http://padre.perlide.org/trac/register
19:57 szabgab register there ^^^^
20:00 szabgab you know you could tell me when you are done :-)
20:00 Hyppolit svn: r11437 | szabgab++ | http://padre.perlide.org/trac/changeset/11437
20:00 Hyppolit add commit bit to eilara
20:00 Hyppolit subversion/
20:01 szabgab eilara, enjoy your commit bit
20:02 eilara ah, sorry, I was reading the getting_involved.html page, trying to add "register on track" as a step, but can't see the wiki-style link to Edit
20:03 eilara thanks, will upload some research for the plugin tonight
20:03 eilara I mean commit
20:37 rindolf joined #padre
20:41 Steffen eilara, when you make the vi plugin work well, you'll rock my world.
20:41 CSJewell2 joined #padre
20:41 Steffen Good night!
20:41 rindolf Hi all.
20:41 rindolf Hi eilara
20:42 eilara hey rindolf
20:42 rindolf eilara: what's up?
20:43 eilara rindolf: comitting the VIM research I showed you to the Padre VI plugin dir, so that Steffen's world be rocked
20:43 eilara in a few years once I finish
20:43 rindolf eilara: ah.
20:44 rindolf eilara: in which format?
20:45 eilara the spreadsheets I export as TSV, but its read only, to write to the spreadsheets you need a google doc invite
20:46 eilara and there is Perl code that parses them and builds a Graph object (from CPAN) with the normal mode commands syntax tree
20:46 PerlJam eilara: what is it you wanted to do with the vi plugin?
20:47 eilara to write it, eventually, but I am still in research stage
20:48 PerlJam There is already a vi plugin, it just needs to work better.  What form does "better" take in your universe?  :)
20:49 eilara http://bit.ly/b3Q4Qd is some of the data collection work
20:49 eilara ah I see what you mean, I want it to be at level where I can switch from VIM to Padre. So definately 100% emulation of normal mode for example.
20:50 PerlJam excellent!
20:50 PerlJam (I made a few changes to the vi plugin over the weekend)
20:52 PerlJam and you're the 2nd or 3rd person I've seen mention the vi plugin, so we may be reaching critcal mass soon  :)
20:52 eilara so I will commit a new top level dir under the VI plugin dir called "research" with some documents and Perl code (not for the plugin, Perl code for helping the research) ?
20:57 eilara PerlJam- have you looked at other VIM emulation efforts (e.g. VsVim, Yi)?
20:58 eilara From looking at them it seems to me that really high coverage is possible
20:58 PerlJam nope.  I was just trying to use vi-mode for Padre and implemented what I wanted to use but wasn't working  :)
21:00 eilara That is one way of doing it. Probably the way the original editor/s were written.
21:01 eilara It may work with lots of refactoring, because there are so many symmetries in vim (e.g. https://sites.google.com/site/whatisvim/)
21:01 eilara so you will get lots of code duplication eventually
21:03 PerlJam yes, I thought as much when I was making my changes the other day even.
21:03 eilara the VsVim/Yi people seem to have spent lots of time in design, it does not look like it was built in the way you describe, but I am not sure
21:05 eilara joined #padre
21:07 eilara_ joined #padre
21:11 eilara_ the problem with the approach is that you don't have any working code for a long time
21:23 CSJewell2 joined #padre
22:02 kaare left #padre
23:35 mohsen joined #padre
23:58 Hyppolit svn: r11438 | eilara++ | http://padre.perlide.org/trac/changeset/11438
23:58 Hyppolit added research dir with start of research on parsing normal mode commands
23:58 Hyppolit trunk/Padre-Plugin-Vi/ trunk/Padre-Plugin-Vi/research/ trunk/Padre-Plugin-Vi/research/dot_out/ trunk/Padre-Plugin-Vi/research/lib/ trunk/Padre-Plugin-Vi/research/lib/Vimper/ trunk/Padre-Plugin-Vi/research/lib/Vimper/Command/ trunk/Padre-Plugin-Vi/researc​h/lib/Vimper/Command/Normal/ trunk/Padre-Plugin-Vi/rese​arch/lib/Vimper/SyntaxDag/ trunk/Padre-Plugin-Vi/resea​rch/lib/Vimper/SyntaxPath/ trunk/Padre-Plugin-Vi/research/

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