Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-lwp-gsoc, 2014-06-17

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:10 FROGGS__ joined #perl6-lwp-gsoc
04:11 dalek joined #perl6-lwp-gsoc
06:50 FROGGS__ joined #perl6-lwp-gsoc
07:52 sergot FROGGS__: fair point, I'll consider that
07:54 sergot morning o/
07:56 FROGGS__ morning
07:57 FROGGS__ sergot: important, can you please retest the modules, and tell me which exactly fail? (and in what way?)
07:57 sergot of course, right now
07:58 sergot FROGGS__: https://gist.github.com/sergot/2660088af9f80d22316e
07:59 sergot looks like it cuts some content
08:01 FROGGS__ sergot: can you make sure you pulled in all repositories? and test again?
08:01 FROGGS__ perhaps you even have to reinstall dependencies...
08:02 FROGGS__ it might help to merge now the repositories into HTTP::UserAgentz
08:02 FROGGS__ -z
08:02 sergot Ok
08:02 FROGGS__ afk for an hour or two now...
08:02 sergot panda install HTTP::Headers HTTP::Message HTTP::Request HTTP::Status HTTP::Response HTTP::UserAgent
08:03 sergot FROGGS__: ok, I'll do this :)
08:03 sergot t/01-simple.t .. Failed 2/4 subtests
08:28 sergot FROGGS__: I'm not sure about removing parse methods.
08:29 sergot FROGGS__: we should probably use grammar in ::Message
08:33 dalek http-response: ff8abb1 | sergot++ | t/01-basic.t:
08:33 dalek http-response: test added
08:33 dalek http-response: review: https://github.com/sergot/http-response/commit/ff8abb1534
09:27 FROGGS__ so, are are adjusting HTTP::Request to use HTTP::Headers's grammar? and perhaps another bit of a grammar for HTTP::Message?
09:28 FROGGS__ this could help you here: https://gist.github.com/FROGGS/2bcba957bd4d0abd0249
09:32 sergot FROGGS__: thanks!
09:33 sergot FROGGS__: can we use HTTP::Headers::Grammar in HTTP::Messgae:Grammar somehow?
09:33 FROGGS__ no
09:33 FROGGS__ I tried something like that a week ago
09:33 FROGGS__ or perhaps...
09:34 FROGGS__ I think it should work this way:
09:34 FROGGS__ <FROGGS__> m: grammar A { token foo is export { a } }; grammar B { token TOP { <foo>+ } }; say B.parse.("aaa")
09:34 FROGGS__ <camelia> rakudo-moar 354c5c: OUTPUT«Not enough positional parameters passed; got 1 but expected 2␤  in method parse at src/gen/m-CORE.setting:13169␤  in block  at /tmp/HA68MMsgAJ:1␤␤»
09:35 FROGGS__ so we can do that when the bug is fixed
09:37 sergot ok :)
09:38 FROGGS__ ==> Testing HTTP::Message
09:38 FROGGS__ t/01-basic.t .. ===SORRY!===
09:38 FROGGS__ No STable at index 8
09:38 FROGGS__ not good ^^
09:38 FROGGS__ seems to be a moar regression
09:38 sergot ops
09:38 sergot :D
09:39 FROGGS__ ohh, hmmm, it works when I install it via panda, rather then rebootstrapping panda
09:39 FROGGS__ no, now HTTP::Message:
09:39 FROGGS__ ==> Testing HTTP::Message
09:39 FROGGS__ t/01-basic.t .. ===SORRY!===
09:39 FROGGS__ No STable at index 8
09:48 dalek http-useragent: a557286 | sergot++ | / (15 files):
09:48 dalek http-useragent: HTTP::* merged into HTTP::UserAgent
09:48 dalek http-useragent:
09:48 dalek http-useragent: HTTP::Headers, HTTP::Cookies, HTTP::Message, HTTP::Request, HTTP::Response
09:48 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/a557286ae0
09:49 dalek http-useragent: 81f437c | sergot++ | t/0 (2 files):
09:49 dalek http-useragent: old test files deleted
09:49 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/81f437c628
09:50 sergot I won't remove old repos to have commits history
10:50 FROGGS__ makes sense, aye
11:23 FROGGS__ sergot: HTTP::Status is not going to land in HTTP::UserAgent?
11:46 FROGGS joined #perl6-lwp-gsoc
11:47 sergot FROGGS: HTTP::Status is not mine
11:49 FROGGS okay, then we just need to hope that it does not change :o)
13:41 [Coke] You can fork it to take a snapshot.
13:42 [Coke] (or do some other git thing)
13:51 sergot how can I debug such error msg:
13:51 sergot Unhandled exception: Cannot find method 'Stringy': no method cache and no .^find_method
13:51 sergot ?
13:52 FROGGS that is an explosion while creating the error message...
13:53 FROGGS try: MVM_SPESH_DISABLE=1 perl6-m ...
13:53 FROGGS or: perl6-m --ll-exception ...
13:54 sergot still the same
13:55 sergot oh
13:55 sergot now it's better
13:55 sergot FROGGS++ thanks
13:55 FROGGS we need to fix that in rakudo, I had no time yet to track that down though
13:55 sergot MVM_SPESH_DISABLE=1 doens't help
13:56 sergot Will it be hard to repair?
13:56 FROGGS I have no idea
13:56 FROGGS but I guess it is just something stupid
13:58 sergot And what does -ll-exception do?
13:58 sergot --*
14:03 FROGGS it gives you a low level exception
14:07 FROGGS ohh dear, I feel stupid now
14:08 FROGGS I had this line in my .bashrc:
14:08 FROGGS export PERL6LIB=~/dev/gsoc/datetime-parse/lib:~/dev/gsoc/http-headers/lib:~/dev/gsoc/http-message/lib...
14:08 FROGGS and this messed with installing HTTP::UserAgent via panda
14:08 FROGGS now I can install and test HTTP::UA fine
14:08 FROGGS sergot: do you export PERL6LIB by any chance?
14:13 sergot $ echo $PERL6LIB
14:13 sergot
14:13 sergot so, I don't
14:13 sergot :)
14:13 FROGGS :/
14:14 sergot FROGGS: Are you able to generate such a "Stringy" errmsg on camelia?
14:14 sergot reproduce is a better word here I think
14:16 FROGGS sergot: I tried but failed
14:16 sergot okok
14:21 sergot I got it!
14:21 sergot give me one sec more :)
14:21 sergot I mean, only the reproduction :D
14:21 sergot not the solutiomn
14:23 sergot We can't do this on camelia I think.
14:23 sergot because
14:23 sergot it fails on "use"
14:24 sergot :
14:24 sergot use a-package-with-some-errors;
14:24 sergot it causes Unhandled exception: Cannot find method 'Stringy': no method cache and no .^find_method
14:24 sergot $ perl6 -Ilib -e 'use SSS;'
14:24 sergot STRINGY HERE?
14:24 sergot Unhandled exception: Cannot find method 'Stringy': no method cache and no .^find_method
14:32 FROGGS okay...
14:47 sergot He couldn't stand the problem. ;-)
14:47 sergot hehe
16:18 FROGGS joined #perl6-lwp-gsoc
20:36 FROGGS joined #perl6-lwp-gsoc
23:49 FROGGS sergot: I fixed the exception printing bug: https://github.com/rakudo/rakudo/commit/b4309113e8

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary