Camelia, the Perl 6 bug

IRC log for #padre, 2011-08-28

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

All times shown according to UTC.

Time Nick Message
00:05 bowtie left #padre
00:05 castaway_ joined #padre
00:43 Alias_ joined #padre
01:13 Di-ima joined #padre
02:44 alnewkirk joined #padre
03:09 asarch joined #padre
03:27 Hyppolit svn: r15825 | submersible_toaster++ | http://padre.perlide.org/trac/changeset/15825
03:27 Hyppolit add comments to some of the unusual ugly bits
03:27 Hyppolit trunk/Padre-Plugin-Swarm/lib/Padre/Plugin/Swarm/ trunk/Padre-Plugin-Swarm/l​ib/Padre/Plugin/Swarm/Wx/
04:27 kaare joined #padre
05:37 toi joined #padre
05:42 user_6944 joined #padre
07:53 dodathome joined #padre
08:13 mj41 joined #padre
08:14 Sewi joined #padre
08:27 pece2 joined #padre
08:38 Hyppolit # 1314 :  syntax checker cannot deal with abs_path($0) ? (new defect) [ http://padre.perlide.org/trac/ticket/1314 ]
08:56 Alias_ szabgab, that's completely normal
09:12 Hyppolit svn: r15826 | adamk++ | http://padre.perlide.org/trac/changeset/15826
09:12 Hyppolit - Only show the GTL splash screen once per version change on GTK (ADAMK)
09:12 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/
09:40 Hyppolit # 1312 :  Mouse (Ubuntu) Copy Paste X-Clipboard (new defect) by Sewi  [ http://padre.perlide.org/t​rac/ticket/1312#comment:4 ]
09:43 pece joined #padre
09:51 Hyppolit # 1312 :  Mouse (Ubuntu) Copy Paste X-Clipboard (new defect) by Sewi  [ http://padre.perlide.org/t​rac/ticket/1312#comment:5 ]
09:56 Sewi Hi Alias_
10:10 bowtie joined #padre
10:29 Alias_ hi
10:59 pece2 joined #padre
11:10 Hyppolit svn: r15827 | szabgab++ | http://padre.perlide.org/trac/changeset/15827
11:10 Hyppolit Update the messages.pot file
11:10 Hyppolit trunk/Padre/share/locale/
11:10 danlucraft joined #padre
11:53 pece2 joined #padre
12:20 Hyppolit svn: r15828 | bowtie++ | http://padre.perlide.org/trac/changeset/15828
12:20 Hyppolit add a composed method
12:20 Hyppolit remove more unwanted clutter
12:20 Hyppolit trunk/Padre-Plugin-Patch/lib/Padre/Plugin/Patch/
12:31 dreadpiratepeter joined #padre
13:32 LeK joined #padre
14:49 Steffen joined #padre
15:15 mj41 joined #padre
15:41 GabrielVieira joined #padre
15:41 GabrielVieira2 joined #padre
15:43 mj41 joined #padre
16:41 Hyppolit svn: r15829 | bowtie++ | http://padre.perlide.org/trac/changeset/15829
16:41 Hyppolit add a composed method, and restructure
16:41 Hyppolit trunk/Padre-Plugin-Patch/lib/Padre/Plugin/Patch/
17:09 LeK joined #padre
17:15 dolmen joined #padre
17:28 Hyppolit svn: r15830 | bowtie++ | http://padre.perlide.org/trac/changeset/15830
17:28 Hyppolit bump to v0.04
17:28 Hyppolit remove commented out code
17:28 Hyppolit add some more Trace if Debug lines
17:28 Hyppolit we now have single function methods :)
17:28 Hyppolit trunk/Padre-Plugin-Patch/lib/Padre/Plugin/ trunk/Padre-Plugin-Patch/lib/Padre/Plugin/Patch/
18:15 LeK joined #padre
18:38 alnewkirk joined #padre
19:01 lepew joined #padre
19:01 lepew hi.
19:02 lepew can anyone tell me how to get padre running after emerge?
19:02 Sewi hi
19:02 lepew Sewi, can you tell me how to get Padre running after emerge?
19:02 alnewkirk joined #padre
19:03 Sewi lepew: What's emerge?
19:03 lepew i'm using gentoo
19:03 lepew emerge is the method that i use to install packages
19:03 Sewi oh :-)
19:04 lepew so far, i installed Padre,
19:04 Sewi Did you try to type "padre" in a shell?
19:04 lepew yea.
19:04 Sewi Waht happend?
19:04 lepew ash: ./padre: No such file or directory
19:04 Sewi tried without "./" before?
19:05 lepew same thing
19:05 lepew theonly items that wer einstalled after emerge Padre were:
19:05 Sewi try "cpan Padre" and you'll get the latest version from cpan, it should include the starter script
19:06 lepew i got this error when i did this...
19:06 lepew make had some problems won't install
19:07 lepew could not read meta file data
19:07 lepew ??
19:07 lepew i don't know how to proceed from here...
19:08 lepew it also says Padre requires perl built with threads
19:08 Sewi oh
19:08 Sewi Please try
19:08 lepew no makefile created PLAVEN.Padre-o.90.0.tar.gz
19:08 Sewi perl -V|grep thread
19:10 lepew DONE...
19:10 lepew now what?
19:10 Sewi any result?
19:10 lepew i did this, then ran cpan command again...
19:11 Sewi Oh sorry, no.
19:11 lepew still saying pearl needs to be build with threads
19:11 lepew ?
19:11 Sewi Did you get any result from perl -V|grep thread
19:11 lepew ok
19:11 lepew useithreads=undef, usemultiplicity=undef
19:11 lepew that's the result
19:13 lepew is there anything that i can do from here?
19:13 Sewi Seems your Perl doesn't have threads, so you can't use Wx and Padre requires Wx :-(
19:13 Sewi Yes, use a Padre binary distribution.
19:13 Sewi bowtie got some link...
19:13 bowtie lepew, As an interim measure until the plans to get working perlbrew scripts
19:13 bowtie for all non MSWin platforms are completed, I've uploaded binary
19:13 bowtie distributions of Perl 5.12 including Padre to
19:13 bowtie http://www.citrusperl.com/padrepacks
19:14 lepew k. i'll give this a go and see what happens
19:19 lepew i did ./padreperl-linux-x86-5.12-r90 -d /home
19:19 Hyppolit Changeset #90 http://padre.perlide.org/trac/changeset/90
19:19 lepew and i got ./padreperl-linux-x86-5.12-r90 -d /home
19:19 Hyppolit Changeset #90 http://padre.perlide.org/trac/changeset/90
19:20 lepew ?
19:20 lepew this is odd...
19:22 lepew Sewi?
19:22 Hyppolit Sewi is  and also cheating on ironman
19:22 Sewi :)
19:23 Sewi bowtie?
19:23 Sewi It's your link
19:23 lepew ?
19:23 bowtie sewi, it's from Mark D email in dev list
19:24 lepew useithreads=undef, usemultiplicity=undef
19:24 lepew ?
19:24 lepew don't fllo
19:24 lepew follow u
19:25 lepew i did what u suggested, but the exeutable doesn't work... even after chmodding to exe
19:26 lepew wht doe sit tell me file or folder not found?
19:27 Sewi Sorry, I'm out of ideas :-(
19:27 bowtie lepew, try this one: http://www.citrusperl.com/p​adreperl-linux-x86-5-12-r90
19:27 Hyppolit Changeset #90 http://padre.perlide.org/trac/changeset/90
19:28 lepew The requested URL /padreperl-linux-x86-5-12-r90 was not found on this server.
19:28 Hyppolit Changeset #90 http://padre.perlide.org/trac/changeset/90
19:28 lepew :(
19:29 lepew is there another option/
19:32 kaare joined #padre
19:33 lepew Sewi...
19:33 lepew sorry to be a bother, but how do i fix this?
19:33 bowtie lepew, are you running a threaded perl?
19:33 lepew no
19:33 lepew useithreads=undef, usemultiplicity=undef
19:33 lepew how do i run a threaded perl?
19:34 bowtie lepew, look at perlbrew, install a local threded perl to start with
19:35 lepew look at what?
19:35 bowtie http://www.perlbrew.pl/
19:40 lepew ok. i got perlbrew, and did perlbrew init
19:40 lepew everything worked fine....
19:40 lepew but what now?
19:40 mike lepew: now, you install a perl
19:41 mike Add the line 'source ~/perl5/perlbrew/etc/bashrc' to your ~/.bashrc if you haven't already
19:41 mike open a new shell and `perlbrew install -j2 perl-5.14.1`
19:41 bowtie mike, got the ball, thanks :)
19:42 mike oh, and you wanted threading, so enable that too
19:44 lepew 'source ~/perl5/perlbrew/etc/bashrc'
19:44 lepew ...
19:44 lepew never did this before
19:46 lepew r u saying i just edid my .bashrc?
19:46 lepew edit
19:47 mike lepew: Yes.
19:48 lepew added to the bottom of .bashrc
19:49 lepew installing perl..
19:50 lepew btw...
19:50 lepew how do i enable threading?
19:50 mike let me check...
19:51 lepew it would miost likely be a flag, so i will discontinue this perl install
19:51 mike -Dusethreads
19:52 lepew yea.
19:52 lepew got it. thankx
19:54 lepew this could take a while... trcking progress
19:59 lepew after this i just run cpan padre, correct?
20:12 mike Should be
20:12 mike you'll likely also want Wx::Scintilla
20:12 mike lepew: you'll need to install the prereqs first
20:13 mike (I mean, the non-CPAN deps... you need a bunch of development libraries and such)
20:17 lepew it does take a while to install, tho...
20:18 lepew what other things should i do before cpan padre, thn/
20:18 perlite joined #padre
20:19 chorny joined #padre
20:22 lepew do i cpan wx::scintilla? and how do i find out what the dependancies are?
20:23 mike lepew: The padre website lists the prereqs, IIRC
20:25 mike hm, no... I guess I just do `apt-get build-dep` or something...
20:25 mike There is also Alien::WxWidgets or something
20:26 mike lepew: http://padre.perlide.org/trac/wiki/DownloadCPAN has links to (for example) http://padre.perlide.org/trac/wiki/D​ownloadUbuntu#Installation_from_CPAN
20:26 mike which lists the stuff you need
20:28 lepew i've got wxWidgets already...
20:29 lepew but hiw do i install scintilla?
20:29 lepew uho...
20:29 lepew when i do cpan padre,
20:30 lepew i get a new error now :(
20:30 lepew Warning: Cannot install padre, don't know what it is.                                                                                                                                Try the command
20:30 chorny P not p
20:30 LeK1 joined #padre
20:31 lepew oops...
20:31 lepew did P
20:31 lepew but now it is still saying:
20:31 lepew Padre requires a perl built using threads
20:31 lepew even though i did this:
20:31 lepew perlbrew install -Dusethreads -Duselargefiles -j2 perl-5.14.1
20:32 lepew sigh...
20:32 chorny one of ways: /path/to/perl/build/with/threads/perl -MCPAN  -e shell
20:33 lepew so now i need to know the directory that the last perl was installed to...
20:34 lepew perl -MCPAN -e 'install Padre'
20:35 lepew gives the same error, so clearly this doesn't do it...
20:35 lepew i give up :(
20:35 lepew how is linus more efficient than windows again???/
20:36 lepew is there any wy to do an install of padre that does not require all of this?
20:37 chorny no :(
20:37 lepew i am now into my third day of trying to set up Padre... i've spent more time setting up the tools than i have doing any actual work :(
20:38 lepew how do i find the installation directory of the perl that was just installed?
20:39 chorny if you are using perlbrew, it will be in environment variables: PERLBREW_ROOT
20:41 lepew k.
20:41 lepew i only have two possible locations...
20:42 chorny perl would be in %PERLBREW_ROOT%/bin/perl or something like that
20:43 lepew i only have two folders where prl is located...
20:43 lepew /usr//bin//perl
20:43 lepew and //usr/bin/perl-5.14.1
20:44 lepew rebuilding my locate db
20:44 lepew will check again
20:45 mike you're meant to do `perlbrew switch perl-5.14.1` then `exec /bin/bash` after installing the perl O_o
20:46 mike that sets up your environment so you can do `cpan` and have it Just Work
20:46 mike (and other stuff too, obviously)
20:50 mj41 joined #padre
20:50 lepew yea. too late, tho. nvm.
20:51 lepew i am doing it now, and it seems to be building... just have to wait and see
20:51 lepew hang on
21:03 lepew workign in linux is so much more cumbersome than windows when it comes to developing.
21:03 lepew it sux that physicists insist on building their tools for linux...
21:04 lepew ...still compiling padre
21:05 El_Che lepew: ??
21:05 El_Che you are joking right?
21:05 El_Che windows is hell for development
21:07 lepew i writeprograms in vs2008 environment
21:07 lepew and i have no problem with this...
21:07 lepew but i am open to your opinion as well...
21:07 lepew what makes development in linux environment better?
21:07 lepew you may know something i don't...
21:08 lepew i don't use linux often, as you'd have realized by now :)
21:08 chorny Perl is easier on Linux, especially before Strawberry Perl
21:09 lepew what do you mean easier?
21:09 El_Che let me see: compilers, sane environment, etc
21:09 El_Che perlbrew is a dream for perl development
21:09 El_Che all java stuff is there
21:09 El_Che netbeans, eclipse
21:09 El_Che libs are apt-gettable
21:09 chorny Many CPAN modules didn't work on Windows 5 years ago, some still do not work
21:10 El_Che and if you need to compile a dependency it's dead easy
21:10 El_Che it's not linux it self, it's all the unix family
21:10 El_Che I am not saying windows is bad
21:10 lepew but it takes sooooo long to get everything set up... it takes me a few hours (3 at max) to get all you just mentioned setup on windows...
21:10 lepew and the rest of my time is spent coding...
21:10 El_Che but on some things unix has an edge, specially when dealing with libs
21:11 lepew but here, it seems that one problem crops up after another, and another... constantly
21:11 El_Che lepew: get eclipse all up and running on windows
21:11 El_Che it will take as long
21:11 lepew case in point...
21:11 lepew i installed eclipse (took 2 hours alone just to compile it)...
21:12 El_Che you don't compile eclipse
21:12 lepew and when i tried to execute from kde, it started up, then bugged out.
21:12 El_Che anyway, going to bed
21:12 El_Che bye
21:12 lepew i spent the last 3 hours trying to figure out why that was happening before i gave up and uninstalled it.
21:13 lepew very disconcerting... that's why i decided to go with padre.
21:13 lepew on windows, it was as simple as installing it and i am done.
21:13 lepew on gentoo, emerge does a compile.
21:13 lepew i use gentoo distro of linux
21:14 lepew cause physics team uses it, so i am forced to.
21:14 lepew and their arguments for using it is that it is better than windows!!!!!!!!!!!!
21:15 El_Che you chose to run a compile-everything distribution
21:15 El_Che on ubuntu or debian you have binarie
21:16 El_Che s
21:16 El_Che sudo apt-get install eclipse
21:16 lepew unless a precompiled binary exists for the most latest edition, you will have to compile it.
21:16 El_Che also on fedora, redhar, etc
21:16 chorny That's because installing on Windows is usually a problem :), so Padre developers spent more time making installing on Windows easier
21:16 El_Che anyway
21:16 El_Che off :)
21:16 lepew k. but isn't the whole point ease of use/
21:16 lepew easier is better
21:17 lepew since less time is spent setting up the environment, and more time is spent developing...
21:18 lepew in linux, it always seems that an inordinate amount of time is spent setting up the environment
21:18 lepew ...then you do something that causes something not to work,
21:18 lepew then you have to spend more time trying to figure out how to fix it...
21:18 lepew ...then something else happens while trying to fix that, and so on...
21:19 chorny Currently the Linux/Mac version of standalone perl/Padre is being developed too
21:19 lepew yes!!!! it is finally working! (i hope)
21:19 lepew let me put it this way... i can see the main Padre window...
21:20 lepew who knows what'll happen when i actually try using it... it's all so exciting not knowing :)
21:20 lepew thank you very much for your hlp!!
21:21 lepew where could i find the documentation for what you explained earlier?
21:23 chorny perlbrew has documentation here: http://search.cpan.org/perldoc?perlbrew
21:29 lepew ok. thanks again.
21:29 lepew i definitily learnt alot here
21:49 spockdude joined #padre
21:50 spockdude left #padre
22:16 Vivtek joined #padre
22:17 Vivtek Correct me if I'm wrong - but there's no real way to get a new MIME type into EXT_MIME except just by patching Padre::MimeType.pm, right?
22:18 Vivtek (Oh, wait, I'm looking at Padre 0.58....  Maybe it's better now.  Upgrading.)
22:31 Vivtek2 joined #padre
22:31 Vivtek2 Ugh.  Got kicked off.
22:32 Vivtek2 So it would be nice, I was just saying, if the plugin I am writing could easily add an entry to EXT_MIME and also a MIME class.
22:33 Vivtek2 Currently it can only use registered_documents to assign a Document subclass to an existing MIME type, but that's not good enough for what I'm doing.
22:37 bowtie Vivtek2, have you looked at the P-P-LaTeX plugin
22:43 Vivtek2 Yup - latex and bibtex are both defined in EXT_MIME already  (I thought for sure they'd be obscure enough to force a plugin solution, but no such luck)
22:47 Vivtek2 (Aside: an upgrade to Padre really runs for a while....)
22:47 bowtie Vivtek2, are you saying that LaTeX is only overriding the associated document with sub registered_documents {... ?
22:47 Vivtek2 That's correct.
22:48 bowtie Vivtek2, what mime type are you looking for
22:48 Vivtek2 I'm making my own - .dpl to map to (probably) application/x-decl, thence to Padre::Document::Decl.pm.
22:49 Vivtek2 Stupid smilies.
22:51 bowtie have you looked at http://padre.perlide.org/trac/browse​r/trunk/Padre/lib/Padre/MimeTypes.pm
22:52 Vivtek2 Yes, that's where %EXT_MIME is defined - but there's nothing there that permits its modification.  *Really* it would be nice to add something like add_mimetype that a plugin could call upon entry.
22:56 bowtie Vivtek2, you need to talk to Alias, when he wakes up in approx 2 to 3 hours and make your case, he is GMT +10
22:57 Vivtek2 I figured.
22:58 bowtie have you viewed the Cookbook?
22:59 Vivtek2 I can't make head nor tails of the Cookbook.  I think it's badly in need of a rewrite.  But unless I'm suffering from situational blindness, always a possibility, there just isn't anything in there that allows a plugin to add a mimetype.  Which is fine - I'll be happy to add it.
23:00 Vivtek2 Further justification for this view: a blog post I ran across (and closed again hours ago) that mentioned C# finally being added as a MIME type to EXT_MIME.
23:01 Vivtek2 I think it's a natural addition to the API.  A plugin should easily be able to add a file extension to map.
23:01 bowtie Vivtek2, when you figure out mime type it will be cool to add it, so others will have a head start
23:01 Vivtek2 But while I'm developing my plugin, I think it'll suffice just to patch EXT_MIME and go ahead with registered_documents.
23:02 Vivtek2 Since this is my own file type, I very much doubt many people are going to be falling over themselves needing it.  I should be so lucky, ha.
23:03 bowtie so registered_documents, needs fleshing out
23:03 Vivtek2 Well, no, registered_documents doesn't really do that.  What registered_documents does is perfect: it allows you to map a MIME type (once discovered) to the class you want to handle the document in question.
23:04 bowtie but the mime type needs to be in Padre already :)
23:04 Vivtek2 Exactly.
23:05 bowtie cool, so the addition of a mime type needs to be added
23:06 Vivtek2 Well, it would be low-impact and pretty easy.
23:07 Vivtek2 As soon as Padre finished upgrading...  (Still in progress...)
23:10 bowtie yes, but, assuming that the mime type you require already has been added, needs to be catered for even if it's just make your case to Alias, so that it can be added to trunk
23:11 bowtie Vivtek2, why don't you summit a ticket with a patch for Padre/MimeTypes to support your case?
23:12 Vivtek2 As soon as I have a patch, I'll do just that, actually.
23:12 Vivtek2 I just wanted to make sure I'm not missing anything - but I really don't think I am.
23:26 Hyppolit wiki page http://padre.perlide.org/trac/wi​ki/PadrePluginCookbookRecipie05 changed by bowtie
23:46 alnewkirk joined #padre
23:56 bowtie left #padre

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