Camelia, the Perl 6 bug

IRC log for #padre, 2012-01-29

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

All times shown according to UTC.

Time Nick Message
00:19 Hyppolit svn: r18121 | szabgab++ | http://padre.perlide.org/trac/changeset/18121
00:19 Hyppolit Update the messages.pot file
00:19 Hyppolit trunk/Padre/share/locale/
00:57 Hyppolit svn: r18122 | bowtie++ | http://padre.perlide.org/trac/changeset/18122
00:57 Hyppolit just another tweak,
00:57 Hyppolit trunk/Padre/lib/Padre/Wx/Panel/
01:02 Hyppolit wiki page http://padre.perlide.org/trac​/wiki/Features/Perl5Debugger changed by bowtie
01:03 bowtie done
01:03 bowtie left #padre
02:01 GabrielVieira joined #padre
02:30 ElliotPsyIT bowtie, I see I misunderstood - maybe I should just ask if you know in about how many hours do you think alias or an ms user would be on?  It's now 8:30p gmt-6 where I am.
02:31 Alias hi
02:31 Alias yawn
02:31 ElliotPsyIT Ah, very good - might I trouble you with a newbie question on running tests from a downloaded project within padre?
02:34 ElliotPsyIT I have a perl dancer project tree hanging off C:\.  In padre, running a test (from menu option fails) because @INC does not see modules in the project tree.  Looking for a way to add to @INC to find project modules.  Tried adding dir names to PERL5LIB, but that failed.  Suggestions?
02:49 ElliotPsyIT Oops, sorry - looks like I needed to restart padre after I changed environment variable.  My apologies.
02:50 Alias Yes
02:50 Alias What version of Padre?
02:50 Alias Also, I'm not entirely sure if "Run Script" in whch versions properly includes modules
02:51 Alias You may need to run it from the command line for the moment if the lib approach doesn't work
02:52 ElliotPsyIT Just had a strange thing happen.  The "Run This Test" terminal was open.  I then went to About to check padre version, and padre closed, leaving the Run script terminal open.  Seems odd.  Trying now to recreate ...
02:52 Alias Weird
02:56 ElliotPsyIT Yes, I can repeat it in a few steps.  Open padre.  Open the test file.  Run 'Run This Test', which fails (unable to locate an object method) leaving the terminal open with a 'Press any key to continue ...'.  Then I open Help menu, click About, and padre shuts down.
02:58 ElliotPsyIT Well, maybe it's a larger problem now.  If I open padre and go directly to the Help menu and click About, padre shuts down.  Hmm ...
03:01 ElliotPsyIT Earlier this evening, I did check the version (cannot recall it now), but it was working.  Not sure what might have happened.
03:03 Alias It crashes on the About box? wow
03:03 Alias Try padre -v
03:04 ElliotPsyIT Padre v .84
03:05 ElliotPsyIT Yes, crashes on the About box now, though it did not do so earlier this evening.
03:05 Alias That's fairly new...
03:05 Alias Was this a CPAN install or something that came with your OS?
03:07 ElliotPsyIT I believe padre installed when I installed strawberry perl from the strawberry website - best I recall.
03:08 Alias You probably have an old all-in-one installer
03:08 ElliotPsyIT Either that, or I installed strawberry and then used cpan to install padre.  Can't quite recall the sequence ...
03:08 Alias hrm
03:09 Alias I've just looked at what happens when you run a script under the latest 0.94
03:09 Alias And it still doesn't work right
03:09 Alias It's better, but still not right
03:09 Alias If you have strawberry, and you want to run/debug a test script, I'm afraid at this point I have to recommend the following
03:09 Alias 1. dmake and then prove -b t/test_script.t on the normal Windows command line
03:10 Alias 2. If you are debugging a test, use "pler" which comes with Strawberry
03:10 Alias As in
03:10 Alias pler any-substring-in-the-test-name
03:10 Alias pler does automatic running of Makefile.PL and rerunning of dmake etc
03:11 Alias And I'll put a big focus on getting "Run Script" working properly for the upcoming 1.0
03:11 ElliotPsyIT That's very good of you, thanks.
03:11 Alias Unfortunately, as important as "Run Script" sounds, it's taken a bit of a back seat over the last year to getting even more core things like Find and Replace and file type detection working properly
03:12 Alias Now that almost all the core editor features work properly, it's probably time focus turned to executing them
03:12 Alias Also, on Windows, I recommend installing a program called Console2
03:12 Alias That's not Padre specific
03:13 Alias But it's basically a better command line for windows than the default one
03:13 Alias But only subtly better, not a dramatically different style
03:14 Alias oh!
03:14 Alias Actually
03:14 Alias I just tried something
03:14 Alias OK, so upgrade to the latest Padre
03:14 Alias Run Script doesn't work right for tests
03:14 Alias But there's a "Run This Test" command that does work properly
03:14 Alias It may well be working in yours too
03:15 Alias Actually, it won't
03:15 Alias According to Changes, it started picking up lib and working properly in 0.88
03:15 Alias You can think bowtie for that fix
03:15 Alias So yeah, I'd now recommend upgrading to 0.94
03:16 Alias It's a bit more CPU intense due to some overambitious tool refreshing
03:16 Alias But it's much smoother, and Run This Test works
03:17 Alias And on that note, I have to go out for a bit
03:17 Alias Back in 2-3 hours
03:17 ElliotPsyIT Ok, I do the upgrade.  Much appreciated for all your work, bowtie's work, szabgab's work, and the padre team's work.  This newbie is very appreciative!
04:19 ElliotPsyIT Well .. when padre went south, looks like strawberry perl went south.  Unable to install or upgrade any package. Same errors each time.  List of 10 "Global symbol "$ ..." requires explicit package name ...
04:19 ElliotPsyIT Unistalled and re-installed strawberry perl.  Same problem.  I'm a newbie and at a loss.
04:45 ElliotPsyIT The Global symbol errors refer to vendor\lib/CPAN/SQLite/DBI/Search.pm 5 separate times, then finally Compilation failed in require at vendor\lib/CPAN/SQLite.pm line 71.
04:52 Timbus did you remove those files when you reinstalled?
06:17 Alias erk, wtf
06:17 Alias cpan
06:17 Alias reload index
06:17 Alias Try that
06:17 Alias Probably stale sqlite files hanging around or something
06:33 kaare joined #padre
06:35 kaare_ joined #padre
07:33 Hyppolit svn: r18123 | azawawi++ | http://padre.perlide.org/trac/changeset/18123
07:33 Hyppolit Fix typo in Changes
07:33 Hyppolit trunk/Padre/
07:38 dodathome joined #padre
07:57 sewi_work joined #padre
09:18 ecocode joined #padre
09:38 Hyppolit svn: r18124 | adamk++ | http://padre.perlide.org/trac/changeset/18124
09:38 Hyppolit Padre::Comment now has a proper library of objects, Padre::MIME returns them properly on ->comment, and different languages that use the same type of comments also share the same comment objects.
09:38 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/t/
10:01 Di-ima joined #padre
10:09 ecocode joined #padre
10:43 mj41 joined #padre
10:53 bowtie joined #padre
10:53 bowtie gm
11:30 Maltus_ joined #padre
12:19 Hyppolit svn: r18125 | szabgab++ | http://padre.perlide.org/trac/changeset/18125
12:19 Hyppolit Update the messages.pot file
12:19 Hyppolit trunk/Padre/share/locale/
12:37 Hyppolit svn: r18126 | adamk++ | http://padre.perlide.org/trac/changeset/18126
12:37 Hyppolit Tweak
12:37 Hyppolit trunk/Padre/lib/Padre/
13:17 Hyppolit svn: r18127 | adamk++ | http://padre.perlide.org/trac/changeset/18127
13:17 Hyppolit Bumping dependency to 0.76
13:17 Hyppolit trunk/Padre-Plugin-FormBuilder​/lib/Padre/Plugin/FormBuilder/
13:20 bowtie Alias, what effect will that have on released 0.4?
13:20 Alias Nothing
13:20 bowtie ok
13:20 Alias There's just a couple of events that aren't bound properly
13:21 Alias The changes are fully back compatible
13:37 Hyppolit svn: r18128 | bowtie++ | http://padre.perlide.org/trac/changeset/18128
13:37 Hyppolit tweak, that's better displaying refs as well, no more scrolling for me:)
13:37 Hyppolit Debug2 display variable in output
13:37 Hyppolit trunk/Padre/lib/Padre/Wx/Panel/
13:41 bowtie Alias, p5p is suggesting in tests replacing ok/is for cmp_ok for numerics, any thoughts?
13:41 bowtie http://qa.perl.org/testing-guidelines.html
13:46 Alias I'm a bit meh about it
13:47 Alias Seems like a lot of extra work for not a lot of benefit
13:48 Alias Although I agree with using is( $foo, $bar, 'Message' ) instead of ok( $foo == $bar, 'Message' )
13:48 Alias It isn't any longer or complex and it's more accurate
13:49 Alias The extra precision from cmp_ok seems minor, except in very rigid circumstances
13:50 Alias In general, I'm dubious when Perl people start writing guideline or best practice documents
13:50 Alias They are usually informed by their own situations and experiences
13:51 Alias And you should validate that the logic behind each case is plausible for your situation and worth the cost (if there is an addition maintenance cost)
13:51 Hyppolit svn: r18129 | adamk++ | http://padre.perlide.org/trac/changeset/18129
13:51 Hyppolit Bump to 0.77 for the combobox fix in FBP
13:51 Hyppolit trunk/Padre-Plugin-FormBuilder​/lib/Padre/Plugin/FormBuilder/
13:53 Hyppolit svn: r18130 | adamk++ | http://padre.perlide.org/trac/changeset/18130
13:53 Hyppolit Bump to 0.77 for the combobox fix in FBP
13:53 Hyppolit trunk/Padre-Plugin-FormBuilder/ trunk/Padre-Plugin-FormBuilder/lib/Padre/Plugin/ trunk/Padre-Plugin-FormBuilder​/lib/Padre/Plugin/FormBuilder/ trunk/Padre-Plugin-FormBuilder/t/data/
13:54 bowtie Alias, hence i ask for a critique, if it's a good idea but a pain to implement I will plod my way through, reading the tests will be therapeutic i think
13:55 Alias Most things that are a pain to implement, that involve lots of extra code, and which don't actually make the program better for real users is often a waste
13:55 bowtie yes
13:56 bowtie but if you end up with conformance or a standard, it might be worth it?
13:57 Alias standards that involve a lot of coding for no real user benefit are also often a waste
13:57 bowtie lol
13:59 ElliotPsyIT Apologies for jumping out and back in next day on padre then strawberry problem
13:59 Alias If you look at the code of someone that's basically just read Perl Best Practice and done whatever it says, it's bloaty and fairly horrible
13:59 bowtie ok that's enough of that, how's the sloc coming along. ps I got that error again #1391, and I was not doing any thing abnormal
13:59 Hyppolit # 1391 :  Hit unfixed bug in directory browser, disabling it (new defect) [ http://padre.perlide.org/trac/ticket/1391 ]
14:01 ElliotPsyIT Did 'reload index', which ran - but still producing SQLite errors when trying to install any package
14:01 ElliotPsyIT When I re-installed strawberry, I did not remove the residual files and dirs before re-installing.
14:03 Alias Lets try that then
14:03 ElliotPsyIT Will do
14:03 Alias If you install the normal Strawberry that doesn't come bundled with Padre and then install it yourself, things should go ok
14:03 Alias There's a couple of installs that have had Padre bundled, but they are usually beta or non-blessed
14:04 ElliotPsyIT I installed Strawberry from the Strawberry web site, using the 5.12 msi
14:04 Alias ok
14:04 Alias Then you installed Padre from the cpan shell afterwards?
14:04 ElliotPsyIT yes
14:05 Alias ah, ok
14:05 Alias All good then
14:06 ElliotPsyIT Trying the re-install after removing residual dirs and files ...
14:09 Hyppolit svn: r18131 | adamk++ | http://padre.perlide.org/trac/changeset/18131
14:09 Hyppolit Bump version, but don't release yet
14:09 Hyppolit trunk/Padre-Plugin-FormBuilder/t/
14:22 ElliotPsyIT Argh - uninstalled Strawberry, removed all residual dirs and files, re-installed Strawberry
14:23 ElliotPsyIT Still cannot use cpan shell to install anythinng
14:23 ElliotPsyIT Same errors on SQLite
14:25 ElliotPsyIT And same errors 'Global symbol "..." requires explicit package name \vender\lib/CPAN/SQLite/DBI/Search.pm line .. - 5 of those with each failed install
14:29 Hyppolit svn: r18132 | adamk++ | http://padre.perlide.org/trac/changeset/18132
14:29 Hyppolit Even more detail in the bizare undef warning
14:29 Hyppolit trunk/Padre/lib/Padre/Wx/
14:30 Alias Global symbol "..." ?
14:30 Alias wait
14:30 Alias \vender\ ?
14:30 Alias With an e?
14:31 ElliotPsyIT Compilation failed in require at C:\strawberry\perl\vendor\lib/CPAN/SQLite.pm li ne 71.  C:\>cpan install Test::Spec CPAN: CPAN::SQLite loaded ok (v0.199) Creating database file ... Done! Global symbol "$dbh" requires explicit package name at C:\strawberry\perl\vendor \lib/CPAN/SQLite/DBI/Search.pm line 43. Global symbol "$dbh" requires explicit package name
14:32 bowtie Alias, cool, I will close ticket if that's alright with you?
14:33 Alias Nope
14:33 Alias Don't close it
14:33 Alias I didn't fix it
14:33 Alias Just made the error more verbose
14:33 bowtie ok, why, I just repeated test with no error or browser close
14:33 Alias Oh man that looks ugly
14:34 ElliotPsyIT Sorry, I will be more explicit with the errors
14:34 Alias Because we don't know what's triggering it
14:34 Alias ElliotPsyIT, that all looks ok to me
14:34 Alias What's in your PATH
14:35 bowtie Alias, ok I will leave it with you
14:38 ElliotPsyIT Got strawberry and an Active State perl installed - path includes C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:​\strawberry\perl\bin;C:\Perl\site\bin;C:\Perl\bin;
14:46 ecocode joined #padre
16:04 Hyppolit svn: r18133 | adamk++ | http://padre.perlide.org/trac/changeset/18133
16:04 Hyppolit Added a Watch button to the Expression window in the developer plugin
16:04 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/FBP/ trunk/Padre/lib/Padre/Wx/Role/
16:06 Alias aha
16:06 Alias ElliotPsyIT, there is an extremely high chance that installing several different Perls at the same time will cause trouble
16:06 Alias In random ways
16:06 Alias One or the other please
16:19 Hyppolit svn: r18134 | szabgab++ | http://padre.perlide.org/trac/changeset/18134
16:19 Hyppolit Update the messages.pot file
16:19 Hyppolit trunk/Padre/share/locale/
16:29 ElliotPsyIT Understood.  A newbie, I just learned of Strawberry and installed.  I want to stay with it.  I've never used IRC, and really appreciate the help.  I'll fix the env and try again.  Thank you.
17:19 ElliotPsyIT Now I am really at a loss.
17:20 ElliotPsyIT I used Win Add/Remove to remove ActiveState and Strawberry perl.  Removed residual dirs and files.  Cleaned the path of all refs to perl.  Then reloaded Strawberry from the site using msi
17:20 ElliotPsyIT Then used cpan to load padre
17:22 ElliotPsyIT C:\>cpan padre CPAN: CPAN::SQLite loaded ok (v0.199) Creating database file ... Done! Global symbol "$dbh" requires explicit package name at C:\strawberry\perl\vendor \lib/CPAN/SQLite/DBI/Search.pm line 43. Global symbol "$dbh" requires explicit package name at C:\strawberry\perl\vendor \lib/CPAN/SQLite/DBI/Search.pm line 89.
17:23 ElliotPsyIT Global symbol "%chaps" requires explicit package name at C:\strawberry\perl\vend or\lib/CPAN/SQLite/DBI/Search.pm line 158. Global symbol "$full_id" requires explicit package name at C:\strawberry\perl\ve ndor\lib/CPAN/SQLite/DBI/Search.pm line 174.
17:24 ElliotPsyIT Compilation failed in require at C:\strawberry\perl\vendor\lib/CPAN/SQLite/Searc h.pm line 7. BEGIN failed--compilation aborted at C:\strawberry\perl\vendor\lib/CPAN/SQLite/S earch.pm line 7. Compilation failed in require at C:\strawberry\perl\vendor\lib/CPAN/SQLite.pm li ne 71.
17:25 ElliotPsyIT Trying one other thing ...
17:26 ElliotPsyIT Wait ...
17:30 ElliotPsyIT Ah, goes to show - a newbie can do something that seems benign but turns out to be critical
17:31 ElliotPsyIT I added a PERL5LIB env var, thinking I could get Padre to look within the a project for dependent project modules used by a test.
17:32 ElliotPsyIT I removed PERL5LIB, and the cpan problem went away.
17:33 ElliotPsyIT I didn't know enough about how PERL5LIB is used to think it may be contributing to my cpan install problem.
17:33 ElliotPsyIT My sincere apologies for asking you to chase me down a rabbit hole.
17:35 ElliotPsyIT I recommend caution when a psychologist starts doing IT :)
17:36 bowtie ElliotPsyIT, may be when you are up and running you would like to add to our wiki pages to help others?
17:36 kaare_ joined #padre
17:36 ElliotPsyIT I'd be happy to do so.
17:46 bowtie like to register?
17:46 bowtie Hyppolit, trac!
17:46 Hyppolit Trac registration opened for 5 minutes. Please visit http://padre.perlide.org/trac/register to register
17:46 bowtie ElliotPsyIT, just for you :)
17:51 Hyppolit Trac registration closed
17:54 kaare joined #padre
18:08 Maltus_ joined #padre
18:09 ElliotPsyIT Oh, sorry - went off (to follow the load/compilation of Padre)
18:10 ElliotPsyIT I know about trac, but have never used it.
18:11 ElliotPsyIT I'd like to register, but might need time to learn trac or some hand holding.
18:13 bowtie Hyppolit, trac!
18:13 Hyppolit Trac registration opened for 5 minutes. Please visit http://padre.perlide.org/trac/register to register
18:13 ElliotPsyIT Very good.  On my way ...
18:14 ElliotPsyIT Registered, thank you.
18:15 bowtie ElliotPsyIT, the way I did it was to put my own up so that I could hack around in peace and quite, alternatively you could just use or sandbox
18:16 Hyppolit # 1392 :  76_preferences.t fails on Windows (new defect) [ http://padre.perlide.org/trac/ticket/1392 ]
18:17 bowtie ElliotPsyIT, you can cut your teeth here, you can do no damage to this page http://padre.perlide.org/trac/wiki/SandBox
18:18 Hyppolit Trac registration closed
18:18 ElliotPsyIT bowtie, good suggestion to put up my own.  Some colleagues did so recently, but it required a bunch of tweaks.
18:18 ElliotPsyIT Thanks for the sandbox link.  I think I'll take you up on that one.
18:19 bowtie ElliotPsyIT, don't pick centos 5.5, try a current ubuntu and you will be ok
18:19 chorny joined #padre
18:21 ElliotPsyIT bowtie, thanks for the warning - I use Ubuntu, so I should be ok.
18:22 bowtie ElliotPsyIT, it's fun, linking to svn and mysql
18:23 ElliotPsyIT bowtie, thanks for the encouragement - I look forward to installing and checking it out.
18:25 bowtie ElliotPsyIT, trac, svn, mysql and apache all combine nicely together :)
18:25 ElliotPsyIT bowtie, I figured there was a good reason why so many perlers use trac :)
19:33 ecocode joined #padre
20:56 Hyppolit svn: r18135 | adamk++ | http://padre.perlide.org/trac/changeset/18135
20:56 Hyppolit A little bit more
20:56 Hyppolit trunk/Padre/lib/Padre/
21:26 perlite_ joined #padre
21:31 bowtie Alias, the watch button is better, but, if things change you can't scroll down to see them before next refresh
21:43 Alias I can't fit that
21:43 Alias Never managed to work out how to scroll a textctrl to a particular point
21:43 Alias Or preserve the scroll position across a refresh
21:44 bowtie yes, a kind of catch 22, just like life :)
22:16 ElliotPsyIT joined #padre
23:52 user_4918 joined #padre
23:53 user_4918 hello anyone know perl well?
23:54 user_4918 anybody?
23:55 Hyppolit svn: r18136 | adamk++ | http://padre.perlide.org/trac/changeset/18136
23:55 Hyppolit - Added Padre::SLOC for calculating Source Lines of Code metrics (ADAMK)
23:55 Hyppolit
23:55 Hyppolit Completed the core logic for the counter/accumulator module Padre::SLOC. Next I need to implement user interfaces.
23:55 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
23:56 Alias_ joined #padre
23:57 Alias_ OK, so Padre::SLOC was surprisingly easy to implement in the end

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