Camelia, the Perl 6 bug

IRC log for #padre, 2011-07-23

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

All times shown according to UTC.

Time Nick Message
00:02 bowtie zenog, as in: http://perldoc.perl.org/perlcompile.html
00:04 Hyppolit svn: r15044 | dolmen++ | http://padre.perlide.org/trac/changeset/15044
00:04 Hyppolit Update French translation (but still much to do)
00:04 Hyppolit trunk/Padre/ trunk/Padre/share/locale/
00:04 zenog dolmen++
00:04 zenog bowtie: So it compiles it and then decompiles it?
00:05 zenog bowtie: So you can check for optimizations?
00:05 dolmen zenog: probably this: perldoc B::Deparse
00:05 castaway_ joined #padre
00:05 castaway left #padre
00:05 castaway_ is now known as castaway
00:05 bowtie zenog, or try's to
00:06 zenog hm, I am not really sure whether this is useful, but I am willing to see a proof that it is ...
00:07 dolmen zenog: perl -MO=Deparse -nle '1'
00:07 zenog 'deparse' is a bad name, though ;-)
00:08 bowtie zenog, I thought you only did this to keep meddling hands out
00:08 dolmen zenog: B::Deparse reconstructs a source code from the opcodes to which your code has been compiled
00:09 dolmen zenog: it helps to understand some Perl's optimizer's magic
00:13 dolmen left #padre
00:30 zenog dolmen okay ...
00:42 Hyppolit svn: r15045 | zenogantner++ | http://padre.perlide.org/trac/changeset/15045
00:42 Hyppolit update German translation
00:42 Hyppolit trunk/Padre/share/locale/
00:46 bowtie left #padre
00:51 zenog left #padre
01:05 asarch left #padre
01:14 alnewkirk joined #padre
01:18 tome joined #padre
01:18 alnewkirk left #padre
01:29 tome left #padre
02:34 asarch joined #padre
02:44 asarch left #padre
03:11 Hyppolit svn: r15046 | szabgab++ | http://padre.perlide.org/trac/changeset/15046
03:11 Hyppolit Update the messages.pot file
03:11 Hyppolit trunk/Padre/share/locale/
03:24 user_6505 joined #padre
03:27 user_6505 Hey guys I just did a fresh install with updates of padre and currently running padre 0.86 on server 2008r2 which I run fine on the same os at work but here on the new install it does not run the scripts for me. I hit F5 or the play button and run then script and nothing happens. Any Ideas?
03:27 Hyppolit Changeset #2 http://padre.perlide.org/trac/changeset/2
03:43 garu user_6505: does it run via the menu option?
03:44 user_6505 no it does not. Thanks for your reply
03:44 garu user_6505: sorry for the delay, people are sleeping in europe :)
03:44 user_6505 No problem im patient
03:44 garu (and having lunch in australia :P)
03:45 garu user_6505: ok, I'm gonna need some help to figure this one out
03:46 user_6505 weird i can click on my script and it runs but cannot run from the GUI
03:46 user_6505 no error or anything so nothing really to go off of
03:46 garu are you positive the script doesn't run from within padre? is it possible that it's running and you're not seeing?
03:47 garu for example, the bug can be "the output window shows nothing" instead of "it doesn't run"
03:47 user_6505 Im sure no window opens at all
03:47 garu ok, let's try this
03:49 garu please go to tools -> preferences -> language
03:49 garu is the "use external window for execution" checkbox marked?
03:50 user_6505 Yes it is selected
03:51 garu try unselecting and seeing if it runs on the output window?
03:53 user_6505 When i remove the option for the external window it then shows the output at the bottom of the screen.
03:54 garu cool, so padre is running your program, right?
03:54 user_6505 yes
03:54 garu but for some reason it's not opening an external window
03:54 user_6505 yes i could live with that
03:54 garu heh
03:54 garu it's still a bug, though :)
03:55 user_6505 everything is the same at work except the processor
03:55 garu could it be that you have some sort of antivirus app preventing padre from doing that?
03:55 user_6505 it runs fine there
03:55 garu or is it the same antivirus with the same setup? or no AV at all?
03:55 user_6505 Yea I checked and didnt see anything in the logs how ever I didnt disable to check anyway
03:56 garu could you please give it a try? just in case?
03:56 user_6505 Same antivirus let me disable real quick
03:58 user_6505 no it still does not show
03:58 garu cool. please set your AV straight again. Don't wanna be responsible for bad things :)
03:59 garu user_6505: alright, let me check the source, just a minute please
03:59 user_6505 ok thanks
03:59 * garu plays fur elise chiptunes :)
03:59 garu user_6505: ah! one thing
03:59 user_6505 sure
04:00 garu did you try clicking on the "stop" toolbar icon and then, after making sure it's not running, clicking on the "step over" icon? It's the {} with an arrow going over it
04:00 garu it should also invoke the external window
04:02 user_6505 I tried the stop button before but not the step over icon I will try now
04:03 garu anything?
04:03 user_6505 the debugger loads in the program like the built-in output but it just freezes the program no external window
04:04 asarch joined #padre
04:05 garu user_6505: just click on the "stop" button to make it stop. please try again with the preferences set to use an external window
04:05 garu so we can see if the window will open or not
04:06 garu user_6505: also, what happen if you go to Run -> Run Command and type something like "dir" inside it?
04:07 user_6505 when i run the step over with the external window option selected it crashes the app but not selected it produces an output
04:08 garu it crashes the app? what' s the output?
04:08 garu (of the crash?)
04:08 garu any error messages we can check?'
04:08 |Sno| joined #padre
04:09 user_6505 no external output just application stops responding
04:10 user_6505 Also got failed to start 'dir' command from the run command
04:11 Sno| left #padre
04:17 user_6505 do you know what the main_directory_root should be set to?
04:24 garu not really
04:26 garu wow, that's really odd
04:27 user_6505 I believe im ready to try to uninstall and reinstall the app
04:27 user_6505 I will check back with results
04:27 garu hmm
04:28 garu user_6505: here's a question: have you done this before?
04:28 garu I mean, is this the very first installation of padre in this machine?
04:28 garu or was is updated/replaced at any point?
04:29 user_6505 no I did a fresh install on the OS about a week ago and installed padre with the update but tonight was the first time I tried to use it and it gave me an .dll error to reinstall. So I uninstall the app and reinstalled it
04:30 garu hmmm
04:31 garu it's a longshot, but it could have screwed over the user config file
04:31 user_6505 I blew away the strawberry folder prior to re-installing unless the config file is somewhere else
04:31 garu removing that would make it work I think
04:31 garu it wouldn't be there
04:32 garu it would be in your home dir I think
04:33 garu user_6505: I'm looking at the place where we ask for it to run under an external window
04:33 garu the code is pretty straightforward
04:34 garu it's system qq(start "$title" cmd /C "$cmd & pause");
04:34 garu unless
04:37 garu well, it's an even longer shot, but... could you run this, please: use Padre::Constant (); if (Padre::Constant::WIN32) { print "yay!" } else { print "nay...." }
04:38 garu user_6505: just save it to a .pl file and double click on it. Or save it on padre and run with F5 (but make sure to set padre to NOT use the bogus external window
04:39 user_6505 yay
04:40 garu dammit
04:40 user_6505 had to run it in cmd line window
04:41 garu ok, please change print "yay!" to system qq(start "dir" cmd /C "dir & pause");
04:42 garu this should be exactly the code that runs if you would do something like Run Command: "dir" in Padre
04:44 user_6505 nothing
04:45 garu cool, we're getting somewhere
04:45 user_6505 lol
04:45 garu can you open a command prompt
04:45 garu :)
04:45 kaare joined #padre
04:45 user_6505 ther
04:46 garu please type: start "dir" cmd /C "dir & pause"
04:46 garu user_6505: what happens?
04:46 user_6505 new window opens
04:47 garu with the output of "dir"  in it, right?
04:47 user_6505 yes
04:47 garu ok
04:48 garu and if you save a file.pl with: print "trying..."; system qq(start "dir" cmd /C "dir & pause"); print "anything?"
04:48 garu user_6505: then try to run it from the command prompt, like: perl file.pl
04:49 garu what happens?
04:49 user_6505 runs fine
04:50 user_6505 trying...anything?
04:50 garu but does it open the *other* window, showing you the output of "dir" ?
04:50 user_6505 no same window
04:50 garu no output of "dir" whatsoever? not even on that same window, right?
04:51 user_6505 it outputs in the same window only
04:51 garu the output of "dir"? or just the "trying...anything?" bit?
04:52 user_6505 just trying anything
04:52 garu lovely
04:52 garu well mate, looks like we were able to reproduce your bug removing padre of the picture
04:52 garu meaning it's not padre-specific
04:53 garu one last test:
04:53 garu change that app, replacing the system call to:
04:54 garu system qq("dir");
04:54 garu the full file.pl should be:
04:55 garu print "trying..."; system qq(dir); print "anything?"
04:55 garu (sorry, I added qq() and "" in the other string. The one before this (with the full app) should be ok)
04:56 garu user_6505: what happens?
04:56 user_6505 samething
04:56 garu no output at all of "dir" ?
04:56 user_6505 no external window
04:56 user_6505 no output of the directory
04:56 user_6505 just trying...anything
04:58 garu how about: print "trying..."; system qq(dir) or die $?; print "anything?"
04:58 user_6505 same thing
04:59 garu ok, so here's what we know so far.
04:59 garu for some bizarre reason, your perl binary is not able to run external commands
05:00 user_6505 I wonder if there have been a package update which might have changed something
05:01 garu not really, this is all perl-core
05:01 garu and I find it hard to believe it's coming from within perl
05:01 garu one last test, please
05:01 garu (I know, I know, I say this a lot :)
05:01 user_6505 yea sure thanks for being up
05:02 garu how about: print "trying..."; my $out = `dir`; print "anything? or just $out";
05:03 garu not that "dir" is surrounded by backticks
05:03 garu not single quotes
05:03 garu *note that...
05:04 user_6505 no external window but it added or just
05:05 user_6505 im going to reboot while my av is off brb
05:05 user_6505 left #padre
05:13 user_6505 joined #padre
05:15 user_6505 left #padre
05:25 asarch left #padre
05:44 Di-ima left #padre
05:54 robinsmidsrod left #padre
05:55 Di-ima joined #padre
05:55 submersible_toaster garu: saw ur post previously - have u seen trunk/Madre  ?
05:56 robinsmidsrod joined #padre
06:01 tome joined #padre
06:19 danlucraft1 joined #padre
06:19 danlucraft left #padre
06:20 tome Hi szabgab, around?
06:20 danlucraft joined #padre
06:20 danlucraft1 left #padre
06:26 danlucraft1 joined #padre
06:26 danlucraft left #padre
06:28 danlucraft joined #padre
06:28 danlucraft1 left #padre
06:33 Sewi joined #padre
07:10 dodathome joined #padre
07:12 tome left #padre
07:28 mj41 joined #padre
07:45 mj41 left #padre
07:58 bowtie joined #padre
08:31 Sewi left #padre
08:34 bowtie left #padre
08:46 sugar joined #padre
09:03 toi left #padre
09:06 Sewi joined #padre
09:10 Sewi left #padre
09:49 toi joined #padre
09:53 sugar hello
09:54 sugar does it exist any tutorial how to create your own style in padre?
10:03 danlucraft1 joined #padre
10:03 danlucraft left #padre
10:04 danlucraft joined #padre
10:04 danlucraft1 left #padre
10:32 GabrielVieira2 joined #padre
10:37 GabrielVieira left #padre
11:11 sugar what is the variable in scintila for keywords in perl&
11:12 sugar this 'wxSTC_PL_IDENTIFIER' and this 'wxSTC_PL_WORD' are not that I need
11:12 sugar anybody is else living?
11:16 El_Che hey
11:16 El_Che sorry, i don't know
11:17 El_Che what's up, sugar?
11:17 El_Che ok, that sounds bad :)
11:17 sugar yes it's very bad, because wxSTC_PL_IDENTIFIER - is for keywords and other words
11:17 sugar but..
11:18 sugar notepad++ is useng scintilla too
11:18 sugar and it highlights keywords in perl well
11:18 sugar s/useng/using/
11:22 El_Che we need to have a look there
11:23 El_Che azawawi knows the scintilla inwards pretty well
11:23 El_Che but he's just married
11:26 sugar does he has honeymoon? =)
11:26 sugar i'm trying to port http://ethanschoonover.com/solarized to padre
11:33 mj41 joined #padre
11:37 El_Che looks beautiful
11:43 Hyppolit svn: r15047 | adamk++ | http://padre.perlide.org/trac/changeset/15047
11:43 Hyppolit Correcting tests
11:43 Hyppolit trunk/Padre/t/
11:44 sugar but it will differ
11:44 El_Che well, we need to reach for the best defaults
11:54 bowtie joined #padre
12:01 Hyppolit svn: r15048 | adamk++ | http://padre.perlide.org/trac/changeset/15048
12:01 Hyppolit Small optimisation for Padre::Current->main
12:01 Hyppolit trunk/Padre/lib/Padre/
12:04 bowtie left #padre
12:05 sugar left #padre
12:25 [Sno] joined #padre
12:33 mj41 left #padre
12:34 jnap joined #padre
12:49 Hyppolit svn: r15049 | adamk++ | http://padre.perlide.org/trac/changeset/15049
12:49 Hyppolit - Added a slightly odd but working workaround for a bug where
12:49 Hyppolit ->SetValue('foo') would automatically set 'foo bar' instead if 'foo bar'
12:49 Hyppolit was in the visible history of the combo box (ADAMK)
12:49 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Dialog/ trunk/Padre/lib/Padre/Wx/History/
12:56 jnap left #padre
13:29 danlucraft1 joined #padre
13:29 danlucraft left #padre
13:33 danlucraft joined #padre
13:33 danlucraft1 left #padre
13:34 danlucraft1 joined #padre
13:34 danlucraft left #padre
13:47 dolmen joined #padre
13:52 Sewi joined #padre
13:52 toi left #padre
14:01 bowtie joined #padre
14:08 bowtie left #padre
14:10 bowtie joined #padre
15:11 Hyppolit svn: r15050 | szabgab++ | http://padre.perlide.org/trac/changeset/15050
15:11 Hyppolit Update the messages.pot file
15:11 Hyppolit trunk/Padre/share/locale/
15:43 bowtie left #padre
15:44 Hyppolit svn: r15051 | dolmen++ | http://padre.perlide.org/trac/changeset/15051
15:44 Hyppolit Update french translation.
15:44 Hyppolit trunk/Padre/share/locale/
15:46 GabrielVieira2 left #padre
15:47 GabrielVieira2 joined #padre
15:50 danlucraft1 left #padre
16:02 Hyppolit svn: r15052 | dolmen++ | http://padre.perlide.org/trac/changeset/15052
16:02 Hyppolit Update catalog in french translation
16:02 Hyppolit trunk/Padre/share/locale/
16:02 GabrielVieira2 left #padre
16:28 GabrielVieira2 joined #padre
16:34 GabrielVieira2 left #padre
16:46 garu submersible_toaster: hi! what post? :)
16:47 garu submersible_toaster: as for Madre, I saw it exists, but don't know what it does (yet)
17:07 danlucraft joined #padre
17:46 anaio joined #padre
17:49 Sewi left #padre
17:55 sugar joined #padre
18:03 GabrielVieira2 joined #padre
18:23 Sewi joined #padre
19:09 GabrielVieira2 left #padre
19:09 GabrielVieira joined #padre
19:11 Sewi left #padre
19:26 Sewi joined #padre
19:26 GabrielVieira left #padre
19:26 GabrielVieira joined #padre
19:34 Sewi1 joined #padre
19:34 Sewi left #padre
19:46 GabrielVieira left #padre
19:46 GabrielVieira joined #padre
19:59 sugar_ joined #padre
20:01 sugar left #padre
20:01 danlucraft left #padre
20:01 submersible_toaster left #padre
20:01 charsbar_ left #padre
20:02 sugar_ is now known as sugar
20:03 submersible_toaster joined #padre
20:06 danlucraft joined #padre
20:06 charsbar_ joined #padre
20:20 kaare left #padre
20:31 jnap joined #padre
20:33 dodathome left #padre
20:34 jnap left #padre
20:52 dolmen left #padre
21:01 Sewi1 left #padre
21:33 GabrielVieira left #padre
21:38 perlite_ joined #padre
21:41 perlite left #padre
21:41 perlite_ is now known as perlite
21:53 alnewkirk|com left #padre
21:53 alnewkirk|com joined #padre
21:59 garu submersible_toaster: meep?
22:08 chorny joined #padre
22:24 danlucraft left #padre
22:54 sugar left #padre
23:11 waxhead joined #padre
23:20 submersible_toaster garu: I think we're in two totally different timezones and never sync up
23:21 garu :)
23:21 submersible_toaster garu: I've been looking for someone with crossover between Padre and Dancer
23:21 garu ah!
23:21 garu submersible_toaster: for what? :D
23:22 submersible_toaster for starters - allow padre to sync it's config to the internet ,
23:22 submersible_toaster feature_sync in  advanced preferences
23:23 garu you mean something like a way to sync padre things from a server?
23:24 submersible_toaster to begin with - just padre config settings . So your 'hilight current line' and other human preferences are 'in the cloud' (cringe)
23:25 submersible_toaster also having a basic identity / auth management online to hang other services off (like Swarm )
23:26 garu that sounds more like a service than something padre-specific
23:26 garu we could provide an interface for something that provides document sharing over the internet
23:27 submersible_toaster I'm volunteering a host to run it on and looking at the previous Madre-Sync offering in catalyst and moving to dancer
23:27 garu Padre::Plugin::GoogleDocs? :P
23:27 submersible_toaster Swarm already -sort of- does document sharing.. more like stealing.
23:27 garu that's what Madre is about?
23:28 submersible_toaster afk 2 min - sry
23:31 submersible_toaster Madre should be able to register someone , allow them to login and manipulate their profile/config.  Hopefully reusing that interface to allow padre to login and sync your config on editor launch.
23:31 garu cool
23:32 garu do you need help with anything?
23:37 submersible_toaster If you feel like looking at either the site itself (in dancer) or the padre::sync parts in padre that perform the sync.
23:38 submersible_toaster I'm almost there . but since my time is very limited it is preferable for someone else to be familiar with it before i disappear again on infant duty for another year :)
23:39 chorny left #padre

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