Camelia, the Perl 6 bug

IRC log for #bioperl, 2013-02-25

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

All times shown according to UTC.

Time Nick Message
00:37 deafferret census: show us
00:47 census deafferret: you have a few seconds?
00:47 census i'm trying to reduce the code to the lines that are causing the issue . .. getting rid of extraneous stuff . . .
00:52 deafferret census: show you code, ask your question
01:06 census Thanks!
01:06 census The code is http://scsys.co.uk:8002/232207?ln=on&amp​;tidy=on&hl=on&submit=Format+it!
01:06 census The output is: $VAR1 = [];
01:06 census The problem--I believe--is betweens line 72 and 88.
01:06 census The question: how do I continue to pass the cookie down . . .
01:11 deafferret your $mech object should retain all cookies throughout the life of the program
01:18 census yes it should . . .
01:18 census but that doesn't seem to be happening . . or I would not be getting that output, right ?
01:18 census and i know the code for the table is correct .
01:19 census i've tested it independently
01:19 census i mean i know that the last few lines is ok because that is what i've tested independently
01:21 deafferret i'd add say statements to see what urls you're hitting and what cookies are in your $mech
01:26 scottcain_ joined #bioperl
01:30 census like which type of statements?
01:30 census i've been doign a whole bunch of prints . . .
01:31 census For example, #print $mech->content; looks beautiful
01:31 census When I do that line as the last line, the output is amazing
01:34 census As I've said before, I've narrowed it down to somewhere starting with line 72:   $mech->follow_link(url_regex => qr/indiv=1/);
01:34 deafferret use LWP::Debug qw(+);
01:35 deafferret looks like that might show you what's going on
01:36 deafferret huh. deprecated, apparently. suggests Wireshark for debugging... http://search.cpan.org/~gaas/li​bwww-perl-6.04/lib/LWP/Debug.pm
01:37 deafferret ->content will show you the responses, but not your request headers. at a glance I didn't see how to get the request headers out of $mech
01:43 scottcain_ joined #bioperl
01:46 census deafferret: Can I use LWP to debug when the code is about mech?
01:46 census yeah, i don't know what to put into the say either . . :(
01:51 deafferret mech uses lwp under the hood
02:01 census sorry, so what exactly is your suggestion then?
02:04 scottcain_ joined #bioperl
02:09 carandraug joined #bioperl
02:13 deafferret 01:21 < deafferret> i'd add say statements to see what urls you're hitting and what cookies are in your  $mech
02:13 census As I mentioned, print $response->content yields junk
02:13 census print $mech->content; is the correct outcome
02:13 census I put both at the last line of the code, one at a time . . .
02:15 census So i'm not sure what other type of prints you have in mind . . .
02:18 deafferret show your code and your output. telling me "yields junk" doesn't help me help you
02:18 deafferret i have to see
02:21 census output from $response->content http://paste.scsys.co.uk/232218
02:23 deafferret right, so that's SSL encrypted or whatever. so that does us no good.
02:24 deafferret so show me you running your program and ALL the output of the program
02:24 census i showed you teh code .
02:24 census latest version is: http://paste.scsys.co.uk/23221​5?ln=on&amp;submit=Format+it!
02:24 deafferret RUNNING YOUR program.    $ perl myprog.pl .... $
02:24 census you want to know what i type into the module ?
02:25 census into the command prompt window, i mean?
02:25 deafferret yes
02:25 census perl program.pl > file.html
02:25 deafferret fine, so nopaste ALL of file.html
02:29 census i just did for $response -> content
02:29 census do you want to see it for mech->content too?
02:29 deafferret don't show me bits and pieces. run your program and show me ALL the output. this is the last time I'm asking.
02:33 deafferret heh. #perl-help instead.
03:28 census joined #bioperl
03:28 census Hi deafferret!
03:28 census Sorry about the confusion earlier.
03:29 deafferret census: stick with #perl-help. your work has nothing to do with bioperl
03:29 census oh ok.  i am sorry.
03:29 deafferret np
03:29 census bye.  bioperl people seemed cool.
03:29 census in general.
03:33 census left #bioperl
06:10 carandraug joined #bioperl
10:30 ObseLeTe joined #bioperl
12:06 looper joined #bioperl
14:53 scottcain joined #bioperl
15:06 rbuels joined #bioperl
15:17 scottcain joined #bioperl
15:35 hash_table joined #bioperl
15:51 scottcain joined #bioperl
16:43 scottcain joined #bioperl
17:09 scottcain joined #bioperl
17:29 driley joined #bioperl
20:58 scottcain_ joined #bioperl
21:20 scottcain_ joined #bioperl

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