--- Log opened Tue Sep 25 00:00:13 2012
10:37 -!- conseo_ is now known as conseo
12:45 < mcallan> conseo: ping
12:46 < conseo> mcallan: pong
12:47 < mcallan> doing what i should have done yesterday, a temporary hack till i can code it properly.  this is just a test, for a single page: http://havoc.zelea.com/w/Mann
12:48 < conseo> pag is empty
12:48 < conseo> page
12:49 < mcallan> can u see this?  http://havoc.zelea.com/w/Wiki:Main_page
12:56 < mcallan> i do a see a problem in apache log trace: calls from you to /w/null/wap?wCall=sStore
12:57 < mcallan> should be calling tomcat, and instead calling apache (with a null in there)... maybe on my side
12:58 < mcallan> (back in a while)
13:21 < conseo> yes, i can see this: https://oc.polyc0l0r.net/public.php?service=files&token=189fcbc47fd4923457defc37e74ab60e088eb7e7&file=/main-page.jpg
13:28 < conseo> mcallan: now when i reload Mann i get: no servlet context, does your gwt.js call a_web_gwt_App_setServletContextLocation
13:30 < mcallan> looking...
13:33 < mcallan> myself, i now get: Wild exception: java.lang.IllegalArgumentException: Error parsing JSON: SyntaxError: missing } after property list
13:33 < mcallan> {"difference":{"a":3641,"b":3671,"selectand":"b"},"message":{"content":"still prefer an open "window" into the polling/discussion threads (which might be a solution for this, too But I don't have an example ready yet. -- Michael ","location":"http://mail.zelea.com/list/votorola/2010-July/000448.html"}} Unknown.java_lang_Exception_Exception__Ljava_lang_String_2V (-1)
13:33 < mcallan>  Unknown.ava_lang_RuntimeExceptieon_RuntimeException__Ljava_lang_String_2V (-1) Unknown.java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V (-1)
13:33 < mcallan> Consider re-running in devmode where a stack trace is output to the console.
13:34 < mcallan> conseo: this one looks like yours.  note: it worked for me before (is saw your track) and i had selected a message
13:35 < mcallan> (*i* saw)
13:36 < mcallan> my guess is the message is persisted by Stage, which is trying to reload it from session store
13:36 < conseo> the message structure has changed, so i guess this is related (?)
13:36 < conseo> yes
13:36 < conseo> this sounds reasonable
13:37 < mcallan> confirmed, close/open window (sess gone).  i now see page w/ track, perfectly
13:39 < mcallan> i see this: http://zelea.com/var/tmp-public/Mann-1.png
13:46 < mcallan> (yes, could be.  Stage might be writing it incorrectly because of that.  i can debug that one, i think)
13:48 < conseo> works
13:48 < conseo> (in chromium logged out)
13:49 < mcallan> and now i don't see the messed up wap calls to sStore and hHarvest, that were wrongly hitting the wiki
13:49 < conseo> i can restart firefox and retry
13:50 < mcallan> ok.  lets pinpoint it
13:51 < mcallan> logs + code indicate that App.getServletContextLocation() *was* null
13:52 < mcallan> so calls to tomcat were instead relative, and hit the wiki
13:52 < conseo> no servlet context, does your gwt.js call a_web_gwt_App_setServletContextLocation?
13:52 < conseo> it is set though (otherwise it wouldn't work in chromium, right?)
13:53 < mcallan> it is set in your gwt.js.  what does firebug net trace show?
13:54 < mcallan> should be trying to load gwt.js, and then the gwt boot script for stage/pollwiki
13:55 < conseo> well, the problem is that it *always* restores the session, which loads some other wiki page from you beforehand
13:57 < mcallan> a couple things to clear on ff: (1) shift-ctl-del and clear cache
13:57 < mcallan> (2) close/reopen window or tab, to clear session (but that should not be necessary here)
14:01 < mcallan> conseo: my trace: http://zelea.com/var/tmp-public/Mann-trace-1.png
14:02 < mcallan> gwt.js is just above middle
14:03 < conseo> it is driving me insane
14:03 < conseo> i have to learn about the session handling
14:04 < conseo> it always restores all tabs :-D
14:05 < mcallan> when you close ff, and reopen?
14:06 < mcallan> ff preferences: general | startup  | when ff starts...
14:06 < conseo> yes. even i don't know why it restores this particular window with tabs, but since ff is my main browser, i might have messed up something
14:07 < conseo> it is "show start page with me"
14:07 < conseo> never mind, i have cleaned up an instance and cleared the cache
14:07 < conseo> will try now
14:08 < mcallan> for me, it only restores if it crashed (i wish it wouldn't)
14:08 < conseo> yes, me, too. although it got more stable recently for me
14:09 < conseo> there it is again, will trace with firebug
14:10 < mcallan> conseo: and anyway, you usually needn't shut down ff.  just close tab, open new one to clear session.  but we don't even need that to get net trace.  just hit refresh, should do the trick
14:15 < mcallan> (Mann looks good from ff on my windows box, too)
14:20 < conseo> all files found with code 200, gwt.js Content-Length: 3542, 3.5 kib
14:21 < conseo> answer content in firebug looks empty though
14:22 < conseo> i can open the gwt.js, and it has a_web_gwt_App_setServletContextLocation( 'http://v.polyc0l0r.net:8080/v' );
14:24 < conseo> also i can reproduce the error every time
14:24 < conseo> (in ff)
14:24 < conseo> i will now look in chromium
14:27 < mcallan> here's a cleaner trace from me, with response content open: http://zelea.com/var/tmp-public/Mann-trace-2.png
14:28 < conseo> in chromium it works
14:28 < conseo> (maybe sop)
14:29 < mcallan> conseo: ^ your ff trace is same as mine, except response tab?
14:31 < mcallan> conseo: and what about the boot script that follows?  and the css after that?
14:34 < mcallan> conseo: and another thing, can you compare with trace when you load this on ff?  this fetches from my context, ofc.  http://havoc.zelea.com/w/Sys
14:34 < mcallan> (strange)
14:36 < mcallan> conseo: can we skype?
14:38 < conseo> some friends just came over
14:38 < conseo> will you be around some longer?
14:38 < conseo> i will post you links to the traces here
14:39 < mcallan> sure, i can work on the session/persist bug
14:40 < mcallan> (traces can wait)
15:01 < conseo> mcallan: it works when i disable noscript in firefox :-/ sry for the hassle
15:02 < conseo> although this is somewhat sad, because i had enabled all scripts in noscript
15:05 < mcallan> ah good!
15:06 < conseo> this means everybody running noscript in firefox will not be able to load our cross-voteserver functionality ... it doesn't seem to be a usual setting which prohibits loading of this javascript
15:07 < conseo> maybe it is because it resolves to a local address
15:07 < conseo> (which would be special to my dev setup)
15:11 < mcallan> it should be okay to release it, and test further.  a couple questions...
15:13 < mcallan> conseo: actually just one q: will you run two vote-servers?  one for dev testing, one for people to use?
15:14 < conseo> yes i can do so
15:14 < mcallan> i'll work on cleaning this up, and then release it to pollwiki.  vote-server you run now is named 'v'?  so that will be your public one?
15:15 < conseo> v for voting and vdev for testing a new feature on a public host (?)
15:16 < conseo> one of course directly on my machine, not on the server. of those two
15:17 < mcallan> vdev sounds good for testing on localhost.  that's what i use myself.  but will it be accessible, at least to me for cross-testing sometimes?
15:17 < conseo> was this voff for you and vdev on your workstation?
15:17 < conseo> ok :-)
15:18 < mcallan> my havoc workstation has vdev, and voff (for minimal release testing)
15:19 < conseo> ok, i'll do the same
15:19 < mcallan> ok.  so you'll dev test on localhost too.  that's ideal because manual assumes localhost for install instructions, and you can help me debug those when time comes
15:20 < mcallan> so you can config vdev to talk to the havoc pollwiki (i'll keep it open for you).  my tomcat does not run all the time, but you won't need it for testing Mann...
15:22 < mcallan> so our two dev machines talk.  and then you're v on polyc can talk to public pollwiki on obsidian (ref server)
15:22 < mcallan> *your v*
15:27 < mcallan> conseo: here is my build config that allows me to switch build target (vdev, voff, v), in case it helps: http://zelea.com/project/votorola/b/Build_config_example.pl
15:48 < conseo> ok, sounds good
16:22 < mcallan> conseo: can u do a devmode build of pollwiki module? votorola/b/build x xgwt --module=votorola.s.gwt.pollwiki.PollwikiInDev
16:22 < mcallan> not sure that will give me devmode on my side, but worth a try
16:29 < conseo> building...
16:33 < conseo> done, do i need to restart tomcat?
16:33 < mcallan> nope, static file
16:33 < conseo> ok
16:34 < mcallan> behaves differently ...
16:39 < mcallan> i believe i can debug, sort of :-)
16:42 < mcallan> doh!  i am debugging my own code.  what was i thinking?  it does load your code, and it does talk to your server, but it sees my own source code, and runs that.  ofc!
16:44 < conseo> yes. but it would work if we were in sync, right?
16:45 < mcallan> yes, i think so, if i had your source.  but i can only replicate on one of the messages in the track.  one of us can debug it later
16:46 < mcallan> if u want, u can try: votorola/b/gwt-devmode --module=votorola.s.gwt.pollwiki.PollwikiIn
16:51 < mcallan> or it can wait till after i pull from you.  i'm going to clean up and release, then you can config your v's and create polls and stuff
16:54 < conseo> ok, cool
17:48 < conseo> why are the forum attributes in the wiki prefixed with Stuff: ?
17:57 < mcallan> we needed a general namespace.  main namespace (no prefix) is reserved for areas
17:58 < mcallan> documented here: http://zelea.com/w/Wiki:Namespaces
18:17 < conseo> ok, so this is supposed to stay that way?
18:17 < mcallan> you don't like it?
18:19 < mcallan> hack appears to be ready in dev wiki.  it's currently pointing at your v (which is wrong), and your v is still pointed at other wiki, i guess.  but otherwise it seems ok: http://havoc.zelea.com/w/Mann
18:20 < mcallan> you can play in there, ofc.  this wiki has no fancy caching so its slow.  also not accessible to public.  otherwise its same
18:24 < conseo> ok, cool! thx!
18:24 < conseo> mcallan: no i don't have a problem with it, it will just be used as the type identifier in the docs as example
18:26 < mcallan> welcome!  this is just temp hack.  difficult for admins/devs to add their own servers.  but will fix that soon
18:26 < mcallan> also this only works on area pages and subpages, and positions that follow normal naming conventions
18:27 < mcallan> notably it won't work on user's home page.  mannheim users still get the default vote-server (will fix that later, too)
18:31 < mcallan> conseo: so there it is: http://havoc.zelea.com/w/Mann
18:33 < mcallan> after i go for run and grab a bite, i will release to ref wiki.  but good idea to do your heavy page editing and testing here in dev wiki first, anyway.  so you might want to point your v (vote-server and gwt.js) here temporarily
18:36 < conseo> ok, good
18:36 < conseo> btw. what is the reason behind the votetrack scrolling with the page again? it confuses me very time
18:36 < conseo> :-)
18:37 < mcallan> so you can control shadows when paged down
18:49 < mcallan> back in a while
19:39 < conseo> mcallan: ok, but even if floats with the page (or rather sticks to the top of the view), it should not leave a gap but snap to the top imo. i have seen that on some google page already (if i correctly remember)
19:55 < mcallan> agreed
19:56 < conseo> cool :-)
20:08 < mcallan> conseo: you're now admin in havoc wiki.  here's the hack where it points to your vote-server.  you can change this to your dev server when ready: http://havoc.zelea.com/w/MediaWiki:Common.js
20:28 < mcallan> ditto here now: http://zelea.com/w/MediaWiki:Common.js
21:03 < conseo> mcallan: i have made the voharvest command line useful and added its synopsis and description to manual.xht
21:03 < conseo> atm. it can triger harvests and remove archives
21:11 < conseo> mcallan: is there some good source on how to write a message dispatcher (like the kicker)? i know you have written some, but i wondered what you would recommend and if there is some literature
21:15 < conseo> it is not important now, i am just wondering.
21:26 < conseo> mcallan: with dev server you mean local on my dev machine deployed? ok, i have to configure that on the firewall (no big deal)
21:26 < conseo> i will do so tomorrow
21:32 < mcallan> re command line: sounds good!
21:33 < conseo> (now something got broken for the wiki integration, maybe some js structure has changed again)
21:33 < conseo> i will have a look tomorrow, you can pull if u like
21:33 < conseo> cu tomorrow
21:35 < mcallan> yes, meant local, if you intend to run dev server locally.
21:35 < mcallan> i'm crashing too.  cu soon
21:42 < conseo> ok, gn8
--- Log closed Wed Sep 26 00:00:31 2012