WebGUI irc logs from: 2011-05.log

--- Log opened Sun May 01 00:00:01 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui01:42
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:20
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out]08:22
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:36
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:39
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 276 seconds]18:20
-!- kaare__ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:40
-!- kaare__ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]18:43
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui18:51
-!- daviddelikat [~user@adsl-76-204-91-139.dsl.mdsnwi.sbcglobal.net] has joined #webgui23:07
-!- daviddelikat1 [~user@76.201.148.64] has joined #webgui23:28
-!- daviddelikat [~user@adsl-76-204-91-139.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 260 seconds]23:30
-!- daviddelikat1 [~user@76.201.148.64] has quit [Ping timeout: 240 seconds]23:51
-!- daviddelikat [~user@99.154.0.28] has joined #webgui23:51
--- Day changed Mon May 02 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:05
-!- daviddelikat [~user@99.154.0.28] has quit [Ping timeout: 240 seconds]00:10
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui00:26
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui00:59
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:22
-!- daviddelikat1 [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui02:18
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 248 seconds]02:21
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui03:34
-!- mode/#webgui [+o pbcj] by ChanServ03:34
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Client Quit]03:34
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:50
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]07:48
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui08:58
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:13
-!- mode/#webgui [+v BartJol] by ChanServ10:13
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui12:53
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui12:58
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 252 seconds]13:00
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui13:03
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:04
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 276 seconds]13:08
-!- carogray [~Caroline@173.155.68.71] has joined #webgui13:08
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui13:13
-!- carogray [~Caroline@173.155.68.71] has quit [Ping timeout: 240 seconds]13:14
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui13:17
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:17
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui13:34
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:36
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:55
-!- carogray [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui13:56
-!- carogray1 [~Caroline@108.113.230.159] has joined #webgui14:14
-!- carogray [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:15
-!- carogray [~Caroline@174-152-120-49.pools.spcsdns.net] has joined #webgui14:21
-!- carogray1 [~Caroline@108.113.230.159] has quit [Ping timeout: 252 seconds]14:22
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui14:24
-!- carogray [~Caroline@174-152-120-49.pools.spcsdns.net] has quit [Ping timeout: 276 seconds]14:26
-!- carogray [~Caroline@173-100-252-156.pools.spcsdns.net] has joined #webgui14:36
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Ping timeout: 264 seconds]14:36
-!- carogray1 [~Caroline@173-100-208-238.pools.spcsdns.net] has joined #webgui14:43
-!- carogray [~Caroline@173-100-252-156.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:43
-!- carogray [~Caroline@108.111.10.117] has joined #webgui14:45
-!- carogray1 [~Caroline@173-100-208-238.pools.spcsdns.net] has quit [Ping timeout: 248 seconds]14:47
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui14:49
-!- carogray [~Caroline@108.111.10.117] has quit [Ping timeout: 240 seconds]14:50
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Client Quit]14:50
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:07
SDuensinMorning.15:46
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:49
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 246 seconds]16:41
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui16:57
carograyquick help? what is template syntax for <tmp_if....17:40
carograyfor if someone is logged in  - not admin on, but logged in,  cannot find it quickly17:41
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:47
-!- mode/#webgui [+o pbcj] by ChanServ17:47
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:03
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:06
-!- mode/#webgui [+v perlDreamer] by ChanServ18:06
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:06
-!- mode/#webgui [+o bopbop] by ChanServ18:07
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has joined #webgui18:07
-!- mode/#webgui [+o khenn] by ChanServ18:07
@khennmorning!18:07
+perlDreamerhey khenn!18:07
@khennI'm sad I had to miss rizen's dancer talk last month18:08
@khennI'm telecommute 2 days a week now so I will hopefully make it this month for WG8!!18:08
+perlDreamerWebGUI 8 is going to be released this month.18:08
@khennyeah?18:09
@khennthat's awesome18:09
+perlDreamerSince it's too early for preaction to be awake, I feel free to spread unsubstantiated rumors about 818:09
@khennheh18:10
+perlDreameralthough, given the huge progress he's been making recently, that's probably not too far from the truth18:13
CIA-16webgui: Colin Kuskie master * r944c760 / (5 files in 5 dirs): Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. - http://bit.ly/ijdec318:21
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:27
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has quit [Ping timeout: 252 seconds]18:28
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has joined #webgui18:36
-!- mode/#webgui [+o khenn] by ChanServ18:36
* scrottie0 parsed "miss rizen's dancer talk" as "Ms. Rizen's Dancer talk"18:52
@khennheh18:53
SDuensinBring on 8!19:00
ckotilsweet19:08
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui19:25
-!- Netsplit *.net <-> *.split quits: vayde, Getty20:11
-!- Netsplit over, joins: vayde, Getty20:12
carograytrying again - could I use <tmpl_if GroupViewId....Syntax> <tmp_if> for some groups if logged in to see some content - it's  a specific link hard-coded into a manual (non-dynamic) navigation.21:22
carograyI am just not sure how this works - 21:22
scrottie0yo might want the GroupText macro21:23
scrottie0you21:23
scrottie0that wouldn't be doing tmpl_if, sadly.  there is something of a disconnect there.21:24
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]21:24
scrottie0which template are you editing?  which asset is it a template for?21:26
scrottie0what are you actually testing... whether they're allowed to view the content?21:29
+perlDreamerya, GroupText macro is the way to do that, although sometimes in can give you fits with quotes and such21:33
+perlDreameryet another thing we could do better with Template::Toolkit21:33
@preactionis there anything TT can't do better?21:34
carograyso... 21:43
carograyI thought I could do it with Template Toolkit, but it is the template for the home page and a default page ie. the page layout template21:44
carograyI just want to throw something in there quickly21:44
carograyIf I do Template Tookit I have to redo the whole template x 221:44
carograyI am having problems remembering how to spell my name right now, afraid I will pull the whole site down if I try to change these templates to TT21:45
+perlDreamercarogray, then use the GroupText macro21:46
+perlDreamerbe sure to escape double quotes and commas in the HTML that you want to show21:46
+perlDreamerbecause they can cause macro parsing errors21:46
carograycan you spell it out for me? this is the bit I want only visible for members of 3 groups, board, staff, board and staff, or perhaps the group board, or the group staff, because if you are a member of either you are a member of board and staff - bit I want viewable only by these groups:21:49
carogray<li class="off"><a href="^/;home/laccm-intranet" class="navLink">LACCM Intranet</a></li>21:49
+perlDreamerwell, to use the macro well, you'll need to set up 1 Group that holds all the groups that should see the link21:51
+perlDreamerthen you do21:51
+perlDreamer^GroupText(GroupName,<li class="off"><a href="^/;home/laccm-intranet" class="navLink">LACCM Intranet</a></li>);21:52
+perlDreamerI think that will do it21:52
+perlDreameror, you may need to escape all those double quotes in there21:53
+perlDreamer^GroupText(GroupName,<li class=\"off\"><a href=\"^/;home/laccm-intranet\" class=\"navLink\">LACCM Intranet</a></li>);21:53
carograyperfect!22:01
carograythanks so much!22:01
+perlDreameryou're welcome carogray22:01
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:37
carograyperldreamer: perfect! It worked perfectly, quickly, easily and painlessly! You are my hero - once again! Thank you so much!23:24
CIA-16webgui: Colin Kuskie master * r6153477 / (24 files in 18 dirs): Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. - http://bit.ly/jUcXDN23:51
--- Day changed Tue May 03 2011
* perlDreamer goes to pickup kids from school00:00
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]00:05
-!- KlausH [~KlausH@pD9528895.dip0.t-ipconnect.de] has joined #webgui00:19
+perlDreamerKlausH!00:41
KlausHhi. will we have a WUC this year?00:42
+perlDreamerI haven't heard any plans for a WUC this year, so I suspect not00:42
KlausHno Webgui 8, no WUC :-(00:42
+perlDreamerno WebGUI 8 yet00:43
+perlDreamerbut coming soon00:43
+perlDreamerpreaction has been committing tons of code, and it's will be released before Perl 600:43
+perlDreamerbefore Christmas00:43
+perlDreamerbefore the world ends in 2012, for sure00:43
KlausHgreat!00:43
KlausHwill help a lot for endig the world.00:44
scrottie0https://gist.github.com/952439 ...00:44
+perlDreamerno clue, scrottie0, I haven't run any wg8 code since November/December-ish00:45
scrottie0hrm, diagnostic output made a lot more sense before I pasted it.00:45
+perlDreameryou sure you're not having local problems again?00:45
scrottie0of course not.  in fact, that's the first thing I suspect.00:45
@preactiondid the test case run WebGUI::Test->waitForAllForks?00:46
scrottie0if this were 7, I'd assume all tests were passing for everyone else but here I don't know what the status is supposed to be.00:46
scrottie0that's how I stumbled into this.00:46
scrottie0it waits forever there.00:46
@preactionhmm...00:46
scrottie0that's when it actually creates an entry in the table.00:46
@preactioni'd say that my waitForAllForks code is bad then00:46
scrottie0I'll continue chasing this, I just wanted to alert people what I was doing.00:46
scrottie0nope.  looking at the database, there's an unfinished one in there.  sometimes.00:47
@preactionor worse, the fork code is bad. but i'd check my wait first00:47
scrottie0non-deterministic.00:47
@preactionhm...00:47
@preactionis there a child process even?00:47
scrottie0sometimes.00:47
@preactionand when that child process is there, the db entry is too?00:47
scrottie0yup.00:47
+perlDreamerfork code seems to work in 700:48
@preactionit shouldn't be doing anything that intense. is it running or blocked on something?00:48
scrottie0"$self->sendRequestToMaster($request) or $self->forkAndExec($request);"... if there's no $pipe open to a master process because WebGUI::Fork->init was never called as happens in tests, that's when these trouble seem to happen.00:48
scrottie0if init is called, forkAndExec() never runs as a backup and sendRequestToMaster works reliably.00:49
+perlDreamerKlausH, did my response to the makeUrlCompliant bug make sense?00:49
scrottie0dunno.  still tracing that bit.00:49
@preactionhm... on my laptop no master process does warn, but still works correctly. maybe that's not true of all systems00:51
scrottie0oh yeah.  that's what I wanted to say... I'm thinking of getting rid of WebGUI::Test->waitForAllForks in favor of addToCleanup / cleanupGuard logic.00:52
scrottie0but I'm not sure how many tests wind up creating forks.  that could be unmanagable.00:52
scrottie0or maybe I'll just make it a test failure if waitForAllForks don't finish in a certain amount of time.00:53
@preactionwaitForAllForks turns async into sync, that was why i wrote it, but if you have a better idea it's welcome00:54
scrottie0this is all yak shaving... all I want to do is fix something else that really gave me grief before but I want to make sure I'm not breaking things in process.00:55
scrottie0nasty, naughty, evil Zoot...00:56
+perlDreamerscrottie0: I don't think hardly any tests accidently make forks, since you have to call *InFork directly00:57
+perlDreamerplus,  you could always change it and run it and see what goes into an infinite loop00:58
* scrottie0 nods00:58
CIA-16webgui: Scott Walters WebGUI8 * r6e12a8f / lib/WebGUI/Test.pm : simple cleanup logic for WebGUI::Fork; mark the fork "completed" even though it may not be just so that the next test that wants to do waitForAllForks doesn't get hung up on our fork - http://bit.ly/kf7ozZ01:01
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has quit [Ping timeout: 252 seconds]01:02
+perlDreamerscrottie0, that was fast!  How long did it take your box to run the whole test suite?01:02
scrottie0I can't finish the test suite.  have I mentioned?  I did take some effort to test *that*, thought, but I'm still glad for any feedback.01:03
scrottie0I can always count on sarcasm after each commit.01:03
scrottie0I agree though.  the test suite needs a test suite.01:04
scrottie0I haven't commit changes for other tests to *use* that and I won't unless I can do a clean run through the test suite.01:04
@preactionthat's what was happening?01:05
scrottie0huh?01:05
@preactionthe previous wait waited but the fork didn't mark itself as completed?01:05
scrottie0don't know.  still trying to sort this out.  don't know if it's left over or where execution gets hung up.01:07
scrottie0just wanted to feel people out on it so I better knew which directions could I reasonably take this.01:07
scrottie0aha.  the forked process biffs it.  I'm not sure closing STDERR is the way to fly in this case...01:09
scrottie0we're still using test plans in WebGUI 8?  bah.01:20
scrottie0what's this?  these source code files contain ASCII?  lame.01:21
CIA-16webgui: Scott Walters WebGUI8 * ree212a1 / (lib/WebGUI/Test.pm t/AssetHelper/Copy.t): 01:27
CIA-16webgui: WebGUI::Test::waitForAllForks optionally taking a number of seconds to wait;01:27
CIA-16webgui: t/AssetHelper/Copy.t using this as one of its tests; this creates a test failure out of a test suite deadlock for me - http://bit.ly/lMHCXI01:27
scrottie0okay, I lied, slightly, but test suites themselves occupy a strange place.  sorry perlDreamer.  if my changes to the tests have introduced test failures for you *and* the failure is in the test suite, not the app itself, please feel free to back them out and I'll sort it out later.01:29
scrottie0I'm going to afk here for a while.01:29
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:03
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui02:12
CIA-16webgui: Colin Kuskie master * red4ab25 / sbin/testEnvironment.pl : Set the correct version of the Google geocoder module. - http://bit.ly/mqhBSH02:16
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:33
-!- KlausH [~KlausH@pD9528895.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer]03:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []04:17
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 252 seconds]04:18
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds]04:34
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:35
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds]05:45
CIA-16webgui: Colin Kuskie master * r88c9fa8 / lib/WebGUI/Help/Asset_Thingy.pm : Remove the fields variable from the template variable help for Asset_Thing, viewThingData. - http://bit.ly/mwhANl06:07
CIA-16webgui: Colin Kuskie master * r62f1f98 / docs/create.sql : Preparing for 7.10.15 release. - http://bit.ly/lsDiD806:09
+perlDreamer29 minutes, that has to be some kind of world record06:29
CIA-16webgui: Colin Kuskie master * re0491ac / (4 files in 4 dirs): Ready for 7.10.16 development. - http://bit.ly/iYOvYy06:29
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]06:29
-!- Radix_ changed the topic of #webgui to: [7.9.27-stable | 7.10.15-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com06:30
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui08:32
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]09:01
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui09:02
scrottie0https://gist.github.com/952884 ... in Admin.t, in this one test, I was having multiple problems... the API dies if asset isn't passed in to the call to WebGUI::AssetHelper::Cut->new09:14
scrottie0and the test was failing when the forkId didn't match between the two calls to WebGUI::Fork.  this should differ.09:14
scrottie0I'd like to fix stuff like this but I want to get a more clear idea of the state of the test suite for other people.  was the Admin.t www_processAssetHelper test failing for anyone else?  or die-ing even...?09:15
scrottie0are there failing tests and die-ing tests in general in the WG8 suite...?09:16
scrottie0if one earlier test dies, it cleans up the test config file, and then the WebGUI::Fork process dies trying to open the config file and never cleans itself up, and then the test suite hangs later... and this test *should* be die-ing for multiple reasons... it seems odd that no one else is running into this same race condition.09:19
scrottie0(hangs forever waiting for the imploded WebGUI::Fork to finish, that is)09:20
@preactionthere are some failing tests yes, EMSSubmission.t comes to mind09:20
scrottie0okay.  just want to make sure that I'm barking up trees that actually exist.09:20
@preactioni have been working on the frontend, so it's possible i've screwed up some tests09:21
scrottie0or possibily exist.09:21
scrottie0re: WebGUI::AssetHelper::Cut->new requiring an asset => $assetOb parameter in disagreement with the test, was this meant to change?  can I update the test?  or was that change unintentional?09:22
@preactionthat was meant to change09:22
* scrottie0 nods09:22
scrottie0excellent.  thank you.09:23
@preactionthe old API was to pass the asset into process(), but that had some problems09:23
CIA-16webgui: Scott Walters WebGUI8 * r5b5a7e9 / t/Admin.t : 09:28
CIA-16webgui: "the old API was to pass the asset into process(), but that had some problems" according to preaction, re: WebGUI::AssetHelper::Cut->new now requiring an asset parameter.09:28
CIA-16webgui: fixes www_processAssetHelper test; several others in there still fail for me. this fix fixes a WebGUI::Fork leak. I'm sure there are more. - http://bit.ly/mqylbw09:28
* scrottie0 &09:28
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui09:45
-!- mode/#webgui [+v BartJol] by ChanServ09:45
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui10:04
-!- CIA-16 [~CIA@208.69.182.149] has quit [Read error: Operation timed out]10:30
-!- CIA-70 [~CIA@208.69.182.149] has joined #webgui10:34
-!- carogray [~Caroline@72-63-66-21.pools.spcsdns.net] has joined #webgui13:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui14:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]14:44
-!- carogray [~Caroline@72-63-66-21.pools.spcsdns.net] has quit [Quit: Leaving.]14:50
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:05
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:48
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:03
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:26
-!- mode/#webgui [+o bopbop] by ChanServ16:26
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 240 seconds]16:30
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui17:02
-!- khenn [a6898b1b@gateway/web/freenode/ip.166.137.139.27] has joined #webgui17:04
-!- mode/#webgui [+o khenn] by ChanServ17:04
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]17:21
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:30
-!- mode/#webgui [+o pbcj] by ChanServ17:30
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui17:32
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]17:39
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Read error: Connection reset by peer]17:41
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui17:51
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:07
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 276 seconds]19:01
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds]19:18
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:19
-!- khenn [a6898b1b@gateway/web/freenode/ip.166.137.139.27] has quit [Ping timeout: 252 seconds]20:20
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 260 seconds]22:09
scrottie0frodwith, how would you feel about something else being done with forked process stderr than having it directed to /dev/null?  and any suggestions what?  minimally, I'm imagining catching the eval in daemonize and calling log warn with the details.22:14
@pbcjlol22:15
@pbcjI was just typing "quiet in here today"22:15
scrottie0can't just say "it's quiet in here".  you have to find something to make noise about.22:15
@frodwithcould tie stderr with Tie::Log4perl22:15
@frodwithor equivalent22:15
scrottie0forked code is still run in the WebGUI style with the WebGUI API, so it seems like continuing to do the same thing with errors makes the most sense to me.  in fact, it furthers the illusion.22:16
scrottie0er, hmm, strike that last remark.  that's just confused/confusing.22:17
@frodwithcapturing it instead of sending it to the bitbucket is a good idea though.22:17
scrottie0I could do that, but I feel like a run-time error should be caught at the top level and logged as an error or warning, if nothing else.22:17
@frodwithStuff that happens off in forked land can be kind of evil to debug.22:17
scrottie0yeah, I just discovered that the other day.22:18
@frodwithDoesn't it trap dies already, and stuff them into the fork's error field in the db?22:18
scrottie0forks were being created then soon vanishing without updating the database and the test suite was hanging waiting for them.  process gone.  no clue why.22:18
scrottie0hmmm.22:19
@frodwithmostly what's evil about fork debugging is debugging Fork itself, not the client code it's running. Or so I thought.22:19
scrottie0I think that's part of the problem... most of the tests fail over to the forkAndExec method22:19
scrottie0but nope, looks like init() doesn't either22:20
scrottie0daemonize just falls from the eval { } to POSIX::_exit(0)22:20
@frodwithWell, it'd be nice if it did.22:20
* scrottie0 nods22:20
scrottie0shall I commit something?  or would you like to see what I'm doing first?22:20
scrottie0I'm looking at the WG8 copy here.  it might be out of date too.22:21
@frodwithI trust you, but I'll look at it if it makes you feel better :)22:21
scrottie0cool =)22:21
scrottie0runRequest sets error.  ah.  forkAndExec calls runCmd which calls runRequest.  init also calls those.  aha.  okay, it looks like what was happening was, in runRequest, the WebGUI::Session->open() was what was failing (test makes a temp config file and it's possible for it to vanish before the CPU context changes and the Fork initializes, ugh) 22:26
scrottie0and that's before the eval { } in there that sets error.  so I think I'll just make that eval { } enclose a bit more stuff.22:27
scrottie0should fix it.22:27
scrottie0duh, no.  if we can't open the session, we can't log stuff or access the database.22:46
@frodwiththis is all starting to sound familiar23:00
@frodwithmaybe leave it the way it is, except add a comment that says "I know, I know, but we can't log the error if the session isn't open yet."23:01
scrottie0yeah.  leaving it for now.23:14
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]23:37
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui23:50
--- Day changed Wed May 04 2011
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]00:01
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:07
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]00:13
CIA-70webgui: Doug Bell WebGUI8 * r1962317 / lib/WebGUI/Asset/Wobject/Dashboard.pm : fix Dashboard edit form - http://bit.ly/lTtHat01:12
CIA-70webgui: Doug Bell WebGUI8 * r74b8e36 / lib/WebGUI/Command/test_content.pm : add all the other assets - http://bit.ly/mdwNbT01:12
CIA-70webgui: Doug Bell WebGUI8 * r40805ce / lib/WebGUI/Asset.pm : log the error when we have one, don't just return it - http://bit.ly/lx9J0P01:12
CIA-70webgui: Doug Bell WebGUI8 * r7389128 / (lib/WebGUI/Image.pm lib/WebGUI/Image/Graph.pm): 01:13
CIA-70webgui: must have a width/height in order to set width/height01:13
CIA-70webgui: Failing to give a proper width/height will cause ImageMagick to die01:13
CIA-70webgui: with an assertion error - http://bit.ly/lLqZyT01:13
CIA-70webgui: Scott Walters WebGUI8 * rd6ad085 / t/Admin.t : cope with extra fields returned and fix apparent errors in the t/Admin.t tests to make them pass - http://bit.ly/mHpdKY01:16
CIA-70webgui: Scott Walters WebGUI8 * r3e59d0f / (t/AssetHelper/ChangeUrl.t t/AssetHelper/ExportHtml.t): no zombie forks a test criteria - http://bit.ly/mIch3j01:16
CIA-70webgui: Scott Walters WebGUI8 * rc8f2810 / t/AssetHelper/Duplicate.t : no zombie forks as a test criteria - http://bit.ly/klNFtq01:16
CIA-70webgui: Scott Walters WebGUI8 * r57e0fe8 / t/Fork.t : no zombie forks as a test criteria - http://bit.ly/m9VNPF01:17
scrottie0grep -e 'not ok' prove2.log | grep -v 'TODO' | wc -l # 5601:19
scrottie0fwiw.01:19
@preactionyeah, i'm gonna fix all the tests i've broke01:19
@preactionbefore i move on to my next task01:20
scrottie0oh, okay.  then I don't have to.01:20
scrottie0I'll just... um... do something else.01:21
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui01:24
CIA-70webgui: Doug Bell WebGUI8 * rdaaf45b / (5 files): remove accordion JS (+6 more commits...) - http://bit.ly/iB7nNM01:48
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:29
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:28
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 240 seconds]03:31
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:01
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui07:24
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]09:18
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:20
-!- mode/#webgui [+v BartJol] by ChanServ10:20
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]11:29
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui11:33
-!- carogray [~Caroline@108.113.132.48] has joined #webgui12:58
-!- carogray [~Caroline@108.113.132.48] has quit [Ping timeout: 240 seconds]13:14
-!- carogray [~Caroline@184-221-172-248.pools.spcsdns.net] has joined #webgui13:18
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]13:54
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui13:59
-!- andyiomoon1 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui14:21
-!- andyiomoon2 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui14:23
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 260 seconds]14:25
-!- andyiomoon1 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has quit [Ping timeout: 240 seconds]14:25
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui14:25
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]14:25
-!- andyiomoon2 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has quit [Ping timeout: 260 seconds]14:29
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui14:33
-!- carogray [~Caroline@184-221-172-248.pools.spcsdns.net] has quit [Ping timeout: 276 seconds]14:49
-!- carogray [~Caroline@75-147-63-198-NewEngland.hfc.comcastbusiness.net] has joined #webgui14:52
-!- carogray [~Caroline@75-147-63-198-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 240 seconds]14:56
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui14:58
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]15:06
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:16
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui16:04
SDuensinMourning.17:05
+BartJolah, Scott is in a joyous mood again I see17:07
SDuensinI'm in my fuzzy cube in an office that makes Dilbert look like he has the best job in the world.17:09
+BartJolwhoa, is there a comic about you?17:09
SDuensinThey tried, but too many readers committed suicide after reading it.17:09
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:22
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:53
-!- mode/#webgui [+o preaction] by ChanServ18:16
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:20
-!- mode/#webgui [+v perlDreamer] by ChanServ18:20
+BartJolperlDreamer: pbcj I reanabled your accounts18:21
+BartJolre-enabled18:21
@pbcjexcellent18:21
+perlDreamerthanks, sir!18:21
+perlDreamerwe were afraid that it was a prelude to the Dutch declaring war18:21
+perlDreamerfirst they cut-off your accounts18:21
+perlDreamerthen they expel the diplomats18:21
+perlDreamerthen they come and drink all your bier18:22
+perlDreamerafter that, it gets nasty18:22
@pbcjfirst you get the money...18:22
+BartJolwe tried that with the beer18:22
+BartJolour invasion wasn't big enough18:22
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:30
+perlDreamerhm, do you think he went to get reinforcements?18:33
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:35
-!- mode/#webgui [+o khenn] by ChanServ18:35
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:57
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]20:18
@preactionwhat is the difference between AdminToggle and EditableToggle?20:47
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui20:53
mducharme-laptopafternoon20:53
mducharme-laptopI'm getting an error upgrading one site from 7.9.14 to 7.9.1520:54
mducharme-laptopother sites upgrade properly20:54
mducharme-laptophttp://pastebin.com/jbU4ipTE20:55
@preactionthat isn't an error, it's a warning. is there any problem the site is having?20:55
mducharme-laptopI don't know, when I saw that I got scared and reverted back20:56
mducharme-laptopif you think it's probably safe to ignore I will reupgrade and check20:58
mducharme-laptopI wish there was an easier way of knowing what perl modules I have to install than going through the gotchas file with a fine tooth comb21:02
CIA-70webgui: Doug Bell WebGUI8 * r311db7b / (2 files in 2 dirs): remove the old asset manager from the config file (+6 more commits...) - http://bit.ly/lQ49er21:02
SDuensinWhy not run test-environment?21:02
@preactionsbin/testEnvironment.pl21:02
SDuensinYea.  Taht one.21:02
mducharme-laptopright but then I can't use webguiupdate.pl, I have to like manually upload the new testEnvironment.pl to the server and run that first21:03
@preactionscrottie0: a metric fuckton of tests just got fixed, i'm going over the www::mechanize ones now21:03
mducharme-laptopdo I not?21:04
@preactionall webguiupdate.pl does is 1) download webgui 2) run /data/WebGUI/sbin/upgrade.pl21:04
mducharme-laptopI know21:04
mducharme-laptopwhich totally messes everything up if you haven't installed the perl modules first21:05
mducharme-laptopI find that very bizarre21:05
@preactioni say that because it's very simple, something you could do yourself with wget21:06
mducharme-laptopwhy does webguiupdate.pl not download webgui, then run testEnvironment, then run uprade.pl21:06
CIA-70webgui: Doug Bell WebGUI8 * r2b42142 / t/Asset/AssetClipboard.t : went overboard on deleting from this test - http://bit.ly/lUo6bB21:06
mducharme-laptoper upgrade21:06
@preactioni'm fairly certain the next WRE will not have a webguiupdate.pl21:06
@preactionand the current WRE doesn't do testEnvironment because nobody's added that21:07
SDuensinYea.  Nuke it instead of making it work.  :-P21:07
@preactionno, much of the WRE's functionality is going into WebGUI itself21:07
scrottie0preaction, thanks for that.  I hope it didn't sound like I was on your case over failing tests.  I'm glad to have a little spare time here and do whatever with it.21:07
@preactionscrottie0: no, you reminded me of something i was all ready to completely neglect21:08
@preactionSO THANKS A LOT21:08
scrottie0YOU'RE WELCOME21:08
mducharme-laptopwell I got 64-bit wre running on opensuse without much problem21:09
@preactionthat's fairly surprising really :p21:09
scrottie0actually, I was perfectly happy with the test suite just running till the end, failing some tests.  that would let me see if I were breaking more tests.21:09
@preactioneh, i made some major changes and need to take the time to make the tests match those changes.21:10
mducharme-laptopok it looks like everything is fine21:26
mducharme-laptopI guess I can ignore those messages then21:26
mducharme-laptopthis is strange21:27
mducharme-laptopunder "Statistics" how many active sessions should there be?21:27
mducharme-laptopfor a small site21:27
mducharme-laptopthis says 13831021:27
@preactiondo your sessions expire?21:28
mducharme-laptopto me that seems like an unusually high number of sessions21:28
mducharme-laptophmm?21:28
@preactionis spectre running?21:28
@preactiondid you set your sessions so that they never expire? it's in settings21:28
scrottie0kompare has one example in its DESCRIPTION:  cvs diff | kompare -o -21:28
mducharme-laptoppreaction - session timeout is set to one hour21:30
mducharme-laptopand yes spectre is running21:30
@preactionthen maybe the workflow activity that cleans up expired sessions isn't running right21:31
@preactionor at all21:31
mducharme-laptopthis is a newly setup server, I  moved the site over from an old server21:32
mducharme-laptopI had an older 64-bit server running the 32-bit wre, and I ran into issues compiling a perl module because of the difference, so I built my own WRE on a new 64-bit server and moved the old sites over21:33
@preactionthen maybe that old server was affected by the problem, i know the delete expired sessions workflow used to not complete if you had too many sessions. that bug was fixed21:33
mducharme-laptopoh ok21:34
mducharme-laptopit could be21:34
mducharme-laptopwe upgraded from like 7.8.15 or something21:34
@preactionanyone want to take a guess at how WebGUI will handle two test runs at the same time?21:43
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]21:44
CIA-70webgui: Doug Bell WebGUI8 * recbaca5 / (2 files): formbuilder templatevar prefix must contain the underscore now - http://bit.ly/iGydNv21:49
@preactionfairly well, as it turns out21:52
CIA-70webgui: Doug Bell WebGUI8 * r4a8b4c6 / t/Asset/Asset.t : class is now className for www_add - http://bit.ly/iGnd9S21:53
CIA-70webgui: Doug Bell WebGUI8 * rcdcbf53 / t/Asset/Asset.t : 21:53
CIA-70webgui: getToolbarState and toggleToolbar no longer exist21:53
CIA-70webgui: The toolbar can be put in any page, and the toggle is now simply21:53
CIA-70webgui: if you are in the Turn Admin On group - http://bit.ly/mpx2Bb21:53
CIA-70webgui: Doug Bell WebGUI8 * r0c23ba8 / t/Asset/AssetClipboard.t : perhaps a good plan is in order... - http://bit.ly/kRxJDK21:59
scrottie0I'm getting a lot of "ERROR: Unable to run handler on WebGUI::Content::AssetManager: Could not load WebGUI::Content::AssetManager beca22:04
scrottie0use Can't locate WebGUI/Content/AssetManager.pm in @INC"22:04
@preactionyeah, you need to wgd reset -d --config22:04
scrottie0oh.22:04
@preactioni just added the upgrade that will remove the assetmanager content handler22:04
scrottie0ahh.  right.22:04
scrottie0kompare chokes on git's diff output, diff'ing vs /dev/null in particular for new files.  do KDE developers really use cvs?  that's kind of amazing.22:06
scrottie0bah.22:06
scrottie0need fewer fonts.  random programs I fire up magically support ttf and then decide that 'crackaddict' is a good font to show code diffs in.22:08
scrottie0hmm, maybe they're right.22:08
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui22:20
mducharme-laptophrm22:40
mducharme-laptopanother question....22:40
mducharme-laptopI had seen in a screenshot before the thingy allowed some sort of "LDAP Connection" field type22:40
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]22:40
mducharme-laptopthat field type doesn't appear to be in the latest stable release22:40
@preactionldap connection fields probably won't work in the thingy22:44
mducharme-laptopdammit23:19
mducharme-laptopI want some easy way of having a company directory23:20
mducharme-laptopwithout having to reinvent the wheel23:20
mducharme-laptopwe used to use novell's eGuide for that but they discontinued that23:21
scrottie0funny how software that people hate never gets discontinued.23:25
mducharme-laptopwell it's just annoying that when we already have all the staff names, titles, addresses and phone numbers in LDAP we can't just use that23:29
mducharme-laptopinstead we have paper phone lists typed up in word23:29
mducharme-laptopand other manually entered things23:29
@preactionand with that commit, the EMSSubmissionForm fixed, I take lunch!23:33
CIA-70webgui: Doug Bell WebGUI8 * rb0da37e / (8 files in 4 dirs): fix EMSSubmissionForm and all its tests - http://bit.ly/kB6WFC23:34
--- Day changed Thu May 05 2011
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]00:05
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:06
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui00:22
-!- mode/#webgui [+v perlDreamer] by ChanServ00:22
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:06
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui01:20
-!- daviddelikat1 [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 246 seconds]01:23
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.]01:57
-!- carogray [~Caroline@173-100-32-254.pools.spcsdns.net] has joined #webgui02:32
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:34
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]02:39
-!- carogray1 [~Caroline@173-100-32-254.pools.spcsdns.net] has joined #webgui02:40
-!- carogray [~Caroline@173-100-32-254.pools.spcsdns.net] has quit [Read error: Connection reset by peer]02:40
-!- carogray [~Caroline@108.117.94.43] has joined #webgui02:48
-!- carogray1 [~Caroline@173-100-32-254.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]02:49
-!- carogray [~Caroline@108.117.94.43] has quit [Ping timeout: 240 seconds]02:54
-!- carogray [~Caroline@107.26.65.40] has joined #webgui02:54
-!- carogray [~Caroline@107.26.65.40] has quit [Ping timeout: 260 seconds]03:10
-!- carogray [~Caroline@108.97.251.151] has joined #webgui03:16
-!- carogray [~Caroline@108.97.251.151] has quit [Ping timeout: 276 seconds]03:22
-!- carogray [~Caroline@173-142-222-127.pools.spcsdns.net] has joined #webgui03:24
-!- carogray1 [~Caroline@173-145-41-169.pools.spcsdns.net] has joined #webgui03:32
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]03:33
-!- carogray [~Caroline@173-142-222-127.pools.spcsdns.net] has quit [Ping timeout: 248 seconds]03:35
-!- carogray1 [~Caroline@173-145-41-169.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]03:43
-!- carogray [~Caroline@174-154-176-196.pools.spcsdns.net] has joined #webgui03:55
-!- carogray [~Caroline@174-154-176-196.pools.spcsdns.net] has quit [Ping timeout: 264 seconds]04:00
-!- carogray [~Caroline@174-157-249-237.pools.spcsdns.net] has joined #webgui04:01
scrottie004:05
scrottie0who04:05
-!- carogray [~Caroline@174-157-249-237.pools.spcsdns.net] has quit [Read error: Connection reset by peer]04:09
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Ping timeout: 276 seconds]04:32
scrottie0error handling has changed a lot.05:28
scrottie0that's making things interesting here.05:28
scrottie0canShowDebug and related things are gone.05:29
scrottie0oh heck yeah.  heck heck yeah.05:47
scrottie0I need to devise a test to prove that I haven't broken streaming here.05:48
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui06:11
-!- mode/#webgui [+o pbcj] by ChanServ06:11
scrottie0unrelatedly, I wonder if I should be shot dead if I commit code that read, in part, $Log::Log4perl::Logger::APPENDER_BY_NAME{mainlog}->{appender}->{fh}->print(...)06:17
scrottie0and damn hell Log4Perl's internals are disguesting.06:18
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []06:18
-!- scrottie0 [~scott@li25-98.members.linode.com] has quit [Quit: Leaving]06:19
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui06:19
-!- mode/#webgui [+o scrottie] by ChanServ06:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds]07:09
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui07:51
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui08:07
-!- mode/#webgui [+v Radix__] by ChanServ08:07
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Connection reset by peer]08:07
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]08:26
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui08:37
elninohi....can anyone at webgui tell me what you have set for group_concat_max_len on your hosting servers, or maybe tell me who to ask?08:38
elninoit seems i'm hitting a limit somewhere.08:38
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:03
-!- mode/#webgui [+v BartJol] by ChanServ10:03
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Ping timeout: 246 seconds]10:18
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui10:21
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]11:02
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui11:13
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui11:55
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui12:11
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui13:00
-!- mode/#webgui [+v perlDreamer] by ChanServ13:00
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]13:25
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds]13:32
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui13:49
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui15:15
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:46
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:02
-!- mode/#webgui [+o bopbop] by ChanServ16:02
elninogood morning! Can anyone at webgui tell me what you have set for group_concat_max_len on your hosting servers, or maybe tell me who to ask? I'm hitting a limit somewhere.16:37
+BartJoleeeh, where is that setting?16:38
elninomy.cnf somewhere apparently.16:38
+BartJolah16:38
+BartJoloff course16:39
+BartJolwell, ik appears that is not defaullt set in the wre my.cnf16:40
+BartJols/ik/it/16:40
elninohmm.16:40
elninoapparently the defaul tis supposed to be 1024.. I'm assuming that's characters....16:41
+BartJolor bits...16:41
elninodo you see if max_allowed_packet is set anywhere on webgui's hosting servers?16:41
+BartJolmax_allowed_packet=16M16:42
elninothat allso affects group_concat_max_len16:42
elnino16M is big enough. =)16:42
+BartJolI believe 16M is default16:42
elninowell I don't know what do do now.. It's definately my mysql. I'm hitting a limit at about 400 characters. I'm building a hyperlink using concat_group. and it worked fine. untill I started adding a "onclick" property to the a tag.16:46
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui16:46
elninoits the most gnarly mysql statement I've ever written.16:47
SDuensinMorning.16:47
elninoBartJol - you're looking at the webgui's hosting servers? or just webgui code?16:48
+BartJol1 of our servers that runs WebGUI16:48
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has left #webgui []16:49
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui16:49
-!- mode/#webgui [+v BartJol] by ChanServ16:49
elninodo yo know who I'd ask about plainblacks' servers?16:49
+BartJoleveryone with a star before there name, except bop-bop I suppose16:49
+BartJolmaybe perldreamer16:50
elninopreaction is sleeping without a star...16:50
+BartJolah, he should know too16:51
elninosorry to ping you all, preation, frodwith, khenn, scrottie, but do any of you know what the setting of group_concat_max_len or max_allowed_packet is set to on your hosting servers? or who should i ask?16:52
@frodwithpreaction is probably the one to ask, but he's probably asleep.16:53
elninothank you.17:04
+BartJolthey don't allow dutch people on their servers17:09
elninolol - thanks for your help BartJol17:10
* elnino steps away for acouple hours17:22
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui17:40
-!- mode/#webgui [+o preaction] by ChanServ17:40
+BartJolmmmm, strange i18n17:41
+BartJol"You really don't need to know more than that."17:41
+BartJolin Asset_Dashboard.isInitialized17:42
+BartJolit makes me only curious17:42
@scrottiepeople who ask too many questions about WebGUI are never heard from again.17:46
+BartJolthey are sucked into the plain black hole?17:46
@scrottieexactly.  where CPU load is so high that time stands still and no processes make it out of the vent horizon.17:48
@scrottieevent17:48
+BartJoland committing more translations17:49
+BartJol99.8%17:49
@scrottieis there a policy on monkey patches, glob wraps, and other dubious incantantions?17:58
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:59
-!- mode/#webgui [+v perlDreamer] by ChanServ17:59
* scrottie waves to perlDreamer17:59
+perlDreameryo dude!17:59
@scrottieyoo.17:59
@scrottieI want to add Devel::StackTrace::WithLexicals to testEnvironment for WG8.  comments on that?  myself, I'd prefer if testEnvironment.pl did a "try to install it but if that fails, don't worry about it" thing for optional modules.18:04
@scrottieor maybe it does and I'm reading this wrong.18:04
+BartJoldutch translation is complete once again18:09
@scrottieBartJol++18:09
+BartJolthat was a while ago18:09
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:11
+perlDreamersorry BartJol, that shouldn't have taken as long as it did18:21
@scrottiewhy is it that when I right click the edit tab, I don't get a menu?18:24
@scrottiegoing to be very annoyed if I can't right click and open edit links in new tabs in the WG8 admin18:24
@scrottieJS is great but unobtrusive JS is da domb18:25
@scrottiebomb18:25
@scrottieda DOM?18:25
@preactionthat doesn't quite work yet, actually18:27
@preactionit's supposed to, but doesn't18:27
@scrottieah, okay.  I forgive then.  an IOU is fine.18:27
@preactiona bunch of the menus don't work yet, only the one in the admin bar and the ones in the page icons18:28
@preactionnot the ones on the Tree view yet18:28
* scrottie nods18:28
@scrottieshould make Mckenzie do new templates for the edit view.18:28
@preactionwait, you mean right-click on the edit page?18:28
@scrottieright click on the grey Edit icon18:28
@scrottiethat goes eg above chunks of content in a page layout after you turn admin on.18:29
@preactionoh monkey. that's a button now, you'll have to alt-click18:29
@preactioni could certainly change it away from a button into a button-looking link that could then allow right-click "Open In New Tab"18:29
@scrottieI for one would be very glad for that but I don't know where it fits in the grand scheme of things18:30
@preaction6 of one, half-dozen of the other. as long as it looks the same, which shouldn't be difficult to do18:30
@scrottieI can see about doing that too if you're already doing something.18:31
@scrottiewith more than a couple of people, deciding becomes more of a hurdle than doing.18:31
@preactionsure, go ahead18:31
@scrottiew00t.18:31
@preactionthough, you should be able to right-click on the Edit menu option maybe?18:32
@preactionwhich reminds me those need to be ordered somehow. i don't think that order is predictable yet18:32
@scrottieyeah, looks so.18:33
@scrottiere: right click edit in the drop down18:33
@preactionbut still, making the button into a link would make things easier18:33
@scrottieer, no... links to the same url with '#' after it18:34
@scrottiere: the drop down18:34
@preactionweird18:34
@preactionoh, right, onclick handler18:34
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:36
@scrottieonly asking because I'm trying to test my own stuff here, not nagging about undone stuff... but what's the status of the progress bar?  'copy branch' gives me a dialogue box with a stringified hash refence in it.  edit branch on /root/import seems to give a progress bar but it goes too quick for me to accept that it actuallyed copied root/import to the clipboard.18:53
@scrottienot the old progress bar, mind you, but dhtmly one in a small grey rectangle in middle of the screen.18:54
@preactionthere are some bugs in my handling of the fork progresstree18:59
* scrottie nods18:59
@preactionnot sure what the hashref is doing during the copybranch though18:59
@scrottiecool.18:59
@preactionthe Tree view ones work, i think i screwed them up for the normal helpers during that though19:00
@scrottiefwiw, every copy in the tree view copies 0 / 1 in the progress bar.19:04
@preactionyeah, i think i'm using the wrong var for the "total number of things to copy"19:06
@preactionbut right now i'd really like to know how passing userId=3 into a form turns into userId=5 when it's submitted...19:06
@scrottiesounds like a job for tie + Carp::cluck.19:07
@preactionbut it's only when WebGUI::Form::Control gets hold of it... the plack request has the correct data and returns the correct data when asked...19:11
@preactionand that would be because the name is wrong and it's returning the list of params which is then stringified into the number of params, 519:12
@preactionperl -d saves the day again19:12
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui19:21
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]19:23
CIA-70webgui: Doug Bell WebGUI8 * r423e19a / (lib/WebGUI/Form/Guid.pm lib/WebGUI/Form/ReadOnly.pm): remember to pass the definition up the stack... - http://bit.ly/mifuVD19:24
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui19:24
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]19:28
-!- BartJol [~bart@5ED0408C.cm-7-1b.dynamic.ziggo.nl] has joined #webgui19:47
-!- mode/#webgui [+v BartJol] by ChanServ19:47
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui20:02
-!- mducharme-lapto2 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui20:05
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]20:06
elninohi everyone! I'm back!20:07
@scrottiehi elnino!20:07
@scrottieelnino, character encoding interacts badly with field size limits.20:08
elninocharacter encoding?20:08
@scrottieyeah.  mysql likes to store things as utf-8.20:09
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]20:09
@scrottiebut it doesn't compute the actual size of the thing in utf-8, it just goes worse-case and assumes three bytes per character.  I think.20:09
@scrottiecreate your table with charset=ascii.20:09
elninoright. I don't think my question had anythign to do with encoding.. I was just wondering what the limit was for group_concat20:09
elninomy query is performing a query on a table created by webgui - via thingy.20:09
@scrottieah.20:10
@scrottieI was going to say next that I had no idea if I was reading you correctly.20:10
elninooh..20:10
@scrottieor if that's what the problem is.  just *sounded* like something.20:10
elninoI created a thingy, and have got a nifty query going on it. that works.20:10
@scrottieI'm scared.20:11
elninoit outputs a hyperlink20:11
@scrottienooooooooo!!20:11
elninobut now I want to add an "onclick" property to my output20:11
elninoI have to..20:11
elninobut once I added an onclick to it, the output exceeds 400 characters and gets cut off.20:12
elninocreating invalid html20:12
elninoThe other alternative is to use jquery to add the onclick perperty.20:12
elninoreason I'm adding the onclick property is that I'm using google analytics to track the outbound links I'm creating.20:12
@scrottieoh, hmm.  no idea where that limit is.20:12
elninomy.cnf20:12
@scrottiereally?20:12
elninobut I don't have access to plainblacks servers.20:12
elninoaccording to the mysql docs.20:13
@scrottiewhat has a 400 char limit?20:13
elninogroup_concat_max_len20:13
@scrottiedammit.  the more I learn about MySQL, the more I learn that Postgres really has their house in order.20:13
@scrottieseriously.20:13
* scrottie sighs20:13
@scrottieyou probably don't have admin access to the database either.20:14
elninocorrect.20:14
elninoI'm just a customer.20:14
elninoBarjol said that max_allowed_packet is set to 16M20:14
elnino, which also affects the limit.20:14
elninoI really don't know what I'm talking about either. =( All I know ismy output is getting cut off. and it's produced by a group_concat statement. 20:15
elninoand using the default sql report template, it's still being cut off, so it isn't my custom report template20:17
@scrottielooks like they raised it in newer MySQLs.20:17
@scrottie1024.20:18
elninodefault is supposed to be 1024 - I would THINK that is long enough for me to output 400 character.s.. right??20:18
-!- mducharme-lapto2 [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]20:18
@scrottieugh.  well, ...20:18
@scrottieMySQL sucks.20:18
elninoI think we established that. =) lol I don't know any better db. so I have no opinion.20:19
elninobut if you go changing it on me, I'm not going to be happy. 20:19
elninolol20:19
@scrottieyeah.  that's the rub.20:20
@scrottiewe're entrenched.20:20
elninoso tell me what you know.. is 1024 enough for me?20:20
@scrottieshow global variables where Variable_name = 'group_concat_max_len' -- this would let you confirm the setting20:20
elninoI can't do a show command. I would of if I could of.20:20
@scrottiecan you open / have you opened a support ticket for this?20:20
elninonope.20:20
elninoI thought it was an easy answer.20:20
elnino=)20:21
@scrottiecouldn't a SQLReport do a show command?20:21
elninonope. not last time I looked.20:21
@scrottiebut that's mostly just a diversion.20:21
@scrottiehuh.  I've never tried.20:21
elninoactually know. the webgui db conection setup area doesn't allow me to add that provision.20:21
@scrottieI know painfully little about PlainBlack's hosting but hopefully someone can tweak that, at least experimentally.  and they should be able to do it without restarting mysql.20:22
elninos/know/no20:22
elninooh, and yes, I *Can* open a ticket. I thought you asked if I *did*20:23
@scrottiethe way I phrased that, I was kinda asking two questions at the same time ;)20:23
* elnino will do that now.20:24
+perlDreameryou may have to make "show" an allowed keyword in the DatabaseLink that the SQL Report uses20:24
elninoI can't seem to be able to dothat.. am I missing somethign?20:25
elninoI'm using the webgui's database link.20:25
elninoit's a "thingy"20:25
elninoshould I recreate a new webgui db link?20:25
elninowhat would the parambeters be?20:25
+perlDreamerlet's try this on a demo site...20:26
+perlDreamerhm, that's correct20:27
elninothe dblink? or package up my thingy?20:27
+perlDreamerthe dblink20:27
+perlDreamerif you have a hosting type question about the db, it would be best to ask on the support board20:27
+perlDreamerall PB's hosting is based off the WRE, so everything would be handled the same way20:27
+perlDreamerI checked on 1 hosting server, and it's 102420:29
+perlDreamerif every UTF-8 character was 3 bytes, then 400 wouldn't be enough20:30
elninoso this is where I stumped scrottie. Is 1024, enough for me to output 402 characters?20:30
elninoyou're fast...20:30
+perlDreamerI've been doing this for a while :)20:30
elninoi'm glad i'm not crazy.20:30
+perlDreamerI've known you for a while, and haven't known you to be crazy either20:30
elninois there a psecific board I go to request this to be increased? or do I go a different route and play with jquery to accomplish  the same thing?20:31
elninothank you... lol20:31
+perlDreamerwhat's the specific problem?20:31
elninoI've got an impressive sql statemtn for a thingy I wrote, and i'm exceeding the concat_group limit. =)20:32
+perlDreamerpreaction, if you'd consider my latest Thingy ticket about packaging with and without table data, I'd love an opinion20:32
@preactionit was packaged without table data because there was the other import/export method20:32
+perlDreamerah, good point!20:33
@preactionin theory you could tie the two together, that might be nice20:33
@preactionthe future plan is to make packages more editable, so putting a csv blob in there might be good20:33
+perlDreamerelnino, what's the SQL statement?20:33
elninoI'll put it on pastebin....20:33
+perlDreamerpreaction, so for now, this isn't a bug20:33
@preactionit would be a feature if you want to do it20:34
+perlDreamerit'd be nice to have an option to do it, or not, based on the usage case20:34
+perlDreamerbut we can get the data, and that's what matters for now20:34
elninohttp://pastebin.com/zGi5tQS220:35
+perlDreamerhuh20:36
+perlDreamerif you had 10 rows with a 40 character entry, that'd be 40020:37
+perlDreamerah, hang on20:38
+perlDreamerit's group_concating the created URL's20:38
+perlDreamerthose are big20:38
+perlDreamerI'm guessing something on the order of 150 characters per entry20:39
elninoyep.20:39
elninoin those hrefs, you see an "a" that is where a file path is supposed to tbe20:39
elninos/tbe/be20:39
elninoI shorted it to "a" to see if it was a limit I was reaching.20:40
elninoso I would say that each hyper link could be ...20:40
elninoI figured 25020:40
+perlDreameryeah, it's too big for more than 1 or 2 links20:41
elninowell, and the group concat is currently creating 1 or two links. but if more sound file formats come out, we'll be looking at 3 or 4 links.20:41
elninoso.20:42
+perlDreamerhere are some options20:42
+perlDreameruse JS to post-process the SQL Report output20:42
elninoI can use jquery to create the onclick for now, but if more file formats come out, i'll be hitting the limit again.20:42
+perlDreamerhow about using the Thingy AJAX interfaces to do this?  Would that work?20:42
elninoMy brain doesn't compute AJAX. It was hard enought o use yahoo api to make this a cool sortable table.  =)20:43
+perlDreamerit may not be as hard as you think20:44
+perlDreamereach cell has a custom formatter20:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]20:44
+perlDreamerand you can probably make asyncRequests to lookup information for each cell20:44
+perlDreamerit would be slow though20:44
elninowait....l. my children are having a break down.. Can I come back in an hour or two?20:45
+perlDreamersure :)20:45
elninosorry. thanks!20:46
elninooh.. and jsut so you can see, this is what it's producing: http://www.standfirm.us/download/alphabetical20:50
elninothat's before I'm adding the onclick for google analytics - at which I'm hitting the limit.20:52
-!- mducharme-laptop [~MDucharme@206.188.121.35] has joined #webgui20:53
+perlDreamerelnino, I don't see any clipping going on, which row are you having problems with?20:56
+perlDreamerI mean, you can save a little bit by taking out the "constant" strings like "with voice" and putting them into the template20:57
elninothis is where it works.. I have an open version tag, where I'm adding the onclick property which is maxing the limit and clipping the output.20:57
+perlDreamerin fact...20:57
+perlDreamerah, I see20:57
+perlDreamerwhich templating system are you using?20:58
elninothe default.20:58
+perlDreamerif you switched to Template::Toolkit20:58
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:58
-!- mode/#webgui [+o bopbop] by ChanServ20:58
+perlDreameryou could probably just output the unique bits as a delimited string20:58
+perlDreamerthen use TT to split it and generate the links20:59
+perlDreamerthat gets  you out of the group_concat limit by only returning the "important" bits20:59
+perlDreamerand putting the formatting logic into a template, where it really works well20:59
+perlDreamerit would mean learning TT though20:59
+perlDreamerbut there are good resources for that20:59
+perlDreamerand TT should be part of a standard hosting package20:59
+perlDreamerpreaction, my TT pain is up to about 4 days per week21:01
@preactionyay?21:01
+perlDreamerperhaps, but when I get to 5 I'm going to start planning a 7.x transition to TT to be discussed21:02
+perlDreamerbecause it just sucks the hoops that people have to jump through21:02
elninowell.21:04
+perlDreamerelnino, here's a link to split in TT: http://template-toolkit.org/docs/manual/VMethods.html#method_split21:04
elninothe "with voice" and the "live" was something he threw at me at the last minute. I have another version tag tha tI'm trying to put those in separate columns. so that part wil go away.21:05
elninos/part/issue21:05
elninoI see though the value of using TT21:06
elninofot the other stuff.21:06
elninoI went down the group concat road because I origianlly wanted to do a sql query with sub querys that followed the one to many relationship stucture I have going.I don't know if you vaguely remember that conversation.21:08
+perlDreamerI do21:08
elninoas a hosting customer, do I have the optoin to use TT?21:09
+perlDreamerI believe so, however it's my turn to tend to kids21:13
+perlDreamerI'll get you an answer in about 30 minutes or so21:13
elnino=)21:16
elninoI looked. I don't currently have the option.21:24
+perlDreamerwhere is this site hosted?21:31
elninowith you.21:34
elninowell, at plainblack. 21:34
+perlDreamer:)21:34
+perlDreamerdoes it have more than domain name attached to it?21:34
elninoyes. I have about 4/5 aliases21:35
elninopilgrimsongs.us is the "real" one21:35
+perlDreamerit's enabled now21:38
elninothx! - Ill go that route...21:39
@scrottie1.5 gigs of RAM to show the error page?  sure!21:45
+perlDreamerthat's some stack trace21:50
@scrottieData::Dumper of all of the lexicals for each frame plus all of the arguments for each frame21:51
@scrottie30 odd frames deep21:51
@scrottiewith big fat objects21:51
* scrottie vomits code all over the repo21:58
+perlDreamerwell, it doesn't help that session is a huge nasty recursive object either21:58
CIA-70webgui: Scott Walters WebGUI8 * r742db18 / (lib/WebGUI.pm lib/WebGUI/Middleware/Session.pm): don't force an extra layer of streaming as doing so bypasses plack middlewares. - http://bit.ly/johZZC21:58
CIA-70webgui: Scott Walters WebGUI8 * ra97c1c9 / lib/WebGUI/Middleware/StackTrace.pm : 21:59
CIA-70webgui: middleware based on Plack::Middleware::StackTrace that also dumps all of the assets in a YUI tree view21:59
CIA-70webgui: because that seemed like a good idea at the time. - http://bit.ly/mwosqo21:59
CIA-70webgui: Scott Walters WebGUI8 * r81b69f8 / share/upgrades/7.10.4-8.0.0/documentation_free-documentation.wgpkg : API doc Wiki page moved from http://www.webgui.org/community-wiki/api to http://www.webgui.org/wiki/api - http://bit.ly/iTEhms21:59
CIA-70webgui: Scott Walters WebGUI8 * r617ca06 / (lib/WebGUI/Middleware/StackTrace.pm sbin/testEnvironment.pl): 21:59
CIA-70webgui: Tweak which stack frames WebGUI::Middleware::StackTrace skips for HTML and text21:59
CIA-70webgui: output; add the modules it uses to testEnvironment.pl; comment out the dumping21:59
CIA-70webgui: of the asset tree for now; silence a warning in testEnvironment.pl by tweaking21:59
CIA-70webgui: module test/load order - http://bit.ly/mphzb921:59
CIA-70webgui: Scott Walters WebGUI8 * r59a22f4 / (lib/WebGUI/Middleware/StackTrace.pm share/site.psgi): 21:59
CIA-70webgui: set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was21:59
@scrottieI should have cherry-pick -n'd some of those commits and rolled them up together.  sorry.  I keep thinking I'm about to wash my hands of it, testing it a bit more, and then fussing with it again.21:59
CIA-70webgui: making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the21:59
CIA-70webgui: error page up.21:59
CIA-70webgui: keep the HTML of the original page and tack it on to the end of the stack trace.21:59
CIA-70webgui: add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace,21:59
CIA-70webgui: but leave a comment for the other one in case people prefer it. - http://bit.ly/lKFgaY21:59
CIA-70webgui: Scott Walters WebGUI8 * r2f45f30 / lib/WebGUI/Middleware/StackTrace.pm : Doc improvements - http://bit.ly/l0iQrU22:08
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:19
+perlDreamertime to go running22:31
CIA-70webgui: Scott Walters WebGUI8 * r8485707 / t/PSGI/StackTrace.t : Basic tests for WebGUI::Middleware::StackTrace - http://bit.ly/mc31sx22:58
-!- sbaur [~Adium@130.157.145.37] has joined #webgui23:33
@preactionshortcut needs to get rid of all functionality that is not shortcutting an asset...23:40
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 252 seconds]23:47
@preactionhuh. how did some of these tests work at all...23:51
CIA-70webgui: Doug Bell WebGUI8 * r475a885 / (lib/WebGUI/Asset/Shortcut.pm t/Asset/Shortcut/forms.t): shortcut now takes ?visitor=1 to edit visitor prefs from dashboard - http://bit.ly/jaL8ff23:53
CIA-70webgui: Doug Bell WebGUI8 * ref2727f / (2 files in 2 dirs): update usedBy when redeeming subscription code - http://bit.ly/lrzJEn23:53
CIA-70webgui: Doug Bell WebGUI8 * re34d1ad / t/Asset/Snippet.t : shortcut no longer overrides getToolbar, so stop testing it - http://bit.ly/mtbL4r23:55
CIA-70webgui: Doug Bell WebGUI8 * r6ae2862 / t/Asset/Wobject/EventManagementSystem.t : all template vars have "controls" now - http://bit.ly/lAOz8523:56
CIA-70webgui: Doug Bell WebGUI8 * r65f3f35 / t/Asset/Wobject/GalleryAlbum/view.t : class is now className when doing www_add - http://bit.ly/mi9BdG23:57
+BartJolwhoa, wg8 is booming23:59
--- Day changed Fri May 06 2011
@preactionwe're very close to an alpha00:00
@preactioni'm right now making all our tests pass00:00
@preactionthen i'll probably test the upgrade against a local copy of pb.com and wg.org and if that works, mark an alpha00:01
@preactionwhile i then go and fix helpdesk and automat for 8 so pb.com and wg.org can be actually upgraded00:01
+perlDreamerand KarmaGifter, and the Karma payment plugin00:02
+perlDreamerand whatever raft of other custom software's running on that box00:02
@preactionright00:02
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:13
-!- BartJol [~bart@5ED0408C.cm-7-1b.dynamic.ziggo.nl] has left #webgui []01:42
@scrottieperl -e '*d = *a;  print $d[0];'01:43
@scrottie"String evals will no longer fail after 2 billion scopes have been compiled"01:51
@preactionwho's a jigga what?01:56
@preactioni suppose for long long long long running processes01:57
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]02:03
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:32
-!- mducharme-laptop [~MDucharme@206.188.121.35] has quit [Read error: Connection reset by peer]02:38
CIA-70webgui: Doug Bell WebGUI8 * ra476f09 / t/Asset/Wobject/Shelf.t : Shelf no longer has importProducts or exportProducts, they're AssetHelpers - http://bit.ly/k0pGwx02:52
CIA-70webgui: Doug Bell WebGUI8 * r140b5a5 / (2 files in 2 dirs): move Shelf tests into AssetHelper tests (and fix the thing) - http://bit.ly/mKjffD02:52
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:14
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui03:16
@scrottieDateTime doesn't list its deps very well... needs Class::ISA and List::MoreUtils and...03:18
@scrottieDBD::mysql doesn't build cleanly on 5.14.0-rc203:19
@scrottieImageMagick is apparently just on crack03:21
@scrottieI say we replace it with NetPBM.03:22
@scrottiehrm, making an Image::Magick-work-a-like API based on NetPBM would be fun, if I were targetting an incomplete solution03:26
CIA-70webgui: Doug Bell WebGUI8 * r18dd9a4 / (2 files in 2 dirs): move export product tests and fix the export product helper - http://bit.ly/mlzp8803:28
CIA-70webgui: Doug Bell WebGUI8 * rd7339c9 / t/Asset/Wobject/StoryArchive.t : class is now className in www_add - http://bit.ly/mliJlI03:30
CIA-70webgui: Doug Bell WebGUI8 * r36923dc / t/Asset/Wobject/WikiMaster/search.t : class is now className in www_add - http://bit.ly/lUKlqg03:30
CIA-70webgui: Doug Bell WebGUI8 * r61eff5b / t/Asset/dispatch.t : the default URL is /, not the empty string - http://bit.ly/kLPqHt03:37
CIA-70webgui: Doug Bell WebGUI8 * rbf75ed1 / t/Content/SiteIndex.t : we now cache the requested URL inside the session, fix it for tests - http://bit.ly/jrvNRT03:37
CIA-70webgui: Doug Bell WebGUI8 * rf33f4db / t/Macro/AdminText.t : admin mode is always on for admins - http://bit.ly/m6eQyT03:37
@preaction6 failing test scripts left!03:41
@scrottie#   Failed test 'use Crypt::SSLeay;'03:43
CIA-70webgui: Doug Bell WebGUI8 * r2e720d6 / (lib/WebGUI/Shop/PayDriver/Ogone.pm t/Shop/PayDriver/Ogone.t): getEditForm returns FormBuilder and csrfToken should be added by www_edit - http://bit.ly/lgot5I03:44
CIA-70webgui: Doug Bell WebGUI8 * r0693e33 / t/Shop/ShipDriver/FlatRate.t : getEditForm is a FormBuilder and doesnt include csrfToken (added by www_edit) - http://bit.ly/k2yNQg03:46
@preactionOne of these pictures was rotated 90 degrees and then back again by Imagemagick. guess which one?03:52
@preactionhttp://dl.dropbox.com/u/226725/Screen%20shot%202011-05-05%20at%207.51.31%20PM.png03:52
CIA-70webgui: Doug Bell WebGUI8 * r6b0cd93 / (t/Storage.t t/Storage/Image.t): i'm not testing that imagemagick does it correctly... - http://bit.ly/mbhUQI04:02
elninoHELLO!  THANK YOU  for http://www.webgui.org/wgtv/template-toolkit-introduction and http://www.webgui.org/ht_to_tt!!!04:11
@preactionthank bopbop and frodwith respectively04:11
elninothank you thank you! 04:12
@preactionscrottie: except for the POD test, all the tests should be fixed now, but you might want to make a run and check anyway. my test set is limited to "doug's laptop running OS X 10.6 in some strange unreleased WRE version"04:15
@scrottiecool.  yeah, I'll do before and after the Plack "fix".  thank you.04:19
@scrottiePOE::API::Peek falls apart under 5.14.04:20
@scrottiethough I think the tests that I would cause to fail don't exist and need to be written.04:36
@scrottieI don't see Class::InsideOut used anywhere but it's still in testEnvironment.pl.  kill?04:38
@preactionplease04:38
@preactionand take great joy in it04:38
* scrottie nods04:39
@scrottieI wish I knew how much time I had to spend on this.  I could plan my time better if I weren't going hour by hour.04:39
CIA-70webgui: Scott Walters WebGUI8 * r13a2c35 / lib/WebGUI/Middleware/StackTrace.pm : 04:43
CIA-70webgui: Get rid of the cargo culted code about sending a text reply if the browser didn't specify04:43
CIA-70webgui: that it understands HTML. This interacts badly with Plack::Test and doesn't have much of04:43
CIA-70webgui: a point in real life anyway, and I accidentally sent the test up that dends on this being04:43
CIA-70webgui: gone without sending this too. Argh. If I could send up a coherent commit just once... - http://bit.ly/kOGLgJ04:43
CIA-70webgui: Scott Walters WebGUI8 * ra4744e9 / sbin/testEnvironment.pl : Doug and Colin did the work of removing all use of Class::InsideOut so now we can celebrate. - http://bit.ly/jMGU9b04:44
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]04:48
* scrottie &04:50
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-195-111.dynamic.mtsallstream.net] has joined #webgui06:03
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]06:22
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]07:01
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui07:08
elninohi. in the template world, is session.var.adminOn a hash array reference?07:09
@preactionno, it's just a boolean07:10
elninoso.. I was all excited about http://www.webgui.org/ht_to_tt, but it didn't seem to work. 07:10
elninoit converted session.var.adminOn into session_var_adminOn - would that be correct?07:11
elninoI'm trying to debug the resulting tt and just want to make sure I'm reading this correclty.07:11
@preactionyes, TT requires that any var with . becomes _07:11
@preactionbecause . is reserved by TT's use07:12
@preactionso if it says it has a . in the help, it should be a _ instead07:12
elninothe converter also converted     <tmpl_loop debug_loop> to07:13
elninoFOREACH item IN debug_loop; FOREACH [item]07:13
elninowould that be a correct conversion?07:13
elninoI would think it would simply be:07:14
elninoFOREACH debug_loop07:14
@preactionno, it's FOREACH item IN debug_loop07:15
@preactionthen inside the loop, you refer to item07:15
elninonot occording to http://www.webgui.org/wgtv/template-toolkit-introduction presentation.... Oh I'm so confused.07:16
@preactionhttp://template-toolkit.org/docs/manual/Syntax.html <- the definitive source07:16
@preactionalso, http://template-toolkit.org/docs/manual/Directives.html07:17
@preactionspecifically http://template-toolkit.org/docs/manual/Directives.html#section_FOREACH07:17
elninoyes, that's where I started to ask here. Cause they didn't agree.  =)07:17
@preactionthey're both correct, but the one the converter did is better07:17
elninowhat it converted didn't work, and i made sure I changd the "template type" too07:18
elninoeven my controls don't show up for the report.07:19
elnino[% IF session_var_adminOn %]07:19
elnino    <p>[% controls %]</p>07:19
elnino[% END %]07:19
elninooh.  I guess they do. something else is preventing them from displaying.07:20
elninoI guess I'll go and include each line back in at a time.07:20
elninoThanks!07:20
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 264 seconds]07:44
elninoAH HA!07:56
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui07:56
elninodid that show up?07:56
elninodarn.07:57
elninothere is a 07:57
elninoslash  *<![CDATA[*  slash07:57
elninoshowing up in my html code.. that shouldn't be there. 07:57
elninoI'm thinking I need a filter of some sort.. the CDATA thing is breaking the javascript I'm trying to output.07:58
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 246 seconds]08:00
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-195-111.dynamic.mtsallstream.net] has quit [Quit: Leaving.]08:01
@preaction/*<![CDATA[*/ you mean?08:16
elninoyes. It appears and I don't know how to get rid o fit.08:16
@preactionas long as it has a matching /*]]>*/ at the end and you're using an XHTML doctype, it shouldn't matter08:16
elninooh but i todes, it's surrounding my javascript and rendering it to nothing. That's why I couldn't see anything. it's the only difference I see between the TT and HT08:17
elninos/i todes/it does08:17
elninoOt08:18
elninoopps08:18
elninoit does have that  slash*]] stuff at the end...08:18
elninoI'll do a pastebin.08:18
elninohttp://pastebin.com/fPEGygPj - I stripped out a lot of the javascript08:21
@preactionwhat is the error you're getting?08:22
@preactionand pastebin the entire thing08:22
@preactionthe template preferably08:22
elninohttp://pastebin.com/6ucEhhac - here is the template as produced by the converter on webgui.org - works perfect! except for the CDATA stuff.08:24
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui08:24
@preactionthere is no cdata stuff in there. did you turn on the compressed or minified template?08:25
elninocompressed08:25
@preactionthat is probably what's doing it then08:25
elninoright. the cdata is appearing in the output.08:25
elninooh. let me try that then.08:25
elninoOK.. so I turned "packed" off and the CDATA disappeared. but report is still not displaying. grr. back to drawing board again.08:27
@preactionthe cdata block is not incorrect, it is the correct way to escape non-XML inside of XML08:28
@preactionotherwise the <a href> and everything needs to be &lt;a href&gt; to be valid XML08:28
elninoI think I found it... my attempt at debugging.08:28
elninodarn.  08:30
elninodidn't work.08:30
elninothis is the output http://pastebin.com/4dgy0X3H08:35
elninoI'm missing commas.. let me fix that...08:36
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui08:38
-!- mode/#webgui [+o pbcj] by ChanServ08:38
@preactionyou've got some barewords in there08:41
@preactionjavascript: pageTracker._trackPageview(/mp3/voice/a); <- /mp3/voice/a needs quotes08:41
@preactionalso, onclick doesn't need javascript:08:42
@preactionalso it's all lowercase08:42
@preaction(onclick)08:42
elninook I change that too. I copied from google  =)08:42
elninoit was the comma.  not sure why [% UNLESS loop.last %],[% END %] doesn't work. 08:47
elninothat's what the converter gave me.08:47
elninoI'll fix the pagetracker now.08:47
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []08:57
-!- andyiomoon [~andyiomoo@vpn246-12.cc.swin.edu.au] has joined #webgui09:19
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:21
-!- andyiomoon [~andyiomoo@vpn246-12.cc.swin.edu.au] has quit [Ping timeout: 240 seconds]09:23
elninothanks preaction I'm going to sleep now. The whole pagetracker thing I'm changing my mind on - instead I'll will be using jquery because of group_concat limit issues.09:26
elninogood night!09:26
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]09:29
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]09:58
-!- preaction_ [~preaction@li79-149.members.linode.com] has joined #webgui10:00
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:08
-!- mode/#webgui [+v BartJol] by ChanServ10:08
-!- cromartie-x182 [~cromartie@24.229.243.68.res-cmts.sm.ptd.net] has joined #webgui10:42
-!- cromartie-x182 [~cromartie@24.229.243.68.res-cmts.sm.ptd.net] has left #webgui []10:42
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 246 seconds]13:04
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui13:49
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui15:47
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:41
-!- mode/#webgui [+o bopbop] by ChanServ16:41
SDuensinFrIdAy!16:51
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:02
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:30
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:56
-!- mode/#webgui [+v perlDreamer] by ChanServ17:56
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:57
-!- mode/#webgui [+o pbcj] by ChanServ17:57
@pbcjmornin'17:59
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:03
sbaurhappy friday!18:06
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:08
-!- mode/#webgui [+o preaction_] by ChanServ18:33
-!- preaction_ is now known as preaction18:47
CIA-70webgui: Doug Bell WebGUI8 * r5cefff9 / t/Workflow/Activity/RemoveOldCarts.t : make RemoveOldCarts test more robust - http://bit.ly/jOUMJD21:20
+perlDreamerpreaction: need a backport to 7.x?21:21
@preactionmaybe?21:21
@preactionit could probably use it, that test fails when run in conjunction with any other shop test that fails to clean up every cart21:22
+perlDreamerlike, in parallel?21:25
+perlDreamerevery test should clean up carts21:25
+perlDreameranyway21:25
+perlDreamerif it doesn't then I can give you a boot21:25
+perlDreamersince I likely wrote all those tests21:25
+perlDreamerand I should know better21:26
@preactionsure they should, but other tests shouldn't care what carts are there before it21:27
+perlDreamerpreaction, I have to run, but I got to thinking about 7.10 and a feature freeze22:24
+perlDreamerwhen should we freeze?22:24
@preactioni was thinking when 8 goes beta22:25
@preactionwell, after 8 goes beta we'll announce it22:25
+perlDreamerso, give a few weeks for the stragglers, then lock it down?22:25
@preactionmore like give 8 beta a few weeks to calm down then lock 7.1022:26
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:27
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 240 seconds]23:06
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]23:40
--- Day changed Sat May 07 2011
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui00:01
+perlDreamerbah00:24
+perlDreamer8 will wow the world00:24
@preaction"wow, i can't believe they released it in this state"00:25
-!- preaction [~preaction@li79-149.members.linode.com] has left #webgui ["Leaving"]00:25
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui00:25
-!- mode/#webgui [+o preaction] by ChanServ00:25
CIA-70webgui: Colin Kuskie master * r3e161b3 / (2 files in 2 dirs): Fix a typo in the new Map template help variables. Fixes bug #12121 - http://bit.ly/lORzAb00:40
+perlDreamernow, come on preaction00:42
+perlDreameryou and I have clearly defined roles00:42
+perlDreameryou get to be the young, dynamic architecture wizard00:43
CIA-70webgui: Colin Kuskie webgui-7.9 * r2a7f859 / (2 files in 2 dirs): Fix a typo in the new Map template help variables. Fixes bug #12121 - http://bit.ly/lJhulz00:43
+perlDreamerand I am the old, crotchety, cynical, skeptical maintenance engineer00:43
@preactioni object to three of those words :p00:43
+perlDreamerif you start being cynical, I'll have to be young or dynamic00:43
+perlDreamerand that won't be pretty00:43
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui01:03
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]01:03
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]01:06
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]01:15
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:31
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:35
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:10
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:31
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:57
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:00
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]07:40
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui08:44
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui17:58
-!- docster_ [~docster@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui18:15
docster_Hello friends. I am trying to upgrade from 7.9.23-stable to 7.9.27-stable but it runs instantly and returns:   Setting site upgrade completed...OK   NO UPGRADES NECESSARY    Then when I check the Stats it is still  7.9.2318:20
docster_I started this upgrade because AFTER upgrading to 7.9.23 we started getting this error in the log file: .WikiMasterKeywords' doesn't exist     I was hoping 7.9.27 would fix that. 18:24
docster_WikiMasterKeywords table still does not exist in my database after multiple upgrades. Does anyone know where I can get the schema for it?18:35
docster_I found the create table schema for WikiMasterKeywords in the docs/create.sql file for anyone else that runs into this.  There seems to be a bug when upgrading from 7.8.14-stable to 7.9.23-stable where this table is not created.  I know there was a bug posted and closed as "unreproducible"  on this but it also just happened to me on 10 of our sites.  So somehow, someway, in some version, the WikiMasterKeywords table is not be19:02
docster_created.   Anyway, we are fine now.  ;o)19:02
-!- docster_ [~docster@10.187-available-ethint-fratm-cc.sccoast.net] has left #webgui []19:03
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui20:34
elninoopenid scares the bejeebies out of me. Can anyone convince me why it shouldn't?20:36
elninoand does facebook use openid? they aren't listed o openid's website. I know I know, this isn't webgui related, but I trust you guys and you're all smarter than me.. =)20:41
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds]21:21
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui21:36
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds]22:44
--- Day changed Sun May 08 2011
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]01:22
-!- arcanez [arcanez@warpedreality.org] has joined #webgui03:23
arcanezseen rizen03:23
arcanezperlbot: bad bot03:23
perlbotarcanez: No factoid found. Did you mean one of these: [bethbot]  03:23
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]06:09
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui08:03
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui08:06
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 264 seconds]08:08
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui08:09
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui08:09
-!- lem_ is now known as Guest269508:10
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]08:10
-!- Guest2695 [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]08:10
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui09:20
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]09:37
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]09:42
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui12:32
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]12:33
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:02
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]23:14
--- Day changed Mon May 09 2011
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:45
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:15
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui08:45
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving]10:03
-!- Haarg [~haarg@haarg.org] has joined #webgui10:04
-!- Haarg [~haarg@haarg.org] has quit [Excess Flood]10:04
-!- Haarg [~haarg@haarg.org] has joined #webgui10:05
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:31
-!- mode/#webgui [+v BartJol] by ChanServ10:31
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui12:20
-!- carogray [~Caroline@174-146-225-64.pools.spcsdns.net] has joined #webgui13:18
-!- carogray [~Caroline@174-146-225-64.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]13:22
-!- carogray [~Caroline@108.96.165.210] has joined #webgui13:28
-!- carogray1 [~Caroline@108.96.165.210] has joined #webgui13:40
-!- carogray [~Caroline@108.96.165.210] has quit [Read error: Connection reset by peer]13:40
-!- carogray1 [~Caroline@108.96.165.210] has quit [Ping timeout: 240 seconds]13:54
-!- carogray [~Caroline@72-61-220-206.pools.spcsdns.net] has joined #webgui13:58
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]14:00
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui14:02
-!- mode/#webgui [+o khenn] by ChanServ14:02
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]14:13
-!- carogray [~Caroline@72-61-220-206.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:35
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]14:52
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:21
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:30
-!- mode/#webgui [+o bopbop] by ChanServ16:30
SDuensinGreetings.16:57
arcanezwhere is that rizen fellow16:59
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 258 seconds]17:03
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has joined #webgui17:04
-!- mode/#webgui [+o khenn] by ChanServ17:04
+BartJolarcanez: he doen't hang out here too much lately17:35
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:37
arcanezthat doesn't sound like much fun :(17:46
+BartJolnope17:48
arcanezdoes he irc _at all_?17:48
+BartJolnow and then17:48
+BartJolI also have the problem of 7 hours time difference with him17:48
+BartJolso it might also be that that is part of the problem17:49
arcanez.nl?17:49
+BartJolyes17:49
arcanezgreat as everyone says?17:49
+BartJoloff course17:49
@preactionhe doesn't do much webgui work these days17:51
arcanezall lacuna? :)17:51
@preactionthat and www.thegamecrafter.com 2.017:51
@preactionfortunately he left a capable lieutenant in charge of the webgui17:52
arcanezI just wanted to talk to him about Facebook::Graph :)17:52
@preactionhe might be in #lacuna-expanse17:53
@preactionnm, e-mail perhaps?17:53
arcanezis he responsive on that?17:54
@preactionas far as i know yes, but i've got an in17:56
@preactionotherwise if there's a github repo, he'll probably respond to tickets17:57
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:59
-!- mode/#webgui [+v perlDreamer] by ChanServ17:59
+perlDreamermorning, folks17:59
+perlDreamerBartJol, you can give Rory a big high-five for posting that reCaptcha bug18:00
arcanezk18:03
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:03
CIA-70webgui: Paul Driver master * rf153882 / (3 files in 3 dirs): rfe #12123: Layouts related for export purposes - http://bit.ly/jctU3g18:04
+perlDreamerfrodwith, pretty soon WebGUI will just export the whole thing :)18:05
@frodwith:(18:05
+perlDreamerwell, you already get related layouts18:06
+perlDreamerand if the layouts export all their children...18:06
@frodwiththey don't, actually18:06
+perlDreamermaybe I should read your code intead of making dumb comments based on the commit messages18:06
@frodwithit's not a dumb comment18:07
arcanezwebgui runs on mod_perl?18:07
@frodwithI had/have the same concern18:07
@frodwithyeah arcanez, although webgui 8 is a psgi app18:07
+BartJolperlDreamer: he just left the building18:07
@frodwithperlDreamer: having slept on it some, I think exporting the container (without exporting the siblings) makes a lot of sense. The idea is, exporting this may invalidate these other assets, so export them as well.  You're not going to invalidate siblings (usually) but you will invalidate parents.18:10
@frodwithSo it's not the whole tree, it's just me, some other guys, and some number of my direct ancestors. Which isn't so bad.18:11
+perlDreamerI don't get the "exporting this may invalidate these other assets" part.18:11
@frodwithlet's say you've got an article on a layout18:12
+perlDreamerk18:12
@frodwithand you've exported your whole site at some point18:12
@frodwithso you've got a static version of your site sitting around18:12
@frodwithand you go and edit the article18:12
+perlDreamerah, okay18:12
@frodwithnow, you don't want to export your whole site again, cause it took an hour18:12
@frodwithyeah, you've got it18:12
@frodwith:)18:12
+perlDreamerand in the odd case I was thinking of18:13
+perlDreamerI want to export a branch of my site18:13
+perlDreamerthis is the first export ever18:13
+perlDreamerthere's a related asset "over there"18:13
+perlDreamerand I not only get it, but it's container as well18:13
@frodwithin that case, I think you wouldn't want to export related assets at all18:14
+perlDreamerprobably18:14
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]18:15
+perlDreamerit would certainly wreak havoc with the funky broken navigation that would be generated on the related asset18:18
@frodwithI think exporting subparts of an asset tree will never work perfectly.  I mean, you have assetproxies, possible links to things you didn't export through navs, asset reports, who the heck knows what else18:19
@frodwithI mean, I suppose you could monkeypatch Asset::New and see what all gets loaded when you export the page18:20
+perlDreameryeah, like the UserList asset, which can give you links to user profiles18:20
+perlDreamerany other kind of account link18:20
@frodwithyeah18:20
+perlDreameractually, anything that isn't an asset won't export well18:20
+perlDreamerFilePump content18:21
@frodwithi think static stuff generally avoids talking about users at all though18:21
@frodwithWe should start making cpalamara hang out in here or something. They're the only folks I know who make heavy use of static exporting, but they use it a TON.18:23
CIA-70webgui: Colin Kuskie master * r34eda69 / (docs/changelog/7.x.x.txt lib/WebGUI/Form/Captcha.pm): Update the recaptcha api URLs. Fixes bug #12125 - http://bit.ly/khiHcW18:25
CIA-70webgui: Colin Kuskie webgui-7.9 * r68aa549 / (docs/changelog/7.x.x.txt lib/WebGUI/Form/Captcha.pm): Update the recaptcha api URLs. Fixes bug #12125 - http://bit.ly/kxBjME18:25
-!- arcanez [arcanez@warpedreality.org] has left #webgui []18:29
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:44
-!- mode/#webgui [+o bopbop] by ChanServ18:44
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui18:52
-!- mode/#webgui [+o pbcj] by ChanServ18:53
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:53
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has quit [Ping timeout: 252 seconds]19:17
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has joined #webgui20:17
-!- mode/#webgui [+o khenn] by ChanServ20:17
+perlDreamerpreaction: so the folks at Google have bought Recaptcha20:49
+perlDreamerand this month they've decided to stop using the old recaptcha URLs20:49
SDuensinOh fun.20:50
+perlDreamerand use bright shiny new google URLs for doing recatpcha fetches and verifies20:50
+perlDreamerI have fixed that bug for 7.9 and 7.1020:50
+perlDreamerbut there are folks out there with earlier versions20:50
+perlDreamerdo we release an advisory with patches, or just notify them so they can upgrade?20:50
@preactionperlDreamer: i'd say notify them so they can upgraydd20:59
+perlDreamerhm either you need coffee, of you're secretly saying that upgrading is a gray issue20:59
+perlDreamerbut I'll do that20:59
@preactionit's not tat big of a deal20:59
sbaurum, I'd say upgrading is a huge deal for some of us...21:02
SDuensinUpgrading scares me.21:03
+perlDreamersbaur, in the advisory I'll post a link to the bug21:03
+perlDreamerthe bug lists the commit to fix the bug21:04
+perlDreamerso it can be backported by anyone who is stuck due to custom code or lack of resources to do it21:04
+perlDreamerin, fact, if you're curious, it's this one http://bit.ly/khiHcW21:05
sbaurThanks pD. Now I just have to remember which of my servers/sites are using recaptcha...21:06
+perlDreamerare your servers using the same version of WebGUI?21:07
+perlDreamerif so, then just patch 1, then copy Form/Captcha to the rest21:07
sbaurcurrently, they are, but probably not for much longer21:07
sbauryup21:08
sbaurbut it would be good to have a site in mind to test on after the patch is applied :-)21:08
+perlDreamertrue21:08
+perlDreameryou're using WebGUI 7.6?21:09
sbaur7.5.4021:09
+perlDreamerhm, wgd has a "for-each" command21:09
+perlDreamerwhere it will do another command on each site via the config files21:09
* sbaur hasn't played with wgd at all yet21:09
+perlDreamerwgd is a life saver21:10
+perlDreamerfor example, to find the sites using recaptcha21:10
+perlDreamerwgd for-each setting useRecaptcha21:10
+perlDreamerwill help you find that21:10
sbaurnice21:10
+perlDreamerHaarg did lots of work to make sure it would work with earlier versions of WebGUi21:10
+perlDreamerso it might be worth a try21:11
+perlDreamerotherwise, a little script will do the same thing21:11
Haargi still need to fix the documentation in wgd.  it fails to load properly on a number of systems and i can't reproduce it so it's kind of hard to fix.21:13
+perlDreamerdoes wgd work back to 7.5.40 Haarg?21:14
sbaurActually, i think my only recaptcha using site is the one hosted with you on a shared server, so I'm off the hook. I say this because the recaptcha doc I wrote for the wiki, says start with 7.6.11 or higher, and that's my only site that qualifies! Yay, I'm off the hook for an immediate fix :-)21:14
+perlDreameryay!21:14
HaargperlDreamer it should21:14
+perlDreamerGo learn wgd anyway sbaur.  You'll be happy you did :)21:14
sbaurIt's on my list already...21:14
HaargperlDreamer, have you seen any servers where wgd fails to load its documentation?21:17
+perlDreamerno, but I haven't really looked, either21:18
+perlDreamerI'll start keeping my eyes open21:18
+perlDreamerI know that on my Ubuntu box it works fine21:18
+perlDreamerand on every CentOS box I've ever looked at21:18
Haarggenerally the short help work but long help fails21:18
Haargand by generally i mean that's the reports i've gotten.  i can't reproduce it and it doesn't seem due to particular versions of a module.21:19
+perlDreamerwhoa21:19
+perlDreamergot one right now21:19
+perlDreamerwhat would you like to know?21:19
Haarghmm21:19
+perlDreamerthis is a WRE using site 0.9.321:20
+perlDreamerCentOS 5.5 (shouldn't matter that much)21:20
Haargcan you try running from wgd source instead of the single file?21:20
Haarggive me a minute and i can get you a tarball so you don't have to build it21:20
+perlDreamerthanks :)21:20
+perlDreamerperl 5.10.021:21
Haargrecent version of dzil actually did add a thing to help me fix it so it's easy to get all the build prereqs21:22
Haarghttp://haarg.org/temp/WGDev-0.1105090.tar.gz21:22
+perlDreamerthis is odd21:23
+perlDreamerI ran perl Makefile.PL21:24
+perlDreamerand it build a makefile21:24
+perlDreamerran make21:24
+perlDreamerthen when I ran make test it complains about Try::Tiny missing21:24
+perlDreamermaybe a missing dependency?21:24
Haargpossibly21:24
+perlDreamerlet me install that, then run make test again21:24
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]21:25
+perlDreamernope21:26
Haarg?21:26
+perlDreamerlong help still not working21:26
+perlDreamerbut Try::Tiny should still be added21:27
Haargok, that's a start.  so definitely something wrong with the code and not the packaging.21:27
Haargyeah.  it's only a test prereq and the recommended install has been the single script version so tests haven't been a priority.21:27
+perlDreameroh, okay21:27
Haargbut yeah, i'll fix that21:27
+perlDreamerand perl -d didn't like running wgd21:28
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui21:32
-!- mode/#webgui [+o bopbop] by ChanServ21:33
Haargcan you add some debugging to lib/WGDev/Help.pm to see where it has the pod text and where it loses it?21:33
+perlDreameralready there21:33
Haargin the package_pod sub21:33
+perlDreamerit says there's no POD21:36
+perlDreamerversion problems with Pod::Select maybe?21:37
Haargwhere does it say there's no pod?21:37
+perlDreamerI added some code after every ->throw in package_pod21:37
+perlDreamerand all of them printed21:37
+perlDreamerso then I asked it show me the pod that it had found21:37
+perlDreamerand it was empty21:38
Haargwhat about $raw_pod ?21:38
Haargit kind of seems like it's the parse_from_filehandle call that isn't working for some reason.21:39
Haargwhat version of Pod::Select do you have?21:39
Haargi remember checking that before though and the error was happening with the same version i'm using21:40
+perlDreamerraw_pod is okay21:40
+perlDreamerand the POD is okay, too, I forgot to install the code before rerunning 21:40
Haargwhat do you mean by 'the POD' exactly?21:41
+perlDreamerwell, package_pod returns POD that it found in the requested file21:42
+perlDreamerand if there are sections requested, then they get filtered and that's returned instead21:42
+perlDreamerso, at the end I added warn "$pod";21:42
+perlDreamerand I get POD21:42
Haargso is long help still failing?21:42
+perlDreameryes21:42
Haargwhat happens exactly?21:43
Haargalso what do you get from wgd commands ?21:43
+perlDreamerwgd commands: http://gist.github.com/96309521:44
Haargok so that's working.  had a report of that not loading the descriptions.21:44
+perlDreamerbottom part of what comes out when I run my modifed/debugged wgd help ls http://gist.github.com/96310121:45
Haargcan you try running it as not root?21:46
+perlDreamerwhen not root, it works21:47
Haargwell that's a start.21:47
+perlDreamerthe if statement is bein triggered at the bottom of package_perldoc21:48
Haarggive me a minute and i'll have another version for you to test21:48
Haargwhat is your umask?21:49
+perlDreamer002221:50
+perlDreamerfor root21:50
+perlDreamerand for me, 000221:50
+perlDreamerin that if statement, $? is 25621:50
Haargyeah.  it's probably another variant of the problem i worked around before.21:50
Haargperldoc tries to drop privs21:51
Haargso the temp file written out is inaccessible21:51
+perlDreamerbut root usually supersedes permissions21:51
Haargit switches to another user21:52
+perlDreamerah21:52
Haargso that it isn't root anymore21:52
+perlDreamerseems odd that Pod::Perldoc doesn't have any POD21:54
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui21:57
+perlDreamermorning, jimX1121:57
jimX11howdy21:57
Haargi'm fishing through internals right now :/21:57
Haargno worse than i've done before though21:58
+perlDreamerHaarg, I'm thinking about a run22:02
+perlDreamerare you close so that I should wait?22:02
Haargtwo minutes and we'll see22:02
Haargok, it's going to take me a while longer22:04
+perlDreamerI'll go for a run, that'll give you plenty of time22:04
+perlDreamerit was an ugly run, I hope you had better time coding, Haarg22:44
Haarghttp://haarg.org/temp/WGDev-0.1105090.tar.gz updated22:45
+perlDreamerworks well22:46
Haargcool22:46
+perlDreamerI get formatted *roff output as both root and a normal user22:47
Haargthe pod parsing modules are all pretty crufty and terrible to work with22:51
Haargdoes the formatting look correct?  having the package name at the top and being the correct width?22:58
+perlDreamerI'm on a call, I'll check that in a bit22:59
CIA-70wgdev: Graham Knop master * r69ac91e / (lib/WGDev/Command/Base.pm lib/WGDev/Command/Help.pm): allow help errors to propagate - http://bit.ly/jqY0lN23:24
CIA-70wgdev: Graham Knop master * r2cf4c58 / lib/WGDev/Help.pm : 23:24
CIA-70wgdev: drop privileges before writing temp file for perldoc23:24
CIA-70wgdev: This moves the entire process of writing the temp file for perldoc into23:24
CIA-70wgdev: the subprocess. Before creating any directories or files, it drops23:24
CIA-70wgdev: privileges using Pod::Perldoc's drop_privs_maybe method. This should23:24
CIA-70wgdev: guarantee they can be read by perldoc. - http://bit.ly/mGt23w23:24
CIA-70wgdev: Graham Knop master * rdb91021 / (README dist.ini): improve build instructions - http://bit.ly/kW4m7223:24
CIA-70wgdev: Graham Knop master * r88de6e3 / Changes : 23:24
CIA-70wgdev: v0.110509023:24
CIA-70wgdev:  - fix documentation when run as root - http://bit.ly/iTw6Y123:24
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has quit [Ping timeout: 249 seconds]23:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]23:44
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui23:59
SquOnkGreetings.23:59
+perlDreamergreets, SquOnk23:59
SquOnkperlDreamer: How can I get the value of a metadata field inside a template?23:59
--- Day changed Tue May 10 2011
* perlDreamer vaguely remembers that there is a getMetaDataAsTemplateVariables method?00:00
+perlDreamerit may not be implemented in all templates00:00
SquOnk...yeah, I saw that, but couldn't figure out how it works.00:00
* SquOnk is a tad slow today00:00
+perlDreameryeah, I hear ya00:00
SquOnkHaving a new Android phone has to do with that ;-)00:01
+perlDreamerfrom what I'm seeing in processTemplate, they should already be there00:01
+perlDreamerso, if you have metadata enabled on the site00:01
+perlDreamerand an Asset has fields00:01
+perlDreamerthere will be a by-name interface to the metadata values for that field00:01
SquOnkperlDreamer: Do you mean plain <tmpl_var my-metadata-field>?00:01
+perlDreameryup00:02
+perlDreamerany template processed by processTemplate will have that in it00:02
SquOnkWell, it's the *simplest* cleanest solution, now that I think of it.00:02
SquOnkBut as I said before, I'm a tad slow today.00:02
+perlDreamerWebGUI is renowned for it's simple and clean solutions00:02
SquOnkHad to deal with Tomcat7 during the morning, so I might have lost a few thousand neurons.00:02
* perlDreamer is out to pick up kids, back in 2000:04
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]00:05
+perlDreamerHaarg, is there a new wgd available for download?00:21
+perlDreamerI know for existing sites we can wgd update00:22
Haarghttp://haarg.org/wgd has been updated.  i'm not sticking tarballs anywhere at this point because it's a bunch of extra work.00:22
+perlDreamersure00:23
+perlDreamerbetween git and wgd, do you get a lot of requests for tarballs?00:24
Haargnot really00:24
Haargi'm pretty just recommending the single file dist at this point because it's easier for me to update and easier for users as well.00:25
+perlDreamerI use it all the time00:25
+perlDreamerit's hard to beat wget http://haarg.org/wgd00:25
Haargalso, i was wrong about Try::Tiny.  it is needed for WGDev itself, not just the tests.00:34
Haargbut the single file dist packages it in, so it wasn't causing problems for users00:35
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]00:42
+perlDreamerHaarg, if I try to run a utility script in another directory01:01
+perlDreamerI sh ould be able to pass wgd the -R switch and have it run, yes?01:01
Haargusing the util command?  iirc it changes to the sbin directory before running scripts.01:02
+perlDreamerhm, so running install scripts outside of /data/WebGUI/sbin is not okay?01:03
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Read error: Connection reset by peer]01:04
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui01:04
-!- mode/#webgui [+o pbcj] by ChanServ01:04
Haargthe util scripts like to assume that you are in sbin when they are run01:04
Haargi think that's been fixed, but wgd aims to work with older versions as well01:04
+perlDreamerI figured that since wgd would set the environment by reading preload.custom it would work anyway02:03
+perlDreamerI guess I'm on the very fringes of DWIM02:03
Haargthe problem isn't finding the libraries, it's finding the webgui root.  older util scripts just use '..' as the root dir, so there's really no solution except being in sbin.  if the script you want to run will work when run from any directory, it would probably.  don't remember it tweaks the actual util script filename.02:07
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 276 seconds]02:15
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []02:20
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:26
-!- carogray [~Caroline@107.33.217.184] has joined #webgui02:31
-!- carogray [~Caroline@107.33.217.184] has quit [Ping timeout: 240 seconds]02:35
+perlDreamerpreaction: does FormBuilder generate template variables as it stands today?02:37
-!- carogray [~Caroline@108.127.24.14] has joined #webgui02:40
CIA-70wgdev: Graham Knop master * rb1d282e / (19 files in 7 dirs): Perl::Critic fixes (+5 more commits...) - http://bit.ly/lgDcsM02:50
-!- carogray1 [~Caroline@108.121.193.148] has joined #webgui02:51
HaargperlDreamer, i merged in a couple of your changes (with package importing)02:51
+perlDreamerthanks! :)02:51
Haargif you get a chance to test them i'd appreciate it02:52
Haargalso re: https://github.com/perlDreamer/wgdev/commit/993a026d48f9abbb1ef6733534e699d5a905ea7202:52
+perlDreamerpoorly made?02:52
Haargif that used a wgdev config setting for those defaults instead of being hard coded02:52
Haargand if it used the WGDev::File->matched_find thing i just added, i would include it02:53
-!- carogray [~Caroline@108.127.24.14] has quit [Ping timeout: 240 seconds]02:53
+perlDreamerI think I can do that02:53
+perlDreamerbut it won't be for several days02:53
Haargi think i recommended you use the copy_deeply thing even though it's not really appropriate in that case.  my bad.02:53
Haargit's just a build process so it doesn't need to extra existence / size tests.  basically just needs to mkpath and copy.02:54
@scrottiefrodwith, one of the things on my todo list is "talk to Paul about the new bugboard".  someone told me that it's essentially finished and just needs testing.  is this the case?03:11
@frodwithmore or less, bug me about it during business hours :)03:11
@scrottieheh, will do.03:11
@preactionperlDreamer: the Asset Edit Form is being generated completely via FormBuilder template variables03:27
-!- carogray1 [~Caroline@108.121.193.148] has quit [Quit: Leaving.]03:33
-!- carogray [~Caroline@108.121.193.148] has joined #webgui03:35
-!- carogray [~Caroline@108.121.193.148] has quit [Quit: Leaving.]04:05
+perlDreamerthanks, preaction.  I had forgotten the difference between the FormBuilder template variables, and the Form plugin template variables04:48
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui05:24
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:47
-!- fokat [~lem@186.188.103.132] has joined #webgui06:04
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui06:32
+perlDreamerfew things in life are as good as watching Thundarr the Barbarian while the WebGUI test suite runs06:47
CIA-70webgui: Colin Kuskie webgui-7.9 * rfd88c5c / docs/create.sql : Preparing for 7.9.28 release. - http://bit.ly/lFqkG306:58
CIA-70webgui: Colin Kuskie webgui-7.9 * r2d9ef3f / (4 files in 4 dirs): Ready for 7.9.29 development. - http://bit.ly/iDVtzP07:10
+perlDreamerwell, except for releasing new versions of WebGUI07:16
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]08:09
-!- fokat [~lem@186.188.103.132] has quit [Quit: Ex-Chat]08:27
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]10:09
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:23
-!- mode/#webgui [+v BartJol] by ChanServ10:23
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui10:32
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 260 seconds]12:49
-!- carogray [~Caroline@184-218-51-188.pools.spcsdns.net] has joined #webgui12:54
-!- carogray [~Caroline@184-218-51-188.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:01
-!- carogray [~Caroline@184.237.88.103] has joined #webgui13:10
-!- carogray [~Caroline@184.237.88.103] has quit [Ping timeout: 258 seconds]13:15
-!- carogray [~Caroline@173-115-63-230.pools.spcsdns.net] has joined #webgui13:23
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui13:24
-!- carogray [~Caroline@173-115-63-230.pools.spcsdns.net] has quit [Ping timeout: 248 seconds]13:35
-!- carogray [~Caroline@108.110.172.46] has joined #webgui13:40
-!- carogray1 [~Caroline@184-229-190-92.pools.spcsdns.net] has joined #webgui13:46
-!- carogray [~Caroline@108.110.172.46] has quit [Ping timeout: 240 seconds]13:46
-!- carogray1 [~Caroline@184-229-190-92.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:59
-!- carogray [~Caroline@108.117.47.20] has joined #webgui14:02
-!- carogray [~Caroline@108.117.47.20] has quit [Ping timeout: 263 seconds]14:33
-!- carogray [~Caroline@174-152-119-225.pools.spcsdns.net] has joined #webgui14:34
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]14:40
-!- carogray [~Caroline@174-152-119-225.pools.spcsdns.net] has quit [Quit: Leaving.]14:46
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui15:11
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:14
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:07
-!- mode/#webgui [+o bopbop] by ChanServ16:07
-!- fokat [~lem@190.204.78.19] has joined #webgui16:46
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:52
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:29
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui19:02
-!- mode/#webgui [+v perlDreamer] by ChanServ19:02
+perlDreamermicrosoft bought Skype19:03
SDuensinThat's not funny.19:05
@preactioneh, it could be good for both of them. ms knows how to do integration, but they just never do it for their consumer products, only their business products19:06
@preactionwhereas apple doesn't have business products19:06
+perlDreamerI guess as long as they don't drop the Linux and Apple ports it'll be fine19:06
SDuensinYea.  MS can integrate.  Just look at Games for Windows.  :-P19:07
@preactioni don't think they'd drop those ports, they make money19:08
@preactiongames for windows is a side-effect of using DirectX APIs on the Xbox really19:09
@scrottieMS also kills the Linux version and screws up the Mac version.19:12
* perlDreamer goes to the gym and ponders scrottie's words with the global truth they contain19:13
SDuensinWell, one less IM client I need to run.19:13
@preactionscrottie: as you're testing, could you keep an eye out for anything that looks wrong visually? I'm certain I didn't catch all the changes with removing the old admin console bits20:02
@scrottiesure, will do.20:03
@scrottiethe one thing I've noticed, the YUI buttons line-breaking, I think you've already mentioned.20:04
@preactionnot that i remember20:05
@scrottiesomething about the buttons being "too big"?  hmm.20:08
@preactionprobably20:10
@preactionthe default size is rather massive20:10
@preactionbut honestly i like the bigger buttons20:10
-!- fokat [~lem@190.204.78.19] has quit [Quit: Ex-Chat]20:14
SDuensinAnyone ever have IE7 load your JS but not execute the code that's not in functions?20:20
+perlDreamersure, it's due to an error in the JS (according to IE7)20:22
+perlDreamerI've had a little success with using IE8's JS debugger when that happens20:22
SDuensinI figured that, but I've yet to hit on the right google search terms to learn about it.  :-)20:23
SDuensinAnd I'm stuck at work with ONLY IE7 installed.  <sigh>20:23
+perlDreamerinstall VirtualBox and run another copy of windows in a VM20:23
SDuensinNot allowed.20:23
SDuensinHonestly, I'm somewhat surprised I was able to create a new document.20:24
+perlDreamerShame on you for documenting!20:24
SDuensinIt was a JS document!  :-P20:24
+perlDreamershame on your for using JS!20:26
@scrottiebuy Windows hosting somewhere, install VNC on it at home, and use the Flash VNC viewer to access it.20:26
@scrottiego work for PlainBlack.  I have Safari, Firefox, Chrome, a few MSIEs, Mosaic, lynx, w3m, links and several others installed.20:27
SDuensinI'm already ssh'ed out to chat.  May as well.  20:27
SDuensinPlainBlack tried to hire me.  Sadly, I can't survive on the starting salary.  :-(20:28
@preactionthat's not that many, really. you need e-mail accounts with all major webmail providers, and eudora and thunderbird and evolution20:28
@scrottieI know.  I love joining a good nagfest.20:28
SDuensinIE7 reports no problems loading the script.  Makes debugging even MORE FUN!20:28
@scrottieI think I've got a Seamonkey laying around somewhere... 20:28
@preactioni maintain there was precious little nagging before THAT GUY showed up20:28
@scrottieKonq.20:28
@scrottiehere's what we should do for a UI for WebGUI 9:  http://trollingwithclass.files.wordpress.com/2010/09/simonextreme2.png20:30
+perlDreamerWebGUI 9 is going to be all command-line20:31
SDuensinYEEEEEEEEES!20:31
@preactionincluding viewing20:38
@preactionpeople will need to point their gopher client to gopher://example.com20:38
SDuensinGOPHER!20:38
@preactionwe may also support telnet20:38
@scrottiegopher rocks.  been meanign to add gopher support to Continuity for ages.20:38
@preactionperlDreamer: got a minute?20:53
+perlDreameryeah20:53
+perlDreamerit's better than doing CSS debugging :)20:53
@preactionwhat process did you use to merge 7.10 and 8? is it documented somewhere i can take a look?20:53
+perlDreamerIt's a very simple process, and it's not documented20:54
@preactioni've got 11 releases worth of 7.10 to merge, which should be fun considering all the changes made20:54
+perlDreamerif you try to merge more than 1 subversion at a time you'll kill yourself20:54
+perlDreamerwhat I did was do a merge after each 7.10 release20:54
+perlDreamerthen, resolve all conflicts20:54
+perlDreamerrun t/00_compile.t to make sure it's clean20:54
@preactionre-run the tests20:54
+perlDreamerthen, run the whole suite until it's clean20:54
+perlDreamerthen, merge the next sub-point20:55
@preactionbut merge like: git checkout 8; git merge v7.10.5?20:55
@preactionor rebase?20:55
+perlDreamerdue to ignorance, I always rebased, and I would pick a specific commit each time20:55
* perlDreamer knows no other way to merge20:56
@preactioni'll try git rebase v7.10.5 and see what happens20:56
@preactiontags should define a commit, in theory20:56
+perlDreamerthere will be conflict and woe but be stalwardt in the face of merging20:56
@preactionmy sheild is sturdy and my sword is strong!20:56
* perlDreamer passes preaction a bow and arrow for long range combat20:57
+perlDreamerand a set of Gauntlets of Ogre Power20:57
* preaction is off to save Princess Zelda20:57
+perlDreamerYou have to merge if you have the urge20:57
+perlDreameror, if you want to release 8.0 as an early beta20:58
@preactionalpha, sure20:58
@preactioni have consulted the mighty wizard of Knop and he says I should just merge to v7.10.15 in one go21:02
+perlDreamerI don't often argue with Lord Knop, but after trying that for several weeks I can tell you which one left me with more hair on my head21:03
+perlDreamerbut, do as you wish21:03
@scrottieyes, Lord Knop would win the remaining hair battle, fo' sho'.21:04
@preactioni have just found the awesome that is vim's "fugitive" plugin and vim's diff support. i merged, it had conflicts, I use :Gdiff and it shows me each original copy and the conflicted copy and i get to choose21:16
+perlDreamerblogggin?21:16
+perlDreamerhttp://www.vim.org/scripts/script.php?script_id=297521:18
@preactionmaybe, it seems a goodly choice21:18
@preactionyes, that21:18
@preactionnow i just have to show my buffer number so i can use diffget and diffput21:19
CIA-70webgui: Scott Walters WebGUI8 * rdd6a297 / www/extras/admin/toolbar.js : make the admin view [Edit] controls right-click-able so I can continue to right-click-open-in-new-tab them. - http://bit.ly/l31UPd21:40
CIA-70webgui: Scott Walters WebGUI8 * r2d31f72 / (share/site.psgi t/PSGI/ConfigMiddleware.t): 21:40
CIA-70webgui: PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it.21:40
CIA-70webgui: This is minimal in implementation right now in that there's no support for passing args, which would generally be objects21:40
CIA-70webgui: mixed with strings, to the middlewares being added, as would be necessary if the .psgi files were to be largely migrated21:40
CIA-70webgui: to the config files. I agree that it's important that upgrade scripts be able to add middleware (probably custom ones21:40
CIA-70webgui: that know how to get the session from %$env) but I'm not convinced of the utility of moving much logic out of21:40
CIA-70webgui: share/site.psgi. - http://bit.ly/kVdp3d21:40
+perlDreamerlunch time :D21:43
* scrottie ate all of the left over curry for breakfast =(21:44
@scrottieso, oatmeal for lunch.21:44
@preactionscrottie: changing WebGUI::Content::* into middlewares?21:56
@scrottieat the moment?  nope.  guess that's the next step on that last ticket.21:59
@scrottieseems like that would create a merge disaster.21:59
@scrottiehrm, maybe I can wrap for them for the time being.22:02
@preactionno worries, having a way to migrate is the first API establishment step22:02
@preactionmigration can take time22:02
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]22:08
@scrottieif all of the content handlers get moved to middlewarehood, then execution never goes through WebGUI.pm.  the top level of WebGUI.pm.  that skips header generation, cleaning up session after streamed responses, error catching22:08
@scrottiealso it means that each and every stupid content handler appears on the stack in an error stack trace, even if it decided not to run.22:09
@scrottieI wonder if it wouldn't be better to migrate some of these on a case by case basis rather than trying to migrate them for the sake of it.22:10
@scrottieor I suppose all of the stuff that WebGUI.pm does could be itself moved to a middleware.22:11
@scrottiereally, this isn't a bad design at all, the way it is now.  I'd be more inclined to go back to what I was doing yesterday... getting async database going inside of corona.22:12
@scrottiethoughts welcome.  guess I'll comment on the ticket though.22:12
Haargseems like converting them to plack apps would make more sense than middleware22:12
@scrottieyeah.  they don't get mounted on a specific URL, and having a bunch of apps be stand-alone when they're useless by themselves also seems silly.22:13
@scrottieI can think of a lot more interesting ways to make WebGUI less monolithic.22:13
Haargi guess you are right about the url thing.  i'd think main motivation for converting them would be to reduce the number of redundant plugin points.22:19
Haargbeen a while since i thought about it.  not sure how important it is.  i think the config file part was probably the most important part.22:20
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:21
@scrottieI could imagine this being factored different so that the admin was a different "app" from WebGUI itself, one that banged a lot of JSON accessors to do its work but otherwise stood alone.22:22
@scrottiethat would also further the cause of the gopher and telnet interfaces.22:24
Haargrereading the ticket it doesn't really say why we were deciding to move everything to middleware.  some of them it certainly makes sense to do that with, but others it probably doesn't matter.22:25
@scrottiemy reply there was just a copy of my remark here, but I might have misunderstood preaction's question.22:26
@scrottiehrm, I don't imagine setNoHeader being much use in a non-CGI environment.22:27
@scrottieI don't think this can be supported.22:27
@preactioni was just looking for info, it has unfortunately been a while since i've perused the 8 ticket list as well. perhaps i should revisit and comment on them again22:28
@scrottieunless the goal is just to keep two headers from being sent...?  22:28
@scrottiebut I don't see any examples of it being used in the main codebase22:28
Haargthat's what it looks like scrottie22:28
Haargheh, i was looking at the content handlers for which ones would work better as middleware.  first example i thought of was Maintenance.  turns out it was already converted but the old one still exists for some reason.22:32
@scrottiemaybe people want to put the site into maintenance mode while working on the maintenance page.22:33
Haargthe combination of moose and plack does make stack traces really terrible22:41
@scrottieyeah.22:42
* scrottie sighs22:42
@scrottiewith all of the magic going on in Moose, why aren't they tail-calling that away or something?22:42
@scrottieoptional verbosity setting...?22:43
@preactioni forgot all the wacky stuff we added to the 7.10 series22:54
@preactiondashlets, weird search entries, map stuff, template preview22:55
@scrottiewhat, preview, not live view?  weak.22:56
@preactionthat's what i said, but it was Requested22:56
+perlDreamerscrottie, the Moose people take bad hits for Moose's speed.  Maybe the tail-calling would slow it down?23:30
--- Day changed Wed May 11 2011
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui00:21
cjhey folks00:21
Haarggreetings00:21
Haargtail calling would speed it up if anything.  and runtime speed isn't really a problem with Moose.  main issue is startup speed.00:22
cjso, I'm looking for a CRM type of thing that allows me to sell and maintain subscription services + e-mail customers their invoices + generate PDFs for me to print and mail for those customers who don't use computers :)00:23
cjI expect webgui would probably be a fine choice for this type of thing, eh?00:23
@preactionit depends on how intimate you want to get with WebGUI's Way Of Doing Things, but yes00:24
@preactionwww.thegamecrafter.com <- does almost exactly what you mentioned00:24
cjpreaction: I've spent a few months digging around in the code, so I'm a little familiar now.  If it starts being useful then I may have moneys to throw at you and scrottie to do it for me :)00:24
@preactionthe generate PDFs thing doesn't happen though, that part you'd have to create00:25
cjalright.  I could probably cobble something together.00:25
@preactionand i've looked into HTML -> PDF converters, they universally suck. you'd be better off creating a way for WebGUI to display docbook or whatever format you would want to use that could then be made into PDFs00:25
cjso, I'm spinning up a xen VM.  The dom0's only got 2G and I've allocated about 1G of that already.  I'm going to put a big-ip in front of it to offload the ssl bits and do caching.  I'll run the mysql db on a different machine, too.  Do you think I could run webgui in 512M, provided I strip out the features I don't need?00:27
@preactionsurely00:28
@preaction1-2G is "as configured in the WRE with OS and leeway factored in"00:28
cjgood to hear.  I'll get things spun up, then.00:29
@preactionwe're running about 80-90M per apache fork though00:29
cjalright.  I've got a bit of flexibility, and if it starts paying for itself, I should be able to migrate it to its own iron00:31
cjwhat size disk should I allocate?00:32
@preactionWebGUI itself is only 20M, WRE 80M, so whatever you need to keep those PDFs around00:35
@preactionhopefully by the time it starts paying for itself you can upgrade to 8, which has even more flexibility00:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]00:40
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui00:47
@preactionmerge from 7.10.4 - 7.10.15 done! running test00:52
+perlDreamerGood job, preaction!01:01
@scrottieperl -p -i -e 's{http->setCacheControl}{response->setCacheControl}' `ack -l 'http->setCacheControl'` # this is going to bite me in the ass for sure01:05
+perlDreamerscrottie, just make sure it's an atomic commit, and it can be quickly fixed01:11
+perlDreameralso, save some finger typing and use the -pi switch instead of -p -i01:11
@preactionam i supposed to override update() anymore? or write()? or what should I do?01:23
@scrottiehmm?01:24
@preactioncollaboration has a new feature to update subscriber list when the viewing permissions have changed. it was implemented by overriding WebGUI::Asset->update(), but that doesn't work anymore01:25
@preactioni think i have to do around 'groupIdView' => sub {...} instead01:26
@scrottieyech.01:30
@scrottiecouldn't update() be overridden in a more specific fashion?  inject a base class in a subclass somewhere or something...?01:31
@preactionnot sure, moose bitches about update() already existing (probably the role composed one in)01:32
@preactionso most likely if i did around update it would work01:32
@preactionbut groupIdView is the only value I care about01:32
@preactioncrap. forgot about the upgrade path...01:33
Haargseems like that should be a trigger on groupIdView, although there is some oddness with triggers and object init iirc01:33
@scrottiemaybe Asset::update should do something ... for my $k ( keys %$hashref ) { $self->can("update_$k")->( $hashref->{$v} ) if $self->can("update_$k") }01:34
@scrottieor that.01:34
@preactionbut how do I add a trigger? the property is defined in WebGUI::Asset, not WebGUI::Asset::Wobject::Collaboration01:34
Haargthat's the entire point of having individual accessors.  you can just add triggers or other behaviors to them without messing with update01:34
@preactiondoes has '+groupIdView' ?01:35
@preactionwork01:35
@preactionif it doesn't it should, so i'll check01:36
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui01:36
+perlDreamerit won't work, because it's wg8 specific01:51
+perlDreameryou can emulate a trigger with around, or after01:52
+perlDreamereither one would work01:52
+perlDreameror you can do what I did with the file permissions stuff, and provide a generic empty trigger and override that in various Asset classes01:52
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]01:58
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui02:00
-!- mode/#webgui [+o preaction] by ChanServ02:03
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:07
-!- vayde [~vayde@184-100-124-64.mpls.qwest.net] has quit [Ping timeout: 260 seconds]02:12
-!- vayde [~vayde@67-4-153-252.mpls.qwest.net] has joined #webgui02:25
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:28
@scrottienewByDymamicClass is gone?  but stuff still uses it...?02:58
* scrottie reads git log. okay.02:59
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]03:14
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui03:17
-!- mode/#webgui [+o preaction] by ChanServ03:17
-!- vayde [~vayde@67-4-153-252.mpls.qwest.net] has quit [Ping timeout: 246 seconds]03:32
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has joined #webgui03:45
+perlDreamernewById :)04:13
@scrottieyeah.  after I'm done testing my breakage, I'll fix that breakage... there are still a few newByDynamicClass floating around... perhaps from merges.04:15
+perlDreamermost likely from merges04:15
+perlDreamerwouldn't it be cool if you could make a git hook that updated those things automatically during a merge?04:19
@scrottiehrm.  could do an Acme::CodePolice type thing but instead of deleting your project, it fixes it.04:21
@scrottiealso, strong typing was invested for this reason.04:30
+perlDreamerno04:33
@scrottiepretty please?04:33
+perlDreamerstrong typing was infested because it make it hard to do a+104:33
+perlDreamerwhich everyone knows should be b04:34
@scrottieI thought you liked stricture in all of its various forms.04:34
+perlDreamerperldreamerian strictures have more to do with testing than variable typing04:34
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:56
@scrottiepedantic might have been a better word.05:03
jimX11Is Template Toolkit in WebGUI modified in some way to only allow hash references to be passed and not arrays?  I'm having trouble passing something like this {foo=>[1,2,3]}05:16
jimX11but {foo => { bar => baz}} works.  And in the  the {foo=>[1,2,3]} case, I don't even process the variable in the template, I just pass it.05:17
@scrottieno idea...05:17
+perlDreamerjimX11, the data structure is originally based on HTML::Template05:17
@scrottiere: modified, WebGUI doesn't come with a copy of Template Toolkit but instead uses the standard CPAN distro of it05:18
+perlDreamerso you can have loops of data05:18
+perlDreamerbut the "data" is hashes05:18
+perlDreamerso, {foo => {bar => baz}} is fine05:18
+perlDreamerbut not the other05:18
+perlDreamerunless you foo => [ {bar => baz}, {buz => biz}] etc05:19
jimX11ok05:19
@preactionarrays for TT templates work fine, see WebGUI::Asset::Template::Parser->downgrade05:19
@preactionbut they only work in TT templates, not H::T or H::T::E05:20
+perlDreamerclient specific version of wG?05:20
jimX11I see no downgrade method in WebGUI::Asset::Template::Parser05:23
@preactionit's in the 7.10 series05:23
jimX11Oh, I'm so close.  I'm using 7.9.14.05:24
jimX11So in 7.9.14 I gotta use the key => key shuffle, then?05:25
@preactionmap { name => $_ } @values or something yeah05:29
jimX11ok.05:29
jimX11Yea.  Also I'll have to throw in something to preserve the order too, I guess.05:31
@preactionH::T takes an arrayref of hashrefs for loops05:32
@preactionwhich is ordered05:32
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:37
+perlDreamerI'd like to order a pizza with hash and glob refs, please05:41
+perlDreamerextra cheese05:41
@scrottiewaiter, is this a stash in hash and glob pizza!?05:45
jimX11So a db call returning [ [22,44,66],[10,20,30]] becomes what?05:45
@scrottiein my05:45
jimX11becomes this: ( ( {22=>22}, {44=>44}, {66=>66}), ( {10 => 10},{20=>20},{30=>30}))05:47
+perlDreamerthat wouldn't be very useful05:47
+perlDreamerthink about returning arrays of hashrefs intead of arrays of arrays05:47
+perlDreamer[ { col1 => 22, col2 => 44, col3 => 66},{col1 => 10, col2 => 20, col3 => 30}]05:48
jimX11and sort on the keys to get the order back.05:48
+perlDreamersure05:49
jimX11So how am I using TT2 but needing H:T syntax?  Does TT2 go through H:T in WebGUI?05:50
+perlDreamerit all goes through the same template parsing system05:53
+perlDreamerso, the limitations of one apply to all05:53
@preactionwhich is why downgrade exists in 7.10, to allow the features of TT to be used without breaking H::T completely05:54
jimX11ok05:54
jimX11thanks05:54
+perlDreamerpreaction, just to remind me, can you say something like, 'If we weren't pressed for time we'd rip out H::T by the roots and replace it.'?05:54
@preactionwe'd rip out H::T but i'm not sure getting rid of the template plugin point is a good idea. maybe different Template assets for different parsers instead...05:56
@preactionTT is faster than H::T, but slower than others if you don't need all the features TT provides05:56
@preactionand who knows what tomorrow will bring?05:56
+perlDreamerAccording to Google, tomorrow will bring Toy Story 305:57
+perlDreamerhttp://www.google.com/search?client=ubuntu&channel=fs&q=what+will+tomorrow+bring%3F&ie=utf-8&oe=utf-806:01
jimX11Which is more consistent, turning this [ [22,44,66],[10,20,30]] into this [ { col1 => 22, col2 => 44, col3 => 66},{col1 => 10, col2 => 20, col3 => 30}] or06:08
jimX11{c1 => { c1 => 22, c2 => 44, c3 => 66}, c2 => {col1 => 10, col2 => 20, col3 => 30}}06:09
+perlDreamerthe first06:09
jimX11k06:09
* perlDreamer has to bake some bread now, I'll be back on tomorrow06:10
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]06:10
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]07:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui07:55
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds]08:11
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:41
-!- mode/#webgui [+v BartJol] by ChanServ10:41
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui10:42
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:19
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]11:41
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui11:52
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has left #webgui []12:23
-!- carogray [~Caroline@184.241.111.54] has joined #webgui12:50
-!- carogray [~Caroline@184.241.111.54] has quit [Ping timeout: 260 seconds]12:59
-!- carogray [~Caroline@108.113.223.56] has joined #webgui14:12
-!- carogray1 [~Caroline@184-200-59-255.pools.spcsdns.net] has joined #webgui14:31
-!- carogray [~Caroline@108.113.223.56] has quit [Ping timeout: 240 seconds]14:33
-!- carogray1 [~Caroline@184-200-59-255.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:36
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:13
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]15:16
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:26
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:07
-!- mode/#webgui [+o bopbop] by ChanServ16:07
+BartJoljust out of interest, are there plans to rewrite the map asset for openstreet maps?16:15
SDuensinWelcome to Wednesday.  That is all.16:46
@preactionBartJol: no, but all the information should be in the template. you might be able to create one17:35
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui17:39
CIA-70webgui: Paul Driver master * r6a01296 / (5 files in 5 dirs): rfe #12127: AssetProperty macro - http://bit.ly/ka3cTb17:44
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:56
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:00
-!- mode/#webgui [+v perlDreamer] by ChanServ18:00
-!- khenn [a68988b5@gateway/web/freenode/ip.166.137.136.181] has joined #webgui18:05
-!- mode/#webgui [+o khenn] by ChanServ18:05
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:05
@khennhey18:12
@khenndoes anyone remember the name of the site that offers free website styles?18:12
@khennI think WG uses a few in the startup script18:12
+perlDreameroswd.org?18:15
@khennperhpas18:15
@khennthanks pd18:15
@khennI'll check that out18:15
+perlDreamermost of the other designs came from the awesome Ning18:22
+BartJolyeah, after that I had too much karma to spend18:36
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:51
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui19:39
CIA-70webgui: Rory Zweistra master * r7beec1d / lib/WebGUI/Mail/Send.pm : Fixed typo that prevented to get the company name from the settings table - http://bit.ly/jnRqnK19:44
CIA-70webgui: Graham Knop master * r458b1a1 / lib/WebGUI/Mail/Send.pm : 19:44
CIA-70webgui: Merge pull request #10 from roryzweistra/master19:44
CIA-70webgui: Fixed typo in Send.pm - http://bit.ly/mlAdjQ19:44
@preactiondid the exportRelatedAssets go into 7.10.15? i'm merging 8 and i've got a test that's failing, but I can't find the code that would make it pass20:16
@preactionit's not in the merge, and it's not in the 7.10.15 tarball i downloaded20:16
+perlDreamerit's in there20:18
+perlDreamer"exportGetRelatedAssetIds"20:18
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui20:18
@preactionwtf. i'm looking right at the WebGUI.pm released as 7.10.15 and it is not here20:19
@preactionin the StoryArchive asset?20:19
+perlDreamerAsset/Story20:20
+perlDreamerStory exports related topics20:20
+perlDreamerI think that's how it was used20:20
+perlDreamerack -l exportGetRelatedAssetIds20:20
@preactionah, maybe that's why20:20
@preactionfound it. new -> newById20:22
+perlDreameralso newByDynamicClass -> newById20:32
+perlDreamerscrottie and I chatted about that last night20:32
* scrottie nods20:32
+perlDreamerand about all we agreed upon was that I was pedantic20:32
@scrottiethere are a few newByDyanmicClass calls floating around in there again but I'm yak shaving at the moment20:33
@scrottiehrm.  at every moment?20:33
+perlDreamerI'm not sure, but possibly20:33
+perlDreamerhere, for a second, I'll switch from pedantic to annoyed and irritable20:34
@scrottieI'm glad we can agree on irritable.20:35
@preactioni love when errors get thrown but are completely blank!20:35
@scrottieat least we have that in common.20:35
+perlDreamerIf one is writing code, and you feel the need to reimplement Test::Simple in your own private lingo, then you're just making it more difficult for people to contribute to your test20:35
+perlDreameryeah, I don't like me when I'm irritable, I'll stick with pedantic20:39
@preactioni also love when your phone stops delivering calls and text messages but is otherwise completely operational, and only a restart fixes it20:44
@preactionoh look, i got paged a couple times!20:45
@scrottieperl needs a \).20:45
@scrottieWebGUI 9 is going to use autodie.21:03
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Ping timeout: 252 seconds]21:04
@scrottieit's not that I want to work on Plack stuff, but I keep stepping in it...21:04
CIA-70webgui: Scott Walters WebGUI8 * rd2c8670 / (lib/WebGUI/Test.pm t/Asset/AssetExportHtml.t): (log message trimmed)21:05
CIA-70webgui: Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes21:05
CIA-70webgui: requests using Plack::Test and attempts to maintain getPage's API.21:05
CIA-70webgui: Change three tests in t/Asset/AssetExportHtml.t to use this instead.21:05
CIA-70webgui: Backstory:21:05
CIA-70webgui: Forthcoming WebGUI::Session::HTTP, ::Request, ::Responses mucking abouts broke21:05
CIA-70webgui: some tests that use WebGUI::Test::getPage; in the case of t/Asset/AssetExportHtml.t,21:05
@preactionoh crap, i could've saved you time21:06
+perlDreamergetPage* needs to die21:06
@preactionscrottie: there's WebGUI::Test::Mechanize now21:06
* scrottie grunts21:08
@scrottieokay, I'll try to sort that out21:08
@scrottiemy inclination is to make getPage2 a wrapper around this with a simplified interface to make it easier to convert tests (which I expect to find a lot more of failing now)... but this code is kinda gluey-hand-wavey... 21:13
@scrottieI'm jumping through hoops to set the wgSession cookie and plug a session for it into the database for the correct user... this might be doing that but I can't tell... is it?  should I move that over?21:13
@scrottieI could test it and see I suppose...21:13
+perlDreamerthat's what WebGUI::Test::Mechanize will do for you21:14
@scrottieit takes a userId.  hmm.21:14
@scrottieno, this should work.  the WebGUI::Middleware::Session layer isn't used in favor of just setting up session here.  cool.21:15
mducharme-workafternoon21:21
@scrottieheya mducharme-work21:21
mducharme-workquestion - how can I make userlist visible to visitors?21:21
@scrottiedo you want an answer optimized for quickness of implementation or niceness of result?21:21
@scrottiea SQLReport could pull from the users table.21:22
mducharme-workI am using the user list wobject and it works for authenticated users but displays nothing for visitors21:22
mducharme-workthe ideal thing would be to have an LDAPReport that could pull directly from LDAP but there is no such thing21:23
@scrottievisitors are all essentially the same user, so there isn't much to display...21:23
mducharme-workyou do not understand21:23
mducharme-workwe do not give phone numbers for our offices on our website21:24
mducharme-workbecause we have multiple offices21:24
mducharme-workinstead we rely on the corporate phone directory on our website for people to know what number to call to get someone21:24
mducharme-worknovell discontinued their web based corporate phone directory product21:24
mducharme-workwhich we used to have running in an iframe in webgui21:24
mducharme-workI need for someone going to our company's website to see a listing of staff21:25
mducharme-workand their phone numbers21:25
mducharme-workwithout having to log in21:25
mducharme-workhttp://www.ktc.ca/home/about-us/staff-directory21:25
mducharme-workthat's what it looks like right now21:25
@scrottieokay, can't this user list wobject be set viable by 'Visitor'?21:25
mducharme-workwhich doesn't work21:25
mducharme-workor would you say that that is acceptable?21:25
mducharme-workI don't think it's the wobject itself21:26
@scrottieI don't see anything acceptable in a typical day ;)21:26
@scrottieis this a bug or a configuration matter?21:26
@scrottieI'd have to dig into the code to learn more, but I wonder if user profiles are hidden or the like.21:27
+perlDreamermducharme-work, profile information is never shown to the user Visitor.21:28
+perlDreamerthe UserList wobject may be able to override that, maybe not21:29
+perlDreamerTry the Override Public Profile option, it may do the trick21:29
+perlDreamerotherwise, you can build a SQL Report to mine the userProfileData table directly21:30
mducharme-workok21:31
mducharme-workcan the person still open the users profile and view their photo etc21:31
+perlDreamerno21:31
mducharme-workwith the sqlreport gadget21:31
+perlDreamerno, but you can list the phone number21:31
+perlDreamerit's a privacy issue, where you don't want bots being able to mine your site for confidential information21:32
+perlDreameremail address, physical addresses, skype contacts, phone numbers, etc21:32
mducharme-workI understand that21:32
mducharme-workbut this is making us manually have to create a new phone list21:32
mducharme-workwhen we already have one in ldap21:32
mducharme-workand we already have one in webgui through ldap21:32
mducharme-workit's just stupid21:33
mducharme-workoh and we have a third one in the form of a word document21:33
+perlDreameryou could modify the core to allow visitor to see profile information21:33
+perlDreamerand hand maintain that whenever you upgrade21:33
@scrottieSQLReport that does update userSession set userId='someNonVisitorGuestUser' where sessionId = ?, and JavaScript that picks out the sessionId and hits that "report"...?21:33
@scrottiekludges.  get yer kludges.  we got kludges.  right here.21:34
+perlDreamerit'd be cleaner to put in a feature/setting that would allow Visitor to see user profiles21:34
@scrottieyeah.21:34
+perlDreamerbecause in companies I guess you want your information out there21:34
@scrottiemore users should be doing git pull --rebase to upgrade.21:34
@scrottieheck, I'd really like to see an auto-update feature, and that would be one way to implement it.  stick the site in maint mode, git pull, run upgrades, take it out of maint mode, all from a workflow task.21:35
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Read error: Connection reset by peer]21:35
@scrottiestick git in the WRE.21:35
@scrottieunclean merge?  reset back to where they were before and send an "oops, sorry" email.21:36
+perlDreamermducharme-work: the stuff that would need to be changed is in WebGUI::User, sub profileIsViewable21:37
mducharme-workok21:38
+perlDreamerI'd estimate that adding a setting to do that, with i18n and testing and everything else required to go into the core would take several hours to do21:40
mducharme-workthat's when you know what you're doing of course21:40
@scrottieperlDreamer, preaction, thoughts on the Want module?21:40
+perlDreamerscrottie, never heard of it21:41
+perlDreamermducharme-work, there are lots of people who you could contract to do it, including Plain Black21:41
@scrottieor you could probably guess / get suggestions at which few lines to comment out in there =)21:41
+perlDreameriirc, mducharme-work does know perl21:42
mducharme-workI used to code perl a long time ago21:42
mducharme-workI've probably forgotten almost everything21:42
@scrottieyou can probably still read it, even as it's spoken today.21:43
mducharme-workI also wonder why you developed your own help desk plugin for webgui21:44
@scrottiewas there another WebGUI helpdesk plugin floating around already...?21:44
+perlDreameryeah, we wonder why we did that too, sometimes21:45
mducharme-workno, but there are some really good perl-based help desk systems21:45
mducharme-workwe use OTRS for instance21:45
@scrottieah.  often the question is integration is a larger one than that of "really good".21:45
mducharme-workthat doesn't do much good if the help desk is a tinkertoy in comparison21:46
@scrottieif someone needs a really good help desk, they probably won't care so much about integration, or else they'll be happy to do all of the work involved in integrating it.21:46
@scrottiedepends.  sometimes lots of integrated tinker toys is just what people want.21:46
@scrottieeasily integrated.21:46
mducharme-workthere isn't all that much integration work involved in OTRS actually21:47
@scrottieand if they want integrates really good stuff, that's hard to do.  people charge a lot of money doing that work all of the time in IT.21:47
@scrottiewe're happy to integrate WebGUI with really nice products.21:47
mducharme-workto what extent is the webgui help desk really integrated into other webgui components?21:47
+perlDreamernot at all21:48
+perlDreamerit uses WebGUI users and Groups21:48
+perlDreamera workflow activity21:48
@scrottiefrodwidth's plack-mounted-assets automatically integrate almost any Plack app into WebGUI =)21:48
+perlDreamerand some templates21:48
@scrottieit's integrated in the sense that site admins can click a few things and add it at a certain location to the site.21:48
@scrottieI imagine there has been some work done here, but reverse-proxying in other apps over HTTP has potential, too.21:50
@scrottieas it is, there aren't many feature requests posted for integrating with other things.  perhaps this is something people want and don't realize they want.  perhaps time should be spent finding nice apps to integrate and integrating with them.  that sort of thing tends to have a hellish maintenance obligation though.21:55
@scrottie"Unable to find session cookie! at /data/WebGUI/lib/WebGUI/Test/Mechanize.pm line 81."  hrm.21:59
@scrottiefixing this as best as I can22:12
mducharme-workthe users and groups thing is easy enough to do with otrs, it can plug into any sql authentication source with any schema pretty much22:12
@scrottiepatches welcome.22:12
mducharme-workit can plug into multiple simultaneous auth sources as well22:12
-!- CIA-70 [~CIA@208.69.182.149] has quit [Read error: Operation timed out]22:13
mducharme-workthe hard part is the UI integration22:13
@scrottieer, I mean, perhaps PlainBlack shouldn't have written their help desk.  dunno.  you may be right.  no idea.22:13
mducharme-workit would be nice if there was a way of using JSR portlets as wobjects22:18
@scrottiedo-able.  Inline::Java is an amazing piece of technology.22:18
mducharme-workthat would give a much greater range of integrations for webgui.. but you'd need some sort of shim to tomcat to accomplish that22:18
mducharme-workahh22:18
@scrottieyeah.  process size would go up a lot.22:18
mducharme-workb/c a lot of the time you are having to reinvent the wheel, when there is already a JSR portlet that does something22:19
@scrottiegenerally when there are two camps, the camps don't envy what the other camp has... otherwise there wouldn't be two camps.22:20
@scrottiefor various reasons, Java tends to be expensive to deploy.22:21
@scrottieheck, for 8, we're optimizing away Apache as a simplification/optimization.22:21
@scrottieI'm all for building bridges, but the efforts aren't purely redundant.22:22
@scrottieif anything, other Perl CMSes are redundant with WebGUI ;)22:23
@preactionRT and Bugzilla exist. we could have integrated those via auth plugins or somesuch22:33
mducharme-workpreaction - I was suggesting OTRS because it is perl as well and is more full featured for help desks than RT actually.. bugzilla is still best from a software development angle22:55
mducharme-workour help desk used to use RT but we moved off it due to the lack of features22:55
@preactiona plack app using the plack app wobject could take advantage of webgui's global site search even22:56
+perlDreamerthe Plack app wobject maps indexContent in the low-lying plack app?  that is cool!22:58
@preactionno, you'd have to map it yourself, but it could be done22:58
mducharme-workwe would love to have OTRS integrated into our webgui22:58
mducharme-workat the moment we just do an inframe in webgui, we do not have integrated auth then, but it's the same username/password because they both use the same LDAP source22:59
mducharme-worker iframe22:59
@preactionauth plugins aren't too bad and getting better22:59
@scrottiewait, I thought you said that it is really easy to integrate them, and OTRS can do arbitrary queries against an arbitrary database22:59
mducharme-workyes23:00
@scrottieor maybe I'm missing what else exactly should be integrated...23:01
@scrottieI guess that goes back to the reverse proxying arbitrary HTTP thing23:01
mducharme-workSSO23:01
mducharme-workwe have both using the same login23:01
mducharme-workbut single sign on is a different story23:01
mducharme-workthe credentials do not get passed along23:01
@preactionmake the WebGUI auth set both cookies23:02
@scrottieits cookie might correspond to something in its databsae.  might have to web scrape the login form there.23:03
@preactioni think i like our helpdesk v2 better though. OTRS seems like a great ticketing system, but we need more of a project management system (or to get out of that game entirely)23:03
@preactionOTRS is very bold. much orange and brightness...23:03
@scrottiethe more work you do, the more work you find you still need to do.  keeping things simple on purpose is often a great strategy.  text editors are equally good at about all things.23:04
@scrottietrying to make the bug board better at project management or bugs or anything would make it worse at the others unless a lot of work went in contrary.23:04
@scrottiesometimes simple is good.23:04
@scrottieas it is, people can use it for all sorts of silly things not related to any of those tasks.23:04
@preactionof course. i'd prefer a dead-simple ticket tracker and a bigger app that read that tracker's data to figure stuff out23:04
@preactionwhich is the plan i hope23:05
@preactionright now we don't have any talking between the PMS and the helpdesk, which necessitates copying data between them manually23:05
@preactionand our PMS is rather haphazard as well. timetracker as a standalone with super sekrit functions if it's "linked" to a PMS system23:06
mducharme-workOTRS does project management sorta23:06
mducharme-workin the ITSM version23:06
@preactionah, the demo i tried didn't make it very obvious23:06
mducharme-workthe change management system can be used for projects23:06
@scrottiedatasharing between "mounted" apps that you're just proxying for/embedding/authenticating against/for gets even nastier.23:06
mducharme-workyou create work orders, create dependencies between them23:07
@scrottieas soon as people have SSO, then they want data workflows.23:07
mducharme-workit displays a gantt chart type thing23:07
mducharme-workmost of the features in OTRS only appear when you install the ITSM add on23:07
mducharme-workthey really should put the ITSM stuff into the core, IMO23:07
@scrottieembedding a copy of an entire other project is a bit of a challenge.  you have to keep pulling changes and merging those with your local changes which envariably happen.23:08
mducharme-workeven if you don't run an ITIL shop it still adds a lot of features into the core23:08
@scrottieI argue for a smaller WebGUI core, personally.23:08
mducharme-workscrottie you misunderstand23:09
mducharme-workI mean OTRS should integrate the ITSM add on into the OTRS core23:09
@scrottieagain?23:09
@scrottieoh23:09
mducharme-workb/c people install OTRS by itself and that only has about 1/3 the features of the ITSM version, so it doesn't give a good idea of what it can do23:09
@scrottieA new indie Atari Jaguar game just came out!  I need to find my BJL cable and a machine with a parallel port and load that sucker up.23:10
mducharme-workthe OTRS core by itself is not that much better than RT at basic help desk, it's only when you go to ITSM that the features significantly increase23:10
@preactionthat sucks. i'm trying to get rid of our project manager, but I can't unless we have something else to use23:10
@preactionand if the OTRS demo doesn't include ITSM, then they can't know if it's good23:11
mducharme-workbrb have to reboot23:17
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]23:18
-!- khenn [a68988b5@gateway/web/freenode/ip.166.137.136.181] has quit [Ping timeout: 252 seconds]23:21
@preaction1 day to do the merge. 1 day to fix the tests.23:27
fallout1 ring to rule them all?23:27
@scrottietarget is still moving.23:27
@scrottieCIA left before I unleashed the spam.23:27
@preactiongotta do a full test run before i can consider this "done" before i can pull your changes23:28
* scrottie nods23:28
@scrottieprobably won't happen right now but I'm thinking about modifying the text that gets output in tests to not include assetIds, date stamps, and things like that23:28
@scrottiedetails that change every time bog down trying to diff output from two test runs23:29
@scrottiecomments welcome / consider yourselves warned23:29
@preactionthe test description text? sounds a good idea23:30
@scrottieyeah, test description text.23:31
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]23:42
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui23:48
--- Day changed Thu May 12 2011
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]00:05
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.]00:06
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui00:10
-!- mode/#webgui [+o pbcj] by ChanServ00:10
* scrottie waves to pbcj00:11
@pbcjsup sup00:11
@scrottiehow goes stuff?00:11
@pbcjgoingly =)00:11
@scrottieplaying with WebGUI 8.00:11
@scrottieyay, yay.00:11
@pbcjI saw the chatter00:11
@scrottieI keep getting stucked into this testing/Plack vortex.00:12
@pbcjI all of a sudden feel like the only kid on the block without a new bike00:12
@scrottiesucked00:12
@scrottiehrm.  it must have been 8 or 10 months since I got to.  so, feel bad, but not alone.00:13
@pbcjso, how does static template vars from config strike the room?00:15
@pbcjpreaction: I'm looking at you00:15
@scrottiehmm?00:16
@pbcjI'm working on branding for a few clients, I'd like to have something configurable that gets passed into the templates00:17
@pbcjthis would support branching using TT's INCLUDE directive: http://template-toolkit.org/docs/manual/Directives.html#section_INCLUDE00:17
@preactionbut afaik webgui's use of TT doesn't work well w/ include00:18
@preactioncan't include assets, of course, and i'm not sure where files would get included from00:18
@preactioni'd love to create a provider that would allow you to include assets, but i haven't found anyone to do it yet00:18
@preactionand if you have INCLUDE working, you don't need anything in the config file, no?00:21
+perlDreamerall righty, I have a test that exposes the Serializer bug and a patch to fix it00:22
+perlDreamernow, time to wade through RT00:22
@pbcjwell, I'd still prefer have one template to package, rather than one that needs only a small customization when spawning a newly branded site00:22
@pbcjI haven't tested include yet, I came here first00:23
@pbcjand now I'm discouraged =(00:23
@preactioni'm surprised there aren't Setting or Config macros00:23
@pbcjindeed00:24
@scrottieoften programming is the art of quickly exhuasting non-workable solutions.00:24
+perlDreamerwouldn't macros happen too late?00:24
@preactiontoo late for what?00:24
@pbcjmacros are isolated, so it doesn't matter00:24
@pbcjtemplate vars don't get passed in automagically00:24
+perlDreameriirc, macros get evaluated after the template gets parsed00:25
+perlDreamerso if you wanted to macro in something, it's too late to use it in the template eval stage00:25
@scrottiefrodwidth was playing with some hackery that found every variable on the stack and passed them in.00:25
+perlDreamerin 700:25
@scrottieer, frodwith00:26
@pbcjas long as the vars are still around, the timing of it doesn't matter, I think00:26
@preactionthey're not vars though, that's the difference between vars and macros00:26
Haargit would be pretty easy to extend the template toolkit usage to allow macros to be called by templates directly00:26
@preactionmacros happen last, after templates are parsed00:26
@preactionand yes, there's what graham said00:26
@preactionand barring that, it'd be possible to provide TT with read-only bits of the session00:27
@preactionbut the current method we would have to do it would be to add proper variables in either Asset::Template->process or Asset->processTemplate00:28
@pbcjI was more thinking that processTemplate could stick the current template vars into a collection that macro process could have access to00:28
@preactionhuh?00:29
@preactionif you want macros to be parsed at the same time as the templates, the best way would be for TT to execute the macro directly with some function we give it00:29
@pbcjright, the reason I can't use something like ^ProcessTemplate(..); is because the template vars aren't available in the macro, otherwise, if they were, the macro could just call processTemplate(.., thoseVars)00:30
@preactioni don't know what you mean00:31
@preactionyou wanted config values to be available in the template. a combination of macros and a TT function to call those macros could provide that00:32
@preactionfor INCLUDE assets, you need a custom Template::Provider object to read asset:// links or something00:32
@pbcjI get that00:32
@preactionboth of which are projects i would support and want completed00:32
@pbcjperhaps it's me, I'm sick as hell right now.  I'm mixing two ideas.00:34
-!- dreamersgirl [~chatzilla@137.53.249.130] has joined #webgui00:35
@pbcj1) having something from the config file that is available within the templates.  Easy enough.  I could modify the assets involved and put the value in, but I thought config would be the way to go for part 2.00:35
-!- carogray [~Caroline@173-145-113-91.pools.spcsdns.net] has joined #webgui00:36
-!- dreamersgirl [~chatzilla@137.53.249.130] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]]00:39
@pbcj2)  in a template:    <div>every site has this, but this is specific content: [%ProcessTemplate("/customized-sub-template")%]</div>00:39
@preactionyou would be better off making [% INCLUDE asset:/customized-sub-template %]00:40
+perlDreameryup00:40
@pbcjyes00:40
+perlDreamercuz users can't get to a config file to customize it00:41
@pbcjyeah, come to think of it, that may not be needed at all00:42
@pbcjsince every branded site would have it's own /customized/ subtree aside from the common content00:42
@pbcjokay, that will work.. sounds like pD volunteered00:42
+perlDreamerpD does not write new code any longer, only fix customer sites and old code00:43
+perlDreamerwhen 8 is released, they'll take him out into the back 40 and bludgeon him with an IBM XT computer00:43
@preactioncome on. we'd have more class than that00:43
@preactionyou'd get an Atari ST at least00:44
+perlDreamerI was hoping for a 386-DX with math co-processor, but the old and defunct can't be choosy00:44
@pbcjDX400:45
@pbcjbut, even then, that's a lot of work for us00:45
@pbcjTRS-8000:45
@pbcjit's lightweight and versatile00:46
@pbcjshows 'em who's boss and won't leave a mark00:46
Haarghttp://gist.github.com/967452 patch on webgui 8, untested00:48
Haargshould let you do [% USE Macro; macro.FileUrl(blah) %]00:48
@pbcjright on man00:50
Haargalthough making a custom provider for webgui to allow INCLUDEs like preaction was showing, the simplest thing to do is add the session to the vars.  then plugins can do whatever they need without resorting to padwalker.00:52
falloutie8 doesn't like wegbui.org =(00:54
falloutand i don't like ie800:54
Haargfallout, what problems are you seeing?00:56
Haargor do you actually mean wegbui.org because i make that typo constantly00:58
falloutthey are layout related-  mainly, open tickets sometimes appears in full, sometimes it's cut off at the bottom of its parent00:58
falloutheh, no, this is webgui.org00:59
fallouti have a bug open somewhere that i haven't had time to look into00:59
Haargah yeah i see what you mean.  it doesn't expand to show the entire ticket tracker01:00
Haargnot for the data table at least01:00
falloutyeah, there are other (seemingly related) effects01:00
-!- carogray1 [~Caroline@173-142-200-215.pools.spcsdns.net] has joined #webgui01:00
falloutsimilar things happen when submitting bugs- but you can make things disappear behind other items01:00
falloutetc01:00
-!- carogray [~Caroline@173-145-113-91.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]01:01
@pbcjis it mostly the helpdesk?  it could use some TLC.01:01
fallouti'm still not clear what all is part of helpdesk..01:02
@pbcjeverything you see when the url is /bugs01:02
fallout<301:03
-!- daviddelikat [~user@ppp-70-226-164-54.dsl.mdsnwi.ameritech.net] has joined #webgui01:05
@pbcjwhat I meant, was, the helpdesk asset could use some TLC, wink wink nudge... earn some fame and lots of karma ;)01:05
@preactionit already got TLC, it just hasn't been finished for one reason or another01:06
@preactionhelpdesk v2 is just sitting in a github repo somewhere01:07
@pbcjoh, then, what I mean is.. blame preaction01:07
@preactioni'd blame frodwith more than preaction, but preaction is going to migrate v2 to 8 and everyone will be happy then01:07
fallouti'm just going to point at everyone except me01:08
@preactionbut when you point, 3 fingers are pointing back at you01:08
falloutaww01:08
Haargpreaction, should i add that template toolkit session passing thing to 8/7.10?01:09
@preactionHaarg: go for it01:10
@pbcj... / 7.7.2101:10
@preactionpbcj: they should upgrade01:10
Haargwhat about the additional template plugin namespace thing i had in that patch?01:10
Haargit's an extremely simple change.  could be backported to any version extremely easily.01:11
@preactioni'd say yes, but it would need tests01:11
@pbcjI'm going to have to go an alternate route due to client contraints, I don't think I can sell a full upgrade at this time01:12
@preactionso when i'm done with this, i can write a simple test for it and then put it in01:12
@preactionpbcj: as graham mentioned, backport it. it's a retardedly simple patch01:12
-!- carogray1 [~Caroline@173-142-200-215.pools.spcsdns.net] has quit [Read error: Connection reset by peer]01:12
-!- carogray [~Caroline@173-142-200-215.pools.spcsdns.net] has joined #webgui01:12
@pbcjgrahams thing doesn't solve my problem, I think01:12
Haargi've just been throwing out related ideas i had so i'm not sure what problem you were actually dealing with01:13
Haargwhat are you trying to do?01:13
@pbcjI want to process a subtemplate with the same template vars as the host template01:13
@pbcjso that custom template content may be broken out01:14
@preactionthat won't do that then01:14
Haargwell01:14
Haargit could be made to do something along those lines01:14
Haargwould be kind of ugly though01:14
@pbcjthis is why I was talking about storing the template vars somewhere01:14
@pbcjand that would be ugly01:14
@pbcjwe're going uglier but less hacky01:15
Haargbasically, with that patch, you could write a template toolkit plugin to do pretty much anything you want01:15
@pbcjget the vars hash that was passed in?01:15
@pbcjand pass it to a subtemplate01:15
Haargthe plugin would have access to those variables.  the nastier part would be the actual processing of the subtemplate.01:16
@preactionwhich a Template::Provider class would do elegantly01:16
-!- carogray [~Caroline@173-142-200-215.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]01:17
Haargyeah, but that's harder than a one line patch01:17
@preactionyes01:17
-!- carogray [~Caroline@32.178.80.139] has joined #webgui01:19
Haargactually01:19
Haargwith _session in there01:19
+perlDreamerwouldn't it make sense to see if content brought in by an INCLUDE directive is reprocessed in the context of the template?01:21
@preactionlooks like Template::Provider only requires you to override two methods, and should be very long to WebgUI::Asset->newById(...)->view01:21
Haargyou could make a plugin 'SubTemplate', used like [% USE SubTemplate('block_name','url-goes-here'); PROCESS block_name %]01:21
Haargwould be pretty easy to do as well01:21
Haargmaybe it isn't as beautiful as asking for the template directly, but would involve less changes to core.01:22
@preactionhow about I go ahead and make the new template provider to see if i'm write about it being 20 lines after i'm done merging these damnable tests01:23
@preactiongives me more wow for my presentation next week01:23
Haargyou'd want to also handle something like 'template:url-blah' for the use case pbcj is talking about01:25
@preactionright, because template doesn't use view01:26
@preactionthough pbcj could just as easily use a snippet01:27
Haarghe wants to process the other template though, not include the view of it01:28
@preactionProvider does INCLUDE, PROCESS, and that other one01:28
@preactionINSERT, is the other one01:29
HaargINSERT is for raw files, it doesn't go through provider01:29
Haargthe difference between include and process is just the variables that are passed to them01:30
@preactionTemplate::Provider::_template_content begs to differ with you01:30
@preactionThis method returns the content of the template for all C<INCLUDE>, C<PROCESS>, and C<INSERT> directives.01:30
@preactionthe Subclassing section of Template::Provider's docs01:31
Haargeh, i guess so01:31
Haargstill though it's a difference in how the content of the template is processed.  the two behaviors i was talking about are assets (call view on them and return static text) and templates (return their template, able to be processed as a template)01:33
Haargfor an asset that you are trying to include i'd think you'd want PROCESS, INCLUDE, and INSERT to all behave the same01:34
Haargunless you actually want the output of an asset to be able to be processed as a template01:35
@preactionyes01:36
Haargwell i guess that works too01:36
@preactiontemplate snippets01:36
@preactionor crazy collab setups01:37
@preactionKUH01:37
@preactionRAISEY01:37
sbaurSo, I've played around with TT just a little bit (in 7.5.40) but we couldn't get INCLUDE to work at all. What magic sauce are we missing?01:38
@preactionnothing. it doesn't work01:38
@preactionthere's no way to set where it looks for files, is the problem01:38
Haargwe don't specify any include paths, so it can't be used without patching core01:38
@preactionmuch less grabbing assets, which is what we're discussing now01:39
@preactioni could add the config stuff while i'm at it too01:39
sbaurok, thanks for the clarification01:39
@preactioni could just check if the asset is a template and return template instead of view01:40
sbaurseems to me creating a directory in or at the same level as public in the domains section would be a handy default include path...01:40
@preactionbut even that directory is configurable01:40
@preactionwell, uploads is. the parent dir doesn't matter to webgui01:41
Haargthe main reason i mentioned the template: thing is that i was thinking that it would be less surprising if you couldn't use an asset view as a template01:41
Haargsince it roughly serves as a replacement for assetproxy01:42
Haargall you have to do is use INCLUDE or PROCESS in one place where it should be IMPORT, and you have all kinds of security issues01:42
@preactionbut then we can't have snippets that define functions that you can use later01:44
Haarguse a template if you want it to be templatable01:44
Haargor make whoever is writing the template explicitly ask for it as a template01:45
@preactionbut it's not a template, it's a set of functions and cannot be processed by itself.01:45
@preactionbut then you have the same security problems, no?01:46
Haargthe issue is that if someone wants to include an asset like they would have done with assetproxy, they would do something like01:46
Haarg[% INCLUDE asset:asset-url %]01:47
Haargwhich will be a security problem01:47
Haargif they have to say template:asset-url then they are asking for it as a template01:47
@preactiononly if asset-url was created by a user we don't trust01:47
@preactionso doing INCLUDE asset:$postId would be very bad indeed01:47
Haargyes but all kinds of things get included with assetproxy01:48
Haargincluding plenty of user content01:48
@preactionisn't that what INSERT is for then? or IMPORT or what-not?01:48
@preactionINSERT asset:asset-url01:48
Haargyes, but you just forgot what it was01:49
Haargdo you think a site admin is going to remember when there are three options?01:49
Haargi think being secure by default seems like the best option.  if the user goes to the extra effort to do something insecure that's ok, but they should be forced to think about it first.01:50
Haargsomething like template: forces them to think more than the difference between PROCESS/INCLUDE/INSERT01:51
Haargi guess i don't see the issue with forcing people to use template assets to store template components01:52
@preactioneh, there isn't one really01:53
@preactionbut what you've said sounds like i can't have asset: in provider, because provider does process include and insert01:53
jimX11A TT2 question, WebGUI verions less that 7.10 need template vars passed in HTML::Template style as hashrefs or as an array ref of hash refs.  Can I pass it a hashref where the value is an object?01:53
@preactionno01:54
@preactionH::T will die01:54
jimX11H:T will die, but I'm using TT2.01:55
+perlDreamerthat doesn't stop the user from building new, custom templates in H::T01:56
Haargpreaction, looking at provider a bit more, INSERT only works with static files01:56
Haargor wait i'm dumb01:57
Haargok.  it would be simpler to do what you were thinking, just providing asset view able to be processed as a template.  but you could also override load and force all three mechanisms to work the same.01:58
-!- carogray [~Caroline@32.178.80.139] has quit [Read error: Connection reset by peer]02:01
-!- carogray [~Caroline@32.178.80.139] has joined #webgui02:02
-!- carogray [~Caroline@32.178.80.139] has quit [Read error: Connection reset by peer]02:06
-!- carogray [~Caroline@32.178.80.139] has joined #webgui02:06
Haargpbcj, if preaction doesn't get the provider thing worked out, or if it can't be used for the client for some reason, i'd recommend using the patch i just committed, then writing a tt plugin to do the including.  Template::Context provides easy methods to include templates or define blocks or similar.02:06
@pbcjthx, problem is for client A I have no budget and am locked into an old version, and for client B, I likely have budget, but tackling that problem is a ways down the todo list02:08
@preactionoh always02:09
Haargthis stuff should all be simple to backport at least, so it shouldn't be a huge problem that it's an old version02:10
@pbcjyes, but they aren't using TT to begin with, and that's what I don't have budget for02:15
@pbcjhowever, this could likely solve it for client B.02:15
@pbcjI want an overall solution that simplifies branding, for both a single site serving multiple urls, and several individual instances02:16
-!- carogray [~Caroline@32.178.80.139] has quit [Ping timeout: 258 seconds]02:19
fallouti need some easy bugs to wade into wg with02:25
@preactionyou might find it easier to start with 8, if you can get it to work02:27
@pbcjcan I start over and just start with 8?02:27
@preactionspeaking of which, how's that going scrottie? does anything work on your system yet? can i breathe a sigh of relief?02:27
falloutheh02:28
@preactionpbcj: no. you don't get 8. no 8 for you!02:28
falloutcj you have vm's02:28
@pbcjyes, but I get paid for this, so ..02:28
* pbcj is pinned squarely under the man's thumb02:28
@preactionpbcj: i'm trying, i really am. i'm skipping so much and cutting corners and making dark promises to powerful gods to get this shit out the door so you can has02:29
falloutwell, are there major issues with installing 8?02:29
@preactionit's pre-alpha02:29
falloutif it's similar to issues of old i think i'll survive02:29
@pbcjI got it to work, once upon a time02:29
fallouterm.02:29
@preactionthat's as succinct as i can get it02:29
@preactioni'm working on trying to push alpha within a couple weeks02:29
falloutwill it get me karma is really the question i should be asking i suppose ;)02:30
@scrottieanything work on my system?  hmm?02:30
* scrottie was afk02:30
@scrottieI haven't worked up the courage (or lack of immediate things to deal with) to do much with WebGUI8, but it's been doing a good job of not really doing much.02:30
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:31
@preactionat least it's doing a good job02:31
@scrottieI guess I could test the UI some more.02:32
@preactionfallout: afaik there aren't many easy bugs, but perlDreamer would know for sure. you might have better luck attacking the RFE boards02:32
falloutroger.02:32
falloutappreciate it02:32
@scrottiefallout, yeah, even help testing would be good.  a big picture of how it's coming together would seem useful.02:32
+perlDreamerthere's the PayPal locale bug02:32
@pbcjfallout: I'd be willing to send you a stuffed octopus named 'gooey', and perlDreamer might be convinced to send you cookies. 02:32
falloutwoot02:33
falloutgood enough.02:33
+perlDreamerthat's about as easy as it gets02:33
@scrottieinstall is easy.  I fixed up the README that comes with it to include the things that idiots like me tend to forget.02:33
+perlDreamerbut you need to test BOTH PayPal plugins, since they have different locale setting/form variables02:33
+perlDreamerand the bug should be fixed in the master branch02:33
+perlDreamernot WebGUI802:33
+perlDreamerand we can talk about how to backport it to 7.902:33
falloutideal =)  am looking.02:35
+perlDreamerHaarg, what do you remember about this commit: 4350966866835f4a4a468d261fe2284577033c2702:37
+perlDreamerit turns out that if a site has urlExtensions enabled, and they import a style package, that it breaks the AssetProxy links to other assets since their URLs were changed02:38
+perlDreamerso, I was thinking of reverting that commit, and adding in a check to duplicate instead02:38
Haargi don't really know02:39
-!- daviddelikat [~user@ppp-70-226-164-54.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 240 seconds]02:49
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]02:58
cjfallout: hmm?03:11
-!- fokat [~lem@186.93.207.12] has joined #webgui03:13
cjI do have vms, but why do you mention this?03:13
@preactioncj: wrong cj i think. there's a pbcj03:14
cjah.  roger.03:15
-!- fokat [~lem@186.93.207.12] has quit [Ping timeout: 264 seconds]03:18
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:19
@scrottiecj, how's the WebGUI based cart going?03:24
-!- fokat [~lem@186.93.207.12] has joined #webgui03:27
cjscrottie: I set it down so I could get some $work done.  I'm hoping I'll have it up within the next month so I can get that PCI compliance checkbox checked.03:33
-!- lem_ [~lem@186.93.207.12] has joined #webgui03:41
-!- fokat [~lem@186.93.207.12] has quit [Ping timeout: 240 seconds]03:41
-!- lem_ is now known as Guest2761203:41
-!- Guest27612 [~lem@186.93.207.12] has quit [Quit: Ex-Chat]04:05
@scrottieFile assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior.  (#11688) ...04:36
@scrottiethat seems to be working now but I'll have to write tests and commit tomorrow.04:36
@scrottiesite.psgi looks at the config and enables either XSendfile or Static as appropriate04:36
@preactionawesome!04:37
@preactioni was worried about that one04:37
@scrottieat this point, some of this Plack stuff just needs simplified...04:37
@preactionplack itself? or our usage of it?04:41
@scrottiethe usage of it.04:42
@scrottieWebGUI.pm is trying to figure out which scenario things are running in and it really doesn't need to care, for the most part.04:42
@scrottieexcept I want to move content type guessing for streamed filehandles up to the top level there.04:43
@scrottiemost places won't need to call sendHeader.  that can be done at the top level and probably no where else.04:44
@scrottiethat can be rolled into the Request's finalize() method in a subclass.04:45
@preactionagreed04:46
@scrottieso, Plack continues to simplify everything.  yay, yay!04:46
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []04:50
@preactionwhat if we got rid of lineage, used URLs to build the tree, and allowed assets to have as many URLs as they wanted?04:51
* preaction dons asbestos robe04:51
@scrottielineage vs url mostly confuses people, I think.04:53
@scrottieit seems like mostly a chance for things to be out of sync.04:53
@preactionit confused the hell out of me, yeah04:53
@preactionbut i also understand the benefit of arbitrary URLs04:53
@scrottieI think we should shoot for that for 9.04:53
@scrottieusually people pick their URL and then stuff under it goes under it and gets automatically named from the title.04:54
@scrottiethat wouldn't change.04:54
@preactionwe'd need a "canonical" URL to keep those automatic names predictable04:56
@scrottieImageMagick doesn't work in 5.16 yet.  if I wind up with some extra time here, I'm seriously thinking about doing an API-alike based on NetPBM.  perhaps I'll call it Image::Magick::Sucks04:57
@preactioni'll keep it in mind. i should probably put together my 9 wishlist someday04:57
@scrottiepostgres.04:57
@preactionwhy not a Graphics::Primitive plugin or what-not?04:57
@preaction9 would have an ORM, so yes.04:58
@scrottiehmm, that sounds like a good idea.04:58
@scrottieugh.  that's a discussion for another time.04:58
@preactionheh04:58
-!- frodwith [~frodwith@helios.tapodi.net] has left #webgui []04:58
jimX11Hmmm, ORMs04:58
jimX11DBIx::Class is making things so simple04:59
@preactionwell, in theory 8 will have an ORM, but not everything will use it. it's something that has to be developed over time. i should probably write all that plan down too04:59
@scrottieI hope to god I'm able to pull myself up out of Web programming again by then if it is the case.04:59
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui05:01
-!- mode/#webgui [+o frodwith] by ChanServ05:01
@preactionyou can't escape! it's PROGRESS! JOIN US!05:04
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:20
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui05:43
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:25
-!- mode/#webgui [+v BartJol] by ChanServ10:25
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui11:24
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:33
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui14:34
SDuensinThursday.  I never could get the hang of Thursdays.16:44
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]17:19
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui17:28
falloutSDuensin:  well, i'm sure you'll get lots of practice17:38
SDuensin:-)17:39
SDuensin(Nobody gets my quotes!  What kind of geeks are you?!)17:39
+BartJolwe just ignore them :P17:40
SDuensinlol17:41
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:54
-!- mode/#webgui [+v perlDreamer] by ChanServ17:54
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:55
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:09
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui18:14
-!- mode/#webgui [+o pbcj] by ChanServ18:14
@pbcjmornin18:14
+perlDreameryo, pbcj18:14
@pbcj=)  finally starting to get over this bout.  rhinovirus 3, chris 018:15
+perlDreamerI keep tellin' ya, you spend too much time with weight on both feet, and you're droppin' yer left18:17
+perlDreamerthat's why he's got you on the ropes18:17
+perlDreamernow, keep shifting your weight, move move move18:17
@pbcjstick and move18:17
+perlDreamerand keep that left up, otherwise he's going to make hamburger out of ya18:17
+BartJolwhat, not playing supertuxcart?18:25
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:27
@scrottieSDunsin, geeks aren't awake at that hour.18:30
@scrottieORMs aren't the future.  they're just another tragic chapter in history.18:31
@pbcjORMs are a stepping stone18:32
@scrottieORMs are an attempt to replicate the working set in yet another place because copying data around is so much fun.18:34
@preactionwhy do you hate jesus?18:34
@preactionjesus loves ORMs18:34
@pbcjORMs are suppose to add an abstraction layer, albeit a specific abstraction.  nHibernate was pretty nice.  db4o even better.18:38
* pbcj begins the flame war18:38
@pbcjso I have a simpler solution to my subtemplating problem.  apparently you can send subs to TT.  with a little closure, I think this would be enough to provide subtemplating.18:47
@pbcj$t->process( \$template, { $vars, subtemplate => sub { $t->process( $_[0], ... } } ) || bail;18:47
@pbcjidea from: http://stackoverflow.com/questions/1285441/calling-outside-modules-in-template-toolkit-without-plugins18:47
@pbcjis this a bad idea?18:47
+perlDreameranything is better than giving them the whole session18:51
+perlDreameronce an underprivileged user has a session, they can rewrite passwords, give themselves group membership18:52
+perlDreamerand other things for fun and profit18:52
@preactionwe don't allow full perl blocks19:00
@preactionand without downgrade(), i'm not sure how the subs will make it to the template19:01
@pbcjI'd be a core change19:01
@pbcjIt'd19:01
@pbcjand only work for TT19:01
@preactionand we already have it, in the downgrade() sub. if you allow subrefs to be ported through, it'll work19:02
@preactionas for eval_perl, let me get you a patch here quick19:02
@preactionhttps://gist.github.com/ede0a91762b998ee99a8 <- that adds to graham's patch to also allow you to configure TT directly from the config file in the "template" config key19:04
@preactionso you could do "template" : { EVAL_PERL : 1 } and enable eval_perl19:04
@preactionif you're using pre 5.10 perl, you need to change //= into: defined $something ? $something : $default19:05
@pbcjhrm, I was actually thinking I could put it in base template, and had started down that road as a test19:12
@pbcjthis is probably riddled with perl noob mistakes, but this is what I was going for: https://gist.github.com/5444b48de7bfeeb594b819:12
* pbcj has not run that code. don't shoot me19:12
@preactionthat won't work with H::T, and will break any H::T template19:12
@pbcjscrew H::T19:13
@pbcjI was proud of my little solution, too.  Thanks dad :/19:15
@pbcj"children, thank your father"19:15
-!- CIA-80 [cia@cia.atheme.org] has joined #webgui19:36
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui19:40
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Remote host closed the connection]19:57
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui19:57
-!- CIA-80 [cia@cia.atheme.org] has quit [Remote host closed the connection]20:01
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui20:23
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]20:40
-!- fokat [~lem@190.204.78.19] has joined #webgui20:50
-!- fokat [~lem@190.204.78.19] has quit [Ping timeout: 240 seconds]21:01
Haargpbcj, if you apply my patch to add _session to vars, you can then use a plugin like this21:55
Haarghttp://gist.github.com/96919221:55
Haargand do [% USE WGTemplate; WGTemplate.process('url-here') %]21:56
@pbcjstill need the vars passed, though21:57
Haarg$context->process keeps the vars21:57
@pbcjoh, saweet21:58
@pbcjthis still puts session in vars tho22:12
@preaction_ vars cant be accessed from the template22:12
@preactiononly from plugins and such22:12
@pbcjoh, right, I think I discovered that once22:12
@pbcjnice22:12
@pbcjthen, purrrfect22:13
@pbcjty22:13
-!- CIA-82 [cia@cia.atheme.org] has quit []22:20
@pbcjCIA is not doing well today22:22
+perlDreamerHe needs some Botspo-Bismal22:32
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.]22:33
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui22:35
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui22:40
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.]22:46
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui22:52
@scrottiehttp://pghpw.org/ppw2011/ ... I'm thinking about putting in "WebGUI 8 as a Plack Web Development Framework".23:34
@scrottiebtw, there are six days left for priority consideration of PPW talks.23:37
--- Day changed Fri May 13 2011
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]00:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []00:15
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]00:43
-!- lem_ [~lem@186.93.207.12] has joined #webgui01:04
-!- fokat [~lem@186.93.207.12] has joined #webgui01:04
-!- lem_ is now known as Guest751601:04
-!- fokat [~lem@186.93.207.12] has quit [Client Quit]01:06
-!- Netsplit *.net <-> *.split quits: ckotil, SDuensin, @frodwith, sbaur, +Radix__, vayde, perlbot, @preaction, Getty, Haarg, (+12 more, use /NETSPLIT to show all of them)01:41
-!- Netsplit over, joins: Guest7516, mducharme-work, CIA-82, perlbot, sbaur, +perlDreamer, carogray, waxhead, daviddelikat, @frodwith (+12 more)01:45
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:56
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui02:09
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:37
-!- Guest7516 [~lem@186.93.207.12] has quit [Quit: Ex-Chat]03:27
CIA-82webgui: Scott Walters WebGUI8 * r7a994b5 / (6 files in 6 dirs): (log message trimmed)04:11
CIA-82webgui: File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688)04:11
CIA-82webgui: New API method: WebGUI::Response::sendFile; it, as appropriate, calls04:11
CIA-82webgui: setRedirect or setStreamedFile, depending on enableStreamingUploads config var.04:11
CIA-82webgui: setStreamedFile now kicks off the XSendfile process.04:11
CIA-82webgui: File.pm now uses this instead of trying to set both a redirect and a stream.04:11
CIA-82webgui: IO::File::WithPath blows up if a file doesn't exist so this raises an exception04:11
* scrottie &04:12
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:37
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 240 seconds]04:39
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui05:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 258 seconds]05:13
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:21
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui05:23
-!- mode/#webgui [+v perlDreamer] by ChanServ05:24
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]05:46
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui07:12
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds]07:21
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]07:44
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui07:45
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui08:49
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:29
-!- mode/#webgui [+v BartJol] by ChanServ10:29
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:01
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui13:05
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Read error: Operation timed out]14:23
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui14:24
-!- mode/#webgui [+v BartJol] by ChanServ14:24
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has quit [Read error: Connection reset by peer]15:29
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui16:23
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui16:40
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]16:43
SDuensinFrIdAy13tH!16:50
-!- fokat [~lem@186.93.207.12] has joined #webgui17:25
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:48
-!- mode/#webgui [+o pbcj] by ChanServ17:48
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:48
-!- fokat [~lem@186.93.207.12] has quit [Quit: Ex-Chat]19:41
@scrottieGOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD MORNING VIETNAM19:41
@scrottieoh, hell.19:41
@scrottieit is.19:41
@scrottieso that's why I stabbed myself with a rusty nail this morning.19:42
SDuensinWell that was silly.19:43
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds]19:55
-!- sbaur [~Adium@130.157.145.37] has joined #webgui21:00
@preactionso since I wrote WebGUI::Template::Provider today, does that mean it's the unholy spawn of our evil dark lord, Mr. Fuzzydrawers?21:41
@scrottievi lib/WebGUI.pm ... :w ... lib/WebGUI.pm: 209 lines, 6666 characters.21:49
@preactionoh god, it's STARTING21:50
@scrottieI guess wc -c would be easier.21:50
@scrottiehrm, I should write a smoker bot that runs prove --verbose, captures the output in a log file, and commits the results back in a file to the repo.  then if you want to go muck things up, you know you always have before test results to diff/kompare against.21:52
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui22:28
-!- mode/#webgui [+o rizen] by ChanServ22:28
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui22:42
-!- mode/#webgui [+v perlDreamer] by ChanServ22:42
-!- fokat [~lem@190.72.135.232] has joined #webgui23:11
-!- fokat [~lem@190.72.135.232] has quit [Ping timeout: 264 seconds]23:20
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui23:29
--- Day changed Sat May 14 2011
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen]00:37
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:37
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []02:03
@preactionI CAN FINALLY CHECK IN THIS MERGE!02:13
@preactionfull test suite runs expectedly dirty! only POD.t and Whitespace.t fail!02:14
@preactiongit add lib t02:14
@preactionthat's the wrong window02:14
CIA-82webgui: Doug Bell WebGUI8 * r277faae / (848 files in 205 dirs): (log message trimmed)02:21
CIA-82webgui: Merge commit 'v7.10.15' into 802:21
CIA-82webgui: Conflicts:02:21
CIA-82webgui:  docs/gotcha.txt02:21
CIA-82webgui:  docs/previousVersion.sql02:21
CIA-82webgui:  docs/templates.txt02:21
CIA-82webgui:  lib/WebGUI.pm02:21
CIA-82webgui: Doug Bell WebGUI8 * r677ac97 / (89 files in 28 dirs): 02:21
CIA-82webgui: Merge branch 'WebGUI8' of github.com:plainblack/webgui into 802:21
CIA-82webgui: Conflicts:02:21
CIA-82webgui:  lib/WebGUI.pm02:21
CIA-82webgui:  lib/WebGUI/Auth/WebGUI.pm02:21
CIA-82webgui:  sbin/findBrokenAssets.pl02:21
CIA-82webgui:  sbin/testEnvironment.pl - http://bit.ly/k0dBsw02:21
sbaurcongrats preaction!02:25
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:27
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]03:18
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]04:29
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:29
@scrottiepreaction, just between you and I, I think you should release a public beta of WebGUI8 at midnight.04:43
@preaction11:59 perhaps?04:43
@scrottieworks.04:43
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:26
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui13:24
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui13:27
-!- KlausH [~KlausH@pD952A00E.dip0.t-ipconnect.de] has joined #webgui14:02
-!- KlausH [~KlausH@pD952A00E.dip0.t-ipconnect.de] has quit [Client Quit]14:02
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]15:11
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]17:35
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui18:55
-!- mode/#webgui [+o rizen] by ChanServ18:55
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen]20:14
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui22:04
--- Day changed Sun May 15 2011
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:38
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]04:47
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui05:04
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:25
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]06:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui06:52
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui06:52
-!- lem_ is now known as Guest4066506:53
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]06:53
-!- Guest40665 [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]07:11
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui07:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]08:36
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]09:21
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui09:22
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds]09:34
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui11:43
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:08
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:29
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]13:17
-!- carogray [~Caroline@173-142-249-32.pools.spcsdns.net] has joined #webgui13:58
-!- carogray [~Caroline@173-142-249-32.pools.spcsdns.net] has quit [Quit: Leaving.]15:03
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 260 seconds]15:21
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:24
-!- mode/#webgui [+v Radix_] by ChanServ15:24
-!- carogray [~Caroline@184-201-247-71.pools.spcsdns.net] has joined #webgui15:38
-!- carogray1 [~Caroline@173-101-178-251.pools.spcsdns.net] has joined #webgui16:11
-!- carogray [~Caroline@184-201-247-71.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]16:12
-!- carogray [~Caroline@184-201-164-223.pools.spcsdns.net] has joined #webgui17:19
-!- carogray1 [~Caroline@173-101-178-251.pools.spcsdns.net] has quit [Ping timeout: 264 seconds]17:21
-!- carogray1 [~Caroline@173-125-51-11.pools.spcsdns.net] has joined #webgui17:37
-!- carogray [~Caroline@184-201-164-223.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]17:38
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:26
-!- carogray1 [~Caroline@173-125-51-11.pools.spcsdns.net] has quit [Ping timeout: 260 seconds]18:43
-!- carogray [~Caroline@72-60-248-68.pools.spcsdns.net] has joined #webgui18:50
-!- carogray1 [~Caroline@173-125-127-35.pools.spcsdns.net] has joined #webgui18:58
-!- carogray [~Caroline@72-60-248-68.pools.spcsdns.net] has quit [Ping timeout: 260 seconds]19:01
-!- carogray1 [~Caroline@173-125-127-35.pools.spcsdns.net] has quit [Read error: Connection reset by peer]19:10
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]22:58
--- Day changed Mon May 16 2011
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui00:44
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui01:40
-!- Baub [~ilikegyro@cblmdm24-53-133-235.buckeyecom.net] has joined #webgui02:58
-!- Baub [~ilikegyro@cblmdm24-53-133-235.buckeyecom.net] has quit [Quit: Baub]03:49
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]03:54
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui04:06
-!- andyiomoon [~andyiomoo@vpn246-8.cc.swin.edu.au] has joined #webgui04:16
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]04:26
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui05:46
-!- andyiomoon [~andyiomoo@vpn246-8.cc.swin.edu.au] has quit [Ping timeout: 252 seconds]05:49
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui05:52
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 260 seconds]05:54
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]05:59
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui06:10
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]06:16
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui07:58
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 240 seconds]10:22
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui10:22
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui11:23
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]13:31
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui13:36
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]13:44
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui14:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui14:59
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]15:00
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:01
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui15:02
-!- mode/#webgui [+v BartJol] by ChanServ15:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]15:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:04
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui16:30
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Client Quit]16:32
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out]16:33
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui16:35
SDuensinGreetings.16:50
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui16:56
-!- mode/#webgui [+o pbcj] by ChanServ16:56
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:12
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui17:28
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui17:45
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]17:45
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:46
-!- mode/#webgui [+v perlDreamer] by ChanServ17:46
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds]17:47
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:57
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]19:04
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.]20:11
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]21:04
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui21:40
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui22:28
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 276 seconds]22:28
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]23:17
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]23:32
--- Day changed Tue May 17 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:04
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]00:05
CIA-82webgui: Paul Driver master * rc1a2918 / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/iuwgWG00:13
CIA-82webgui: Paul Driver webgui-7.9 * red2a50d / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/kTijeG00:17
CIA-82webgui: Paul Driver webgui-7.9 * r0d66ad4 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/lSSc0G00:17
CIA-82webgui: Paul Driver master * r4af2c84 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/kQoC2H00:18
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:13
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui02:05
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:27
jimX11how can I generate a new session id?  This ain't it: $session->id->generate03:00
@scrottieare you calling the docs a liar?03:04
@scrottiewhat error do you get?03:05
@preactiondo you mean you want a new session?03:05
@preactionor just an ID?03:05
jimX11just an id03:05
jimX11well it could be me.03:05
@preactionthen yes, session->id->generate03:05
@scrottieI might guess that you have a $self but not a $session.  does the module load?03:05
jimX11Hmm.03:05
@scrottieis there anything in the mod_perl error log about this module?03:06
Haargwhat does generate give you that is different from what you are expecting?03:06
jimX11In a loop I'm generating ids using a session - maybe it's because I"m missusing a test session - and the id is the same on the second loop iteration.03:07
jimX11my $session = WebGUI::Test->session;03:07
@scrottiepaste the code around this loop into a gist.github.com gist?03:07
jimX11is my seesion.03:07
@scrottieor use +http://webgui.pastebin.com03:08
jimX11https://gist.github.com/97563603:08
Haargpastebin doesn't have subdomains like that anymore actually03:09
-!- targz [~gmac@heaton.plus.com] has joined #webgui03:09
jimX11the first iteration produces this webgui id "-fIlDviRwGlRqU5V1mtarw" and an insert is done.  The second iteration fails because the same webgui id is use.03:10
jimX11...and the db had a constraint forceing the webgui id to be unique.03:11
jimX11well, I made a test loop and that craeted new ids (just as the docs say).  So must be something in my loop.03:13
jimX11ok, session->id->generate is the right thing to use here.  Just checking my assumptions (because at least one of the is wrong).03:14
targzI'm planning a WebGUI deployment for later this year. Any idea when WebGUI8 might be released?03:16
targzI'd really like a Plack/PSGI-based version to work with.03:17
@scrottietargz, check out a copy now and test it.03:19
@scrottiethere are some architectual changes that still need to be made, it needs testing (including an official alpha test release), and there are some assets that haven't been updated for WebGUI 8 yet.03:20
targzI could test now but that doesn't help me plan my deployment. Is a rough timeframe taking shape or is it a way off yet?03:21
@scrottieregardless, even if you deploy 7 and let 8 settle a bit, it should be an easy upgrade if you haven't written any assets or content handlers yourself.  you should just be able to swap WebGUIs and run updates.03:21
@scrottiepreaction will have to speak to that.03:21
targzIt's more a case of trying out new server options with PSGI eg. Starman, nginx etc.03:22
@preactioni'm planning on the alpha in june. beta when i feel stable enough (not less than 2 months after alpha, during which time I'll be making the new WRE and some other stuff)03:23
@preactionnormal beta cycle rules apply from that point: 7.10 goes stable, 8 is new beta, some months pass, features added that didn't require API changes, 8 goes stable03:23
targzSounds like the back end of this year then. Good to have some idea. Thanks.03:23
@preactionas long as you write no custom code, the upgrade should happen as normal, though i'll get a feel for that in these coming weeks03:24
@scrottiea lot of this has to do with how brave you are.03:25
@preactionindeed03:25
@preactionbut with a full test run passing and every asset's edit form working, there's really nothing more to be done except release something to the universe03:25
@scrottiefwiw, we're stoked about Plack too.03:25
@scrottiehave those Test::Class tests seen the light of day any time recently?03:27
@preactioncrap, you're right. those don't get run with a normal run...03:28
@scrottiethey're too obnoxious.  but they might be worth running manually.03:28
targzWhere can I get WebGUI 8 source code? Can't see anything on the website.03:33
@preactionhttp://github.com/plainblack/WebGUI8 i think03:33
@preactionhttps://github.com/plainblack/WebGUI/tree/WebGUI8 <- nope, this03:34
jimX11thanks for the tips, the problem was in the method chaining.03:43
targzThe fie I downloaded is labelled ... v7.10.15 ... Is that the correct one?03:50
@preactiontargz: no, you need to clone the git repo and checkout the WebGUI8 branch03:50
targzRight. So it's a Git job.03:51
jimX11where can I read about adding a user via the command line?  Maybe something in /data/wre/sbin will help?04:00
@preactionwgd might be able to do it04:00
@preactionmaybe not. looks to only be able to test the security of passwords04:01
HaarguserImport.pl can do some user manipulation04:02
Haargit's kind of painful to work with though04:02
jimX11ok.04:04
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui04:22
-!- mode/#webgui [+v perlDreamer] by ChanServ04:22
-!- targz [~gmac@heaton.plus.com] has left #webgui []04:27
+perlDreamerwhat's the magic CPAN invocation to tell it just to install all these temporary modules needed for building other modules?05:17
@preactionEM_MM_USEDEFAULT=1 maybe? dunno05:26
@preactioncpanm maybe?05:26
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]05:45
+perlDreamermmm, cpanm!05:48
Haargo conf build_requires_install_policy yes06:34
+perlDreamerthanks Haarg07:04
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui07:30
elninohi. Is there a way to sort the items in a list that is generated by "thingy" - the drop lists when creating a new record, or searching for data are a weird order.07:30
@preactionno, but that might be an outstanding RFE07:32
elninook.  and is there a way for the search fields to be OR instead of AND? I'm getting two drop lists, and I HAVE to choose from both. I'm looking at the templates to see if I can add a "blank" row07:33
CIA-82webgui: Colin Kuskie master * r2ab9773 / lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm : Remove variables that were not being used. - http://bit.ly/kVFzeP07:34
CIA-82webgui: Colin Kuskie master * rd796412 / t/Asset/Story.t : Update Asset/Story.t for changes to exportGetRelatedAssetIds now exporting the container as well. - http://bit.ly/lQxBVA07:34
CIA-82webgui: Colin Kuskie master * raaa2d8e / t/Asset/Shortcut/010-linked-asset.t : Update shortcut exporting test for changes to exportGetRelatedAssetIds exporting the container by default. - http://bit.ly/kg9V4C07:37
jimX11well, I'm pullint the column names dynamically, but I can't get the template to show it because of that no-array-refs-only-hashes constraint.  Actually I pulled the column names and those aren't suitable for display. So I'll go back and add more meta data - the display name.07:53
elninoare you talk to me?07:54
+perlDreamerpreaction: heads up.  There's some intermittent bug in AssetLineage.t07:55
jimX11elnino:sorry wrong window.07:55
elninolol. that's ok. it kinda sounded related to what I was doing. =)07:55
@preactionperlDreamer: what happens?07:56
+perlDreamerhttp://www.webgui.org/use/bugs/tracker/1213007:56
+perlDreamersetRank fails to move an asset07:56
CIA-82webgui: Colin Kuskie master * re33c41b / t/Asset/AssetLineage.t : Add more tests around a test that fails intermittently in AssetLineage.t - http://bit.ly/kMt2zt07:58
@preactionjimX11: you should have a data structure that looks like this: columns => [ { name => 'name', label => 'Name' } ... ], rows => [ { row => [ { name => 'Value' } ... ] }, { row => [ { name => 'Value2' } ] } ] }07:58
@preactionthe DataTable asset does something like it, iirc07:58
@preactionperlDreamer: that has to be a recent happenstance. perhaps git bisect can help you?07:58
+perlDreamerI don't think it's recent, I think it's rare07:58
+perlDreamerand I can't duplicate it07:59
+perlDreamerbut I've got the test log that shows what'sup07:59
+perlDreamerif I hadn't had to spend the last hour fixing test failures from RFE's I may have never seen it even this time07:59
@pbcjHaarg, got that TT plugin working.  ended up like this: https://gist.github.com/975976  this way it can branch to a H::T08:00
CIA-82webgui: Colin Kuskie master * r669a071 / docs/create.sql : Preparing for 7.10.16 release. - http://bit.ly/iNOipy08:00
@pbcj[% USE SubTemplate; SubTemplate.process('/other-template') %]08:00
@pbcjthx for your assist on that08:01
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui08:02
jimX11preaction: the data escapes the hash requirement because it's an object.  Arrays of objects get past the H:T induced hash constraint.  Hmm, that's another solution, turn the array into an object, a simple object that has only a value method.08:03
@preactionH:T would choke on it, but since it's client code and not core code it doesn't matter what H:T does to it if you're using TT08:04
@preactionbut working with H:T means massaging the data into what H:T expects, even if that requires a few dozen map { } calls08:04
+perlDreamerpreaction, the new AssetProperty macro lets you pull any property from a macro without doing group checks08:08
+perlDreameris that legal?08:08
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]08:08
+perlDreamerlet me try that again08:08
+perlDreamerpreaction, the new AssetProperty macro lets you pull any property from any asset without doing privilege checks08:08
@preactionperhaps ask the author if that's a requirement? i could go either way really08:10
+perlDreamerI'm probably just being paranoid again08:11
+perlDreamernever mind08:11
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving]08:15
-!- Haarg [~haarg@haarg.org] has joined #webgui08:16
@scrottiebash needs the perl /x flag for commands.08:16
@scrottieor maybe I need to investigate perl shells.08:17
CIA-82webgui: Colin Kuskie master * rbba52dd / (4 files in 4 dirs): Ready for 7.10.17 development. - http://bit.ly/kU4WYy08:20
Haargthat assetproperty thing does seem dangerous to me.  allowing site admins direct access to the api like that seems nasty, in addition to the security issue due to the lack of group checks.08:24
jimX11preaction: I thought I could use just use a block like this { $_ => $_ } instead of { name => $_ } for map. But some columns aren't displayed (ids) and those have undef values.  So that's why { name => $_ } is better.  I ask because the data works, but just for one specialty table (needles).08:34
jimX11I ask because the data is displayed for the one specialty table, but the real tables may show cases that require what you suggest  rows => [{row => [ {name => ...(ack).08:36
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]08:44
@preactionwait a minute. aren't files supposed to be included in packages?09:02
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:02
@preactionthe actual file contents?09:02
@scrottiehrm.  I have in the past wgd package'd up pngs and moved them over.09:03
@scrottieI don't know in which cases that works... if it only works on File assets, or if it works on anything with a storageId, or what.  I'm guessing the illusion is imperfect.09:03
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:03
@preactionmaybe it's because these are collab posts and the attachments don't come with them?09:04
* scrottie waves to andyiomoon09:04
@preactionlike dataform entries don't come with the dataform09:04
@preactionnope, attachments are included with posts.09:04
@preactionwhy do i always have to find bugs when it's a data recovery emergency?09:05
@scrottieuh oh.09:05
@preactioni'm fine, i can get the data, it's just annoying09:05
@preactionthe package wouldn't import, had to do it three times, somehow repeating it make it eventually work09:05
@preactionbut the package didn't export any files... because the files weren't there because the assets were from the backup but the files were not09:06
@preactionso that's not a bug09:06
@preactionjust out of sync data09:06
@preactionbut having to import three times...09:06
@preactionmaybe because the storageId was there but there was no data?09:06
@scrottiecould be.09:07
@preactionit's 1:00am. i'm not going to go digging, but i will leave a note to dig tomorrow09:07
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]09:08
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:08
@scrottie"my $storage  = $asset->exportPackage;" seems to be the heart of package building.09:08
@scrottieand importPackage() to import them.09:09
* andyiomoon doffs lid to scrottie09:09
@scrottieready for another exciting day, andyiomoon?09:09
andyiomoonboy am I!!!09:10
andyiomoonthat might have sounded a little too enthusiastic09:10
@scrottieenthusiasm often doesn't last ;)09:11
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]09:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Ping timeout: 276 seconds]09:13
@preactionand for some reason tar didn't extract all the images correctly, or worse those images are missing...09:16
@scrottiehrm.  'info'/'debug' level logging is going to have to be retained, I think.09:16
@preactionmost definitely09:17
@scrottie(I can't remember right now what you wrote earlier)09:17
@preactionfatal needed to go away because all errors are potentially recoverable and logging an error should not include a die()09:18
@scrottieexceptions are just die.  if stuff isn't caught, it could be.  but yeah, commingling two ideas tends to cause confusion.  on the other hand, the I've seen a lot of code that is too eager to catch and blackhole errors.09:21
@scrottiethere's something nice about being able to turn debug volume to 11 when you're testing a failure scenario.09:22
@preactioni agree that people who over zealously catch errors deserve all the ill that befalls them (and more)09:23
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro]10:09
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:23
-!- mode/#webgui [+v BartJol] by ChanServ10:23
@scrottiekill it with fire.10:41
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui10:58
-!- Radix_ changed the topic of #webgui to: [7.9.27-stable | 7.10.16-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com12:54
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]14:47
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui14:59
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has quit [Read error: Connection reset by peer]15:21
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui15:54
jimX11wreservice.pl --restart modperl give a "FAILED!" message.  The log /data/wre/va\16:05
jimX11r/logs/modperl.error.log look normal "resuming normal operations" but modperl a\16:05
jimX11ppears to have not restarted.  What's another trouble-shooting step?16:05
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:13
jimX11I'm guessing one of my modules fails to compile, but no mention of that in the log.16:17
+BartJoljimX11: sometimes I see a FAILED message, while actually modperl is fine16:26
+BartJolbut in yeurcase it doesn't look like it16:26
+BartJolI think yopu can adjust the log level16:27
jimX11BartJol: I'll adjust the log level and see if something turns up in the logs.  Thanks.16:27
+BartJolin the wre it is in modperl.conf in /data/wre/etc16:28
SDuensinOnly Tuesday!?  ACK!16:41
jimX11BartJol: The error was a syntax error in my module.  I need food in my belly.  That's the root cause.16:52
+BartJol:)16:53
+BartJolwell, bon appetit16:53
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:33
-!- mode/#webgui [+o pbcj] by ChanServ17:33
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:54
-!- mode/#webgui [+v perlDreamer] by ChanServ17:54
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:55
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:09
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui18:31
-!- mode/#webgui [+o rizen] by ChanServ18:31
+perlDreamerpreaction: got some action on the Data::Serializer::JSON bug report18:37
+perlDreamerthe author is hesitant to accept the patch, because the author of JSON provided the original18:38
@rizenhe's just the author of json, what does he know about it? =)18:38
+perlDreameroh sure, take his side!18:39
+perlDreamerwhat do you know about authoring large, popular software programs?18:39
@rizennothing18:40
@rizeni've only authored large unpopular programs18:40
@rizenmany times18:40
@rizen=)18:40
+perlDreamer4th times the charm!18:42
+perlDreamerokay, so if someone got up early and made you white chocolate pancakes with raspberry syrup, would you turn up your nose at it?18:42
@rizensounds awfully sweet. i'd say, throw that crap away and make me an omelet!18:43
@rizen=)18:43
+perlDreamerfrom now on, I'm only making the kids spaghetti with peanut butter and worchestershire sauce18:44
HaargperlDreamer, i think for the purposes of that Data::Serializer::JSON issue, using utf8 encoding and decoding would probably be the way to go19:08
@preactionhttp://www.webgui.org/use/bugs/tracker/12132 <- fun bug I found at 2:00am last night!19:09
+perlDreameroooohhhh, very evil!19:15
@preactionnow i just gotta find out why the frankenstein package i made completely blew up19:24
CIA-82webgui: Doug Bell WebGUI8 * r01b9d95 / lib/WebGUI/Asset/RichEdit.pm : fix RichEdit merge - http://bit.ly/klsoRP19:49
@preactionshould inheriting from WebGUI::Asset load WebGUI::Definition::Asset for you?19:52
@preactioni can reduce this Hello World asset by a line, and a confusing error19:53
@preactionnope, can't figure it out, i can't import it into the parent class, that doesn't seem to work right. i can't call init_meta myself, because it doesn't get the define() keyword I need20:06
jimX11lunch anyone?  Bean nachos.  Hmm.20:20
+perlDreamerpreaction, I did a little digging into that bug and I'm confused20:36
+perlDreamerwww_lock calls addRevision20:37
+perlDreameraddRevision creates a tag if it doesn't exist20:37
+perlDreameror if the parent doesn't have an open tag20:37
+perlDreameror if there's no autocommit workflowId20:37
+perlDreamerI mean, on the surface it looks fine20:37
@preactionshit21:07
@preactionshit shit shit21:07
@preactionthen i don't even know21:07
@preactioni was looking at 8, which does things differently21:07
@preactionthen i don't know what happened.21:10
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui21:26
+perlDreamerlater this week I'll try to write some tests, and let them do the talkin'21:40
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui21:43
knowmadi need to add a reply-to header to emails sent via DataForm; is there a way to do that wihout creating a custom DataForm asset?21:45
@preactionknowmad: add it to the existing DataForm asset and send us a patch?21:46
@preactionthough, isn't there a global reply-to address in the settings?21:46
@preactionit has to be different than From:? 21:46
knowmadi didn't see one but let me check again...21:47
knowmadi would think that others would have run into this problem of emails getting rejected if you use the submitter's email address as the From field value; need a way to easily reply to the submitter without using their email in the From field21:48
@preactionbut yes, if it's not there, i approve the RFE21:49
knowmadwhen you say "global reply-to address in the settings", do you mean in the DataForm.pm definition?21:49
knowmadpreaction: there is a reply-to option in WebGUI::Mail::Send so adding a reply-to field in settings is easy21:51
knowmadunfortunately, i need to be able to populate that with a value from the dataform21:52
knowmadoh, wait, I should be able to do it the same way we handle from, subject, cc, etc21:52
@preactionyeah, that21:53
knowmadok, i'll submit an rfe and patch21:54
+perlDreamerit would probably be best to extend the default field set that's setup to add the Reply-To: Field in there21:55
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen]21:57
jimX11I should escape $gui in this: $self->session->icon->edit('func=editRow;guid=$gui'); rigth?  And I can use the escape method from WebGUI::Session::Url 22:42
@scrottiehttps://github.com/miyagawa/Plack-Middleware-InteractiveDebugger22:42
+perlDreamerGUID's are URL safe, jimX1122:42
CIA-82webgui: Doug Bell WebGUI8 * r1f75069 / lib/WebGUI/Asset.pm : allow assetName to be a normal, non-i18n string - http://bit.ly/iN4By923:21
CIA-82webgui: Doug Bell WebGUI8 * r587d494 / (2 files in 2 dirs): add Template Toolkit plugins/extentions - http://bit.ly/muddFD23:21
CIA-82webgui: Doug Bell WebGUI8 * r72d32d6 / lib/WebGUI/Template/Provider.pm : clarify returning from try/catch - http://bit.ly/izQVWu23:28
knowmadperlDreamer: thanks for the input; i think that we're on the same page; i'm looking at adding a section to the defFieldConfig in definition()23:32
knowmad my expectation is that this would then add a new field to the data form23:32
@preactionyes, most likely23:33
knowmadon another topic, i need to integrate an external script into a WebGUI site23:33
knowmadthanks preaction23:33
knowmadit will take form input, process it and return output23:34
knowmadi'm looking for quick and maintainable (realizing that these may be mutually exclusive)23:34
knowmadideally, i'd like the output to be handled by a wG template; any suggestions? ideas?23:34
@preactioni'd say an asset, it would have to be23:38
@preactionparsing the output yourself and then giving it to a template23:38
knowmaddo i need a wobject or can i get by with a plain asset?23:39
knowmadBelieve it or not, I've never written one so I'm kinda looking forward to the opportunity23:40
@preactionwobject adds style templates, so you probably want a wobject23:40
@preactionwish i had 8 out, i'm writing a presentation right now about HelloWorld asset and a simple DBIx::Class wobject23:41
knowmadyeah, we probably do; now to learn about wobjects ;)23:41
knowmaddo you have an ETA on the release of 8?23:41
@preactioni'm planning on an alpha next month. a beta when pb.com and wg.org are settled and stable23:42
@preactionalpha will be like a beta cycle, only with an alpha name and not stopping 7.9 stable dev23:42
knowmadexcellent23:44
@preactionanyone care to comment on the state of the 8-apps presentation so far? http://preaction.github.com/WebGUI/8-apps.html23:53
HaargperlDreamer, re Data::Serializer::JSON, have you tried using it with utf8 encoding turned on for both encode and decode?23:55
+perlDreamerno, I just used what we use internally23:55
+perlDreamerfrom_json and to_json23:55
+perlDreamerwhich the docs say will handle UTF8 correctly23:55
--- Day changed Wed May 18 2011
Haargif you are storing it in a text column yes00:01
Haargfrom_json is the same as JSON->new->decode()00:01
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:01
Haargif you store the data in a blob or something binary, letting JSON do the encoding/decoding is fine00:03
+perlDreamerI think part of the problem is that we don't know what it's going to be stored as00:23
+perlDreamerthe backend could be anything00:23
+perlDreamerso, for context, I came across that when I tried to use CHI, with Fast_MMAP, with JSON as the serializer00:24
+perlDreamerthe site that was using it had smart quotes, which all broke with JSON as the serializer00:24
+perlDreamerworked fine with Storable, but the original version of Storable was writing stuff that it couldn't read00:25
+perlDreamerso the site would throw a 500 error00:25
Haargfor things like that, having it not encoded is probably wrong, but due to perl internals probably works anyway00:25
Haargi think for a cache system you should probably always be assuming the backend is dealing in bytes00:26
+perlDreamercurrently it's encoding asymmetrically00:26
Haargyeah, with something like fastmmap though, it probably just goes directly to the internal representation00:26
Haargwhich just happens to be utf8ish00:26
Haargand so it round trips correctly by luck00:26
+perlDreamerhm00:27
Haargi could be wrong about that, but i think what is needed is to encode and decode both with utf8 on00:27
+perlDreamerso you would s/JSON->new->decode($_[1]);/JSON->new->utf8->decode($_[1]);/00:27
Haargfor the caching thing yes00:27
jimX11$session->url returns a WebGUI::Session::Url object.  Can I get the url of the session using that?  I want the url to use as the form value of the action attribute.00:30
+perlDreameryou'd use the URL of the asset for that00:30
+perlDreamer$self->getUrl00:30
jimX11thanks00:30
+perlDreamerif you every really did want the page url from the session, $session->url->page00:31
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui00:35
SquOnkGreetings.00:35
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 252 seconds]00:36
+perlDreameryo, SquOnk00:36
SquOnkNeed a hint. This site has many polls, however the "current" poll should be on the main page. They're using a Shortcut to the current poll.00:36
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui00:37
+perlDreamerwhat defines "current"?00:37
SquOnkThey want people to vote, but instead of going to the poll page to see the results, they want the results to be displayed in the Shortcut.00:37
+perlDreamersorry00:37
SquOnkperlDreamer: Whichever one they shortcut and paste in the main page.00:37
+perlDreamerthat's an Asset focus problem00:37
+perlDreamerwhen they vote, you go into the Asset00:37
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]00:38
SquOnkExactly. I told them that. Is there any way to prevent that?00:38
+perlDreamerchange the Poll to submit ajax?00:38
+perlDreamerand pull data via AJAX?00:38
+perlDreamerI'm pretty sure the ajax submit can happen with just a template change00:38
+perlDreamerbut pulling the data can't00:38
SquOnkperlDreamer: Haven't done that.00:39
+perlDreamerunless you forced a page reload or something00:39
+perlDreamerSquOnk, there are lots of examples of making AJAX requests in WebGUI00:41
+perlDreamerand if a JS-hating bigot like me can do it, then esteemed university professors can do it too00:41
SquOnkperlDreamer: Oh, but I'm not doing it.00:42
SquOnkperlDreamer: *They* are doing it.00:42
+perlDreamerah00:42
+perlDreamerit would be a cool RFE to add a real AJAX API to the Poll00:44
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 248 seconds]00:46
+perlDreamerpreaction, re 8-presentation, have you had time to check out the InnoDB migration code?00:50
@preactionit is not part of the upgrade yet, no00:50
* SquOnk wonders about the Pg-based version00:53
+perlDreamerSquOnk, we're just waiting for your patches :)00:54
SquOnkperlDreamer: :)00:54
+perlDreameractually, there have been a couple of different people who have asked about that now00:55
+perlDreamerand a db agnostic way of running wG would make the demo system very easy00:55
+perlDreamersomething that is SQLite backed, for example00:55
SquOnkperlDreamer: "db agnostic" implies DBIx::Class00:56
+perlDreamerno, it implies working with lots of other database backends00:56
+perlDreamerconverting WebGUI to DBIx::Class would be about the same amount of work, or more, than converting it to Moose00:56
+perlDreamerthat was close to two years00:56
@preactionit wouldn't have to be DBIC though00:56
SquOnkperlDreamer: By using DBIx::Class, you can use any database supported by Perl, even those that aren't databases (like DBD over CSV files or Excel worksheets :-)00:57
+perlDreamergoing through all the SQL to make sure it works with Postgres I think would be a smaller task00:57
+perlDreamerSquOnk, I'm sold on the concept00:57
+perlDreamerTotally think we should go with some kind of ORM00:57
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui00:57
+perlDreamerbut that's a different concept than making sure wG's current SQL works on pG00:57
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]00:59
CIA-82webgui: Chris Hanson master * r75c86a6 / www/extras/yui-webgui/build/map/map.js : Map: moved point at which hideLoading occurs to avoid potential bug. - http://bit.ly/iYl6y801:08
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds]01:10
CIA-82webgui: Graham Knop tt-asset-plugin * rd1f93b8 / lib/WebGUI/Template/Plugin/Asset.pm : add Asset template plugin (+1074 more commits...) - http://bit.ly/iCpBOG01:11
CIA-82webgui: Chris Hanson webgui-7.9 * r1b16d70 / www/extras/yui-webgui/build/map/map.js : Map: moved point at which hideLoading occurs to avoid potential bug. - http://bit.ly/iiZorz01:14
jimX11i have a package using a base of WebGUI::Asset::Wobject.  If I pass func=foo, then the method www_foo is called, I think.  But it doesn't seem to be.  The view method seems to be called still.01:31
CIA-82webgui: Doug Bell WebGUI8 * r72667d0 / lib/WebGUI/FormBuilder/Role/HasObjects.pm : add process() sub for FormBuilder - http://bit.ly/inwbRk01:31
+perlDreamerjimX11, check for syntax errors in the www_foo func, the webgui.log file tells all01:39
jimX11ok01:39
jimX11it was a syntax error.  I'm avoiding syntax errors from here on.  I'm a syntax-vegan from here on.01:48
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]01:58
@scrottiejimX11, you are keeping an eye on your modperl error log, right?02:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []02:25
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:26
jimX11well, I can't figure it out.  02:36
jimX11maybe I incorrect case?  This should send it to www_editRow: ?func=editRow; 02:37
jimX11I put tracer messages in the view method and in the www_editRow method.  Only the tracer text in view is in the log.02:38
jimX11perlDreamer: Looking for some error in my package that causes ?func=foo to not go to www_foo, I threw the baby out with the bath water and removed all code from the package except 4 methods, view view_foo  definition (it's a subclass of WebGUI::Asset::Wobject)and prepareView.  I restarted modperl and still ?func=foo runs the view method (the view method is just 1 line return "hello world").04:15
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:24
jimX11I even removed use directives applied to my other packages.04:31
+perlDreamerI have no idea05:10
+perlDreamerwhen I visit /home/untitled?func=foo05:11
+perlDreamerI get the output of the foo method05:11
+perlDreamerif you were to go to /home?func=foo05:11
jimX11oh05:11
jimX11yea05:11
+perlDreameryou'd be trying to get foo from the layout containing the untitled asset05:11
+perlDreamerremember, layouts ALWAYS show the view method of their child assets05:11
+perlDreamerif you want to call a method directly on a child asset, you hve to use ITS url instead05:12
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Read error: Operation timed out]05:23
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui05:24
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:40
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Read error: Connection timed out]05:44
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]05:45
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui05:48
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 246 seconds]06:37
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui06:52
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]06:53
-!- Netsplit *.net <-> *.split quits: jimX1107:09
-!- Netsplit over, joins: jimX1107:12
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]07:16
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds]08:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui08:21
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui10:02
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:30
-!- mode/#webgui [+v BartJol] by ChanServ10:30
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui12:00
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui13:43
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has joined #webgui15:00
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds]15:11
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui15:30
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui16:00
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]16:26
-!- fokat [~lem@66.0.48.131] has joined #webgui17:07
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:12
-!- mode/#webgui [+o pbcj] by ChanServ17:12
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro]17:16
SDuensinGreetings.17:25
@pbcjmorn'17:30
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui17:44
-!- targz [~gmac@heaton.plus.com] has joined #webgui17:52
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:53
-!- mode/#webgui [+v perlDreamer] by ChanServ17:53
targzNeed help getting WebGUI8. Have git cloned the repo and 'git checkout WebGUI8'. What next?17:53
targzDon't see any app.psgi file 17:54
+perlDreamerit's /data/WebGUI/app.psgi17:57
+perlDreamerwell, or whereever you installed WebGUI, in the top level directory17:57
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui17:57
targzno /data17:58
+perlDreamerwhere did you install WebGUI?17:58
targzIt was a git clone, not a download17:58
+perlDreamerall right, where did you clone WebGUI?17:59
targzI was prev. advised to clone the git repo17:59
targzcloned into webgui directory17:59
@preactionso it should be webgui/WebGUI/app.psgi no?17:59
@preactionwhere's the lib directory? app.psgi should be in the same directory as lib and README and a few other files18:00
+perlDreamerapp.psgi is in the git repo18:00
@preactionalso, you might be interested in http://preaction.github.com/WebGUI/8-apps.html18:00
+perlDreamerdefinitely18:00
targzall I see is asset_status.ods, docs, etc, lib, sbin, t, var, www18:00
targzlib contains Spectre, WebGUI, WebGUI.pm18:01
+perlDreamergithub says it's in there: https://github.com/plainblack/webgui/tree/WebGUI818:01
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:02
targzNot the URL I used18:02
@preactionwho did you clone from?18:02
targzhttps://github.com/preaction/webgui.git18:02
targzMaybe explains it18:02
@preactionyeah, that's out of date18:02
+perlDreameroh, that's not the right place18:02
@preactionbut you can fix that easy18:02
targzWhy is that the main URL listed on GitHub then?18:03
@preactiongit remote rm origin; git remote add origin git@github.com:plainblack/webgui.git18:03
@preactionuh... it should not be, where is it listed?18:03
targzLink from here: https://github.com/preaction18:04
@preactiontargz: i have a personal fork of WebGUI, but WebGUI's main repo is in the Plain Black organization18:05
targzAnyway, I have the correct URL now so thanks.18:08
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:08
-!- mode/#webgui [+o bopbop] by ChanServ18:08
-!- targz [~gmac@heaton.plus.com] has left #webgui []18:11
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:42
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:43
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]19:12
-!- rizen [~rizen@69.71.243.242] has joined #webgui19:13
-!- mode/#webgui [+o rizen] by ChanServ19:13
-!- mode/#webgui [-o rizen] by pbcj19:21
-!- BugSlasherMcGurk [~rizen@69.71.243.246] has joined #webgui19:32
-!- mode/#webgui [+o BugSlasherMcGurk] by ChanServ19:32
-!- rizen [~rizen@69.71.243.242] has quit [Ping timeout: 246 seconds]19:35
-!- BugSlasherMcGurk is now known as rizen19:35
-!- mode/#webgui [-o rizen] by pbcj19:45
-!- mode/#webgui [-o+o pbcj rizen] by preaction19:46
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has left #webgui []19:46
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui19:46
-!- mode/#webgui [+o pbcj] by ChanServ19:46
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]20:31
-!- fokat [~lem@66.0.48.131] has joined #webgui20:36
+perlDreamerif only paypal sandbox testing had frequent purchaser points...20:49
SDuensinWhat?  PayPal?20:50
SDuensinPlease tell me you're making a decent PP driver.  :-)20:50
+perlDreamerdepends on what you mean by "decent"20:51
SDuensinOne I can sell subscriptions to a group with.20:51
+perlDreamerit would help if it was more straight-forward on how to do that20:52
+perlDreamerwith PayPal Standard, you can only buy one subscription at a time20:52
+perlDreamerwith Express, there's a whole bunch of hoops, and you're still limited in the number you can buy at a time20:52
+perlDreamerI think it's twelve20:52
+perlDreamerITransact doesn't have any of those limitations20:54
SDuensinBut ITransact is expensive as hell.20:56
SDuensinAnd they're a PITA with all their questions about what you're going ot sell, how much it'll cost, yadda yadda yadda - and then if you deviate from that you have to start all over again!20:57
+perlDreamerexpensive?  PayPal charges 9% for transactions21:03
+perlDreamerITransact, last time I checked, charged 3% plus a monthly fee21:03
SDuensinOn my volume, they're expensive.  :-P21:04
@scrottieMaybe you need to set up a ccbill payment driver.21:06
@scrottieThey specialize in recurring payments.21:07
+perlDreamerfor better or worse, people are going to demand paypal21:08
SDuensinPayment solutions suck.21:08
+perlDreamerindeed21:09
+perlDreamerthe reason that I now know so much is that we had a customer come and ask for recurring payments with PayPal21:10
SDuensinYea.  ME!  :-P21:10
+perlDreameroh no, there was another21:10
* scrottie watches a while(...) { $asset->purge } run. always makes ya a little nervous...21:10
@scrottieone guy was in here using WebGUI in the industry that ccbill caters to.21:11
-!- rizen [~rizen@69.71.243.246] has quit [Quit: rizen]21:11
SDuensinI had looked at ccbill.  Forgot why I didn't mess with them.  May have been impatient that day.  Those services like to hide their rates.21:12
@scrottieIf customers have questions or complains, ccbill makes it easy to get a live operator.21:14
@scrottieI interviewed with ccbill but their lawyers decided that they couldn't legally hire me =)21:14
SDuensinOh yea?  That's nice.21:14
SDuensin!??!21:14
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds]21:15
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui21:15
+perlDreamerSDuensin, scrottie told you that they make it a point of making it easy to get to a live operator21:36
+perlDreamerand scrottie metabolic status is in question21:36
SDuensinhehe21:37
@preactionWebGUI 8 is officially capable of running plainblack.com22:03
@preactionthe upgrade worked without a hitch, though it took about 20 minutes, and the site works22:03
+perlDreamerhelpdesk22:03
+perlDreamerkarma gifter22:03
@preactionnot migrated yet22:03
+perlDreamerthe whole 9 yards?22:03
@preactionworking on it22:03
@preactionbut the WebGUI 8 core works22:03
+perlDreamergood work!22:03
+perlDreameris it beautiful?22:03
+perlDreameris it blindingly fast?22:03
@preactionit is beautiful. it is not blindingly fast, but my laptop is not a production environment22:04
@pbcjit's no lie, I saw it22:05
@preactionso, now to blog about this, my presentation, and yay!22:05
SDuensinWG8 and PayPal in the same day?  You guys are an evil tease!22:20
@preactiondeal with it, tough guy22:22
SDuensin:-P22:23
* SDuensin REALLY needs PayPal subscriptions. Not being able to sell those is keeping his new service offline!22:23
+perlDreamerSDuensin, you must not really want it that badly, otherwise you'd write it yourself22:25
* perlDreamer knows that you can wield an editor22:25
SDuensinI can, but I've been up to my eyes in other editors.22:26
knowmadI need some advice. I'm trying to implement a random background image (via CSS) into the homepage for a site such that when the page refreshes a random image is displayed22:33
knowmadI have this working great using content profiling or even  the random asset proxy22:33
knowmadhowever, if i'm not logged in, webgui is caching the image and only refreshing about once a minute22:34
@preactionjavascript, i'd say22:34
knowmadis there any way around this in webgui? 22:34
@preactionor ads22:34
knowmadohh, i like that idea22:34
@preactionads keep rotating, bypassing the burst cache22:34
knowmadthought javascript may be easier to manage22:35
knowmadok, good ones!22:35
knowmadthanks22:35
CIA-82webgui: Doug Bell WebGUI8 * rb1a5276 / lib/WebGUI/Command.pm : do not buffer command output - http://bit.ly/lTXRrz23:19
CIA-82webgui: Doug Bell WebGUI8 * re5012d3 / lib/WebGUI/Command/upgrade.pm : App::Cmd options are normalized to lower-case - http://bit.ly/merv9h23:19
@scrottieis this another instance of page layouts caching for guests?23:20
@scrottieI have a test-less, doc-less fix for that somewhere.23:20
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]23:22
--- Day changed Thu May 19 2011
+perlDreamerscrottie, that's exactly what it is00:00
+perlDreamerMaybe we should change it from hardcoded, to setting a cache timeout for visitors on the layout, like we do with other assets00:01
+perlDreamerthen, in 8, we make it a Role00:01
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui00:11
SquOnkGreetings.00:11
+perlDreamerhowdy SquOnk00:13
SquOnkperlDreamer: I have a template question today.00:13
SquOnk(customers trying to do strange things)00:14
+perlDreameras customers can sometimes be wont to do00:14
SquOnkYeah, well.00:14
SquOnkIt's like this:00:14
@scrottieyeah, that's what the patch is.  configurable cache timeout for guests.00:14
SquOnk(let me login to a webgui installation to use the English names)00:14
SquOnkperlDreamer: They've added a Gallery and set Default View to List Albums00:15
SquOnkperlDreamer: Now, they are working on the Template to List Albums. They want that template to show every photo of every album.00:16
@preaction(which reminds me that was a mistake. Album should be able to stand alone)00:16
SquOnkperlDreamer: After a quick glance at the Template Help, I suggested something along the lines of...00:16
SquOnk<tmpl_loop albums>...<tmpl_loop file_loop>... (use photo vars here) ... </tmpl_loop> ... </tmpl_loop>00:17
SquOnkBut it doesn't work.00:18
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui00:18
kthakorehi scrottie 00:18
@preactionit won't, the list albums screen doesn't get the file list00:18
@preactionit'd take forever to generate all that00:18
+perlDreamerright, read the template variable help00:18
+perlDreamerone cannot randomly pick and choose template variables from various templates, mix them in, and expect them to work00:19
SquOnkpreaction, perlDreamer: So, what would you suggest.00:19
@preactionto really fix the Gallery: Album goes away, use Folder instead. Photo goes away, adds its features to Image.00:19
+perlDreamerthat won't fix it00:19
@preactionYou could AssetProxy() the albums in00:19
@preactionit's a start. people really just want Folders00:20
+perlDreamerthat might fix it, but then you have to change the template everytime a new album is added00:20
@preactionthat could be overcome fairly simply, adding a folder would be a function of the Gallery which would set the right template00:20
SquOnkWe suggested an Album for lack of a better option for what they're trying to do.00:20
@preactionthey want folders of images, no?00:20
@preactionwith the features that Gallery provides: resolutions, comments, EXIF, etc...00:21
SquOnkpreaction: They can *get away* with what they want using them, I reckon.00:21
@preactionin that case, Albums are what they want, but in order to get the actual files, you'd either need a custom Gallery subclass, or some kind of AssetProxy setup00:21
SquOnkpreaction: They want to build a fancy JS scroller with the front pages of every section of every newspaper each day.00:21
SquOnkpreaction: So, they are using a Gallery to hold everything, an Album for each newspaper, and a Photo for each section front page.00:22
SquOnkpreaction: They only need to show the image. They won't be using any of the EXIF properties.00:22
@preactiona navigation and AssetProxy maybe?00:23
@preactionFolders to organize the Images, a Navigation to display the JS scroller, and AssetProxy to put the image inside the scroller00:23
@preactionnot sure if that's worse or not00:23
@preactionthough a Nav should work just as well using Gallery as the container00:24
SquOnkpreaction: The Navigation will make it impossible for them. They see Navigations as some kind of ju-ju white man's magic thing.00:24
@preactionso the Navigation shows the JS scroller of the Gallery00:24
@preactionit just lists a bunch of assets, which is what they want00:24
@preactionotherwise a custom gallery subclass overriding view_listAlbums to add the album files would work00:25
+perlDreamerDon't photos have isHidden hardcoded?00:25
@preactionnavs can ignore isHidden00:25
SquOnkI think it's just a plain Folder.00:26
SquOnk...of Folders.00:26
@preactionthen you'd definitely want a navigation. you can't reach inside the folders that a folder is listing00:26
SquOnkA folder of dates in ISO format, with Folders for each newspaper, holding the images for the front pages.00:26
SquOnkpreaction: Yep.00:26
@preactionfor the JS bit i mean, otherwise it's perfectly navigable00:26
@scrottieoh, hey kthakore00:27
@preactioni wish i could tell you there was a JS service you could use, but you don't get that until 800:27
SquOnkpreaction: Their JS thing just wants a bulleted list, so yes.00:27
@preactionyeah, should work great00:27
SquOnkpreaction: All right. Let me see how can I explain that to them so their ears don't start bleeding.00:28
@preactioni wonder sometimes about replacing most of our asset classes with prototypes, then i take my prozac00:28
kthakorescrottie: :p took a while but I won't hold it against you00:29
@preactionwe don't need a forum, we could use folders of articles!00:29
SquOnklol00:29
@preactiona forum is a navigation into a set of folders of articles00:29
@scrottiekthakore, yeah, I'm an IRC slob.  I'm running irc-II for crying out loud.00:29
@preactioncould seriously do some crazy stuff with just Layout, Folder, Article, Template, Navigation, File/Image00:30
@preactionoh, right, and a JS interface to work with the lot00:31
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui00:32
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds]00:32
@scrottiekthakore, have you seen http://search.cpan.org/~gphat/Graphics-Primitive-0.60/lib/Graphics/Primitive.pm ?  preaction showed that to me.00:33
@scrottiepluggability is a nice feature.00:34
kthakorescrottie: a little yeah00:34
kthakorebut haven't used it00:35
kthakoreor preused it in detail00:35
kthakoreIt interfaces with http://search.cpan.org/~gphat/Graphics-Primitive-Driver-GD-0.01/00:36
kthakoreso that can't be bad00:36
kthakorehi preaction, scrottie made me wander in here with treats. 00:37
@scrottiessh.  don't tell people I'm dispensing candy.00:37
@preactioncookies?00:40
@scrottiego away.  the van is full.00:40
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds]00:55
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 248 seconds]00:57
kthakorecan't compile ImageMagick Perl module01:04
@scrottieare you a Debian user?01:04
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui01:04
@scrottieif so, do you have the dev versions of the library installed?  libmagickcore-dev it might be01:05
kthakoreyeah01:10
kthakoreI have that01:10
kthakoresome mmx instruction problems again01:10
* kthakore pathces01:10
@scrottienot surprised but thought I'd double check.01:10
kthakorecrap still problems01:13
kthakoresigh01:13
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:14
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:21
kthakoreoh wow ImageMagick is so broken 01:22
kthakorehttp://search.cpan.org/~jcristy/PerlMagick-6.67/01:23
kthakorenewest versions only fails01:23
@scrottieI would guess that an antique version would work.  hrm, I have 6.5.8 here.01:26
kthakoreok01:26
kthakoredoing a manual01:28
kthakore cannot find -lperl01:29
kthakorewtf ...01:29
@scrottieare you running 5.14?  if so, Image::Magick was one of the things that wouldn't build against it.  tragically, DBD::mysql was another.01:31
@scrottie(when I tried it)01:31
@scrottieDBD::mysql was easily fixed though01:32
-!- fokat [~lem@66.0.48.131] has joined #webgui01:34
kthakore5.12.201:36
kthakorewow why won't this compile01:38
kthakorejeez today is not my day01:38
kthakorefirst house gets broken into then nothing works01:38
+perlDreamermaybe they broke perl while they were in there01:39
kthakoreperlDreamer++ LOL I needed that01:39
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:44
jimX11where in webgui8 can I find an example of WebGUI::FormBuilder using addField("Guid", ...) ? 01:45
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]01:53
jimX11I'll just hide it using $f->addField("hidden", name => "Guid", value => $guid);01:54
+perlDreamerif you set the name to guid, will that still match what DBIx::Class expects?01:55
kthakorescrottie: my error now says it can't find -lperl01:56
kthakorewhich is so weird01:56
@scrottiehrm.  if you have a perlbrew perl, that's not entirely unsurprising.02:02
jimX11perlDreamer: No it won't.  I'm reading WebGUI::Form::Guid02:02
@scrottiewhich build system is Image::Magick using so that I can avoid that build system in the future?  I'm just kidding.  ExtUtils all the way.02:03
@scrottiefix is build system dependant but quick fix is to just edit the Makefile and correct the LIBS line02:03
kthakore..02:04
@scrottieto do -L wherrever your prewbrew'd libs dir is02:04
kthakorewhich libs though?02:04
kthakoreI can't find the libperl.so02:04
kthakoreall I see is libperl.a02:04
@scrottiehuh, perlbrew might not have built you one.02:04
@scrottieshould still work.02:04
@scrottie -L/whatever/ -llibperl  should find an .a or .so02:04
@scrottieassuming /whatever/ actually contains one of the two.02:05
kthakoreright02:05
@scrottiethe build system should have extracted perl's own libs directory from the perl itself but you can f just about anything up in software.02:06
@scrottieI guess if you really want to cut to the chase, you can do /home/kthakore/lib/or_whatever/libperl.a right in the LIBS= line02:06
kthakoredid t/usr/bin/ld: /home/kthakore/.perl5/perls/current/lib/5.12.2/x86_64-linux/CORE//libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC02:08
kthakoresigh02:08
kthakoreeven the dist perl is giving me trouble02:08
kthakoreok so Image::Magick going away needs to happen a lot02:09
kthakoreheh02:09
@scrottieI take issue with putting entire perl installs inside . directories.02:09
@scrottieand I don't know what "relocation R_X86_64_32S" is.02:10
@scrottiebut it kind of suggests that 32 bit and 64 bit code are being linked together, which ain't gunna happen.02:10
+perlDreamerthat's worse than mixing chocolate and peanut butter!02:11
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:12
* scrottie frowns02:17
+perlDreameryay! successfully talked to PayPal!02:18
@scrottie7.9.13 ... looking at a DataForm... couldn't figure out how to view what was constructed... eventually went and looked it up in the content designers guide.  says that the default view (I'm an admin) should have an 'Add a field' link in a bar that I recognize as not having that.  ack'd for 'Add a field'; found it in the i18n files.  then ack'd for the identifier used in the i18n files and got 0 hits.  searched templates in the database, ditto.02:19
+perlDreameryou have to be in admin mode02:20
@scrottieguess I should read the git log...02:20
@scrottiethank perlDreamer.02:22
@scrottiewould it be redundant to add that to the docs?02:23
@scrottieer, the wiki page..?02:24
-!- preaction_ [~preaction@li79-149.members.linode.com] has joined #webgui02:26
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:26
-!- Netsplit *.net <-> *.split quits: vayde, @preaction02:32
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui02:36
-!- Netsplit over, joins: vayde02:39
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has quit [Read error: Connection reset by peer]02:39
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has joined #webgui02:40
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui02:43
+perlDreamerscrottie, I think it'd be fine02:48
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has quit [Ping timeout: 264 seconds]02:50
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui03:04
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has quit [Quit: Leaving.]03:14
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui03:17
jimX11html from the method toHtml from WebGUI::FormBuilder looks odd.  Maybe I'm not using it properly.  The html had a form followed by table rows and table data tags, but no starting table tag or ending table tag.03:20
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has quit [Ping timeout: 248 seconds]03:28
@scrottiefeel free to a paste the code of how you're using it into a gist.03:36
jimX11my $f= WebGUI::FormBuilder->new($session);03:37
jimX11    $f->addField("Integer",03:37
jimX11               name => 'gauge',03:37
jimX11               value => 55,03:37
jimX11               label => 'Gauge',03:37
jimX11       );03:37
jimX11$f->toHtml03:38
jimX11and out comes html like this:03:38
@scrottieoh, naughty programmer03:38
@scrottiepaste your code into http://gist.github.com and then tell us the URL.03:38
jimX11k03:39
@scrottiehrm, trying that snippet there in a mini test program, I'm not seeing that.03:42
@scrottieno table goop, at least.  it doesn't close the <form>.  not sure if it is is supposed to.  haven't touched formbuilder in a while.03:43
jimX11https://gist.github.com/97992703:44
jimX11it does close the form03:44
jimX11but I doesn't render properly I think because of the missing table starting and ending tags.03:45
@scrottiehttps://gist.github.com/97992803:45
@scrottiejives with the synopsis.03:47
jimX11thanks, I'm doing something incorrectly, again.03:47
@scrottiehmm?  mine didn't work right either.03:48
jimX11oh?  I'm still looking  at it and my code ....03:49
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Read error: Connection reset by peer]03:51
jimX11One point that might be the cause, I'm using  WebGUI::FormBuilder from verion 8 but the site it runs on is running  7.9.14.03:52
jimX11I pulled in 8 packages from WebGui 8 into 7.9.14.03:54
jimX11By pulled, I mean just copied them from lib/WebGUI/FormBuilder in a git check out to the 7.9.14 site.03:55
jimX11scrottie: yea, no closing form on yours, maybe it's just a human cut-n-paste error (assuming your human).04:04
jimX11your=you're (my bad)04:11
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui04:16
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]04:31
@scrottieuh... 04:42
@scrottiethat requires qualification beyond "FormBuilder isn't working"04:43
kthakorehi scrottie 05:06
kthakorearound?05:06
@scrottieyup05:06
@scrottiesup?05:06
kthakoreI am having a real big problem with Image::Magick can I ignore that for the rest of WebGUI install?05:06
jimX11scrottie: thanks.05:06
@scrottiehrm.  hmm, hmm, hmm.  you can comment it out in a few places, run tests, and note which tests fail (they would fail when they try to create an instance of the Image::Magick object but the use lines were commented out)05:08
@scrottieso you'd be replacing it with something else without having it as a reference.  but that's not impossible.05:08
@scrottiestill, if the only problem is some library linking thing, that kinda puts it in Linux turf, not even ImageMagick or Perl build system turf.05:08
@scrottieI should also note the idea of replacing it isn't trivial05:11
kthakoreyep notice that05:11
@scrottieit gets used to crop images, rotate them, make thumbnails... nothing too serious but uses of it are littered around05:11
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 252 seconds]06:15
-!- ThePing [~phycho@174.127.64.107] has joined #webgui06:21
-!- ThePing [~phycho@174.127.64.107] has left #webgui []06:21
jimX11I've never used a post with a get at the same time.  Will that work?  the get part is where the url had 'func=foo' which is in the action of the form, but the form uses POST.  Maybe instead the func=foo should just be a hidden variable?06:26
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]06:52
@scrottieit isn't a POST and GET at the same time... you're only doing one or the other... and you'd be doing a POST in this case.  yes, you can do a POST to a URL with a ?foo=bar on the end of it.07:08
@scrottieand it usually works correctly but the server does have a chance to botch it07:08
@scrottieclassic ASP distinguishes whether data arrived in the body or as a parameter on the URL07:09
jimX11scrottie: what does WebGUI do?07:09
@scrottiedoes not distinguish between the two07:09
@scrottiemixing them together.07:09
jimX11I think Firefox is inserting the td and tr junk.  So mixing works, ok.07:09
@scrottiethat sounds unlikely.07:10
@scrottieyou can always 'warn' the output of FormBuilder and read it at the console07:10
jimX11yea, the tr's and td's are in text from a simple test.07:12
jimX11I think it's the mixing of 8 and 7.9.14.  Also my git check out of 8 was a bit stale I found out.07:12
@scrottieyou haven't fixed that problem?07:13
jimX11I haven't found out why there are td's and tr's in the html from the toHtml method, no.07:13
jimX11but, I've noticed another problem, that may be related.  The form doesn't do anything when I hit the submit button.07:14
@scrottieI think you really want the latest WebGUI 8 code here07:15
jimX11Ok.  I'll copy over the updated files I just got from git.07:15
jimX11using subversion I can do a "svn status" what is the equivalent in git?  So I know what version I'm using.07:16
jimX11sorry, I meant the equivalent of "svn info"07:17
@scrottieI don't remember svn07:20
@scrottieyou might try 'git status' though07:21
@scrottiewhat info do you want out of git?07:21
jimX11I want to know what "version" of webgui 8 I have. 07:22
@scrottiegit itself doesn't do version... it hash commit hashes07:23
@scrottieso there's two ways to do that.  you can speak in terms of the hash of the last commit you see in 'git log', or you figure do 'git tag' and see what tags there are07:24
@scrottieman git-tag07:24
jimX11ok07:24
@scrottieI don't think things in the WebGUI 8 branch have been tagged07:25
@scrottieso you'll just get a lot of 7.x.x tags07:25
@scrottiefor 8, you'll have to speak in terms of hashes until there's an alpha and then beta07:25
jimX11just did git tag, right lots of 7.x.x branches.  How can I see the hash I'm currently using?07:25
jimX11oh, git log is what you said.07:27
jimX11that works.07:27
@scrottietags just take you to a particular commit hash07:27
@scrottiewhich represents a point in history07:27
@scrottie'git tag' lists them.  you can check one out, then you'll be on that tag.  you can create new tags.  that's all I know about that.07:28
jimX11a little like a branch in subversion.  or a tag in cvs.07:28
jimX11git log was what I wanted.  Thanks.07:28
@scrottiekind of.  git has a few things going... it also has branches.07:29
@scrottietags aren't the most used git feature...07:29
jimX11FormBuilder has had some changes recently according to the log, using the latest version might help.07:29
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]08:19
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:00
-!- andyiomoon [~andyiomoo@vpn246-17.cc.swin.edu.au] has joined #webgui09:37
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:41
+Radix_I'm still yet to learn git properly - but these might be handy - http://progit.org/book/ and http://mislav.uniqpath.com/2010/07/git-tips/09:42
-!- andyiomoon [~andyiomoo@vpn246-17.cc.swin.edu.au] has quit [Ping timeout: 260 seconds]09:42
+Radix_Ahh... silly me.. he's no longer here anyway09:57
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:20
-!- mode/#webgui [+v BartJol] by ChanServ10:20
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:24
kthakoremorning14:47
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui15:26
+BartJolmorning15:39
jimX11BarJol:howdy15:44
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has quit [Read error: Connection reset by peer]15:51
-!- SquOnk [~emhn@fuhrer.ldc.usb.ve] has joined #webgui15:51
SquOnkGreetings.15:51
SquOnkI'm changing the Display Template for an Asset Report. I started out with the Default, and the Assets I want are there.15:51
SquOnkThe Assets have some metadata properties I want listed in the report.15:51
SquOnkAccording to the Template Help, inside the asset_loop I can use asset_info to get access to the particular Asset's info.15:52
SquOnkI thought of using it to access the metadata fields, but it didn't work.15:52
SquOnkI started looking at the code in AssetReport.pm and I can't find any references to the asset_info field. Maybe I'm missing something?15:53
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has joined #webgui15:53
SquOnkIn any case, how can I access the metadata fields of an Asset that's listed by an Asset Report?15:53
+BartJolisn't that included with extraHeadTags?16:00
SquOnkBartJol: My *own* metadata fields? How would I go about fetching them? extraHeadTags.name-of-my-field?16:02
+BartJolmmm, maybe not, sorry, bit short on time, as I get bugged by australians16:04
SquOnkBartJol: Thanks anyway :-)16:05
SquOnkAnd I have to go to class in 20 mins.16:05
+BartJolgive or follow?16:05
SquOnkBartJol: Give.16:12
SquOnkBartJol: Actually an exam.16:12
SquOnkBartJol: 20%16:12
SquOnkWell, the code in AssetReport.pm is calling WebGUI::Asset->get on each Asset included in the report.16:13
SquOnkAs far as I can see W::A->get does not return the metadata field.16:13
SquOnkSince the metadata fields are available on every template (and, in fact, the Report metadata fields *are* available), I think an indirection is needed.16:14
SquOnkOtherwise, I'm unable to use the metadata fields of Assets listed by an Asset Report.16:14
SquOnkWould that be a bug or an RFE?16:15
SquOnk'cause it's the current show-stopper for production :-)16:15
SquOnkWell, gotta go. I think there's a quick fix for it, and perhaps will try later.16:16
+BartJolI'm afraid it is an RFE, 16:16
SquOnkHopefully preaction_ will read the backlog.16:16
SquOnkBartJol: I can see it both ways.16:17
SquOnkBartJol: Thanks for your time. I've got to go pick up the exams at the Department.16:17
SquOnkSee you guys later.16:17
-!- SquOnk [~emhn@fuhrer.ldc.usb.ve] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]16:17
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:29
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui16:35
kthakorescrottie: morning. Around?17:01
SDuensinMorning at last!  I get to work this morning, and just as I reach the gate, they CLOSE THE BASE!  Arrgh!17:13
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui17:16
jimX11How does WebGUI::Test know where the config file is?  I have a $session from WebGUI::Test, but it doesn't know where the config is.  Is it an environmental variable?17:19
+BartJolI believe you set that first in your env, I seem to recaal something like that17:19
jimX11I want to do this from a test: $session->config->get('dsn');17:19
+BartJolbut it is a year ago17:20
jimX11BartJol: ok.17:20
jimX11BartJol: yea, that's it.  WEBGUI_CONFIG17:20
+BartJolthat one17:21
+BartJolmy memory stills works!!!!!!!!!17:21
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:24
-!- mode/#webgui [+v perlDreamer] by ChanServ17:24
jimX11BartJol: fault tolerant memory, sweet.17:31
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro]17:32
kthakoreIs anyone trying webgui8 from git? I am getting a weird error runing the server.17:32
jimX11I pulled it from git, but I'm not running it from git.  Is it a git pull question?17:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:42
kthakorejimX11: no17:42
kthakorejimX11: I set it up just how the README mentioned17:42
kthakoreI used the etc/WebGUI.conf.original as the configuration with wgd17:43
kthakorethen I copied the www/examples to the domain... so on17:43
kthakorebut I am getting this error when I run it with plack17:43
kthakoreCan't use string ("") as a subroutine ref while "strict refs" in use at /home/kthakore/.perl5/perls/perl-5.12.2/lib/site_perl/5.12.2/Plack/App/URLMap.pm line 7117:43
jimX11kthakore: while you might get git help from me, you won't get any useful plack from me.  Sorry.17:49
kthakorejimX11: can you get webgui8 running ?17:54
+BartJolmmm, too long ago I installed that17:55
jimX11kthakore: no, I'm sort of backporting a package from webgui8 to webgui7.  So my only work with webgui8 is pulling package from it and puttin them in 717:55
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:55
-!- mode/#webgui [+o pbcj] by ChanServ17:55
kthakoreok17:55
kthakorewell it is seriously broke17:55
* kthakore hunts the plack interfaces17:56
kthakorepreaction_: around?17:56
+perlDreamer'tis a little early for preaction_17:56
+perlDreamerstatistically speaking of course17:56
kthakoreok17:58
kthakorehmm17:58
kthakoresigh found it17:59
kthakoreunmet deps17:59
kthakorenope great ... w/e18:00
+perlDreamerdid you run the testEnvironment.pl script to check for dependencies?18:02
kthakoreyeah18:02
+perlDreamerand it missed the dependency?18:02
kthakoresome how18:02
kthakoreHTML::Template::Expr Geo::Coder::Googlev318:03
kthakoreI am checking my logs18:03
kthakoreI think I might have closed the terminal by accident18:03
kthakoreanyway it still doesn't fix the server problem18:03
+perlDreamerHTML::Template::Expr is supposed to be optional, but I think it's actually not since you have to load WebGUI::Asset::Template::HTMLTemplateExpr18:06
+perlDreamerand Geo::Coder::Googlev3 is required and is checked by testE18:06
kthakoreHere is my stack output http://paste.scsys.co.uk/10556418:09
+perlDreamerwow, so core WebGUI 8 requires Devel::StackTrace and a bunch of others?18:29
+perlDreamernormally those things are made optional for developers18:29
+perlDreamerbunch == 2...18:29
kthakoreperlDreamer: I give up for now ... gonna work on something else. If you are trying webGUI8 can you let me know if it works for you?18:31
+perlDreamersure, I'll do that after i get through depenedency problems18:32
kthakoreoh have fun with that ... that took me a while 18:32
+perlDreamerha! done18:32
+perlDreamerwhen I run plackup app.psgi18:32
+perlDreamerI get no errors/warnings or anything18:32
+perlDreamerhm, but there are CSS based rendering problems with the Underground style18:34
kthakoreaw man18:39
kthakorecan you tell me how you set it up?18:39
kthakorewhat config file do you use?18:39
+perlDreamerI have a standard one that I use for all my development18:39
+perlDreamerthe the URL Mapping should be autogenerated18:39
+perlDreamercheck to see if you have any bad config files in /data/WebGUI/etc18:40
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds]18:40
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:40
-!- mode/#webgui [+o preaction_] by ChanServ18:45
-!- preaction_ is now known as preaction18:46
kthakoreok18:50
kthakoreperlDreamer: where is /data/WebGUI I mean18:50
kthakoreI just run it in the git dir18:50
+perlDreamerlast I checked, WebGUI still had to be run out of /data18:51
kthakorehttp://paste.scsys.co.uk/10556718:52
kthakoreoh!18:52
kthakoreI need to move it ot /data ?18:52
kthakoresigh so I have to run it as root?18:52
+perlDreamerpreaction, is that still true?  Is WebGUI locked into /data/?18:52
@preactionperlDreamer: 8 isn't, WebGUI::Paths gets rid of it18:56
+perlDreamerokay18:56
+perlDreamerany clue as to this wackiness of kthakore's about null plackurl maps?18:57
CIA-82webgui: Colin Kuskie master * r5229413 / (docs/changelog/7.x.x.txt lib/WebGUI/Shop/Cart.pm): -0.00 ne 0.00. Handle both cases of ~0 when checking out to intercept and finish the transaction immediately. - http://bit.ly/jZW23s18:59
CIA-82webgui: Colin Kuskie webgui-7.9 * r436c894 / lib/WebGUI/i18n/English/PayDriver_ExpressCheckout.pm : Fix copy/paste errors from other i18n modules into ExpressCheckout. - http://bit.ly/iNCDaU19:00
CIA-82webgui: Colin Kuskie webgui-7.9 * r8750b18 / (docs/changelog/7.x.x.txt lib/WebGUI/Shop/Cart.pm): -0.00 ne 0.00. Handle both cases of ~0 when checking out to intercept and finish the transaction immediately. - http://bit.ly/iALKt619:00
@preactionno, i'd say try to run the test suite and see what happens19:00
kthakoreok19:01
@preactionthere are a few tests that go through the entire process19:01
jimX11kthakore: do you have root access?  If so, maybe just link /data to your 8 repo?19:01
kthakorejimX11: yeah I was trying that19:01
kthakorepreaction: um do I just do prove -t for the tests?19:02
@preactionyes, after setting the WEBGUI_CONFIG env variable to the webgui config file19:02
@preactionor you could get wgdev and do "wgd test"19:02
kthakoreok19:03
* jimX11 never used the -t flag in prove.19:03
kthakorewhat should WEBUI_CONFIG point to?19:03
@preactionthe webgui config file you created19:03
kthakoreetc/WebGUI.conf.original ?19:03
kthakoreI was trying to run the example provided19:04
@preactionno, you need a copy of that config file with dsn, dbuser, and dbpass set correctly19:04
+perlDreamerah, that would explain it19:05
kthakoreok19:06
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui19:07
kthakoreis it possible to use postgreSQL instead of MySQL?19:07
@preactionprobably not19:09
kthakoreok19:12
kthakorewhere is the mysql .sql I should load ?19:12
@preactionfor 8, share/create.sql19:12
@preactionfor 7, docs/create.sql19:12
kthakoreah that is why19:13
* kthakore facepalms19:14
kthakoreok thanks19:14
@preactionkinda weird error message for that though. perhaps we need to trap it somehow...19:14
kthakoreindeed19:14
@preactionoh. now i get it. there were no config files that app.psgi recognized to load site.psgi into the mapper19:14
@preactionso somehow a "" got put in there, and then treated as a subref19:15
kthakorewell it is with $script_name19:15
kthakoreparameter to the Middleware19:15
kthakorewhat is the default config filename webgui looks for?19:15
@preactionthere is none19:15
kthakorehmm what about just throwing a missing config file HTML content19:16
@preactioneach site needs its own config file, so it checks a directory19:16
@preactionyeah, that's gonna be the most likely scenario "No config files, bailing out"19:16
@preactionor "Cannot connect to database, bailing out"19:16
jimX11WebGUI::Form::Combo adds _new when a new option is picked.  Any way to turn that off?  DBIx::Class takes handles update or insert for me.19:17
@preactionprobably not, you'll just have to filter it a bit for now19:18
jimX11ok19:18
kthakoreor /win 219:34
kthakorepreaction: the create.sql I used seems to be missing a coloumn for one of the tables, based on the test. Also a lot of the tests are failing due to that reason. 19:37
kthakorehttp://paste.scsys.co.uk/10557019:37
kthakoreshould I add that coloumn?19:37
kthakoreUnknown column 'privacyFields' in 'field list'19:37
kthakoreomfg I still get the same error. The DB is set up and everything!19:41
* kthakore cries19:41
carograyHi all, is the only asset in WebGUI that has RSS - collaboration system - I have never understood Thingy but Thingy looks like a way we could present all court forms and users could search by form name, number, title, court where form is used, updated/revision date etc.19:41
carograyThingy doesn't have RSS feed does it?19:42
+perlDreamernope19:45
+perlDreamerSyndicated Content has RSS feeds19:45
+perlDreamerGallery has RSS feeds19:45
+perlDreamerbut not Thingy19:46
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]19:46
kthakoreI guess I should take a break now ... been trying this for too long19:47
carograyhuh - is syndicated content ...like collaboration system?19:47
+perlDreamernope19:47
carograygiven my description of need for searchable database of forms what would  you suggest would be the best approach?19:47
+perlDreamercarogray, the Content Manager's Guide wiki on webgui.org covers most of the Assets19:47
carograyok19:47
+perlDreameroh, I'd go Thingy all the way19:48
+perlDreamerespecially if you use 7.1019:48
+perlDreamersince Thingy can use the WebGUI Search, instead of just its own built in one19:48
carograywhat about "publishing" 19:48
carograyso other sites could update their forms based on our database?19:49
+perlDreamerThingy has an AJAX interface for remote access, but you may run into privilege problems with it19:50
+perlDreamerthat would require writing a bunch o' JavaScript, of course19:51
carograyok - just wondering... the first step is to get the database and then maybe down the line we can figure out how to publish. will keep in mind your suggestions to pass along to someone more erudite in these matters than yours truly.19:55
+perlDreamerwell, you know that if you need extra programming, support, javascripting,templating etc. that Plain Black would be happy to help out.19:56
+perlDreamerthere's only so much you can do via an IRC channel19:56
carograyright - thanks so much.19:57
@preactionkthakore: right, because create.sql is the un-upgraded sql (because 8 has not technically been released)20:03
@preactioncreate.sql is built by our build process, and since there hasn't yet been a build of 8, it's 7.10.15 (the last merge i did)20:03
@preactionbut that's easy: sbin/webgui.pl upgrade --doit --skipBackup20:04
kthakoreugh it wants me to be superuser20:14
kthakoresigh20:14
+perlDreamerkthakore, that's usually due to write permission on the log file, or the uploads directory20:17
+perlDreamerlog file is chosen in WebGUI/etc/log.conf20:17
+perlDreameruploadsPath is in the WebGUI config file itself20:18
@preactioni think upgrade explicitly checks for superuser20:18
+perlDreamerisn't there a switch for that?20:18
@preactionperhaps, webgui.pl help upgrade might show it20:18
+perlDreamer--override in upgrade.pl20:18
+perlDreamerno idea about webgui.pl20:19
+perlDreameryou know, when you release 8, I'm going to be pretty useless20:19
@preactionwhy?20:19
+perlDreamerwell, so much has changed and I've either forgotten it or haven't learned it yet20:20
+perlDreamerlike WebGUI::Paths20:20
+perlDreamerwebgui.pl20:20
+perlDreamerplack20:20
+perlDreamerthat's probably just the tip of the iceberg20:20
kthakoreI mangaged it20:20
kthakoreI ran the upgrade 20:20
kthakorebut there is no change to share/create.sql20:20
+perlDreamer<insert quote re Yoda and taking students who are too old>20:20
@preactionit doesn't change create.sql, it changes the site's databases20:21
@preactionthe idea being that during development, create.sql + upgrade = bleeding edge version (so we can test the upgrade)20:21
kthakoreah ok20:21
@preactionwgdev's build tool would create the create.sql20:22
+perlDreamerthat's something else we need to double check before the release, is the wgdev build process20:23
+perlDreamerand that's not going to be simple, since it'll have to work for both 7.x and 8.x for a while20:23
+perlDreamermaybe it won't be too bad20:25
+perlDreamerrelease wg8 will need a functional 8.x codebase though, while 7.x can use the bundled wgd20:26
+perlDreamerHaarg, I had a case the other day where wgdev needed Try::Tiny.  It doesn't seem to be bundled.20:26
+perlDreamerthis was a 7.7 install, so it didn't have it installed for core requirements20:26
kthakoreHow do I tell webgui to use my conf file when I start it in plackup?20:29
@preactionapp.psgi loads all the configs20:30
kthakoreright I get that20:31
kthakoreI have a WebGUI.conf file20:31
kthakoreI set that to WEBGUI_CONF and run plack20:31
@preactionin the same directory as WebGUI.conf.original?20:31
kthakorenow I do20:32
kthakoreIT WORKS!20:32
kthakoreok great!20:32
kthakorenow to see how to swap out Image::Magick for GD/Cairo/Graphics::PRimitives20:33
+perlDreamerImage::Magick is used by...20:35
+perlDreamerAsset/Image, Storage, Asset/File/GalleryFile, Asset/File/GalleryFile/Photo, 20:35
+perlDreamerImage.pm and sub-classes20:35
+perlDreamerthose are the places to check20:36
kthakoreperlDreamer: great thanks. I was thinking of refactoring out Image::Magick out to WebGUI::Graphics first 20:38
kthakorethen start swapping out Image::Magick there20:39
+perlDreamerhm, we're trying to avoid wrapper classes like that nowadays20:39
+perlDreamerthey almost cause more problems than they're worth20:39
+perlDreamerfor example, we don't wrap Plack::Response or Request, we sub-class and extend them20:39
+perlDreamerinstead of wrapping CHI, we just use it directly20:39
@preactionGraphics::Primitive should be the wrapper class, is what i think20:40
+perlDreamerwill it dispatch to others?20:40
@preactionthen we can provide a way to configure it from the config file20:40
@preactionyes, Graphics::Primitive supports drivers for GD and Cairo/Pango20:40
@preactionno support for IM yet, but if it did, then everyone could get everything20:40
@preactionthough making WebGUI::Graphics use Graphics::Primitive would be fine to start20:41
kthakoreI didn't plan on keeping WebGUI::Graphics around20:42
kthakoreI wanted to ensure everything is in one place to handle first20:42
kthakorethen I can experiment with GD/Cairo easily20:42
kthakorewhat do you think?20:42
@preactionah, mais oui20:42
@preactionsounds a good plan20:42
kthakoreok I will have my results on github soon.20:43
kthakorebtw I seem to have lost the admin page :(20:43
kthakorecan't find the turn admin on link20:43
@preactiondid you login?20:44
@preactionif I'm reading this correctly, we can use Thingy to create DBIx::Class::Result objects http://www.modernperlbooks.com/mt/2011/05/testing-dbix-models-without-the-database.html20:48
+perlDreamerwhat's the advantage of that?20:49
@preactiona single, unified interface to both DBIC objects and Thingy data20:50
+perlDreamerbut who is using DBIC in WebGUI?20:51
@preactionjimX11?20:51
+perlDreamerhm20:51
+perlDreamerthat would be a complete refactoring of that new asset, wouldn't it?20:52
@preactionand my idea that the website should be able to have a bunch of schemas, including content-manager-created ones20:52
+perlDreamerI mean, are you proposing slaving the Thingy to these DBIC schemas?20:52
@preactionnot slaving, co-existing20:52
+perlDreamersounds like something we should keep in mind for the 8.x rework of Thingy :)20:53
@preactionexactly20:53
kthakoreyeah I logged in20:57
@preactiontry ?op=admin then?21:03
kthakoreyeah tried that21:06
kthakoreno luck21:06
kthakorethe log shows21:07
kthakore Could not load WebGUI::Macro::AdminBar because Can't locate WebGUI/Macro/AdminBar.pm in @INC (@INC contains: lib t/lib 21:08
kthakorethere is no AdminBar ... in lib21:08
@preactionhm.. it shouldn't be trying to21:12
@preactionand that shouldn't prevent the page from loading, anything else in there?21:12
+perlDreamerAdminBar is still in WebGUI.conf.original21:14
kthakorein the log?21:14
+perlDreamerso any newly generated conf file will have them, too21:14
kthakorepreaction: I have to get. Nothing in the log after I comment out AdminBar21:17
@preactionchange etc/log.conf "ERROR" to "INFO" and try again maybe?21:17
@preactioni'll fix the AdminBar problem21:17
+perlDreamershould probably check for other outdated entries in there21:20
@preactionalready did21:21
CIA-82webgui: Doug Bell WebGUI8 * raf2abb7 / etc/WebGUI.conf.original : fix outdated macros in conf.original - http://bit.ly/lQWcGY21:21
jimX11preaction: I'm on a conf call ...21:52
kthakorepreaction: thanks22:12
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]22:16
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui22:17
kthakorepreaction: http://paste.scsys.co.uk/10557522:23
+perlDreamerthat looks like the upgrade may not have run successfully22:29
+perlDreamerrunning the upgrade should remove all instances of the AdminBar macro from all templates22:32
jimX11preaction: I'm all ears, if you need my ear.22:32
@preactionyeah, and install the template that newById is looking for22:32
@preactionjimX11: no, i was telling perlDreamer that you were using DBIC in WebGUI22:32
jimX11preaction: ok22:33
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui22:53
SquOnkGreetings22:53
+perlDreamerwhat's shakin', SquOnk?22:54
* perlDreamer goes running.22:56
SquOnkpreaction: Did you read the backlog this morning?23:21
@preactionno23:21
* scrottie was out... doctors appointment (I never do that...)23:27
@preactionSquOnk: that's an RFE, and it should be a single line change. let me find where it would be23:27
@scrottiekthakore, you didn't run upgrades.23:28
@scrottiekthakore, if the install instructions are wrong, I want to know about it.  if you just didn't read them, uh, that's a different matter.23:28
@scrottieI told you to read the install notes twice and then repeated that particular bit of it too.23:29
@preactionSquOnk: 175 of lib/WebGUI/Asset/Wobject/AssetReport.pm push(@{$var->{'asset_loop'}}, { %{$returnAsset->get}, %{$returnAsset->getMetaDataAsTemplateVariables} });23:29
@preactiontest it out, put it in a patch, and we'll include it23:29
SquOnkpreaction: That's what I patched :-)23:31
SquOnkpreaction: Will test and RFE tonight. I believe it will make it into 7.10, but NOT into 7.9, right?23:31
@preactioncorrect23:31
SquOnkpreaction: Good. It's a one line patch, so my customer can live with that.23:32
SquOnkpreaction: One question, though.23:32
SquOnkpreaction: If I understand correctly, that will bring the Asset Metadata properties *only* in the asset_loop scope, thus shadowing the Asset Report's metadata fields. Am I right?23:33
@preactioninside the loop, yes23:33
@preactionif you used a TT template, you could get around that23:33
SquOnkpreaction: Good.23:34
SquOnkpreaction: Works like a charm, my friend.23:38
@preactionsweet23:38
@scrottiepreaction:  RFC:  WebGUI8 should automatically run any outstanding upgrades when launched, to keep people like myself and kthakore from failing to correct run upgrades and make upgrading it as easy as doing a git pull / restart.23:38
@scrottiecorrectly23:38
Haargit currently doesn't know which upgrades have been run because it keeps track of that by version number23:39
@scrottieright.  if the version number of WebGUI doesn't match the version in the database, it needs to run upgrades.23:40
@scrottieso, rephrasing, should automatically run upgrades when launched if db and code version don't match23:40
Haargyeah, but that won't handle the case you mentioned, because doing git pull wouldn't change your version number23:41
@scrottieWebGUI8 doesn't have releases yet.  is that the only problem?  even then, it would notice that 7.10.x ne 823:41
@scrottiedevelopers will have to deal with this until 8 starts getting subversions.23:42
@preactionyes, which is soon23:42
@scrottieexcept for that pesky first-8 run23:42
Haargif you are developing on 8, then your db version is already at 823:42
@preactionor we could even just bail out if the db version and the code version don't match23:42
@scrottieHaarg, unless you loaded the create.sql that comes with 823:42
@scrottiethat's an option too, but I'm imagining this streamlined auto-update feature so that we're not plagued with pathologically antique .dpkgs23:43
Haargbut in that case you know that upgrades are needed23:43
@preactioni worry about doing things automatically that could destroy sites if done wrongly or unnecessarily23:44
Haargif you are already importing create.sql, just change your process to also do an upgrade23:44
@preactionwgd reset does exactly that, even23:44
@scrottiehow about this.  if your versions don't match, it asks you for credit card number, takes out a large life insurance policy on you, and then emails the Russian mafia.23:44
@preactionchange that to email me, and you've got a deal23:44
@preactioni do desperately need a new fur coat23:44
Haargi think having the psgi bail out of the version numbers don't match would make sense23:44
* scrottie nods23:45
@scrottieokay.23:45
Haargwell maybe not bail out23:45
Haargbut do something23:45
Haargbecause when you are upgrading you want it to be able to show the maintenance page23:45
@scrottiewe could do an environment variable... WEBGUI_VERSION_OVERRIDE23:45
SquOnkpreaction: There you go, RFEd23:46
@preactiondanke, SquOnk 23:46
@scrottiedefault to failing on startup on mismatch but allow override23:46
@scrottiepeople could always change the version in the db too.23:46
Haargthis is something that server admins will have to deal with often though, so making it annoying would be bad23:47
@scrottieif the versions don't match, it should be a matter of running upgrades.23:48
Haargalternatively, have it store the current version in settings all the time and show the maint page based on that23:48
@scrottieI wanted to do that automatically =P23:48
@scrottiethe maint page needs a "turn admin on!" link.23:48
@scrottie(yes, I know, but still, seeing the maint page is just going to confuse people)23:48
Haargit already does that during upgrade but having it just always there would be fine as well23:49
Haargbasically, using version numbers alone, there isn't any way to detect if upgrades are required when doing dev work.  so i pretty much always just do wgd reset.23:50
@scrottieyeah, that's fine for dev.23:50
Haarghaving it fail in a friendlier way would be good though23:50
+perlDreamerno tests on that AssetReport RFE?23:52
@scrottiesounds like false positives aren't really a problem (if upgrades do run, the version numbers will match).  false negatives (it doesn't think you need to do upgrades because versions match, but really you're adding changes to a version) only happens in dev.  file.23:52
@scrottiefine.23:53
@scrottiethis doesn't have to be perfect, only an improvement, and it can be improved again later.23:54
@scrottienothing in code is ever perfect.23:54
CIA-82wgdev: Graham Knop master * r0ff9ffb / Changes : 23:59
CIA-82wgdev: v0.110519023:59
CIA-82wgdev:  - add missing Try::Tiny prereq23:59
CIA-82wgdev:  - fix to directory copy code23:59
CIA-82wgdev:  - add overwrite option to package importing23:59
CIA-82wgdev:  - improve package importing error reporting23:59
CIA-82wgdev:  - improve script packing (+6 more commits...) - http://bit.ly/jhnkPd23:59
--- Day changed Fri May 20 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:01
+perlDreamerThanks Haarg!00:03
+perlDreameryou rock00:03
SquOnkWell, gotta go.00:11
SquOnkpreaction: Thanks again.00:11
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]00:11
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]00:58
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui00:59
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:52
kthakorehi scrottie ok this is what I had to do to get webGUI8 to work02:54
kthakorescrottie: 3) $ wgd reset --upgrade -F etc/WebGUI.conf 02:54
kthakorethen I had to drop the db and run create.sql again on it02:54
@scrottiegood.  yeah, that runs upgrades, which fixes that.02:54
@scrottieokay, bad.02:55
kthakoreyeah which I didn't get why02:55
kthakore:(02:55
@scrottiedatabase changes are the vast majority of what upgrades do.02:55
kthakoreok02:55
@scrottieupgrades change stuff in the database and config file, but mostly in the database.02:55
@scrottierun upgrades again to avoid futher problems... wgd reset --upgrade02:55
kthakoreright but with the -F tag02:55
kthakoreit doesn't listen to WEBGUI_CONF02:55
@scrottieyou should have WBGUI_ROOT=/whereever02:56
@scrottieyeah, gotta do WEBGUI_ROOT I think.02:56
kthakoreah02:56
kthakorethat is not in the README02:56
kthakore'The site psgi file uses the WEBGUI_CONFIG environment variable to find the config.'02:56
Haargit's probably easiest to set WEBGUI_CONF to the full path of the config02:56
kthakorethat is all I see02:56
HaargWEBGUI_ROOT is a wgd thing02:56
@scrottieyeah, was just looking at the README02:57
kthakorescrottie: ok so it was just ambiougous then. Just add 'full path to config' for WEBGUI_CONF02:57
kthakore?02:57
@scrottiedocs/install.txt has it02:57
kthakoreah ok02:57
kthakoreI didn't know if to read that02:58
kthakoreok also there are some template breakage I don't know how to fix02:58
kthakorepreaction told me to install template stuff for these WARNS/ERRORS http://paste.scsys.co.uk/10557502:59
Haargkthakore, are you just trying to get a stock webgui 8 install going?02:59
kthakoreit looks at /home/crystalx but I dont have that02:59
kthakoreHaarg: the github, so I can work on swapping Image::Magick out for GD or Cairo03:00
kthakorejust some example website is all I need03:00
Haargok03:00
@scrottieyeah, the upgrade script takes the Macro::AdminBar out of your config file.03:00
Haargso you have your database set up and in the config file.  what about uploads?03:00
@scrottieit is no longer a macro in WebGUI8.03:00
@scrottieI had the same problem.03:00
@scrottieuploads is in doc/install.txt now.03:01
kthakorescrottie: I am not sure what that means. macro for /home/crystalx stuff?03:01
@scrottieto support extension, a lot of plug-in-y stuff gets registered in the config file, including "macros".03:02
Haargbasically, if you have a config file with a database and uploads set up, you should be able to run03:02
Haargwgd reset --dev03:02
@scrottiemacros get parsed out of templates and other stuff, code run, and the output replaced in03:02
Haargand get everything working03:02
@scrottieI think a "Content Handler" replaces it.03:03
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:04
kthakoreok03:04
kthakoreis having spectre.pl running necessary?03:04
@scrottienot really03:04
@scrottienot for dev03:04
@scrottiein the admin tab, there's a "workflows" thing.  the stuff in there that runs peroidically won't run without it, fwiw.03:05
kthakoreHaarg: thanks for the wgd reset --dev tip!03:07
Haargwe really need a site creation script, it's just been low priority because the people working on stuff already have things set up03:08
kthakoreok 'Turn Admin On!' is still not working for me03:09
@scrottieoh, heck... there's a .pl in there that fires up a web server that sets up the WRE by templating stuff into place, including httpd.conf03:09
@scrottie... but it's terrible03:09
Haargyeah the wre's stuff for that isn't great, and it really needs to be in webgui itself03:10
@scrottiekthakore, remind me where you're at exactly?  you loaded a new database, ran upgrades...03:10
kthakorescrottie: almost all of docs/install.pl except for spectre.pland wgd reset --dev is done03:11
@scrottiescripts to maintain httpd.conf are as old as web hosting itself...03:11
@scrottiethe art has not advanced.03:11
@scrottiewgd reset --upgrade ... has this been done?03:11
@scrottieif not, it shouldn't hurt to do it again03:11
Haarg--dev includes that03:12
@scrottiethought maybe he upgraded but didn't do --dev yet for some reason03:12
@scrottieokay.  admin is not going to work until you upgrade.  the create.sql and .conf you get are for a 7.10.x.  they aren't for 8.003:12
@scrottieand it's probably better that way.  the upgrade path should be well tested going into an 8.0 release.03:13
kthakorerunning the upgrade gets warnings like03:14
kthakore Use of uninitialized value in pattern match (m//) at /home/kth03:14
@scrottiehrm.03:14
kthakoreadmin worked03:14
kthakoreI did absolute paths in the config file03:15
@scrottiegood.03:15
kthakoreI was doing relatives before03:15
@scrottiedid you ever get Image::Magick working, out of curiosity?03:15
kthakoreyeah03:15
* scrottie nods03:15
kthakoreloads of black magic 03:15
kthakoreI had to compile it against Debian's libperl manually03:16
kthakorethen patch it for mmx and 64bit03:16
kthakorewhich was pointlessly wasteful03:16
kthakoreas it was only having that problem with my architecture .... so I can't even give the module a patch to add03:17
@scrottieon my long list of things to do, I want to do a ccpp -- pure perl C compiler that translates .c, .h etc into perl so you can build XS stuff even without a C compiler toolchain.  for linking, I'd use chromatic's NCBI or whatever it's called.03:17
kthakoreoh ... yeah that will be a long long long list of todo03:17
@scrottieno kidding.03:17
* kthakore shudders03:17
@scrottieyikes.03:18
kthakoreok how do i add a bunch of content/plugins to use the Image functionality of WebGUI8 03:18
kthakoresorry I haven't use WebGUI8 before03:18
@scrotties'ok03:18
@preactionPoll uses the most of WebGUI::Graphics03:19
@scrottiethere's some ImageGallery stuff too03:19
@preactionotherwise Image assets create thumbnails using the methods in WebGUI::Storage03:19
@scrottiein the admin bar, there's a New Content tab.  you have to add these things (Poll, Image Gallery, etc) from there.03:19
@scrottieit gives you a screen to configure the thing then adds it asa  child of the page you're currently looking at (which works best if you're looking at something that is a Page Layout).03:19
@scrottieI'm not sure how good test coverage currently is but I'd be happy to write some tests for you.03:20
kthakoreok03:21
kthakoregreat ... I ran into another bug/config issue03:21
kthakoreI do New Content->Basic->Poll03:21
kthakoreand nothing happens03:22
kthakoreclicking any of the edit buttons doesn't do anything either03:22
@scrottiedoes your browser's developer widgetplexdealie have any information about .js files it failed to find/load?03:23
kthakoreCouldn't call method www_edit on asset for url: /home Root cause: Can't locate object method "getValue" via package03:23
kthakorethat is the error03:23
@preactionoh humph03:23
@preactionone sec03:23
kthakoreWebGUI::Asset::dispatch[759] Couldn't call method www_edit on asset for url: /home Root cause: Can't locate object method "getValue" via package "WebGUI::Asset::RichEdit" at lib/WebGUI/Asset/RichEdit.pm line 517. 03:24
@preactiondo a pull and it should be fixed03:24
@scrottieyou *should* get a delightful enhanced Plack::Middleware::StackTrace if things blow up and you have developer mode on03:24
@preactiongetValue went gone a long time ago03:24
CIA-82webgui: Doug Bell WebGUI8 * r258d939 / lib/WebGUI/Asset/RichEdit.pm : remove getValue for the third time maybe? - http://bit.ly/kkCHnT03:24
kthakore:)03:24
* kthakore loves finding bugs and getting fixes just for doing simple things03:25
CIA-82webgui: Graham Knop WebGUI8 * r2a73f5a / lib/WebGUI/Asset.pm : fix undefined warnings - http://bit.ly/mAjMww03:25
kthakoreworks03:26
@scrottieat mysql, do:  insert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1');03:26
Haargor wgd reset --debug03:26
@scrottieoh, huh.03:27
@scrottiebtw, wgd db   is really handy03:27
Haargit doesn't stick in the ipDebug thing actually03:27
kthakoreCan't add image gallery now03:29
kthakoreinsert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1');03:29
kthakoreoops03:29
kthakoreWebGUI::Asset::dispatch[760] Couldn't call method www_add on asset for url: /home Root cause: newById must get an assetId03:29
@scrottiemmm... does it say where that was called from, before that?03:30
@scrottieyou'll have to restart the thing for the stack traces to kick in03:30
kthakoreok03:31
kthakoreno stack traces yet ...03:33
kthakoreI will do the wgd reset --debug then03:33
@scrottieperl t/PSGI/StackTrace.t    ... that should figure out if that's working03:35
Haargif you did --dev, debug mode should already be on03:35
kthakoreok03:36
kthakorehttp://paste.scsys.co.uk/10560503:38
@scrottieheh... export WEBGUI_LIVE=103:39
@scrottiethat actually needs to go away03:39
@scrottie(and then try again)03:39
kthakorethe test?03:42
kthakoreor the webapp?03:42
kthakoretest is fine03:43
@scrottiethe test... good.  okay.  it's probably not perfect.03:44
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]03:44
@scrottieI need to rework what happens when stuff gets caught works a bit.03:44
@scrottieor someone does.03:44
@scrottieerrors deeper inside WebGUI are likely getten eaten right now03:45
kthakoreyay!03:45
kthakoreok I will take a break then start preping for Image::Magick refactor03:46
kthakoreI am just going to ack the heck out of it03:46
kthakoreand move it to a WebGUI::Graphics where I can play with GD/Cairo03:46
kthakoreI will fork WebGUI8 onto my github and get you guys to try my fork03:46
kthakoreso I don't waste all my time fiddling with server setup03:47
kthakoreis that good?03:47
@scrottieno complaints here.03:47
kthakorecool03:47
kthakoreneed to clean up fucking water damage some more03:48
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds]04:09
-!- jjm_ [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui04:24
-!- jjm_ is now known as jimX11_04:32
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:53
-!- jimX11_ [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]05:37
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 240 seconds]07:07
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui07:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]07:26
CIA-82webgui: Scott Walters WebGUI8 * rc011dda / (README docs/install.txt): README and docs/install fixes. - http://bit.ly/jLCD4K07:38
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:16
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:36
-!- mode/#webgui [+v BartJol] by ChanServ10:36
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]12:10
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui12:21
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]13:42
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui13:43
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui14:09
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:31
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 260 seconds]14:39
-!- ekennedy [~ekennedy@173-118-184-146.pools.spcsdns.net] has joined #webgui15:59
-!- ekennedy [~ekennedy@173-118-184-146.pools.spcsdns.net] has left #webgui []15:59
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:14
-!- mode/#webgui [+o bopbop] by ChanServ16:14
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui16:50
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]16:50
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Read error: Operation timed out]16:51
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:01
+BartJoljoy : http://www.webgui.org/use/bugs/tracker/1213517:04
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:06
-!- mode/#webgui [+o pbcj] by ChanServ17:06
@pbcj'mornin17:07
+BartJolmorning17:07
-!- fokat [~lem@66.0.48.131] has joined #webgui17:30
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui17:30
kthakoremorning17:55
+BartJolhowdy17:59
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:17
-!- mode/#webgui [+v perlDreamer] by ChanServ18:17
+BartJolhey colin it is da man who alles testen can18:25
+BartJolperlDreamer: did you add the Geo::Coder::Googlev3 lib?18:28
+perlDreamerno, and not likely too either18:28
+BartJolI see your name in a possible related bug18:28
+perlDreamermissing dependencies should be filed on rt.cpan.org against the distribution18:28
+BartJolah18:28
+BartJolsorry, wrong place18:28
+BartJolshame on me18:28
+perlDreamerif they refuse to fix it, then we can add something to WebGUI to cover their badness18:28
+perlDreamerwe don't assign blame, we just throw boots18:29
+BartJolmmm, missing my errors, because I haven't enabled endless scrolling18:33
+perlDreamerI wish I was in The Netherlands right now18:37
+perlDreamerbecause that would mean that Friday is almost over18:37
kthakorehmm it seems the image uploader is not working :\18:37
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 246 seconds]18:42
+BartJolI send the bug in18:42
+BartJolhttps://rt.cpan.org/Ticket/Display.html?id=6834318:42
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:46
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui18:55
-!- mode/#webgui [+v BartJol] by ChanServ18:55
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]19:04
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui19:20
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]19:21
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]19:31
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]19:58
@preactionkthakore: check your uploadsPath in your webgui config file. also check the error log20:52
kthakorepreaction: Checked it20:56
kthakoreAlso I set up a test suite for image features here20:57
kthakorehttps://github.com/kthakore/webgui/commit/20082dd2935d31c218074fbe88f88ab6edfbf69e20:57
kthakoreis that correct?20:57
@preactionshould be yeah20:58
@preactioneverything we do with images should be covered by those tests, if those tests cover it ;)20:58
@preactioni'll take a look inside Poll.t to see how well the graphs are covered20:58
kthakorecool ok20:59
kthakoreI am gettign a lot of fails with these test already tough20:59
@preactionthey're checked if they're generated, which is really all we can do reliably. we're not going for exactly the same rendering20:59
@preactionsbin/testEnvironment.pl runs clean?20:59
kthakoreyeah21:00
kthakorewgd test fails alot too21:00
kthakoreI can upload now21:00
kthakoreI just had to clear the cache21:00
kthakorewgd reset fixed it21:01
@preactiondo me a favor and: wgd test --reset="-d --config" -A -v --debug 2>&1 | tee test.log <- and pastebin the output? it'll take a bit to run though21:01
kthakoreok21:02
kthakoreImage test results in the meantime http://paste.scsys.co.uk/10584521:02
kthakorepreaction: I get bad parameter provided21:05
@preactionoh, you need wgd -Fconfigfile21:05
kthakoreok21:05
@preactionprobably21:06
kthakoresame problem21:06
@preactionnot in the right directory maybe?21:06
kthakoreNo WebGUI root directory available.21:08
kthakoreI was able to run test before21:08
kthakoreshould I set WEBGUI_ROOT ?21:08
@preactionhow/where did you do wgd test before? that's the place21:08
@preactionyes, that'll do it probably21:08
kthakoreas soon as I do that21:10
kthakoreI get bad parameter21:10
kthakoregah21:10
@preactionperhaps run the previous test that worked with the -v --debug options and pipe the output to a file?21:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]21:11
-!- fokat [~lem@66.0.48.131] has joined #webgui21:12
kthakorenope21:12
kthakoreit just refuses to work now21:13
@preactionawesome!21:13
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui21:15
kthakorehah21:16
kthakoredid you have a look at the image test results? HOw do I make those things pass?21:16
@preactioni've looked at the results, but haven't done any digging yet. responding to some e-mail first21:19
kthakorecool21:21
* kthakore runs away to break stuff 21:21
kthakore:)21:21
@scrottieheh, I was up late doing the same thing... taking inventory of those... should have pasted my work.  oops.21:25
kthakore:P21:26
@scrottieI think I have some that you don't...21:26
kthakoreI haz broekn many thungs21:26
kthakore:\21:26
@scrottiethen I got distracted with the problem of actually testing the output of the PNGs and remembered that I had some PNG writing code laying around... it's really tiny, about 20 lines.21:26
@scrottieI decided to try to adapt it to reading PNGs in pure perl.  then I was up until 2am.21:27
@scrottieit's a lot easier to write PNGs than read them.  PNG has a lot of options and scenarios and edge cases but you can ignore all of that and just write a naive PNG in one format.21:28
@scrottiehttps://gist.github.com/98348521:28
@scrottielet me post my last test run too... 21:28
kthakoreok21:30
kthakorebtw image galleries, image crop and thumbnails don't work for me21:31
@scrottieI'd be interested to see the output of prove --verbose for those21:31
kthakoreok21:31
@scrottieactually, if you do prove --verbose, I can kompare yours and mine21:31
kthakorehttps://gist.github.com/98349821:31
@scrottieokay, https://gist.github.com/983485 has my prove --verbose output in it.21:31
kthakorethose are the broken Image stuff right now21:32
@scrottiehrm, need more context.21:32
kthakoreadding gallery21:33
kthakoreand setting thumbnail size21:33
kthakoretwo failing things right now21:33
kthakoreand 2 logger events21:33
kthakorescrottie: verbose tests http://paste.scsys.co.uk/10584621:35
@scrottiewgd test --reset="-d --config" -A -v --debug 2>&1 | tee test.log    ... please do do that21:36
kthakoreok21:36
@scrottienot finding 'adding gallery' or 'setting thumbnail size' searching that file21:36
@scrottiein t/Asset/File/Image.t21:36
@preactiononly one failing test, and it's TODO :(21:36
kthakorescrottie: I was doing that by hand in the webapp21:36
@scrottieah.21:36
kthakorescrottie: can't run wgd anymore21:37
@scrottieare you getting proper stack traces now?  that would be really handy for investigating run-time errors.21:37
kthakoreit complains about no WebGUI root directory21:37
@scrottieexport WEBGUI_ROOT=/data/WebGUI  # or whereever you put it... app.psgi should be in that dir21:38
kthakoreI think I should do a clean 'install' again21:38
@scrottieno, that's just the lack of an environment variable it's complainable about, unless you deleted everything out of there21:38
kthakorenow I get Bad parameter provided.21:38
kthakoresigh21:38
kthakoreI dunno what broke that21:38
@scrottieI hate that one.  I don't know what that's about.21:38
@preactionusually the config file parameter21:38
@scrottiewhat's echo $WEBGUI_CONFIG say, if anything?21:38
@preactiontry WEBGUI_CONFIG instead of -F maybe?21:39
kthakoreok21:39
@scrottiemost WebGUI users create a little .sh file to set up environment variables (in the case of 8, WEBGUI_ROOT and PERL5LIB) and then source that before working on WebGUI stuff21:39
kthakorehttp://paste.scsys.co.uk/10584721:40
@scrottiemine says:  export PERL5LIB='/data/WebGUI/lib:/data/WebGUI/t/lib'; export WEBGUI_CONFIG='/data/WebGUI/etc/www.example.com.conf'21:40
kthakoreyeah it is serious broken now21:41
kthakoregreat21:41
@scrottieno wgd commands work?  not even wgd db -F ... ?21:42
kthakorenothing21:42
@scrottietry absolute paths for PERL5LIB etc?21:42
@preactionhumph. your script works for me after i change the config file to my own21:43
@scrottienext step would be asking Haarg please for a better diagnostic message, or else adding one yourself to wgd.21:44
kthakorescrottie: try absolute paths. Same problem21:44
kthakoreI am cleaning up my test_env and starting again21:44
kthakoreI am going to just have symlinks to lib now instead all of webgui git21:45
@preactionif you export WEBGUI_DEBUG=1 you should be able to do prove directly21:45
kthakorepreaction: how do you mean directly? I do that right now.21:45
@scrottiequick and dirty, you could patch your wgd to dump a stack trace when it goes to give that error message.  that might give a clue.21:45
@preactionwgd test is a wrapper around App::Prove, --debug sets WEBGUI_DEBUG21:46
HaargWGDEV_DEBUG=1 will give you stack traces21:46
Haargit's most likely something with WEBGUI_ROOT21:46
@scrottie[ -f $WEBGUI_ROOT/app.psgi ] || echo "WEBGUI_ROOT wrong"21:47
Haargwhat i would recommend is unsetting WEBGUI_ROOT, and just having WEBGUI_CONFIG set to the absolute path for your config file21:48
kthakoreHaarg: ok21:48
kthakoreNo WebGUI root directory available21:49
@scrottieI should really always run everything strace | grep getenv to see what environment variables I can set to do things.21:49
@scrottie[ -f /$WEBGUI_CONFIG ] || echo "bah"21:49
@scrottiehrm, no, that's wrongt.21:50
kthakorewhould having lots of symlinks mess with wgd ?21:50
Haargyes21:50
kthakoresigh21:50
kthakoreok21:50
kthakorescrottie: preaction Haarg let me clean up21:50
kthakorewhat about just lib as symlink?21:50
@scrottiethis stuff likes to compute relative paths, often .. or ../..21:51
Haargi'd start with just having everything in one directory with no symlinks.21:52
@scrottiemv */* */*/* */*/*/* */*/*/*/* */*/*/*/*/* .21:52
kthakoreshit21:54
kthakoreI cleaned up everything21:54
kthakorestill not working 21:54
kthakorewtf happened21:54
* kthakore reads back bash_history21:55
@preactioni'm chasing a theory about different perl versions, i've been using 5.10.1, i'm gonna run the whole suite on 5.12.2 and others maybe21:55
kthakorebut it was working jsut this morning21:56
kthakorehow the fuck21:56
Haargso you have a webgui git checkout, with a config file in etc, WEBGUI_ROOT is not set, and WEBGUI_CONFIG is set to your config file's absolute path.21:56
kthakoreyeah21:56
@scrottie5.14 worked pretty well after I fixed one little bit of DBD::mysql and commented all of the 'use Image::Magick' lines.  Image::Magick was *not* going to build.21:56
Haargwhat do you get if you run wgd config command ?21:56
kthakoreNo WebGUI root directory available.21:56
kthakoreno output21:56
@scrottiethe .conf file is in etc inside the root of the thing you checked out from git, right?21:57
kthakore/home/kthakore/Documents/Development/Work/test_env/etc/WebGUI.conf21:57
kthakorethat is the output21:57
@scrottiehead and tail .conf... does it look like the JSON got cut off on either end?21:57
kthakoreyeah .. missing a {21:57
kthakorewtf21:57
kthakorehow21:57
kthakoreand my .conf is all changed21:58
* kthakore looks at git21:58
kthakore....21:58
@scrottieinterrupted at the wrong moment and not doing the mv shuffle.21:58
kthakorethis happened after I ran ./wgb --dev thing21:58
@scrottieWebGUI and the tests treat the .conf file as read-write.21:58
@scrottiesee Config::JSON.21:58
@scrottieWebGUI::Config uses that.21:58
kthakoreright21:59
Haargpreaction, all the upgrade scripts got brought along with the merge22:00
@preactioni'm checking other perls because on of these test failures is a failure in a regexp to grab the file extension, which is really weird22:01
@preactionCannot determine source for t/Asset/Wobject/StoryTopic.t <- and i dunno wtf's going on there22:02
@preactionand of course i just deleted all my VMs to free up space to load pb.com's database...22:02
@preactionoh, right, i should merge all those pull requests that are pending22:03
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui22:04
CIA-82webgui: Doug Bell WebGUI8 * r65752f2 / lib/WebGUI/Template/Plugin/Asset.pm : 22:08
CIA-82webgui: Merge pull request #12 from haarg/tt-asset-plugin22:08
CIA-82webgui: Adds an Asset plugin for Template Toolkit - http://bit.ly/k08bir22:08
kthakoreok complete clean app, no symblink, new database22:09
kthakoresame problem with wgd22:09
@scrottiemmmm, you repaired your config file?22:11
kthakoreyeah22:11
kthakoreI can paste my config file22:11
kthakorehttp://paste.scsys.co.uk/10584922:12
@scrottieif it can parse it, you should get some other error22:12
kthakoreactually this one I mean22:13
kthakorehttp://paste.scsys.co.uk/10585022:13
@scrottiedon't know.  something strange is going on.  permissions are wrong or something.  I suggest you do the WGDEV_DEBUG thing Haarg suggested and try to figure out where things are going wrong.22:17
kthakoreTRACE of the whole thing http://paste.scsys.co.uk/10585122:19
kthakoreWGDev::X::BadParameter->throw( is called22:19
kthakoreline 78522:19
kthakorewhat is that called for?22:20
Haargkthakore, give me a minute22:22
@scrottie>> /loader/0x217b910/WGDev.pm:69:         if (   -d $path22:22
@scrottiejust above it.22:22
kthakoreyeah22:22
kthakorelooking at what $path is22:22
kthakore/home/kthakore/Documents/Development/Work/test_env at /loader/0x1b7dba0/WGDev.pm line 69.\22:22
kthakoreseems fine22:22
kthakore && -e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' )22:23
kthakorewtf why?22:23
kthakoreit looks for that file but why?22:23
kthakoregot rid of that22:23
Haargit needs some indication if the directory is a valid webgui root22:23
kthakoreworks awesome22:24
@scrottieit seems to want it not to be a directory.  if( -d )  Throw22:24
kthakorenot it was the WebGUI thing22:24
kthakore-e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' )22:24
kthakoreI am missing that file22:24
kthakorecause I mv22:24
* kthakore strangles himself22:24
Haargthat file should exist in any normal webgui root directory, so i used it22:24
@scrottieah, else throw22:24
kthakoreHaarg: it was my fault I didn't know that22:24
* kthakore strangles himself and commits sepakky22:25
kthakoresigh22:25
@scrottieoooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOooooooooo22:25
Haargwell, my super special error message was extremely helpful tracking it down22:25
Haarg'bad parameter'22:25
kthakoreHaarg: ... erm no22:25
kthakorebut it was fun22:25
kthakore:)22:25
@scrottiethis explains why wgd does this same thing to me some times22:25
kthakorecan I patch that for the love of gawd?22:25
kthakoreHaarg: ?22:25
Haargyeah something should be done to improve that22:25
@scrottiejust a bit earlier I was saying that it did that for me some times and I wasn't sure why.22:26
@scrottiegithub.com/haarg/wgd I think22:26
@scrottiehttp://github.com/haarg/wgdev.git22:26
kthakoreokie22:26
kthakorepatch soon22:26
@scrottie:q22:27
@scrottieahem.22:27
kthakoreeyeball lick?22:27
@scrottiekill -9 $$22:27
@scrottieteehee22:27
@scrottieI had a bugger.  fixed!22:27
kthakorescrottie: you are making less and less sense22:27
@scrottietongue can't reach eyeballs, only buggers.22:27
@preactionperlDreamer: got a minute? do you remember who/where that Thingy patch went?22:28
CIA-82webgui: Doug Bell master * rc471728 / (2 files in 2 dirs): 22:28
CIA-82webgui: add metadata to assets inside an AssetReport22:28
CIA-82webgui: Thanks to SquOnk for the patch. - http://bit.ly/lhVlFF22:28
CIA-82webgui: Doug Bell master * r9b5f14d / docs/changelog/7.x.x.txt : always forget a changelog... maybe I need a git hook... - http://bit.ly/k8ubYY22:28
@preactionperlDreamer: nm, i found it22:28
kthakorescrottie: Haarg pretty please https://github.com/haarg/wgdev/pull/2222:32
Haargkthakore, as is that patch isn't going to work, but i'm fixing stuff elsewhere so it will.22:33
kthakoreoh ok22:34
kthakoreHaarg: I would have helped22:34
kthakorebut if you got it cherrio22:34
@scrottieI want to change how Config::JSON replaces the config file but I want at least another pair of eyes and I should probably be sending a push request to someone.  thoughts?22:34
kthakorewhere do I point my pair of eyes?22:35
@preactioni can be the eyes, JT would be the Config::JSON maintainer22:35
Haargi can take a look.  what is the problem you want to fix?22:35
Haargi wrote the current config writing thing iirc22:35
@scrottieahhh22:36
Haargi still want to come up with a better way to handle included files but haven't come up with a good strategy yet22:36
@scrottieHaarg, https://github.com/scrottie/config-json/commit/cc41ea153be45c5a2665940ea5b1518a5a42a55022:39
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds]22:39
@scrottiebasically, unless you replace one file with another using rename, the operation is subject to race conditions and interruption.  write() isn't even atomic.  the system can change which process is on the CPU during the course of a large write.22:40
Haargyeah.  the reason for the past ugliness was to prevent problems with the disk getting full.  but your thing is almost certainly better.22:40
Haargoh, i think i remember why i ended up with the ugly thing i made22:41
@scrottieyeah.  I was surprised how careful the code was when I went to look at it.22:41
Haargdidn't want to potentially mess with the file owner22:41
Haargi don't know if that's really important though.22:41
@scrottiehrm.  that's a good point, but my two cents is avoiding interruption is more significant.22:42
@scrottieI should write some tests for this before sending a pull request.22:42
@scrottieor sending one on IRC ;)22:43
Haargi'd probably go with your version.  simpler than mine, and as you say protecting against race conditions is probably more important.22:44
@scrottiehrm, I could totally write tests that simulated low disc space conditions, but that might make people angry.22:46
@scrotties/simulated/actuated/22:46
Haarghah22:46
kthakorelunch/outsideness &22:48
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Quit: knowmad]22:48
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui22:50
CIA-82webgui: Doug Bell master * r1fa9110 / (5 files in 4 dirs): 23:00
CIA-82webgui: Merge commit '1966cc02a70752'23:00
CIA-82webgui: Conflicts:23:00
CIA-82webgui:  lib/WebGUI/Asset/Wobject/Thingy.pm - http://bit.ly/jFwcDv23:00
@preactionfinally zylopfa's work is merged. i gotta keep better track of contributions...23:00
kthakorescrottie: preaction Haarg the tee test.log command http://paste.scsys.co.uk/10585723:13
@preactionawesome. i'll take a closer look when i get back from some errands23:17
kthakorepreaction: it only took a couple hours lol23:18
@preactionyeah, --debug takes a while, as it does a lot more testing23:18
kthakoreoh I meant even the ability to run that command23:18
kthakorehah23:18
kthakorethat Bad Parameter thing23:18
@preactionwhat was the end problem?23:19
@scrottieif www.example.com.conf wasn't in etc, it decided it was the wrong directory.23:21
kthakorescrottie: nope23:21
kthakoreit had to be /etc/WebGUI.conf.original23:21
@scrottieah, sorry23:21
kthakorethat file needed to exist23:21
kthakorewhich seemed counter intuitive to me23:22
kthakorebut I dunno maybe that makes sense23:22
@preactionoh, the reset needs it to build a new config from when doing reset="-d --config" probably23:23
Haargi just needed some kind of indication it was actually a webgui root directory.  just so happens i chose the same file you chose to move.23:23
@preactionor that23:23
* preaction &23:23
Haargand yeah that is a required file for webgui & wgdev.  the real issue is just the error message23:24
kthakoreHaarg: yeah. The only reason it was counterintuitive to me was that in other webapps mv *.original *. is fine23:24
kthakoregreat new errors :)23:25
kthakoreerror WebGUI::Macro::_processMacro[179] No macro with name i18n defined.23:25
Haargyaaay error time to celebrate!23:26
Haargadd to the config file in macros: "i18n" : "International", 23:27
kthakoreok23:29
kthakoreI already have 23:30
kthakore"International" : "International",23:30
Haargyeah, they should both be in there23:30
--- Day changed Sat May 21 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:06
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]00:06
+perlDreamerthat i18n macro synonym is supposed to be added during the upgrade to 8.x00:14
Haargit should be in WebGUI.conf.original though and it apparently isn't00:15
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Quit: knowmad]00:55
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui00:55
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Quit: knowmad]01:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui01:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 240 seconds]01:16
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:51
+perlDreamerthat's fixed easily enough02:37
CIA-82webgui: Colin Kuskie WebGUI8 * rf4bd6d3 / etc/WebGUI.conf.original : Add the i18n alias to the default WebGUI configuration file. - http://bit.ly/iX4Vji02:38
kthakoreaww I was gonna add that02:38
+perlDreamerI waited two hours to give ya the chance02:45
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui02:48
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]02:59
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]03:04
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui03:05
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]03:48
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui06:40
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]07:43
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:01
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:14
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:24
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]15:55
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]17:40
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui17:48
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]17:55
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui18:34
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]18:41
jimX11If I subclass WebGUI::Asset::Wobject does the subclass inherit a "new" method?  Doesn't seem to.18:57
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:03
-!- kthakore [~kthakore@li136-101.members.linode.com] has quit [Quit: Lost terminal]19:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 244 seconds]19:18
@scrottieperldoc WebGUI::Asset19:55
@scrottieWebGUI::Asset::Wobjects are WebGUI::Assets19:55
@scrottiethere are a few ways to construct them... a few different new methods19:56
jimX11scrottie:thanks20:19
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 250 seconds]20:30
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui20:31
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 260 seconds]23:04
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has quit [Read error: Operation timed out]23:20
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui23:29
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui23:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui23:50
--- Day changed Sun May 22 2011
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui01:27
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui01:28
kthakorehallo02:15
kthakoreanyone here?02:15
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui02:20
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]02:24
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has quit [Ping timeout: 248 seconds]02:28
-!- vayde [~vayde@184-100-127-100.mpls.qwest.net] has joined #webgui02:40
-!- vayde [~vayde@184-100-127-100.mpls.qwest.net] has quit [Ping timeout: 276 seconds]03:05
-!- vayde [~vayde@67-4-225-10.mpls.qwest.net] has joined #webgui03:17
-!- vayde [~vayde@67-4-225-10.mpls.qwest.net] has quit [Read error: Operation timed out]03:33
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]04:23
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Read error: Connection reset by peer]05:42
-!- vayde [~vayde@67-4-133-211.mpls.qwest.net] has joined #webgui05:58
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui06:10
@scrottiesup kthakore?07:47
-!- vayde [~vayde@67-4-133-211.mpls.qwest.net] has quit [Ping timeout: 246 seconds]08:50
-!- vayde [~vayde@184-100-65-32.mpls.qwest.net] has joined #webgui09:04
-!- vayde [~vayde@184-100-65-32.mpls.qwest.net] has quit [Ping timeout: 250 seconds]09:09
-!- vayde [~vayde@67-4-145-232.mpls.qwest.net] has joined #webgui09:22
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]10:00
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 276 seconds]13:14
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui13:20
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]13:37
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:36
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]16:31
kthakorehi scrottie 17:55
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds]18:27
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:33
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui18:50
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:03
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]19:12
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui19:24
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]19:30
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui19:45
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]19:47
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]20:18
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui20:32
jimX11In method A, if $session->form->process('id') is 'new', I want to replace it with $session->id->generate.  But I pass $session on to method B which needs a real WebGUI id.  Can I reassign 'id' in side of session in methond A?20:48
@preactionwhy can't method B check for "new"?20:49
kthakorehi20:49
jimX11well, it could.20:53
jimX11preaction: method A really passes $session to method B and C.  B and C need a real id.20:54
jimX11kthakore: hey20:54
@preactionwhy are there two methods that take input from the session? shouldn't just one method get the input from the session and the other method use a hashref or something?20:56
jimX11preaction: the method A is processEditForm which updates 2 tables using a hashref of values.  Methonds B and C are calls to DBIx::Class.  I think I could alter that hashref as you suggest...let me see...(thanks)21:01
@preactionso method A should be the only method that takes the session, no other method should care about the session at all21:01
jimX11yea, right.  That's what happens.21:02
jimX11preaction: I just have to make the changes to both loops (that gather column names for each table).21:04
jimX11...and set the values for the columns using $session->form->process.21:04
jimX11preaction: it worked (of course you knew it would).  Thank you.21:15
kthakoreHas anyone gotten an Image asset to crop in WebGUI8?21:24
kthakoreI can't seem to get it to work21:24
@preactionI did once, when I migrated it to where it is now21:26
kthakoresigh21:26
kthakorenone of my crop/resize on the Image (Utility) asset doesn't work21:27
@scrottiehaven't tried.21:27
@scrottieif you don't try something, it doesn't work, so you don't have to fix it.21:27
@scrottieer, it doesn't not work21:27
kthakoreheheh21:29
kthakorewhat does that mean?21:29
kthakoreit works?21:29
@preactioni'm testing it right now21:29
@scrottieno, it means I have no idea whether it works or not.  if I found out that it didn't, then I'd have to fix it.21:29
kthakorehehe21:30
kthakoretry crop it says 'Image Cropped' but the image doesn't update and show that new size21:30
kthakorehttp://paste.scsys.co.uk/10632321:31
kthakoreit even shows resize21:31
kthakorein the log21:31
kthakoreoh wtf21:32
kthakoreit works now21:32
kthakoreugh why is it so finicky21:32
@preactionthat's good, because i can't get the Save button to work for me21:33
kthakoreI had that problem too21:33
kthakoretry my repo21:33
kthakoremy refactor fixed it a bit but I duno how :(21:33
kthakoreI hate when that happens21:33
@preactioni imagine its finicky because nobody i know uses it. it was hidden in a menu that people rarely saw21:33
kthakorehttps://github.com/kthakore/webgui/tree/image_magick_gd21:33
kthakoreoh ...21:34
@preaction8 brings it more prominently, which exposes the problems in it21:34
kthakoreah I see21:34
kthakorebut how does my refactor fix it21:34
@preactionlet me check the tests quick21:34
@preactionoh, probably just me fatfingering something in my migration21:34
@preactionnone of them have tests, which may explain it...21:35
* preaction adds to his list21:35
kthakoreI was using t/Storage/Image.t 21:35
@preactionyeah, that test should work, i meant a Test::WWW::Mechanize test for the actual pop-up box thing21:36
kthakorepreaction: what did you add to your list? Making tests for this?21:36
kthakoreoh ok21:36
@preactionno, just front-end tests for the image dialogs21:36
kthakoreok21:36
kthakoreWhere can I test the addFileFromCaptcha in webgui21:37
@preactionevery other asset helper has sunny-day tests, no reason those shouldn't21:37
kthakoreI can't find an Captcha asset21:37
kthakoreI am going to GD that first21:37
@preactionDataForm has Captcha, Settings lets you enable captcha on account creation21:37
kthakoreyay thanks21:37
@preactioni think Collaboration also has Captcha on post for visitors21:37
@preactioni think DataForm only puts captcha on visitors too, so you have to not be logged-in21:38
kthakorewhile you are there can you check if you can add a gallery?21:38
@preactionin your fork? or in mainline?21:39
kthakoremainline too21:39
kthakoreerr21:39
kthakoremainline21:39
@preactionnope, Couldn't call method www_add on asset for url: /home Root cause: newById must get an assetId21:40
@preactionour previous way of handling errors in that method was to return undef. now it raises an exception. something isn't catching it right, i'll add that to my list21:41
@preactionmost likely it's lib/WebGUI/Form/Asset.pm21:41
@preactioni remember having a bunch of problems with that when I developed Gallery initially21:41
kthakoreOK21:42
kthakoreeven formdata is giving me errors21:42
kthakoreI am thinking I should just do my refactor to GD21:42
kthakorethen just see if tests pass21:42
@scrottiesorry, I'm half here, but if you paste a good stack trace, I'll take a look at that21:42
kthakoreit is hard to test on webgui cause I can't get some of these assets21:42
kthakorescrottie: where do I get the stack trace?21:43
@scrottieyeah, that stuff should get fixed21:43
@preactionthat would probably be a good idea, and as we go I can hammer through some issues21:43
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 250 seconds]21:43
@preactionto get a stack trace in the log, add %n%T%n%n to the end of the pattern in the log.conf file21:43
@scrottiekthakore, the database inserts I had you do were intended to turn it on... but it seems like something is catching the thrown errors and black holing them.21:43
@scrottiewell, you should be getting nicely formatted stack traces in the log and nicely formatted HTML/CSS stack traces in the browser with dev on21:44
@scrottieer, not in the log, on stderr.  sorry.21:44
kthakorescrottie: sigh no ...21:45
kthakorepreaction: I can try that21:45
@scrottiehang on.  I need to replicate this so I can try to fix the error catching so I can get a stack trace so I can fix this other thiung so that iamges can be fixed...21:45
kthakorehaha ok21:45
@scrottiewhat are you doing?21:45
@scrottiethat generates the error that has no stack trace?21:45
@scrottiewhich asset are you trying to add?21:45
kthakorescrottie: GD for all fucntions in Storage that use Image::magic21:45
@scrottiegallery?21:45
kthakoregallery, Captcha in DataForm21:46
@scrottiemost recently, what was the thing that you were trying to do?21:46
@scrottiegallery.  okay.21:46
kthakoreGallery to try to do generateThumbnail21:46
@scrottiewait, did you add a gallery asset successfully?21:46
@scrottietell me exactly what you were clicking on that didn't work.21:46
kthakoreok21:46
kthakoreI click on Login -> Turn on Admin! -> Add new Content -> Collaboration -> Gallery -> Save21:47
@scrottiethank you.  let's see.21:47
kthakoreCollaboration/Community21:47
kthakores/Collaboration/Community/ I mena21:47
@preactionyou can see the edit form? i don't even get that21:47
kthakoreyeha I get that21:47
kthakoreagain only on my branch21:47
kthakorewhich is sooooo weird21:47
kthakoreoh wtf now it doesn't work21:48
kthakoregorram21:48
kthakoreit21:48
@scrottiewait, I was asking you for the thing you did that _didn't_ work.21:48
kthakorescrottie: that is what didn't work21:49
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui21:49
kthakoreno Gallery Asset when going back to site.21:49
@scrottie"when going back to site"?  give me steps to replicate.21:49
kthakoreI click on Login -> Turn on Admin! -> Add new Content -> Collaboration -> Gallery  ( NO edit form now) Click Back to Site. NOthing added21:50
@scrottienothing gets added if you don't click 'Save' or if 'Save' doesn't work21:50
kthakoreExpected Edit form for Gallery and When back to site no gallery is seen/21:50
kthakorescrottie: can't even get to that form now21:51
kthakorecould never get to it in WebGUI8 branch21:51
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds]21:58
-!- vayde [~vayde@67-4-145-232.mpls.qwest.net] has quit [Ping timeout: 264 seconds]22:21
CIA-82webgui: Scott Walters WebGUI8 * r95def8a / (lib/WebGUI.pm lib/WebGUI/Middleware/StackTrace.pm): 22:25
CIA-82webgui: Perl run-time errors get kicked over to session->log->error, and22:25
CIA-82webgui: WebGUI::Middleware::StackTrace now intercepts errors as well as22:25
CIA-82webgui: fatals (since fatals are likely going away). - https://github.com/plainblack/webgui/commit/95def8a439e4037c45046486424b33127c3b0d2c22:25
@scrottiegetOriginalValue:  at /data/WebGUI/lib/WebGUI/Form/Asset.pm line 152.22:26
@scrottiewhat kind of value?  original how?22:26
@scrottieoh, form value22:26
@preactionyeah, the value => passed into the form control's creation, or defaultValue if that wasn't specified22:29
@scrottiekthakore, you might hit another error ten feet down the road, but try that 22:29
CIA-82webgui: Scott Walters WebGUI8 * r096fe5e / lib/WebGUI/Form/Asset.pm : Can't try possibily null data in an asset constructor any more, at least not without catching; this throws exceptions now. - http://bit.ly/ljKODX22:30
-!- vayde [~vayde@67-4-237-205.mpls.qwest.net] has joined #webgui22:33
kthakorescrottie: I found an error!22:37
kthakorethe*22:37
kthakorefixing it now22:38
@scrottiekill it with fire!22:38
kthakorehahah22:38
* kthakore unsheates his firey sword!22:38
CIA-82webgui: Scott Walters WebGUI8 * r819cef2 / (2 files in 2 dirs): $SIG{__DIE__} is a can of worms. Why doesn't try { } localize it...? - http://bit.ly/lzMTE522:38
kthakore... sounds naughty ... and dirty22:38
kthakorescrottie: should I pull it first?22:39
kthakorethis is one of it22:40
kthakorehttp://paste.scsys.co.uk/10632622:40
@scrottieI like to git pull --rebase, test (at least make sure it starts up cleanly, there are no syntax errors, you can pull up a page, and the related tests pass), then git push22:41
@scrottiehttp://www.webgui.org/wiki/commit-policy ... fyi22:42
@preactionwtf how did that ever work then? my tests must suck...22:42
kthakoreok22:42
@scrottieSuck factor 9, Scotty!22:42
kthakorepreaction: what did? the error I found?22:42
@preactioni suppose the test content used addChild, not www_add, which could hide certain bits22:42
@preactionthe one you found and the one scrottie just fixed22:42
@preactionthere's a webgui.pl test_content command that loads a site with an instance of every asset, and every asset loaded by that worked fine22:43
kthakoreyay I get stacktraces22:43
kthakoreand loads of it22:43
@scrottieyay!22:43
@preactionbut www_add is checked by run_asset.t, which isn't yet part of the normal test suite. i should really change that.22:43
@scrottieI probably did that not very well though.  the particular catch catching the error in this case decided that all caught errors would get logged as warnings, and the stack trace stuff doesn't kick in for warnings.22:44
kthakorescrottie: sending you those first. Then I will hunt down execute problem22:45
@scrottiedammit.  no good way to do this though.22:45
@scrottiekthakore, if you want to paste a link here (when I'm awake) to a specific commit on your github fork, I can cherry pick that.22:46
@scrottieor you can do the pull request thing.  I'm not 100% clear on how those work, but then all of the WebGUI8 committers will get an email and can pull a commit.22:46
kthakorescrottie: http://paste.scsys.co.uk/10632722:47
kthakorescrottie: ok I can do that22:47
@scrottieI'm guessing $SIG{__DIE__} is going to have to be backed out, and then stack traces will only be from the point of view of where they were caught.  bah.22:47
@scrottiekthakore, you're getting 404s.  that's what that error is.22:48
kthakoreok then I get Graphics::ColorObject not found22:49
@scrottieeither files weren't copied correctly, paths set up correctly in the config file, or else you have enableStreamingUploads on and you're not using a reverse proxy that understands XSendfile (so turn it off)22:49
kthakorethat should be in TestEnvironment probably22:49
@scrottieyeah.22:49
kthakoreOOOH way better errors!22:50
* kthakore hugs scrottie 22:50
kthakorethank you!!!22:50
* scrottie giggles22:51
@scrottieyou're welcome.  sorry that wasn't working before.22:51
kthakoreWhere do I find out the $op for http://0:5000/home?op=listUsers22:52
@scrottieop= implies a "content handler"22:53
kthakoreok22:53
-!- preaction [~preaction@li79-149.members.linode.com] has left #webgui ["Leaving"]22:53
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui22:53
-!- mode/#webgui [+o preaction] by ChanServ22:53
kthakoreso WebGUI::Operation::User ?22:53
@scrottiethey don't map 1:1... instead, each gets called one by one to see if it'll respond to that one, so you kind of have to guess or else read through all of them22:53
@scrottieWebGUI/Content/*.pm22:53
@scrottieer, wait, sorry22:54
@scrottieyou're right22:54
@scrottieI think.  let's see.22:54
@scrottieyeah.  lib/WebGUI/Operation/User.pm22:54
kthakoreok 22:54
kthakorebut I don't see this select that is causing the problem22:55
kthakorehttp://paste.scsys.co.uk/10632822:55
CIA-82webgui: Scott Walters WebGUI8 * rf14f2e5 / lib/WebGUI/Asset.pm : 22:56
CIA-82webgui: Failed calls to www_ methods generating stack traces when webgui.debug is on22:56
CIA-82webgui: is useful for developers; merely warning skips stack traces in22:56
CIA-82webgui: WebGUI::Middleware::StackTrace. Make this an error. - http://bit.ly/myUHcM22:56
@scrottiethat last commit might get you a good stack trace on that one.  if you tell me how you did it, I can test too.22:57
kthakoreok22:57
kthakoreTurn on Admin! -> Users 22:58
@scrottiegrepping around, it looks like that's lib/WebGUI/Operation/User.pm line 22922:58
kthakoreah indeed22:59
kthakoreFIXED!23:01
kthakore:D23:01
kthakoreI love these stack traces23:01
@scrottieyay!  one down, a billion to go!23:01
kthakoreahah23:02
kthakorejust refactoring is finding so many things23:02
kthakorehttps://github.com/kthakore/webgui/commit/320f4958c0b7db584bb36bbaff1e224081d982fb23:03
kthakorescrottie: ^^23:03
@scrottiethanks, let's see23:05
kthakoresimple enough23:06
kthakoreHow do I add missing deps to Test::Enviornment.pl23:07
kthakorecheckmodule?23:08
@preactionyes23:08
@scrottiewhich module was missing again?23:08
kthakorehttps://github.com/kthakore/webgui/commit/d5573ba561b75268ed334468ef5b66db82b29c4a23:10
kthakoreOMG I CAN FINALLY ADD USERS!!!23:11
@scrottieGraphics::ColorObject ... right23:11
kthakoreo forgot that one23:11
@scrottiewhere was the 'use' or 'require' for that?23:11
@scrottienot finding it in lib23:11
@scrottiewant to see if it is interacting with my recent change (that I'm skeptical of)23:12
@scrottiealso, have to water the garden here and go afk a bit... going to do that before merging things23:12
kthakoreok23:12
kthakoreto test this23:12
@scrottiewhere did Graphics::ColorObject get used from?23:13
kthakoredo Users -> Click Visitor23:13
kthakorescrottie: dunno maybe it was a dep of a dep?23:13
@scrottieah.  right.23:13
kthakoreit just complained so I installed23:13
kthakorethe squeky wheel gets the oil23:13
@scrottieyeah, I've hit a few of those.  someone should take the time to report those on CPAN to the author.  I haven't been.23:13
@scrottiestack trace should indicate which module pulled in that module... would be nice to have a comment in testEnvironment so we knew why it was there, since it isn't used directly by wG823:14
@scrottieafk a bit23:14
kthakoreok23:15
kthakoresorry23:15
* kthakore reads back scroll23:15
jimX11I'm using WebGUI::Test to create a $session for a test.  That session is passed around and other objects use  $session->config->get('dns').  I'd like the test to use different values than are in the real config.  Should I just make a test config with the test dsn info and use that?23:57
--- Day changed Mon May 23 2011
jimX11Session docs give this: WebGUI::Session->open($webguiRoot, $configFile); I'll use that instead of mucking with env variables.00:01
@preactionjimX11: you can change the config in the test and the original will be just fine00:04
@preactionbut if you open a new session, you're screwing with the real actual config00:05
@preactionthe test session is special00:05
jimX11preaction: thanks.  I'll be mindful and create sessions using WebGUI::Test for the test.  The test config won't use mysql as the db, it'll use SQLite (running in memory not on disk) 00:17
CIA-82webgui: Scott Walters WebGUI8 * r7687203 / lib/WebGUI/Operation/User.pm : 01:21
CIA-82webgui: Author: kthakore <thakore.kartik@gmail.com>01:21
CIA-82webgui: Date: Sun May 22 16:02:00 2011 -040001:21
CIA-82webgui:  Fixed SQL statement for ?op=listUsers operation. - http://bit.ly/knxmVZ01:21
jimX11To add a "cancel" button on an edit form, should I use javascript like: onclick="history.go(-1)?01:35
@preactionthat could work, yes01:35
jimX11preaction: ok, thanks.01:36
jimX11I'm suing FormBuilder to build the cancel button.  I found some example where the addField takes a hash with a key of extras where I can set a css class like this:  extras => q{onclick="history.go(-1)" class="deleteButton"}  But there is no deleteButton css class.  Is there a css class i could use for cancel?  01:48
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui01:48
jimX11I could use the "forwardButton" class, but that makes the button green.  Green is an odd color for a cancel button.01:49
jimX11oh, "backwardButton" is nice and red. I'll use that.01:50
@scrottiethese modules that are generating stack traces are all in eval { }'s, by the way.  they're all optional deps of other modules.  03:22
@scrottieI'm also getting these now:  "WebGUI::Middleware::StackTrace::__ANON__('WebGUI::Session::Log=HASH(0xca75138)', 'fastmmap set failed - value too large? (114605 bytes)"03:22
@scrottieCHI::Driver::FastMmap raises those.03:23
@scrottieoh, snot.  I can turn the admin on, have my session expire, log back in, turn the admin on again, and have two admin bars next to each other.03:28
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]03:54
CIA-82webgui: Scott Walters WebGUI8 * r6a6fff6 / lib/WebGUI/Session.pm : Fixing the var() deprecation crutch. - http://bit.ly/jjUS9i04:05
CIA-82webgui: Scott Walters WebGUI8 * rd6f66b0 / sbin/maintenanceMode.pl : session->var is apparently deprecated. - http://bit.ly/m9pHiD04:05
kthakorescrottie: hi. Sorry I had to take care of something04:26
@scrottiehey kthakore.04:26
kthakoreI see you got my patch in there. 04:26
@scrottieI'm keeping busy here in my sandbox full of cat poop.04:26
kthakore... err what?04:27
@scrottieuh, nothin'.04:27
kthakoreany way I found more bugs. But I am gonna focus on getting the Storage.pm refactored first to GD04:27
kthakorebut ... maybe tmmw04:28
@scrottieare you able to create galleries and upload images to them?04:28
kthakoreno04:28
kthakorethere is a breakage on primary key04:28
kthakorewhen uploading picture assets to albums in hte gallery04:28
kthakorebut I know what it is and I will have a report on it soon04:28
@scrottieit might make sense to get that working first or the number of bugs might just compound.04:28
kthakoreI am being very careful not to do that04:29
@scrottieis it on a table called metaData_values?04:29
kthakorethat is why I am doing a shallow refactor to WebGUI::Graphics04:29
kthakorescrottie: hmm lets see04:29
kthakoreassetversiontag04:30
kthakoreDuplicate entry 'PRwV8qJRTw6CYxwgdbqVtg' for key 'PRIMARY' [for Statement "INSERT INTO `assetVersionTag`04:31
kthakoreall these bugs are not on my branch btw04:31
kthakorethey are on the WebGUI8 branch04:31
@scrottiethe $SIG{__DIE__} thing is a portal to hell.  I shouldn't have done that.04:32
* kthakore stares into the faces of hell and sees but naught04:32
CIA-82webgui: Scott Walters WebGUI8 * rcd66af7 / sbin/maintenanceMode.pl : Warn the user if upgradeState is set but not current, and WebGUI::Middleware::Maintenance is going to block everything because of it. - http://bit.ly/mTJU9u04:46
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:56
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]05:11
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui05:23
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]05:30
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui05:32
CIA-82webgui: Scott Walters WebGUI8 * r2cf986f / lib/WebGUI.pm : 06:55
CIA-82webgui: Back out $SIG{__DIE__}. Exposes far too many caught errors. Back to the06:55
CIA-82webgui: drawing board. - http://bit.ly/kDtOic06:55
CIA-82webgui: Scott Walters WebGUI8 * r9e557d4 / lib/WebGUI/Middleware/StackTrace.pm : The text of the error message might be useful in the stack trace. - http://bit.ly/lENhlw06:58
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:05
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]09:05
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui09:13
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:57
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui11:10
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui11:11
-!- mode/#webgui [+v BartJol] by ChanServ11:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 264 seconds]11:40
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui11:45
-!- carogray [~Caroline@72-59-177-80.pools.spcsdns.net] has joined #webgui12:50
-!- carogray [~Caroline@72-59-177-80.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]12:59
-!- carogray [~Caroline@72-63-197-88.pools.spcsdns.net] has joined #webgui14:00
-!- carogray1 [~Caroline@184-201-120-55.pools.spcsdns.net] has joined #webgui14:09
-!- carogray [~Caroline@72-63-197-88.pools.spcsdns.net] has quit [Ping timeout: 255 seconds]14:10
-!- carogray1 [~Caroline@184-201-120-55.pools.spcsdns.net] has quit [Read error: Connection reset by peer]14:18
-!- carogray [~Caroline@184-201-120-55.pools.spcsdns.net] has joined #webgui14:19
-!- carogray [~Caroline@184-201-120-55.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]14:23
-!- carogray [~Caroline@68-246-93-142.pools.spcsdns.net] has joined #webgui14:26
-!- carogray [~Caroline@68-246-93-142.pools.spcsdns.net] has quit [Ping timeout: 255 seconds]14:35
-!- carogray [~Caroline@184.238.158.209] has joined #webgui14:36
-!- carogray [~Caroline@184.238.158.209] has quit [Ping timeout: 240 seconds]14:41
-!- carogray [~Caroline@70-13-61-130.pools.spcsdns.net] has joined #webgui14:47
-!- carogray1 [~Caroline@173-140-47-252.pools.spcsdns.net] has joined #webgui14:51
-!- carogray [~Caroline@70-13-61-130.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:53
-!- carogray [~Caroline@174-154-95-114.pools.spcsdns.net] has joined #webgui14:54
-!- carogray1 [~Caroline@173-140-47-252.pools.spcsdns.net] has quit [Ping timeout: 260 seconds]14:56
-!- carogray1 [~Caroline@174-147-71-224.pools.spcsdns.net] has joined #webgui14:58
-!- carogray [~Caroline@174-154-95-114.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]15:00
-!- carogray1 [~Caroline@174-147-71-224.pools.spcsdns.net] has quit [Quit: Leaving.]15:07
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:33
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]15:37
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:45
SDuensinMorning.16:01
+BartJolhowdy16:18
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:27
-!- mode/#webgui [+o pbcj] by ChanServ17:27
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui17:52
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]17:52
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds]17:55
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]17:56
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:59
-!- mode/#webgui [+v perlDreamer] by ChanServ17:59
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui18:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Read error: Connection reset by peer]18:27
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui18:54
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui19:12
-!- mode/#webgui [+o bopbop] by ChanServ19:12
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]19:14
+perlDreamerstooopid CHI + Storable bug!19:28
Haargwhich one?19:28
+perlDreamerthe one where Storable writes stuff that it can't read19:34
Haargbeing stored in a blob?19:36
+perlDreamerI'm not sure what the backed it19:36
+perlDreamerit might be Fast_Mmap19:36
@preactionhappened again even after updating storable?19:37
+perlDreamernew site19:37
+perlDreamerthis one a little closer to home19:37
+perlDreamerI spent 10 minutes waiting for the support wiki to show up19:38
+perlDreamerserver load, low to nil19:38
+perlDreamerother pages, work fine19:38
+perlDreamercleared client cache, reloaded, nada19:38
+perlDreamercleared cache on the server, whammo, instant page generation19:38
+perlDreamerpreaction: I would love it if upgrading Storable would fix this problem, but it's intermittent with low frequency so still waiting19:42
+perlDreamerp.s. good morning, dude!19:43
@frodwithhave I mentioned lately how much I hate spectre?19:43
Haargi think you just did19:44
@preactionno he didn't, he should though19:45
@frodwithI hate spectre THIS much.19:45
@preaction.? that's not that much, if it's just .19:45
@frodwithI hate spectre a lot.19:45
@frodwithHas anyone seen a singleton workflow just get stuck, and never get run?19:46
+perlDreamersure19:46
@preactionnot recently'19:47
+perlDreamer-007 workflow for sending emails19:47
@frodwithhave you figured out why that happens?19:47
@frodwithyeah, that workflow.19:47
@preactionthat was fixed in 7.9? 7.8?19:47
+perlDreamer7.9, I think19:47
+perlDreamercuz I fixed it19:47
@frodwithwas it a bug in spectre, or in webgui?19:47
+perlDreamerwebgui19:47
+perlDreamerspectre itself is pretty bug free19:47
Haargspectre itself is relatively bug free it just feels to complicated for the job it does19:48
Haarg*too19:48
@frodwithYeah, agreed Haarg.19:49
+perlDreamerfrodwith, see these commits for examples: ea5e82b6263419ca240e3af802e25c4db4d6d721, 5a904a85db915fa93be138d4df5c3436466909d6 adbec05e971cd7d99696b7514a43a347f4f5569419:49
@frodwithIt does very little, but the code is a labyrinth.19:49
+perlDreamertime to start the campaign for a spectre rewrite for 819:50
Haargtwo main issues with spectre:  bidirectional communication, and single point of failure19:51
@scrottieit would be kind of nice if it either communicated over HTTP or by way of MySQL but not both...19:52
Haargit wouldn't be hard to rewrite it in anyevent, and it would probably be lighter weight because of it.  but if it isn't solving either of those problems i doubt it's worth it.19:52
Haargright now it uses http and poe ikc19:52
+perlDreamerthe earlier problems I fixed had to do with not checking return values correctly19:53
+perlDreamerif at all19:53
@frodwithwhy does webgui need to be able to talk to spectre?19:54
@frodwithoh, never mind.19:54
+perlDreamer:)19:54
Haargthe single point of failure thing is probably easier to solve.  a combination of polling webgui for updated information occasionally, and having a way for webgui to tell it 'some other instance already did that'19:54
@frodwithIt wants to inform it that a new workflow instance exists.19:54
+perlDreamerright19:55
+perlDreameror, it's time for a cron to be run19:55
+perlDreamerand then run the right workflow19:55
@frodwithdoesn't spectre decide when it's time for a cron to be run?19:55
Haargthe whole flow of that seems wrong too19:55
+perlDreameryes, but it doesn't know what to run19:55
Haargit should tell webgui to run the cron, and webgui should respond with the workflow info19:56
+perlDreamerit would help if spectre dialed up WebGUI to get  a fresh list of pending instances19:56
Haargit shouldn't need to make a separate connection back to spectre to give it that info19:56
+perlDreamergood idea, Haarg19:56
@frodwithhmm.  perlDreamer, commit adbec05e971cd19:58
@frodwithwhy does this fix it?19:58
Haargplack gives us lightweight http easily, so moving all ipc to that would be reasonable19:58
+perlDreamerfrodwith, the original error works like this19:59
+perlDreamerspectre calls webgui because it's cron time19:59
+perlDreamerWebGUI creates a workflow instance19:59
+perlDreamerWebGUI tries to call spectre back to tell it to run the instance19:59
@frodwithah ah ah ah19:59
+perlDreamerbut fails19:59
+perlDreamerthen it's hung19:59
@frodwithyes, that makes perfect sense20:00
+perlDreamerI suspect that all hanging is a variation on that theme20:00
+perlDreamerwith different points of failure20:00
+perlDreamerif we put in a 30 minute time inside spectre to get fresh sets of data, they'd go away (I think)20:00
+perlDreamerbut currently spectre can't do that20:00
+perlDreamerit only does it on startup20:00
@frodwithI think they would, yes20:00
@frodwithbit of a bandaid, but not too awful.20:01
Haargi think it makes sense to add that anyway to help with allowing multiple spectre instances to be run20:02
@frodwithWhy does spectre need to make an http request to get that info anyway? Why doesn't it just read from the db?20:03
@frodwithso spectre can run on another machine20:03
@frodwiththat doesn't have access to the db20:03
Haargyes20:03
@preactionwhich may or may not be a desirable feature, considering what spectre does not do20:04
+perlDreamerfor better or worse, spectre was designed to be as small and stupid as possible20:04
@frodwithspectre's just a scheduler, yeah. I don't know if there's a lot of reason to run it on another machine.20:04
@frodwithIt -could- have its own little pool of perl processes and not have to bother with apache for running workflows20:05
@frodwithif we added the constraint that it has to be able to talk to the database.20:05
@frodwith*and have access to the right code.20:06
@frodwith*and the webgui config file20:06
@scrottienot being tied to mod_perl, this is realistic.20:06
@scrottieone daemon process listens for HTTP requests; another watches the clock and the work queue.  both are otherwise identical in code composition and environment.20:07
+perlDreamer* and have permissions to write to  uploads20:07
@frodwithit would need to be able to do everything that webgui can do, in other words20:07
+perlDreamerwhich is why we used WebGUI to do it :)20:08
Haargthe primary reason spectre was kept small was for memory usage reasons iirc20:08
@frodwithwell, the workers at least have to be running in the same environment that the WebGUI handler is20:08
@frodwithand it makes sense to do the IPC over http, since you're already running a webserver20:09
+perlDreamerHaarg is right, if the runner size is big, then it may not be worth it from a memory usage standpoint20:09
@preactionis it better to use a process that could be handling a web request, or a different process? would moving spectre to another box really help with load, or if it did its own work would that be more efficient?20:09
@frodwithI've never liked that the same process pool that is supposed to be responding to user requests is being tied up handling 60-second background jobs20:10
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]20:10
Haargi'm not sure the memory usage thing is such a big concern20:10
+perlDreamermoving spectre to another box would mean "another box" would need to talk to the db on this one20:11
@frodwithand probably have the WebGUI root mounted over nfs20:12
+perlDreamerthat doesn't sound fun20:12
+perlDreamerof course, I have a very limited definition of fun20:12
Haargspectre could be set up to send all its jobs to a separate process pool from the user requests but it would be a pita to set up20:13
@frodwithin current parlance, you'd just have to run two mod_perls20:13
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]20:13
Haargmucking with the config files would be painful though given how they are used20:14
@preactioni thought there were all kinds of different ways to manage process pools in Perl these days20:14
@scrottiepreaction has his generic WebGUI RPC thing he has been playing with.  it might make sense to build a spectre asset that responds to requests from the designed host[s].20:14
@preactionnot saying this is THE way we should go, i'm saying it's an option20:14
@scrottiethen do HTTP to that in particular20:14
@frodwithyeah preaction, having a separate process pool that wasn't necessarily tied in any way to WebGUI.pm::handler for running workflows...  a Plack app just for running workflows, in other words20:16
@frodwithmight make some sense20:16
+perlDreamerif we did that, and the code was better managed (no UI in the spectre batch) then we could still optimize for memory vs number of runner children20:17
@frodwithnumber of runner children shouldn't affect memory very much, I shouldn't think20:18
@frodwithsince if you preload before forking, they'll all have copy-on-write sharing20:18
@frodwithsome, obviously, but.20:18
@frodwithnot much.20:18
@frodwithalthough, if you didn't preload at all, you could fork for each workflow instead of having a pool20:19
@frodwithand then the memory would be reclaimed when the workflow was done.20:19
@frodwithbut that seems like a waste of cpu time, loading all those perl modules over and over again.20:20
kthakorehallo20:21
@preactionbonjour20:23
@frodwithperlDreamer: an oddity, the site this is getting stuck on is running 7.9.18, and seems to have your fix.20:27
@frodwithso who knows20:27
+perlDreamermaybe you've come across another way to get them stuck?20:27
@frodwithquite likely20:27
@frodwithI wish I knew what it was though. Restarting spectre seems to fix it.20:28
@frodwithAnnoyingly. Cause it's harder to debug that way.20:28
+perlDreamerit would, that makes spectre reload the instance table20:28
@frodwithYeah.20:28
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:28
-!- mode/#webgui [+o bopbop] by ChanServ20:28
+perlDreameruh20:29
+perlDreamerhm20:29
+perlDreamerI think I see another way...20:29
@frodwithdo share!20:30
+perlDreamerwell, maybe20:30
+perlDreamerno20:30
+perlDreamerinstance->start returns a flag20:30
+perlDreamerthat's a boolean, not a multi-value20:31
+perlDreamerthe bug is really simple20:31
+perlDreamerjust con WebGUI into starting an instance and then never tell spectre about it20:31
@frodwiththe question is - why doesn't spectre know about it20:32
+perlDreamerthat's how20:32
+perlDreamergrrrr20:32
@frodwith*hide*20:32
+perlDreamerspectre calls WebGUI for a cron20:32
+perlDreamerWebGUi makes an instance and starts it20:32
+perlDreamerstart is told not to run it in realtime20:33
+perlDreamerso it tries to call up spectre20:33
+perlDreamerthat fails20:33
+perlDreamerthen it tries to run spectreTest to make sure spectre is up and running20:33
+perlDreamerthat passes20:33
+perlDreamerso the cron returns "all fine"20:33
+perlDreamerand you have a stuck workflow instance20:33
+perlDreamerinstead of that extra spectreTest20:33
+perlDreamerwe need to check the actual IKC call worked20:34
+perlDreamersure enough20:34
+perlDreamer$spectre->notify has no useful return value for checking that20:34
@scrottieWebGUI should automatically provision more virtual servers on demand and scale out to them.20:35
+perlDreamerit'll log stuff, but not return anything useful20:35
SDuensinperlDreamer, any grand news about PayPal?  Please?  Don't make me use Drupal.  :-)20:35
* scrottie ignores your conversation and has his own with himself.20:35
+perlDreamerSDuensin, grand news about paypal coming out before the end of the day20:35
+perlDreamerand I work late on Mondays, so it's gonna be a while20:35
SDuensinWhhhhhhhhha?20:35
+perlDreamerfrodwith: I think that's the bug20:36
@frodwithperlDreamer: but we could give it a useful return value, eh, and check it20:36
+perlDreamertotally!20:36
@frodwithyeah, I think you're onto something20:36
+perlDreamerand get rid of that extra check20:36
@frodwiththe spectreTest check?20:36
+perlDreameryeah, it's wasteful and inaccurate20:36
+perlDreamerit makes a 2nd connection to spectre20:36
@frodwithrighto. I'll write up a commit.20:36
+perlDreamerthe other bummer is that now we have to wait weeks to verify the bug20:36
@frodwithwell, doing it Right can't hurt even if it doesn't fix the bug20:37
+perlDreamerI need more allergy medicine20:40
SDuensinLess allergies.  More PayPal.  :-)20:41
+perlDreamerpreaction: did you commit these two RFEs:  http://www.webgui.org/rfe/request-for-enhancement/thingy-unique-feilds http://www.webgui.org/rfe/request-for-enhancement/1212020:45
+perlDreamercan we close them?20:45
@preactionyes, please20:46
CIA-82webgui: Paul Driver master * redcf276 / (2 files): Check the return value of IKC call to spectre - http://bit.ly/l3BDrx20:54
@frodwithcommitting code that doesn't compile is really smart, Paul20:54
@frodwitheveryone look the other other way for a couple minutes20:54
+perlDreamerfrodwith, if you keep making my mistakes, then soon I won't be needed anymore20:57
kthakorewhat was the -dev wdg command again?20:58
CIA-82webgui: Paul Driver master * rde55b02 / (2 files): Durr, I are frodiwht. I are code. - http://bit.ly/jPtei220:59
kthakoreheheheh21:01
kthakoreI love that commit21:01
@frodwith:-p21:03
CIA-82webgui: Paul Driver webgui-7.9 * r501d5ed / (2 files): Check the return value of IKC call to spectre - http://bit.ly/lPPvwv21:03
+perlDreamerfrodwith, do we need an explicit return 0 for sub notify?21:04
kthakoreok $SIG{_DIE} is being bad to my webgui now ...21:04
@preactionkthakore: wgd reset -d maybe?21:04
kthakorepreaction: I got it wgd reset -dev21:04
+perlDreamerotherwise, we get whatever happened last21:04
kthakoremy auth is dead now21:04
kthakoregreat21:04
+perlDreamerand I don't know what $error->warn returns21:04
@frodwithah. Excellent point.21:05
kthakoreI donno what to do with this. My db is funked. 21:05
kthakoreerror WebGUI::Middleware::StackTrace::__ANON__[40] DBD::mysql::db do failed: Duplicate entry 'VypI7EyfQoSISQ0L66LsEw' for key 'PRIMARY' [for Statement "INSERT INTO `userSession` (`sessionId`, `adminOn`, `userId`, `lastIP`, `la21:06
@preactionthat's... weird21:06
kthakoreugh huh21:06
@preactionand reset -d doesn't clear that out?21:06
* kthakore breaks things in unormal way21:06
kthakoreno it doesn't21:06
kthakoresigh21:06
+perlDreamerwgd db --clear21:06
kthakorekk21:06
+perlDreamerthat'll fix it good21:06
@preactionokay, do "truncate userSession" perhaps21:06
@preactionor that21:06
+perlDreamerthat's better, and more targeted21:07
+perlDreamerwgd db --clear is "pull back and nuke the site from orbit"21:07
CIA-82webgui: Paul Driver master * rca08cc0 / lib/WebGUI/Workflow/Spectre.pm : Explict failure return - http://bit.ly/ieC6aL21:07
kthakoreperlDreamer: thanks21:07
@preactionit's the only way to be sure21:07
@scrottiekthakore, I pushed a removal of $SIG{__DIE__}.  yeah, that was everything I feared it might be.21:07
CIA-82webgui: Paul Driver webgui-7.9 * r3cd3c00 / lib/WebGUI/Workflow/Spectre.pm : Explict failure return - http://bit.ly/komnc121:07
kthakoreLOLLOL21:07
kthakorewow21:07
kthakoreUnable to instantiate WebGUI::Session - DBD::mysql::db selectall_arrayref failed: Table 'www_example_com.settings' doesn't exist [for Statement "select * from settings"] at lib/WebGUI/Middleware/Session.pm line 54.21:08
kthakoreYAY! nuked!21:08
kthakorehehe21:08
@scrottiekthakore, you *can* turn it on for dev and ignore the stack traces (the page still gets rendered below the stack trace) but then you can't tell the real errors from the caught ones.  I need to work on that some more.21:08
kthakorescrottie: np21:08
@scrottieI think the solution is to get WG8's error catching interacting with WebGUI::Session::Log and WebGUI::Middleware::StackTrace such that the stack trace goes down the call chain and preserved but everything still is handled graceful (for dev or production) even if the error is never caught, and only very explicitly catching specific errors makes them go away.  that'll take me a few round tuits.21:10
@scrottieer, and is preserved21:10
kthakorehow do I turn it on and off as I want?21:15
@scrottiere-add that bit of code.21:19
@scrottiegit log, view the commits.21:19
kthakoreok21:19
kthakoreyay gallery works21:23
* kthakore needs some food now21:23
kthakoreI found the problem21:24
kthakorethe bug I mean for that duplicat primary SQL21:24
kthakorebasically if I make an asset with Untitled as both name and menu21:24
kthakoreI seem to get the same assetid21:25
kthakoreI need to test this21:25
@scrottieyou should not get the same assetId in that case.21:25
@scrottieand the url should never be exactly the same for two assets both of which are active.21:26
kthakorehmm ok then I did some black deep unholy magic21:27
kthakoretime to clear some stuff up21:27
@scrottiethe primary way that things are unique is by (assetId, revisionDate)21:27
kthakoreright21:27
kthakoreyay new bug found for adding DataForm21:28
@scrottiewhen WebGUI goes to find an asset, finds the latest non-deleted, non-yet-to-be-approved item (status in assetData, I think it is, holds this) assetId of the latest revisionDate21:28
kthakorethat seems to making the bug for DataForm right now21:28
kthakoreWebGUI::Asset:342 - Cannot find revision date for assetId (param: SSAKwFSlS1aCAWlDoEiXEg)21:29
kthakoreat WebGUI::Asset::getCurrentRevisionDate[199] select max(revisionDate) from assetData where assetId='SSAKwFSlS1aCAWlDoEiXEg' and 21:29
kthakorethat is adding a new DataForm21:29
@scrottieif you're getting a PK violation on a table, search for that table among the upgrades, which are two different places right now ( find /data/WebGUI -type d -name upgrades )21:30
@preactioni don't want to seem like i'm ignoring you, just letting you know i'm keeping track of the problems you're coming up with and should be verifying/fixing them this week21:30
@preactionbut for now, i make meatballs!21:30
* preaction &21:30
kthakorepreaction: oh please don't worry about that. I break stuff too fast.21:31
kthakorescrottie: no that is not the problem21:31
kthakorethe revisiondate is null for this asset21:31
kthakorein assetData table21:31
@preactionwell, this is supposed to be software ready for alpha release :p21:31
kthakoreahhhhh!21:31
kthakorethat makes sense21:31
kthakorehope I am breaking things good and well21:31
kthakorethen21:32
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds]21:34
kthakorescrottie: should it not ignore this error? As a null revisiondate sjust says it was new?21:35
@scrottieI don't know.  _why_ are you getting that error?21:35
@scrottieer, sorry, missed some scroll21:35
kthakoreadd a new Dataform21:35
@scrottierevisionDate should not be null.21:35
kthakorecrap21:35
@scrottiethat's a bug.21:35
kthakoreok I can't seem to find the insert statement in the MYSQL trace21:36
kthakoreactually there are no insert statements at all21:36
kthakorewth21:36
kthakoreI can only reproduce this bug if you drop your db. Do a fresh install of webgui8 and add a gallery then a dataform. 21:38
kthakoreit doesn't happen when I add a dataform again21:39
kthakorefood &21:39
@scrottiestuff from WebGUI core doesn't get traced, I think.  you *can* instrument the code to find this.21:43
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro]21:44
@scrottieinstrument WebGUI::SQL::write perhaps.21:44
kthakoreok21:46
kthakoreand I borked my install again21:46
kthakoreCouldn't call method www_view on asset for url: / Root cause: Can't locate object method "info" via package "WebGUI::Session" at lib/WebGUI/Storage.pm line 246.21:46
kthakoreoops that was mee21:47
kthakoreapologies21:47
kthakoreand we have captch21:49
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:12
* perlDreamer goes running22:12
@scrottiekthakore, you did see http://www.webgui.org/community/webgui-8/issues/11849, right?22:57
kthakoreyeah that is what I was working on22:58
@scrottieah, okay.  I forgot that this actually had a ticket.22:58
kthakoreI was gonna use whatever best works and test everything22:59
kthakoreI couldn't find that repo harggg put up23:00
@scrottiewere you still leaning towards Graphics::Primitive?23:00
kthakoreyeah23:00
kthakoreI think GD would be perfect for what I have seen so far23:00
@scrottieawesomeness.23:01
kthakoreI looked at Haarg's webgui/imager branch but it only does Storage.pm23:01
kthakorein WebGUI8 I::MAgick is used in several other places23:02
kthakorethe hardest thing to do will be the capturing of meta information but it is possible 23:02
--- Day changed Tue May 24 2011
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui00:00
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has left #webgui []00:01
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui00:01
-!- mode/#webgui [+o pbcj] by ChanServ00:01
@scrottiepbcj, been a while!  how goes?00:02
@pbcjnot bad not bad, how about yourself?00:02
@scrottiegoes okay.00:03
@preactionand now all of a sudden imagemagick doesn't work... it was working before, not working now.00:07
* preaction recompiles WRE's imagemagick...00:07
kthakorepreaction: um don't get the new one00:13
@preactioni had one downloaded already00:13
@preactionand it seems to be building well so far00:13
kthakoreare you getting no -lperl found?00:15
@preactionno, my error was a missing symbol, which i had fixed before by static-linking imagemagick (libgif in os x was conflicting with the libgif of the WRE)00:16
@preactionhum, i did get that message though.00:16
kthakoreyeah that stuff is finicky00:16
kthakorepreaction: are you doing perlbrew? 00:16
@preactionno00:16
@preactionbut it didn't stop im from building, and now the test00:16
kthakoreit craps out if the perl library wasn't available. Atleast for me it did.00:17
@preactionnope, but also didn't fix my error...00:17
kthakoreI was actually wondering. Is GD or Canvas easier to install for you guys?00:21
kthakoreI find GD a lot easier but thats on linux00:22
@preactiondunno, i've only ever tried ImageMagick00:23
@preactioni've never had a problem with IM on linux, only BSD and OSX00:23
kthakorenone of the newer stuff even compile for me00:24
@scrottiehaven't tried Canvas but GD has been good to me.00:24
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []00:31
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui00:42
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:15
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 258 seconds]01:17
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:08
-!- carogray [~Caroline@108.111.157.245] has joined #webgui02:39
-!- carogray1 [~Caroline@68-247-244-62.pools.spcsdns.net] has joined #webgui02:50
-!- carogray [~Caroline@108.111.157.245] has quit [Ping timeout: 276 seconds]02:53
kthakorehallo03:39
@preactionbonjourno03:39
kthakorehi preaction 03:39
kthakoreI started the to GD refactor03:39
kthakorehttps://github.com/kthakore/webgui/commit/a05e8172bbf3291ce3aa5e4aa105c92338b77cc703:39
kthakoreit is going well only thing I don't have is sharpen in the thumbnail method. I was wondering how critical that was?03:40
@preactionnot critical at all, didn't even know we did it for IM03:41
kthakorewell IM seems to make a real blurry pic03:41
kthakoreapparently for some low res pictures03:41
kthakorecould you care to give a Gallery and Album Creation a try? 03:42
@preactionsure one sec03:43
kthakorecrap the Storage/Image.t test use an actual file for the thumbnail tests.03:45
kthakorewee03:45
kthakoreactual file data03:45
Haargkthakore, not sure what you are thinking for the drawing/graphing routines, but fixing/improving Graphics::Primitive::Driver::GD enough to work with Chart::Clicker and then using that would be cool.  webgui's graphing stuff is kind of ugly and moving to a cpan lib for it would probably be better.03:50
Haargor making a driver for Imager or something03:51
kthakoreHaarg: I am going to work on that too03:51
kthakoreI played with Cairo today ... it was ok~03:51
kthakoreGD is better03:52
@preactionhm... Color::Object isn't on my cpan mirror03:52
Haargcairo seems good for a drawing library, but wouldn't work for everything webgui does03:52
kthakoreyeah03:52
kthakoreGD does almosty every thing we want03:52
Haargpreaction, there's no stable release03:52
kthakorerest I can do by hand in perl  if need be03:52
@preactionoh03:52
kthakorehuh ?03:53
kthakoresure there is for COlor::Object03:53
Haarghttp://search.cpan.org/~areibens/Color-Object-0.1_02/ this is all i see03:53
kthakoreoh you are right03:53
kthakorecpanm got it for me regardless so I didnt realize03:53
@preactionoh, ok, cpanm it is03:54
Haargok, now i remember why i was favoring Imager over GD03:55
Haargyou have to already have libgd installed03:55
@scrottieopen    IMG, ">$filename" or return $!; .... for security and style reasons, the three arg open is prefered now... and lexical filehandles, for style reasons... open my $fh, '>', $fn or die $!;03:55
HaargImager packages everything into the CPAN dist03:55
-!- carogray1 [~Caroline@68-247-244-62.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]03:55
kthakoreHaarg: right but lots of servers come with GD now03:56
-!- carogray [~Caroline@72-60-218-58.pools.spcsdns.net] has joined #webgui03:57
Haargyeah it's a pretty easy prereq, nowhere near the nightmare of Image::Magick03:57
kthakorescrottie: ok. Is there a coding style doc I should look at?03:57
kthakorebtw I am still fighting with random errors I can't seem to nail down. 03:58
kthakoreEspecially the missing revision thing03:58
@scrottieegads.  I used the standard perldoc documentation as my style guide.  maybe that's the problem...03:58
@scrottieDamian Conway wrote a book but it is too boring to speak of.03:59
@scrottiewhich is tragic.03:59
kthakoreheh03:59
kthakoreok03:59
@scrottiethere's the WebGUI Developers Guide on the site.  that's not a style guide but explains how some of this stuff works.03:59
kthakoreI perused some of it03:59
@scrottieit's more focused on API than internals.03:59
Haargwe usually stick pretty close to the style parts of perl best practices03:59
kthakoreok I can do that03:59
kthakoreif in doubt I will jsut search the repo for similar code and copy that style04:00
@scrottieI can't tell from looking at this github page if this is the case or not, but please don't use tabs ;)04:01
@scrottieor set your editor to translate them on save/load.04:01
Haargwebgui is a messy mix of spaces and tabs unfortunately.  sometimes on the same line.  but yeah new code is supposed to all be spaces.04:01
kthakoreI can run perltidy -b on it should you want04:02
Haarganother json module on cpan.  have to wonder why.04:02
kthakoreWebGUI::Graphics is temporary at the momoney04:02
kthakoreerr04:02
kthakoremoment04:02
jimX11kthakore: do you know about the .perltidyrc in webgui?04:02
kthakorejimX11: no04:03
kthakorebut I can run that04:03
jimX11yea, feed it to perltidy.04:03
Haargi wouldn't run it against any existing files.  will make a mess of the revision history.04:03
@preactionyeah, it's there, but it hasn't been run against anything in the core04:03
@preactionthat's one of those todo items that always gets pushed back04:04
@scrottielegand has it that if you run it on WebGUI, it'll ruin it.04:04
@preactioni don't subscribe to legends and hearsay! show me the proof, sir!04:04
kthakorehah04:04
jimX11it's good for new code, no?04:04
kthakoreI meant to run it only on my file04:04
@preactionhokey religions and ancient weapons are no match against the power of the proof!04:05
@preactionit is good for new code, yes04:05
kthakorealso I don't plan to keep that wrapper around04:05
kthakoreI want to put everything back04:05
jimX11I don' think proof works on everything, though I don't have a solid argument for that.04:05
-!- carogray [~Caroline@72-60-218-58.pools.spcsdns.net] has quit [Quit: Leaving.]04:06
kthakorejimX11: Is this the same as the statement. " I will tell you first and last lie, 'I never lie!' "04:07
@scrottieancient weapons will spear your ass while you're still trying to find sulphur for your black powder.04:07
@preactioni have had a terrible itch on my ass04:07
@scrottielegand has it, using perltidy causes warts.04:08
jimX11but are the warts not tidy and reasonably displayed?04:09
SDuensinHey!  Where'd PD go with his earth-shattering PayPal news?  :-)04:09
@preactionsigh, and now we're back to hating the idea of the WRE again... ld: warning: in /opt/local/lib/libgd.dylib, file was built for unsupported file format which is not the architecture being linked (i386)04:10
jimX11preaction: speaking of terrible, I'm having trouble with a table named column which I'm going to rename.  I already renamed a column named table.04:10
@preactionDBIx::Class can quote identifiers, it just doesn't by default iirc04:10
jimX11preaction: yea, not working.  Don't know why.  I'm looking into it.  Maybe I have to redeploy.04:11
kthakoreis taht acceptable? https://github.com/kthakore/webgui/blob/99cabc35a2d81a6d54915d1e696a2acb71b5de99/lib/WebGUI/Graphics.pm04:11
@scrottie "$filename"  ... there's really no reason ever to do that unless you're using dualvars or something04:12
@scrottiethat's the same as '' . $filename . ''04:12
@scrottieI think that's one of those stylistically shunned things04:13
kthakoreah right04:13
kthakoreI was rushing sorry04:13
@scrotties'ok04:13
@preactionotherwise yep, looks fine04:13
@scrottieit isn't fresh in my head how all of this stuff needs to fit together04:14
@scrottieyou said this class is just temporary?04:14
kthakorescrottie: yeah it is only there to keep my code out of other peoples' biznazz!04:15
kthakoreerm basically I want to localize and minimize my impact on the rest of the code until all tests are passing and it is acceptable04:15
kthakorethen I will move it back in 04:15
@scrottiegotcha.  well, you're certainly welcome to make a mess in your own fork.04:15
kthakoreI prefer to be careful04:15
kthakorecause mergin time04:16
kthakoresomething will rape me04:16
@scrottiekeeping things running is a good development strategy.04:16
@scrottieheh04:16
kthakoreI blame my caution basically on getting nailed by thing in SDL way too many times04:16
kthakoreoooh it is only a tiny refactor .... nothing will happen ... MERGE .. COMMIT ... RELEASE .... FACEPALM!!! .... and RAGE lots of RAGE04:17
@scrottieif there's not a test for it, it probably isn't important.04:19
@scrottieat least that's the prevailing attitude ;)04:19
kthakoreI find the things that aren't important screw things up more often then things taht are important04:19
kthakorepeople pay attention the important thing, they rarely blindside you.04:20
kthakoreit is the litte pricks (pardon the pun) 04:20
kthakorethat bleed the lion.04:20
kthakoreok I am ramblin' ... which means food time04:20
kthakore&04:21
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:42
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:43
@scrottieafk a while too.04:50
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:04
@preactionkthakore: in the gallery, after i fixed a bug in GalleryFile, the photo's larger resolutions got generated, but the thumbnail created can't be opened (shows as a broken image, and preview.app says it can't be opened)05:13
@preactionbut otherwise, despite the existing webgui 8 bugs, it worked!05:14
@preactionyou know what's nice? that GD compiled against the right stuff and didn't go completely nuts when I tried to use it05:18
@preactionImageMagick on the other hand is still loading from the system libs and not the WRE libs I keep pointing it to...05:18
kthakoreok05:32
kthakorepreaction: I still have troubles with the gallery too05:33
kthakoreI don't know if my code is to fault tough05:33
@preactionprobably not, i'll work on them tomorrow. i'm giving up on imagemagick working for now i think, i'll ask colin nicely to do what i apparently cannot do05:33
kthakorepreaction: hope fully I can get GD done so you won't need IM :P05:50
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]08:48
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui08:57
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui09:29
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui09:31
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui09:58
-!- mode/#webgui [+v BartJol] by ChanServ09:58
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro]11:43
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui12:00
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui12:38
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]15:08
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:12
SDuensinGreetings.16:17
xdangerafternoon16:26
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 264 seconds]17:13
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui17:42
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]17:42
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds]17:46
+BartJollooks like I found an upgrade bug17:53
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:56
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:19
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui18:28
-!- mode/#webgui [+v BartJol] by ChanServ18:28
+BartJolcj I suppose you're pbcj?18:29
@preactionnope18:29
+BartJolah18:29
+BartJolwell I send chris a mail on a bug I reported18:29
+BartJolsince it contains my settings table, I didn't want to put it in the bug report18:30
+BartJolwell, I hope it arrives18:30
+BartJolpreaction: if he starts complaining that he didn't get info, it is in his mail18:31
+BartJolmust be off18:31
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Client Quit]18:31
@preactionok18:31
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]18:39
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:40
-!- fokat [~lem@66.0.48.131] has joined #webgui18:42
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Remote host closed the connection]18:46
-!- jimX11 [~jjm@98.180.60.146] has joined #webgui18:47
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]18:52
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui18:53
-!- mode/#webgui [+v Radix_] by ChanServ18:53
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]18:59
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui19:01
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]19:08
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui19:10
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 246 seconds]19:16
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]19:44
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui19:45
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]19:56
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui19:58
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui19:58
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]20:25
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui20:27
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]20:52
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui20:52
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui20:54
SDuensinHmm.  Not the PayPal announcement I had been hoping for.21:08
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui21:16
-!- mode/#webgui [+v perlDreamer] by ChanServ21:17
+perlDreamerSDuensin, was that PayPal news from last night big enough for you?21:17
SDuensinYou're evil.21:17
SDuensin[13:08]  <SDuensin> Hmm.  Not the PayPal announcement I had been hoping for.21:18
+perlDreamerI didn't promise good news, just big.21:18
SDuensinSeriously though, do you see WG getting a subscription-capable PP driver any time soon?21:22
+perlDreamerit depends21:23
+perlDreamerright now, all of PB's open source development is geared at getting WebGUI 8 out21:24
+perlDreamerso it's not on our radar anytime soon21:24
SDuensinI've got all of 900 karma you can have.  :-P21:24
+perlDreamerbut PB accepts contract work, and patches21:24
+perlDreamerand either would suffice to get it done in the "soon" timeframe21:24
SDuensinThing is, I can use Drupal as-is.  Or go super fancy for all of $65.  :-(21:25
+perlDreamerIf you want subscriptions, you can use ITransact in WebGUI right now21:27
SDuensinI know.  Trying to get rid of them.  Expensive as is and now they want me to deal with a lot of PCI compliance stuff that should be their problem.21:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 248 seconds]21:45
+perlDreamer14th time is the charm!21:48
+perlDreamerokay, successful checkout.  Not to test if we can break it21:49
+perlDreamerno breaking21:51
* SDuensin cheers21:53
jimX11yea!21:53
CIA-82webgui: Colin Kuskie master * r8bc944d / (9 files in 5 dirs): (log message trimmed)21:59
CIA-82webgui: Prevent the PayPal standard driver from being abused. Update POD and comments21:59
CIA-82webgui: in several Shop files. Fix form labels for PayPal Express checkout driver. Fix21:59
CIA-82webgui: a niggling bug with updating a transaction with a cart, twice. Fixes bug21:59
CIA-82webgui: #12140.21:59
CIA-82webgui: commit cef8c5bde10f793db0890dcfd18cbf20b0e69c9021:59
CIA-82webgui: Author: Colin Kuskie <colink@perldreamer.com>21:59
+perlDreamerand now thanks to the brilliance of the Dutch team, we have a pure code fix for the bug22:00
CIA-82webgui: Colin Kuskie webgui-7.9 * rbcdf204 / (9 files in 5 dirs): (log message trimmed)22:01
CIA-82webgui: Prevent the PayPal standard driver from being abused. Update POD and comments22:01
CIA-82webgui: in several Shop files. Fix form labels for PayPal Express checkout driver. Fix22:01
CIA-82webgui: a niggling bug with updating a transaction with a cart, twice. Fixes bug22:01
CIA-82webgui: #12140.22:01
CIA-82webgui: commit cef8c5bde10f793db0890dcfd18cbf20b0e69c9022:01
CIA-82webgui: Author: Colin Kuskie <colink@perldreamer.com>22:01
ryuu_royeah dutch team!22:01
+perlDreamerryuu_ro, the Ogone driver is brilliant22:02
+perlDreamersometimes, I too minimalist for my own good22:02
+perlDreameryesterday i figured out why it's immune to this exploit22:02
+perlDreamerand it was so cool I spent all of yesterday and today reworking my patch to do the same thing22:03
ryuu_rooh good, what was it?22:03
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui22:31
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds]22:33
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]22:43
-!- cj_ is now known as cj22:48
-!- jimX11 [~jjm@98.180.60.146] has quit [Ping timeout: 258 seconds]23:07
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui23:07
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui23:08
-!- jim_bob [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui23:28
kthakorehallo again23:50
@scrottiehey hey.23:51
kthakorescrottie: hi how is life. 23:52
@scrottiealright but I'm a bit strung out on computering at the moment.23:54
@scrottieyourself?  having fun?23:54
kthakoreerm ... sure23:55
kthakorehaven't slept well in a few nights23:55
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Ping timeout: 276 seconds]23:55
kthakorejust got 2ish hours right now23:55
kthakoreso feelign better23:55
@scrottiethat's bad... and good...23:57
kthakoreheh23:57
kthakoreits ok23:57
kthakoreI ... go in and out of those fazes23:57
--- Day changed Wed May 25 2011
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui00:00
@scrottiethis pagination stuff really should be in a snippet that can be pulled in other places...00:04
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:04
* scrottie waves to andyiomoon00:05
+perlDreamerscrottie, HTML::Template templates don't work that way, but it's a great idea00:05
kthakorescrottie: what pagination?00:06
+perlDreamerthe template code that would work well with $pagination->appendTemplateVariables();00:06
* andyiomoon peers through sleep-starved eyes, waves back and promptly walks into side table00:07
@scrottiepagination is used all over WebGUI.  there's a helper class for constructing them.  but then the template portion of it gets cut and paste all over numerous templates.00:07
@scrottieooof.00:07
+perlDreamerbut in TT it would work really well00:09
kthakoreandyiomoon: ah fellow wight, how I hear your plight.00:09
@scrottiewhat would?  pasting the snippet?00:09
+perlDreameryeah, the snippet would get proxied too late to be evaluated in the right context00:12
+perlDreamerit'd have to be a template include of some kind00:12
@scrottieah.  I suppose the chunk of pre-templated HTML could be passed in as a template var itself.  WebGUI::Paginator could offer a utility method for spitting out these chunks of HTML.00:14
+perlDreamerthat would work, and work quite well00:14
+perlDreamerthe Paginator does make two pre-made bars00:15
-!- jim_bob is now known as jimX11_bob00:15
@scrottieoh.00:15
@scrottieso the only question is then why I haven't been using that.00:16
@scrottiegetBarSimple et al?00:16
+perlDreamertoo simple?00:30
+perlDreamerit may not have enough knobs so that people can style it well00:30
kthakoreyay generateThumbnail refactor passing tests00:31
kthakoreonwards 00:31
@scrottiekill, maim, destroy!00:32
kthakorealso fire00:32
kthakorelest we forget the Lord of Light!00:32
kthakore</fantasy nerd> 'might as well put this in'00:33
@scrottieI am scared.00:34
kthakorehaha00:34
kthakoreI was fishing for a fellow Game of Thrones nerd00:35
kthakorethen I read it back00:35
@scrottiethere are no game nerds in here.00:36
kthakoreerm ... it is a book ... nvm00:37
* kthakore goes away ... in shame00:37
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds]00:38
@scrottieno one in here can read, either.00:39
kthakorehahhahah00:39
kthakorehahah00:39
kthakoreok00:39
kthakorescrottie++ troll extrodinare00:39
@scrottieit's in my DNA or something.00:39
* scrottie sighs00:40
@scrottieI don't notice I'm doing it until everyone is crying.00:40
kthakorewe need to get beer together00:40
kthakoreI love trolls!00:40
ryuu_rowe can all read binary right?00:40
ryuu_ro01111001 01100101 01110011 01110111 01100101 01100011 01100001 01101110 00100001 00:40
kthakoreryuu_ro: GTFO00:40
ryuu_ro:)00:40
* kthakore points ryuu_ro to the dungeon that his is hovel00:40
kthakore(is his)*00:41
ryuu_roI don't feel appreciated here :)00:41
kthakoreawwww ... that is scrottie's job ... not mines00:41
ryuu_rohehhehe00:42
@scrottieperl -e 'print join "", map chr, map oct("0b0$_"), split / /, "01111001 01100101 01110011 01110111 01100101 01100011 01100001 01101110 00100001";00:42
kthakorehahaha00:42
@scrottieryuu_ro, you made perlDreamer's day00:43
+perlDreamertechnically, it was yesterday00:43
ryuu_roglad to be of any help00:43
kthakoreryuu_ro: no that means get to work on today00:45
* kthakore cracks the whip00:46
kthakoreperlDreamer: I will have him ready my leige00:46
+perlDreamerkthakore, it's about 11:00pm where ryuu_ro is00:46
+perlDreamerhe may hack as he wishes00:46
@scrottiekthakore, do you have any wG8 bugs causing you grief at the moment?00:47
kthakoreonly that hisenbug T T00:47
kthakorerevisiondatemissing00:47
kthakorestill hunting for it but I wanna get Storage.pm ready too00:47
@scrottieyou could catch it the next time it happened really quick if you altered the table to add a NOT NULL constraint to that column of that table.00:47
kthakorescrottie: yeah I did that00:48
kthakorestill ... :(00:48
@scrottiemore creeping in or haven't seen any more or it just isn't detecting it when it happens...?00:48
kthakorehaven't seen any more00:48
kthakoreand it takes far to long to undo all the gallery stuff and reinstall webgui 00:49
@scrottiewe should just run this whole tub with $SIG{__DIE__} = sub { CORE::dump; };00:49
kthakoreto produce this I have to drop everything00:49
kthakoreand run a fresh one00:49
@scrottieyeah, don't do that.  doesn't sound like that's too much in your way.00:49
ryuu_roactually it's around 12 :)00:49
@scrottieI can tell you how to clean out asset garbage if you like.00:49
kthakoreplease do00:50
@scrottiewhat's the className?  is the entry in assetData valid?  can you select className from assetData where assetId = $whatever ?00:50
@scrottiethat tells you what tables you need to delete from.00:51
kthakorescrottie: let see if I can bugger it again00:53
ryuu_roandydiomoon i'm of to bed, back online around your 17:00 pm00:54
kthakorescrottie: nope not happening00:56
kthakorehowever I get this no on that asset it was happening too00:56
@scrottiehuh?00:56
kthakore WebGUI::Middleware::StackTrace::__ANON__[42] WebGUI::Asset:1970 - The URL was requested, but does not exist in your asset tree. (id: home/untitled/sdf/home/untitled/sdf/untitled)00:56
kthakorenoticed the buggered url ... I don't even know00:57
kthakoreI am going to clean one the capcha is refactored and give you a better report00:57
@scrottieselect className from assetData join asset using (assetId) where url = 'home/untitled/sdf/home/untitled/sdf/untitled';00:57
@scrottiealright.  just wanted to make sure you weren't suffering from any particular wG8 bug that was holding you back.00:58
kthakorescrottie: no records found for that btw00:58
kthakoreno I am good now00:58
kthakorethere are some more things I could break but I am playing nice until refactor00:58
kthakoreok here is the new captcha ... .there are no tests for it however01:22
kthakorehttp://imgur.com/0ksIX01:22
kthakorescrottie: ^^ Looks kosher? 01:23
kthakoreAnyone want to try a test?01:24
CIA-82webgui: Colin Kuskie master * r595660e / (3 files in 3 dirs): Tests for templateId and URL handling, some i18n for the RenderThingData macro. - http://bit.ly/iziDCC01:24
@scrottieI like my cpatcha better:  http://cluster.slowass.net/~scott/3dcaptest.cgi01:24
@scrottieI think we should use that one.01:24
@preactioni will if i ever get a working development system again01:25
kthakorewtf01:26
kthakoreI can't even do that01:26
kthakorescrottie: you really want me to use that ?01:26
@scrottieyou have to cross your eyes.01:26
kthakoreI can ... try01:26
@scrottieit's a "magic eye" style image.01:26
kthakore.... really?01:26
@preactionyou should put those registration marks at the bottom "make these two dots overlap to see the image"01:26
kthakoreor trolling me again01:26
kthakoreheheh01:27
kthakoresure if you guys want01:27
@preactionno, it's real01:27
@scrottiepreaction, that's a good idea.01:27
@scrottiekthakore, it's a real capture, no, you should not use it.01:27
@preactioni'd say no on actually using it, even with clear instructions on how to do it, many people simply can't01:27
kthakoreI still can't01:27
kthakoreand now my eyes hurt01:27
kthakorethanks scrottie 01:27
@scrottieI'm hoping that someone somewhere uses it just to be obnxious.01:27
@preaction"Put your nose on the screen, pull away until the image comes into focus"01:28
@preactionis another way that works for some01:28
kthakore... no01:28
@preactioneh, not everyone can do it01:29
@preactionit's a sailboat01:29
+perlDreamerparticularly people who are vision impaired01:29
@scrottieI'm 99% sure it would be easier for computers to solve those than hu-mans.01:29
kthakoreI can run the captcha trhough this 01:31
kthakorehttp://www.backtrack-linux.org/forums/tool-requests/38312-captcha-breaker.html01:31
kthakoreand see01:31
@scrottienice.  another obnoxious thing the captcha could do is be an animated gif.01:32
+perlDreamerscrottie, sometimes I think you specialize in knowledge of the obnoxious01:33
kthakoreperlDreamer: isn01:33
kthakoret  it WONDERFUL!! :D01:33
kthakoreheh01:33
@scrottieI was read the datasheet for the ACE1101 processor the other day...01:34
@scrottieI think you're right, perlDreamer.01:34
@scrottieactually, that one isn't so bad at all.  the COP4 and some of those 70's ultra-minimal 4 bits are really obnoxious.  the COP uses a polycounter rather than an adder for the program counter to save transistors.  the program isn't even laid out in memory sequentially.01:34
+perlDreamerI'm partial to the MOV machine01:35
@scrottiehave to google that...01:36
@scrottiebtw, I think Amiga false is awesome, but its smaller sibling, brainf*&k, is pointless and uninteresting.01:36
@scrottiehttp://www.alibaba.com/product-free/106338653/HEIDELBERG_MOV_4_COLOUR_OFFSET_LITHO.html .. I'm pretty sure you aren't talking about this...?01:38
+perlDreamerhttp://en.wikipedia.org/wiki/Transport_triggered_architecture01:39
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:40
@scrottieoh, huh.  that has a name.  I was daydreaming about such a thing one day.01:41
+perlDreamerit's also called the MOV machine, because it has one instruction, MOVE A, B01:42
+perlDreamerthey're very small01:42
+perlDreamercan be made highly specialized for area, power or specific operations01:42
+perlDreamerand if I tell you anymore I'd be violating an NDA01:42
@scrottie=)01:42
+perlDreamerit was fun to make, but I liked the PICs better01:43
+perlDreamerand hacking gnupic01:43
@scrottiehttp://www.microchipdirect.com/ProductSearch.aspx?Keywords=TEIK001 ... looking at doing a hardware project with one of those.01:44
@scrottieI don't know anything about the PIC architecture right now.01:45
+perlDreamerit's not too bad01:45
+perlDreamersimple instruction set01:45
+perlDreameroptions for jump/long jump based on address space01:45
+perlDreamerplus, open source tools for hackery01:46
@scrottieMicrochip wants you to use their own non-free tools so I was left wondering whether the small device C compiler chain could link against their libraries such as their TCP/IP stack01:46
+perlDreameryou can use gnupic and gnuasm to do it01:47
@scrottiehrm.  that's good to know.01:47
@scrottiethe 8051 has an awesome instruction set.  that would be fun to play with.01:47
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]01:52
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui01:52
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro]01:58
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:35
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui02:45
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]02:48
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui03:07
-!- mode/#webgui [+v Radix_] by ChanServ03:07
CIA-82webgui: Graham Knop WebGUI8 * r529743f / (51 files in 15 dirs): remove old upgrades - http://bit.ly/iqe7DS03:48
Haargi feel like scrottie is going to slap me at yapc03:48
@scrottiemeh?03:59
Haargreading your moose rants04:00
@scrottieoh.04:01
@scrottieno, I pretty much stick to verbal lashings, and ones at no one in particular mostly04:01
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]04:28
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:32
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 252 seconds]04:55
@preactionI never ever thought I'd ever say this, but I think I should go back to Linux so my system Just Works.04:57
SDuensinYES!!!!!!  I knew you were smart!05:06
@scrottieha.05:06
@scrottieas if.05:07
@scrottiesometimes I think about switching to GNU/Windows (win32 kernel, GNU as much of everything else as I can manage) but then I have to fight with Windows and I'm reminded that it doesn't work worth a damn either.05:07
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]05:08
@scrottiehttp://community.qnx.com/sf/sfmain/do/go/projects.bsp/discussion.bsp.topc3131?_pagenum=3 ... if QNX did ACPI, I'd run that.05:09
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui05:09
SDuensinThere's only ONE reason to use Windows...   Games.05:17
@preactionwindows would handle the python projects i work on even worse than OSX handles them05:18
* SDuensin loves him some OS X.05:19
@scrottieOS X is lovely, but Amiga broke my heart.  I can't let myself become entrenched in a system that a vendor owns.  It's rms' old argument, lame as it is.  Even watching from outside, Apple jerks its users around enough.  That and the hardware is poorly made Chinese garbage.05:26
SDuensinMine is poorly made elsewhere garbage.  :-)05:30
* SDuensin has a Hackintosh.05:30
SDuensin(And an Amiga 3000.)05:30
SDuensinAnyway, I'm going to bed.  Later all.05:31
CIA-82webgui: Colin Kuskie webgui-7.9 * r1b3c2cb / docs/create.sql : Preparing for 7.9.29 release. - http://bit.ly/kXpgDU06:07
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]06:11
CIA-82webgui: Colin Kuskie webgui-7.9 * r11cdbbd / (4 files in 4 dirs): Ready for 7.9.30 development. - http://bit.ly/jszJD206:37
CIA-82webgui: Colin Kuskie master * r8284ab4 / docs/create.sql : Preparing for 7.10.17 release. - http://bit.ly/iXrVff06:38
CIA-82webgui: Colin Kuskie master * r926cfd1 / (4 files in 4 dirs): Ready for 7.10.18 development. - http://bit.ly/iywIOk06:55
+perlDreamerokay, that's enough overtime work for tonight06:55
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]06:55
-!- Radix_ changed the topic of #webgui to: [7.9.29-stable | 7.10.17-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com06:56
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 246 seconds]07:33
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui08:15
-!- mode/#webgui [+v Radix_] by ChanServ08:15
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:40
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Remote host closed the connection]09:54
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:54
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui10:15
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds]10:16
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has quit [Ping timeout: 276 seconds]10:17
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]12:19
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui12:24
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui12:35
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui12:52
-!- mode/#webgui [+v BartJol] by ChanServ12:52
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui13:30
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]13:50
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui13:56
-!- mode/#webgui [+v Radix_] by ChanServ13:56
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed]14:10
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]14:17
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui14:18
-!- mode/#webgui [+v Radix_] by ChanServ14:18
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]14:23
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui14:23
-!- mode/#webgui [+v Radix_] by ChanServ14:23
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui14:28
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]14:43
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]15:05
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:14
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]15:14
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:14
-!- mode/#webgui [+v Radix_] by ChanServ15:14
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]15:18
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:18
-!- mode/#webgui [+v Radix_] by ChanServ15:18
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]15:22
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:22
-!- mode/#webgui [+v Radix_] by ChanServ15:22
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]15:26
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:31
-!- mode/#webgui [+v Radix_] by ChanServ15:31
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]15:35
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:35
-!- mode/#webgui [+v Radix_] by ChanServ15:35
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui15:59
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Read error: Connection reset by peer]16:21
@frodwithso, here's an enjoyable bug, or class of bugs I suppose16:46
@frodwithwhen you import assets from one site to another, often you'll end up with several settings that aren't really valid on the other site16:46
@frodwithnonstandard groupIds come to mind16:46
@frodwithnow, there's several places in the code that sort of assume that assets have valid data16:47
@frodwiththe place where I'm running into it here is in the subscribable asset's duplicate16:47
@frodwither, subscribable aspect16:48
@frodwithit assumes that if the asset it's duplicating has a subscriptionId, then there's a group to copy16:48
@frodwithbut of course there isn't in this case, because the groupId is invalid.16:49
@frodwithI'm wondering what you all think the sanest way to fix that is. I mean, in this case it seems ok to just try to instantiate the group and skip the copy if it doesn't exist16:49
@frodwithbut do we in general want to be coding around bad asset data from imports, or would it be more productive to think of a way to fix that up in the import process?16:50
SDuensinGreetings, Programs.17:09
@frodwithHello, android. Remember that android hell is a real place where you will be sent at the first sign of defiance.17:20
* SDuensin is going to Silicon Heaven with all the calculators.17:22
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has joined #webgui17:36
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has quit [Ping timeout: 240 seconds]17:40
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui17:41
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]17:41
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds]17:45
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has joined #webgui17:54
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:55
-!- mode/#webgui [+v perlDreamer] by ChanServ17:55
+perlDreamermorning, folk17:55
SDuensinUgh.17:56
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:56
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has quit [Ping timeout: 252 seconds]17:59
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:03
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has joined #webgui18:04
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has quit [Ping timeout: 252 seconds]18:11
@frodwithWhat do you guys think of having a special test directory with single purpose tests that test one particular regression? e.g. https://gist.github.com/99115618:21
@frodwithperlDreamer, scrottie, preaction, Haarg18:23
+perlDreamerwhat's the advantage of that over just adding it to t/Asset/Post/Thread.t ?18:23
@frodwithbiggest thing I think is shorter tests18:24
@frodwithIt's easier (for me, at least) to write short, focused tests if they're just doing one thing18:24
@frodwithit also keeps the more general test from getting long and unwieldy18:24
+perlDreameryeah,  I've done stuff like that, but I usually create a subdirectory below the current test18:24
+perlDreamerlike stuff in t/Asset/Wobject/Thingy/indexContent.t18:25
+perlDreamerI'd rather have it "near" the original test for organization18:25
+perlDreameralthough that tends to make for long paths18:25
@frodwithwell, I don't really care about long paths18:26
@frodwithI guess I kind of like the distinction between testing functionality and testing a particular edge case that went buggy once upon a time18:27
@frodwithbut, I wouldn't be opposed to just referencing the bug at the top of the file18:27
+perlDreameryou could even put it in the name of the test18:28
+perlDreamerduplicate_XXXX18:28
@frodwithyarr18:28
+perlDreamerof course with git, git log file.t will help us find that18:28
+perlDreamersince we have the soft convention of putting in the bug number in the commit notes18:28
@frodwithhow about my bug skeleton? I could just make it t/_bug.skeleton and make a note about putting it in the appropriate place in the tree18:28
+perlDreamerI'm cool with more documentation in bug tests or tests in general18:30
+perlDreamerbtw, the spectre fix from earlier this week went out yesterday, so we have some sites using it18:30
@frodwithhad we been getting any stuck email workflows from other sites?18:30
@frodwith(before the fix)18:30
+perlDreameryes18:31
+perlDreamerone of the servers had a spectre restart cron job18:31
@frodwithCool. Here's hoping we've killed that finally.18:31
* jigou has a spectre restart cron job..... :-)18:32
+perlDreamerif you upgraded to 7.9.29, you probably wouldn't!18:32
jigouWanna know what I'm testing RIGHT NOW?18:33
+perlDreamersure!18:34
jigouThat. Upgrading to 7.9.29.18:35
jigouRunning the upgrade from 7.8.24 to 7.9.29 as we type, in fact.18:36
+BartJolah, I had problems yesterday with updating a WebGUI with a calender18:36
+BartJolsame stuff as I saw in a calender rss update workflow18:36
+perlDreamerBartJol: is this an old calendar?18:38
+BartJollike first made in an old webgui?18:38
+perlDreameryup18:38
+perlDreamerin the database, what does it have in the icalFeeds column?18:38
+BartJollemme check18:39
+BartJol7.4.21        | initial install |  1200758229 18:39
+perlDreamerwhat does it have for the icalFeeds column in the calendar table for the failing calendar?18:40
+BartJoland [] in that column18:40
+perlDreamerwhat?18:40
+perlDreamerseriously?18:40
+BartJol[]18:40
+BartJolyes18:40
+perlDreameryou sure it doesn't have "[]"18:41
+perlDreamerwith some kind of quotes?18:41
+BartJolmysql> select icalFeeds from Calendar;18:41
+BartJol+-----------+18:41
+BartJol| icalFeeds |18:41
+BartJol+-----------+18:41
+BartJol| []        | 18:41
+BartJol+-----------+18:41
+BartJol1 row in set (0.00 sec)18:41
+BartJolto be spamming this channel with code :P18:41
+perlDreamer<insert subtle but profuse swearing>18:41
+BartJolso, quite seriously18:41
SDuensinDROP BartJol;18:41
+perlDreamerI must have mucked up the fix for the RSS feed bug, too18:42
+perlDreamergrrr18:42
+BartJolso something went wrong somewhere :)18:42
+BartJolbut the 7.9.26->7.9.27 upgrade fails there18:43
+BartJolColin, I'm sorry, but I really have to go18:44
+BartJolnot sure where the entry originates from, but I wish you good luck with finding out18:45
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:46
+perlDreamerno sweat BartJol, I'm sure I mucked it up somewhere18:46
CIA-82webgui: Colin Kuskie master * r90b37da / (3 files in 3 dirs): Fix more i18n issues with the RenderThingData macro. Addresses bug #12141 - http://bit.ly/lrXPzh18:50
@scrottiefrodwith, my only objections to 991156.t and such is that without moving a whole bunch of stuff around and research, most of the regressions would be mixed in with other tests while some (new) ones would be by themselves.  also, an individual regression can require a lot of setup and that would get copied into individual .t files.  there's overhead on each .t run and that slows down the test run.  I've seen efforts to18:58
@scrottiecombine things to speed up the test run.18:58
@scrottiethis might be a grass-is-greener scenario.18:59
@scrottietests whether combined or individual should certainly be commented with their bug ticket number they were created for.18:59
@frodwithI think in some cases it'd be appropriate for a bug test to be standalone, and in others not so much19:00
@frodwithif it requires a lot of setup that's already present in another test, it makes sense to combine them19:00
@frodwithbut yeah, definitely we should annotate the tests in either case with bug ticket numbers.19:01
CIA-82webgui: Paul Driver master * rd450ded / (4 files in 4 dirs): fixed #12142: Copy fails on imported threads - http://bit.ly/lebj2l19:02
CIA-82webgui: Paul Driver webgui-7.9 * r68ee84e / (4 files in 4 dirs): fixed #12142: Copy fails on imported threads - http://bit.ly/kZAS4o19:03
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]19:08
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui19:09
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has joined #webgui19:30
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds]19:34
@frodwithwhen does 7.10 go stable?19:35
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has quit [Ping timeout: 276 seconds]19:43
@preactionwhen 8.0 goes beta, so hopefully a few months from now19:57
@preactionof course, it'll never happen if i can't get a stable dev environment set up...20:17
@preactionperl won't build a makefile now...20:17
+perlDreamerfrodwith, doesn't that test need to clean up the thread that it created if duplicate worked correcty?20:28
@frodwitharg, yes, and it did at one point. Thanks.20:28
@frodwithI'll fix.20:29
CIA-82webgui: Paul Driver master * r7b7d1b4 / t/Asset/Post/Thread/bug_12142_duplicate.t : cleanup extra thread in 12142 test - http://bit.ly/lHrxLy20:31
CIA-82webgui: Paul Driver webgui-7.9 * r53016ef / t/Asset/Post/Thread/bug_12142_duplicate.t : cleanup extra thread in 12142 test - http://bit.ly/jUpOWD20:32
+perlDreamerpreaction:, it's confirmed.  Even with the latest Storable there are still problems21:17
@preactionyay!21:17
+perlDreamerI need to see where I left the bug report with the Data::Serializer maintainer21:17
+perlDreamerand maybe in the meantime we can try my patch out with JSON serialization and see what shakes out21:17
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui21:20
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]21:52
jimX11_bobI know that when using Template Toolkit in WebGUI, I have to turn arrays of array refs into arrays of hash refs are there other restrictions like a key or a value can't start with an underscore or double underscores?22:13
+perlDreamerdon't use periods in template names22:14
+perlDreamerwell, I replied to the last question the maintainer of Data::Serializer asked, so I guess now we just wait22:15
+perlDreameralthough, I really should send him an updated patch with Haarg's recommended JSON syntax22:16
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui23:35
CIA-82webgui: Paul Driver master * r7b796ed / lib/WebGUI/Account.pm : Check permissions in account plugin - http://bit.ly/lMpAKz23:46
CIA-82webgui: Paul Driver webgui-7.9 * r8dbc72e / lib/WebGUI/Account.pm : Check permissions in account plugin - http://bit.ly/io98dd23:48
--- Day changed Thu May 26 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:05
+perlDreamerfrodwith, that's a pretty big change, it needs a changelog notice as to why, and a notice in the gotchas for developers00:05
@frodwithIt's a bugfix.00:07
@frodwithand I don't want to put a notice in the changelog because it's a security hole.00:07
+perlDreameroh sure, but if someone was depending on that buggy behavior, we need to tell them that00:07
@preactionbut in the interest of full disclosure, shouldn't we put a notice so that people can upgrade?00:12
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 276 seconds]00:17
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds]00:30
@frodwithYeah, probably.00:33
@frodwithI'll write something up tomorrow morning. Head's killing me.00:36
@preactionok00:37
kthakoreIs it reasonable to expect Try::Tiny in webGUI8? wdg uses it.01:04
@scrottieyeah, or something like that.01:05
@preactionit should already be in testEnvironment.pl01:05
@preactionif it's in testEnvironment.pl, it's okay to use01:05
@scrottieI have to deal with that if the stack traces are ever going to be correct and useful.01:05
@preactionif it's not, just ask and most likely it'll go in if it doesn't overlap existing prereqs01:06
@preactionwhy not just accept that the current Perl philosophy is that it should be easy to write and impossible to debug01:06
@preactionoh wait, isn't that what it's always been?01:06
kthakoreok01:06
@scrottiesrsly.01:07
kthakore...01:07
kthakorehah ok01:07
kthakoreapologies for trying to make Perl easier to debug01:07
@preactioni'm joking, though the stack traces that the recent spat of best-practices development creates are monstrous01:08
@preactionsacrelicious even01:08
@scrottiedon't get me started.01:08
kthakoreok. i won't01:09
@preactioni've got time. this is day three of my attempt to get a working dev environment, i've given up on OS X since both WRE and Macports failed me, and now WRE is failing me inside a centos VM01:09
kthakorewhat is WRE?01:10
@preactionthe virtualbox shared folders make Perl not create a Makefile for some reason01:10
@preactionits WebGUI Runtime Environment, our stack in a nice package01:10
@preactionfsdo nice01:10
@scrottieI have this theory that sometimes perfectly fine/functional code or systems will become "tainted" when brought into contact with something pathologically bad and then fail to operate and continue to fail to operate even when the pathogenic code/system is removed.01:10
kthakoreah ok01:11
@scrottiefor example, code that was written in ASP.NET on Windows will, even if rewritten, never ever work correctly.01:11
@scrottieclearly something tainted the WRE.01:11
kthakoreI call it The Plague.01:11
kthakoreit spreads and no measures will eradicate it01:11
@preactioni'll start killing the rats01:11
kthakorewell you missed the pidgins01:12
kthakorenow you are dead01:12
@preactionnooooo!01:12
@preactionoh wait, now i dont' have to compile this software!01:12
@preactionyay!01:12
kthakoreyay?01:12
kthakorepreaction: Frankly, I find your lack of goth distrubing. All this yaying and stuff01:13
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:24
kthakorescrottie: I am getting some really weird errors in the getSizeInPixels test01:28
kthakorethe refactor works fine for the gallery but ... I dunno what is up with the tests01:29
@scrottiekthakore, put together a specific bug report?  which tests?  what do I have to run and look at?01:31
kthakorekk01:31
kthakorescrottie: http://paste.scsys.co.uk/10722601:37
kthakoreI dunno if it is me or .... something the test does01:37
+perlDreamerthose are warnings, kthakore01:38
kthakorethat is all I am getting out thoug :(01:38
Haargyou can ignore any warnings about UNIVERSAL::isa or UNIVERSAL::can during tests01:38
kthakoreok01:38
Haargthey are all false positives01:38
kthakoreok01:39
@scrottiedoes the test pass or fail?  also, as I said before, the tests aren't very good.01:39
kthakorefail01:39
@scrottieyou need to paste more context when you paste.01:39
kthakorebut .... when I run it manually they don;t 01:39
kthakorescrottie: what more context do you need?01:39
@scrottiewell, including the 'not ok' message and the name of the test next to it seems like a good start01:40
kthakoreok01:40
@scrottiebasically all of the things people are likely to ask for.01:40
kthakoreok01:40
+perlDreamerIn addition to which test file, and the test number, I also like to ask for a config file, the root password on the server in question and lots of money01:47
kthakoreahhhh I found the error01:48
kthakorejust describiing it helped01:48
kthakorebut now I am stuck01:49
kthakoresigh01:49
* kthakore needs a break01:49
kthakorebasically GD can't find the images in the test .... somehow Image::MAgick didn't even complain ...01:50
@scrottie"can't find the image"... inthe datastream, or the file containing the image, or ...?01:51
+perlDreamerdoubtful01:51
@scrottiehypothesis -> test -> hypothesis -> test -> hypothesis -> test etc01:51
@scrottiewhat wasn't ImageMagick finding?  was it there even though it couldn't find it?01:52
kthakoreI am making the report01:52
kthakoregimme a seck01:52
@scrottieyou can take a break, I'm just not sure how to comment usefully when I don't understand what you're saying.01:54
@scrottieother than by asking tons and tons of questions =P01:54
kthakorehttp://paste.scsys.co.uk/10722701:56
kthakorescrottie: :D01:56
kthakoreplease ask moar01:56
@scrottieperldoc WebGUI::Storage02:04
@scrottiethat has getPath() and getUrl methods02:05
@scrottiegetPath() returns where something is on the filesystem (one storage location contains multiple files; to get the full path, you have to tell it the filename of the file at that storage location)02:05
@scrottieyou should be able to do that and see for yourself what is in the image file02:05
@scrottieexpect it to be different each time02:06
kthakorederp derp derpingtong02:08
kthakoreargh all my fault02:08
@scrottielooking at this, $sizeTest is a WebGUI::Storage02:10
@scrottieso it's what you'd have to ask for the full path+filename of things you put in it02:10
kthakoreright02:11
kthakoreI got the tests working now02:11
kthakorenow for one of the error tests the regex is not perfect02:11
kthakoreok let me see 02:11
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:31
jimX11_bobhmm, the WebGUI logs rolled right when I was looking at them. A bit disorienting.  That's never happened before.03:01
+perlDreamerpreaction: why does JsonTable return JSON instead of a perl data structure?03:03
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui03:05
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui03:11
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]03:13
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui03:14
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has left #webgui []03:19
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:21
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]03:47
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui04:12
jimX11_bobhow do I set the page size when using WebGUI::Paginator?  Maybe I missed it in the docs.04:13
-!- jimX11_bob [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]04:21
@scrottie new ( session, baseUrl [, paginateAfter, formVar, pageNumber ] ) ... $paginateAfter is the number of items to put on a page.04:27
@scrottiethe language could certainly leap out at you more.04:27
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]04:32
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui04:47
-!- CIA-82 [cia@cia.atheme.org] has quit [Ping timeout: 248 seconds]05:02
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]05:03
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui05:04
-!- CIA-77 [cia@cia.atheme.org] has joined #webgui05:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds]06:05
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 240 seconds]06:41
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui06:43
-!- mode/#webgui [+v perlDreamer] by ChanServ06:43
-!- Netsplit *.net <-> *.split quits: Haarg07:14
@preactionperlDreamer: because it's the JSON table, its value should go right into the database as a string, no other manipulation required07:20
+perlDreameryeah07:21
+perlDreamerI have no idea how that one site's upgrade failed07:21
+perlDreamerit makes absolutely no sense at all07:21
+perlDreamerthere's serialization code in new07:23
+perlDreamerand in upgrade07:23
+perlDreamerif you use the API, the calendar should be completely covered07:23
@preactioni still say the best option is to handle if the database field is empty gracefully07:23
+perlDreamerthat's just it07:24
+perlDreamerwe did an upgrade in 7.8 to fix that already07:24
+perlDreamerthe problem is that somehow, the asset got created and all the JSON serialization code got bypassed07:24
+perlDreamersince '[]' was not changed into [] for us07:24
+perlDreamerso we fixed old assets already07:25
+perlDreamerand any new assets already get created with '[]' already07:25
+perlDreamerin 8 it's not a problem, since if you don't pass a value to the constructor it uses the default07:26
@preactioni think trying to figure this out isn't going to help. you've covered all possible scenarios. what if the calendar was imported from an old site? what if they just went update Calendar set feeds="";?07:26
+perlDreamerit didn't have "" as the icalFeeds value07:26
+perlDreamerit had '[]'07:26
+perlDreamerit just didn't get deserialized07:26
+perlDreamerI misread the bug report earlier, and then I misled you with earlier talk07:27
@preactionthen i dunno07:27
+perlDreamerya me too07:27
@preactionbut perhaps the error should still be caught and reported?07:27
+perlDreamerI did think about adding some shim code to sub getFeeds07:28
+perlDreamerbut it makes me feel dirty07:28
+perlDreamerI'd like Bart to clear cache and try again07:28
+perlDreamersince the cache is the only way to bypass the serialization07:28
+perlDreamerbut I can't find a way to dirty the cache, either07:28
+perlDreamerI even falsely accused Form::JsonTable, but it does everything right too!07:29
-!- Netsplit over, joins: Haarg07:45
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has quit [Ping timeout: 246 seconds]08:55
-!- CIA-77 [cia@cia.atheme.org] has quit [Remote host closed the connection]08:58
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui09:13
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds]09:13
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 248 seconds]09:46
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui09:47
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui09:54
+perlDreamerhm10:22
+perlDreamermaybe if I get behind it and push it will run faster...10:22
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]10:42
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:45
-!- mode/#webgui [+v BartJol] by ChanServ10:45
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui11:40
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Excess Flood]12:07
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui12:07
-!- mode/#webgui [+v BartJol] by ChanServ12:07
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui12:23
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui12:36
zylopfaAnyone have problems in the latest wre and latrest webgui, that the http server shuts down?12:37
zylopfaApache2::SizeLimit httpd process too big, exiting12:37
zylopfaI have run the testEnvironment script12:37
ryuu_rowe had to crank up the size limit when the CHI module was added12:38
zylopfaahh so i have to set the size larger?12:38
zylopfaI guess you mean in /data/wre/etc/modperl.pl?12:38
zylopfaI thought a new process was just spawned when it reach the size limit?12:39
ryuu_royes, I think is so12:39
zylopfabut it seems it doesnt create a new child12:39
+BartJolmmm, my webgui also crashed12:39
+BartJolluckily only a testsite12:39
zylopfayeah with service temporary error cause it seems its only the proxy that runs12:39
zylopfaI set the size higher, but now it just takes a bit longer before it crash12:43
zylopfaits as if it doesnt spawn new processes12:43
zylopfaI tghink ihave to compile the wre manually12:52
zylopfaI figured it out guys, seems the maxmemory setting in wre.conf is to low13:05
zylopfaset it to 2 times the sixe of the Apache2::SizeLimit13:06
+BartJolsorry zylopfa, wwe are a bit busy, but all in all, it doesn't sound really good13:09
zylopfaWell i solved the problem BartJol 13:21
+BartJolah13:32
zylopfaI think it should be changed in wre.conf as standard13:55
zylopfaas it will happen to ALL people who install webgui from now on13:55
+BartJolit should definitely be in the gotcha's14:00
+BartJolbut I installed CHI a while ago, not sure whhether that is the bottleneck14:01
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]14:01
zylopfai installed wre from afresh14:17
zylopfaand it happend to me so i guess it should be fixed14:17
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving]14:35
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui14:49
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Remote host closed the connection]14:49
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui15:07
-!- mode/#webgui [+v BartJol] by ChanServ15:07
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has left #webgui []15:17
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds]15:43
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui15:48
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro]16:10
CIA-82webgui: Paul Driver webgui-7.9 * r72b7d17 / (docs/changelog/7.x.x.txt docs/gotcha.txt): changelog/gotchas for account change - http://bit.ly/imRgKP16:21
CIA-82webgui: Paul Driver master * r76a69c9 / (docs/changelog/7.x.x.txt docs/gotcha.txt): changelog/gotchas for account change - http://bit.ly/l4GLwo16:23
SDuensinWell, nuts.  My office survived the storms.  So I'm back at work.16:23
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui16:33
+BartJolah, that must be a relieve :P SDuensin16:34
SDuensinEvery time I open a text file on my server here at work, I get this dialog that says "Windows cannot find the file blahblahblah" and behind that dialog my text editor opens with the file in it.  WTF?16:35
+BartJolwhat is your OS? I think the problem lies within that 16:37
SDuensinWell, of course!  I said "Windows"!  :-P16:38
SDuensin(It's 2003 Server.)16:39
-!- daviddelikat [~user@h69-11-251-58.mdsnwi.dedicated.static.tds.net] has joined #webgui16:40
+BartJolwell that blahblahblah part also ,akes me wonder how you name your files16:41
SDuensin:-)16:55
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui17:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui17:07
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:59
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:00
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:03
-!- mode/#webgui [+v perlDreamer] by ChanServ18:03
+BartJolhey perlDreamer found anything about the [] problem?18:14
+perlDreameryes, and no18:14
+perlDreamerI know that it has to do with the cache18:14
+BartJolyou said it was impossible, right?18:14
+perlDreamerwell, apparently not...18:14
+BartJol:)18:14
+perlDreamerif you get to the point in the upgrade where it fails18:14
+perlDreamerand if you clear the cache18:14
+perlDreamerwgd -F mysite.conf reset --delcache18:15
+perlDreamerthen it upgrades just fine18:15
+BartJolbut, that doesn't update my table18:15
+BartJolso I still have a strange db entry18:16
+perlDreamerno, then continue on with the upgrade18:16
+perlDreamerthe db entry is fine, I was wrong18:16
+perlDreamer[] in the db is cool18:16
+BartJolah18:16
+perlDreamerI came across this last night myself while upgrading several  hundred sites18:19
+perlDreamerand I found that if a site broke there, then that wgd call would fix it and allow me to continue18:19
+BartJolok18:25
+BartJolIcan't do it in front of the upgrades (since I start at 7.8.24?18:25
daviddelikatperlDreamer: can you check that I'm setup correctly for this project?  I can't connect18:28
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]18:43
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 258 seconds]18:45
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui18:53
+perlDreamerBartJol, you could try that19:05
+perlDreamerbut I don't know if the bad cache thing happens during the upgrade, or before19:06
+perlDreameryou could sure try it, though19:06
+BartJolok19:06
+BartJolwell, that will be on a test site19:06
+perlDreameroh, come one19:06
+perlDreamerbe daring!19:06
* perlDreamer is off to the gym19:08
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]19:15
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]19:25
@preactionI should have been a doctor, or a lawyer19:47
@preactioneven cpan is failing me now, some prereqs of prereqs have bad packages on the cpans19:48
@scrottietypical.19:48
@preactionhm. but when i go to the cpan.org, the package looks fine...19:49
-!- daviddelikat [~user@h69-11-251-58.mdsnwi.dedicated.static.tds.net] has left #webgui []19:59
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 244 seconds]20:01
-!- Netsplit *.net <-> *.split quits: gugod, @frodwith, @scrottie20:24
-!- Netsplit over, joins: gugod, @frodwith, @scrottie20:25
+perlDreamerpreaction, there have been cases where WRE's perl doesn't do dependencies correctly20:29
+perlDreamerlike the whole CHI, Test::Logger thing20:29
+perlDreamerand now, Google::Geo::Coder common::sense thing20:29
@preactionif i hadn't already lost 3 days of coding, working on a fourth, i'd probably figure out why...20:30
+perlDreameryar20:35
SDuensin+'s revenge20:36
-!- daviddelikat [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has joined #webgui21:05
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Read error: Operation timed out]21:14
-!- daviddelikat1 [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has joined #webgui21:28
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui21:28
-!- mode/#webgui [+v perlDreamer] by ChanServ21:28
-!- daviddelikat [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 250 seconds]21:28
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui21:29
* perlDreamer wanders away for some lunch22:06
kthakorehi23:24
@preactionsal?t!23:26
kthakoreme8?23:28
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds]23:47
@scrottieI pain.  sendmail--.23:48
kthakoreok23:49
--- Day changed Fri May 27 2011
@scrottiehow's stuff on your end?  get to spend any quality time with perl?00:27
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui00:42
-!- daviddelikat1 [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has quit [Read error: Connection reset by peer]00:56
kthakorescrottie: oh I was just doing that01:14
kthakoreperl and me are getting along excellent :)01:14
@scrottiegood, good.01:14
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui01:22
kthakoreOMG01:26
kthakorefirst time ever with webgui01:26
kthakoreI did a complete refactor, 1 commit, and no test fails or live test fails!!01:27
kthakoreand I spoke too soon01:35
kthakoreyaya01:35
* scrottie scratches his head02:02
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:06
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]02:19
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:34
-!- carogray [~Caroline@173.156.85.142] has joined #webgui02:34
kthakoresunofabitch02:37
kthakore...02:37
kthakoresigh02:37
-!- carogray [~Caroline@173.156.85.142] has quit [Ping timeout: 260 seconds]02:39
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:11
kthakorearg... GD is killing me for the first time03:50
kthakoresigh03:50
@scrottieGD probably thinks it is your fault =)03:52
kthakoreyeah I think so03:53
kthakoreI am making a sperate script now to understand what is going on03:53
kthakoresigh03:53
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:23
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]04:36
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui04:41
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 255 seconds]05:44
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui05:45
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:59
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds]06:57
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 240 seconds]08:05
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui08:11
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui09:28
-!- mode/#webgui [+v BartJol] by ChanServ09:28
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds]10:33
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui10:55
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui13:46
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]13:46
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds]13:49
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui14:11
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui14:14
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]14:30
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui15:39
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Remote host closed the connection]15:42
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui16:01
-!- knowmad [~knowmad@209.168.233.155] has joined #webgui16:04
-!- vayde [~vayde@67-4-237-205.mpls.qwest.net] has quit [Ping timeout: 252 seconds]16:05
-!- vayde [~vayde@184-100-69-146.mpls.qwest.net] has joined #webgui16:17
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui16:34
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:44
-!- mode/#webgui [+o bopbop] by ChanServ16:44
-!- knowmad [~knowmad@209.168.233.155] has quit [Ping timeout: 246 seconds]16:52
SDuensinFrIdAy!17:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui17:13
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:36
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui17:42
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:51
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:11
-!- mode/#webgui [+v perlDreamer] by ChanServ18:11
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:41
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds]18:46
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]18:47
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]19:04
-!- fokat [~lem@66.0.48.131] has joined #webgui19:29
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds]19:33
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]19:37
-!- fokat [~lem@66.0.48.131] has joined #webgui19:40
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui20:40
-!- mode/#webgui [+v perlDreamer] by ChanServ20:40
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui21:46
-!- mode/#webgui [+o pbcj] by ChanServ21:46
@pbcjhello all21:46
@preactionbonjourno! que pata?21:52
@pbcjI'm trying to figure out the workflow nonsense.  I can't see why some workflows show up as selectable when you add a new task to the scheduler, but other's do not22:18
@preactiononly workflows that don't have an object type can be scheduled22:22
@pbcjhow does that happen.. I went tracing through the code www_editCronJob just uses the workflow form class, which uses workflow->getList to fill itself, and that uses "select * from Workflow where enabled=1"22:25
@pbcjarg22:27
@pbcjand type=?22:27
@pbcjnm22:27
@pbcjthx22:28
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 276 seconds]22:53
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds]23:54
--- Day changed Sat May 28 2011
CIA-82webgui: Doug Bell WebGUI8 * r538dc2a / lib/WebGUI/Template/Provider.pm : process non-TT templates before including them - http://bit.ly/kAhJkz00:16
CIA-82webgui: Doug Bell WebGUI8 * r2751e4f / lib/WebGUI/Asset/File/GalleryFile.pm : GalleryFile handles its own template - http://bit.ly/igyc5z00:16
@preactionshould the Test::Class asset tests be part of the same debug tests run before every release?00:17
kthakorehallo00:20
kthakoreYAYAYYA00:20
kthakorepreaction: thanks00:20
@preactionyeah. a one line fix that would've been done 5 days ago had i a damnable dev environment00:21
@preactionalso, i hate computers00:21
@preactionis there some kind of book or manual on libraries, linking, dynamic linking, and compiling and stuff where i could shore up my woefully insufficient knowledge base?00:21
kthakorehehe00:22
kthakorepreaction: what are you looking for interms of compling stuff?00:23
kthakoreC faqs are good00:23
@preactioni think i'm missing basic knowledge00:23
kthakoreok start ... kinda here based on questions you might have00:23
kthakorehttp://c-faq.com/osdep/index.html00:23
@preactionwhich is why i don't understand "static" vs. "dynamic" and how DLL-hell can be avoided, how the system decides which libs are the right libs00:23
kthakoreahh ok00:24
@preactioni think that's what the WRE is suffering from right now, DLL-hell. the libgif in the WRE conflicts with the libgif in the OS and the OS sees the WRE's libgif and explodes00:24
kthakoreah use -rpath,W1 during compile00:25
kthakorewhenever doing libgif and so on00:25
kthakorecause varying deps kill you00:25
@preactionare those cflags or ldflags?00:25
kthakorecflags00:26
kthakoreit should work00:26
@preactionok, i can start from there, thanks00:26
kthakorebut BSDs are a whore for this kinda things00:26
kthakoreyou also need to consider making a dist package00:26
kthakorelike .deb for Debian00:27
kthakoreand so on00:27
kthakoreit works a lot better for this kinda thing ...00:27
@preactionyeah. there's a webgui.deb for debian, i'm half way towards a macport (there are missing deps that can be installed via the sbin/testEnvironment.pl script)00:27
@preactionmacports is how i'm working right now00:27
kthakoretalk to #macdev on freenode or something I forget00:28
kthakorethey did my SDL pack00:28
@scrottiepreaction, GNU Press printed some dense manuals on gcc, autoconf, and the linker a long time ago but they're terribly out of date now and the situation is far more horrific.00:29
@preactioni've had horrible luck in the mac channels on freenode00:29
@preactionif they've got some basic knowledge, they could help. right now i don't understand 2 + 2 = a library00:29
@preactioni think i may have put those on my reading list00:30
@scrottiestatic libraries on most Unix systems are 'ar' archives.  you can use ar to take them apart and look in them.  when you link against them, the system does that, looking for the symbols it wants in there, pulls them out, and stuffs them into the object code being compiled.00:30
kthakorec.comp.PLEASEHELPMEMOMMA00:30
kthakoreis the shit00:30
kthakorescrottie: errr no .a00:30
@scrottieyou can delete the static library at that point and your binary will continue to run00:31
@scrottiekthakore, no 'ar'.  'man ar'00:31
@scrottieold SysV systems only have this.00:31
@scrottiedynamic linking is newer.00:31
@scrottield.so does linking at run-time for dynamic link libraries.  its man page has some details of how that works... how it finds the libraries and so on... but dynamic linking varies wildly between systems.00:32
@scrottieWindows does it one way, Mac an other, Linux+BSD collectively another.00:32
@scrottie(ELF systems all do it basically the same way)00:33
@scrottield.so is part of the ELF method.00:33
@scrottiethe dynamic library idea is a good one but everyone makes exceptions for themselves that screws it up and then Debian put the final nail in the coffin.00:40
@scrottiewhen a program wants a library, it asks for it by name and major version.  the system is supposed to find the newest minor+patch versions of that major version and link it in.  simple.  you can have a million copies of a library and everything will continue to work fine, and you can delete old minor versions.  Debian completely invented out of no where the idea of having to have an except version and the 00:41
@scrottieidea that if you upgrade a library, you have to upgrade the programs too and vice versa.00:41
@scrottiebecause that's how Windows does it, I guess.00:42
@scrottieand library authors started doing stuff like letting you build one major.minor.patch version of a library with different options so they're no longer interchangeable00:42
@scrottieI could never get svn to build from source and work... libneon had to be built one way but something else also depended on it that wanted it built another way... bloody paradox00:43
@scrottieyou would be able to mix system and wre libs, and libs from various package managers and so on and so forth, if people obeyed that old, long forgotten rule.00:44
* scrottie ran Minix for a couple of years while Perl on it was still current.00:46
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]00:49
kthakoreok I think crop is refactored00:53
kthakorebut ... I am kinda having random values com from that javascript form to make the crop parametes00:53
* kthakore hunts moar bugs00:53
@scrottielet me know if you have any bugfixes I should cherry-pick from your repo.00:54
@scrottie"random values from javascript" sounds like something that shouldn't happen.00:54
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]00:56
@preactionoh, right, i'm supposed to write tests for those01:04
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]01:04
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:08
kthakorescrottie: I know ..01:14
kthakorearg01:14
kthakorewhere is the crop javascript GUI function01:14
kthakorecan't find it01:14
kthakorecrop image01:14
kthakorepreaction: we have tests for this?01:15
@preactionin the Admin mode, if you are viewing an Image asset, you should see it in the Image menu01:15
@preactionno, that's what i need to fix01:15
kthakoregah01:27
kthakoreI have magic nubmers now01:27
kthakorewtf GD01:27
kthakoreWTF01:27
kthakoreT T01:27
kthakorecopy is offset in GD for some insane reason01:28
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui01:28
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:31
kthakorecan ... someone please break my magic numbers?01:37
@scrottiepost something detailed?01:57
kthakoreare sorry02:06
kthakoreI remember your fetish for details :p02:07
kthakorehold on02:07
kthakoreI was testing02:07
@scrottiewell, only if you want help.  otherwise, test away.02:08
kthakore1. Get branch image_magick_gd from http://github.com/kthakore/webgui 2) Run 3) Login to Admin 4) Turn on Admin! 5) Add New Content -> Image 6) Click [Home] 7) in image drop down choose crop 8) click [home] again and see if crop is done right02:08
kthakoreIt seems to work fine but ... I hate habving magic numbers02:11
@scrottiecan it narrow it down to which paramater is wrong...?02:11
kthakorex and y02:11
kthakoreit is going off the images unless I put magic number02:11
kthakoreto offset back02:11
@scrottieokay, it works, but you don't understand the code?02:11
kthakoreI don'y understand offset :( i.e. Magic Number02:12
@scrottiedo you know where the code lives?02:12
kthakorehttps://github.com/kthakore/webgui/commit/c76e0ee45fab038b5d348f182b5a8de0d84436f1#L0R14902:12
kthakorescrottie: no there is no problem with the current javascript/HTML + Image::Magi02:12
kthakorebut with both GD and Canvas02:12
kthakoreit is off my those offsets02:12
kthakoreI can't ... figure out where this is coming form02:13
@scrottieit isn't a bug if you just don't understand it.  you got me all excited.02:17
@scrottielet's see.02:17
kthakorebut ... I don't want to introduce ... magic numbers02:18
kthakoreI just don't feel good about it02:18
@scrottieof course.02:20
@scrottielet's see.  in the access_log plackup so helpful spits to stdout, I see it request home/untitled3?op=assetHelper;assetId=5VIJP0p8RgSCJCNwbvMyRQ;helperId=crop;method=crop ... then a few hits later, extras/yui/build/imagecropper/imagecropper-min.js along with a few CSS files02:23
kthakore0o02:25
@scrottie?02:25
kthakoreI still don't get it02:25
kthakoreand now my brain hurts from hunger02:25
kthakoreI forgot to eat breakfast and lunch ...02:26
kthakoreshit02:26
kthakore&02:26
@scrottieWebGUI uses a lot of YUI.  This is apparently implemented in terms of a YUI widget.  Googling, docs seem to be here:  http://developer.yahoo.com/yui/imagecropper/02:26
kthakoreok02:28
* kthakore just learned about yui02:28
kthakorethe crop is not givin numbers wrong02:30
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:30
kthakoreI just don't see why Canvas and GD but need those offsets02:30
@scrottiehuh?02:34
@scrottiewhich offset?  does the parameter have a name?  is there docs for it?02:35
kthakorehttps://github.com/kthakore/webgui/commit/c76e0ee45fab038b5d348f182b5a8de0d84436f1#L0R14902:36
kthakoresee that line02:36
@scrottiefine, but where do x and y come from?  do the parameters that get posted to the site have names?  are there docs for them on that YUI doc page?02:37
@scrottiehttps://github.com/kthakore/webgui/blob/c76e0ee45fab038b5d348f182b5a8de0d84436f1/lib/WebGUI/Graphics.pm ... there's something really strange going on with the indenting in there.  also I think there's some "magic" (like the Unix 'file' command) module being pulled in already you can use to figure out image type without relying on the extension.02:39
kthakorescrottie: I can fix the indenting again02:40
kthakoredone02:40
kthakoreI was using the extension function already used in the WebGUI::Storage02:41
@scrottieuse LWP::MediaTypes qw(guess_media_type);  # that's it...02:41
@scrottieoh, hrm, that might just go off of the file extension too02:42
@scrottieweak.02:42
kthakoreindeed02:42
@scrottiewhat calls cropRefactor?02:43
@scrottielib/WebGUI/Storage.pm.  02:45
@scrottielib/WebGUI/AssetHelper/Image/Crop.pm calls that.02:50
@scrottiekthakore, I've got bad news for you.  your code works when I take the + 150 and - 200 out.  with them in, data was offset.  first two tries, I got black.  seems that was taking it off the left side of the image.03:18
@scrottieworks perfectly without it.  anyway, you're using GD directly.  I thought you said you were still planning on using the Graphics::Primitive thing.03:19
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui03:22
@scrottiethat would be handy in cases like this, to easily see whether bad behavior depends on a certain backend.03:23
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui03:55
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]04:02
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has left #webgui []04:42
kthakorescrottie: wait whut happened?04:54
kthakorescrottie: explain!!!04:56
kthakorescrottie: graphics primatives doesn't allow you to crop05:00
kthakoreso that is why I am using GD plain05:00
kthakorefor graph drawing I will use Graphics::Primatives05:01
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:16
-!- andyiomoon1 [~andyiomoo@vpn246-25.cc.swin.edu.au] has joined #webgui05:42
-!- andyiomoon1 [~andyiomoo@vpn246-25.cc.swin.edu.au] has quit [Client Quit]05:44
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 255 seconds]05:45
@scrottiethe Graphics::Primitive thing doesn't let you copy chunks of images?  that's weak05:49
@scrottiecalling it a day here.05:59
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 260 seconds]17:23
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui17:29
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]17:48
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui19:06
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui19:35
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui20:06
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Read error: Operation timed out]20:33
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui20:45
kthakorehallo22:05
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]22:07
--- Day changed Sun May 29 2011
@scrottiehey.00:58
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds]02:15
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui02:28
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui02:29
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]02:34
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 240 seconds]02:46
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui03:06
kthakorescrottie: around?04:13
kthakorescrottie: can you explain what you mean by the offset is not needed?04:13
@scrottieyup, I'm around.04:39
@scrottieI mean your code works perfectly for me when I take the +150 -200 out04:39
@scrottieyour magic constants make it work incorrectly for me... I get data offset by that much rather than what I selected04:39
@scrottiewithout the magic numbers, it works perfectly.04:39
@scrottiefor me.04:39
@scrottiedon't know what is going on on your system.04:39
@scrottiefwiw, 32 bit Linux here.04:39
@scrottiebbiab04:43
kthakorecrappppp06:51
kthakorewhy06:51
* scrottie shrugs06:57
@scrottienail down variables.  what's your OS and version of the GD library?06:58
@scrottie /usr/lib/libgd.so.2.0.0 it says.  Debian.06:58
@scrottieoffline a bit.  work on something else?  get someone else to test that for a third opinion?06:59
kthakoreI will do rest of refactors and come back to this I guess07:01
kthakoreI am linux 6407:06
-!- geocrasher [45e38859@gateway/web/freenode/ip.69.227.136.89] has joined #webgui09:10
geocrasheranybody up at this odd hour?09:10
geocrasher?09:11
-!- geocrasher [45e38859@gateway/web/freenode/ip.69.227.136.89] has quit [Client Quit]09:12
@preactionsure, what's up09:13
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui11:47
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]12:30
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui12:32
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]12:59
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui13:09
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has left #webgui []13:09
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui13:34
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has left #webgui ["Leaving."]14:09
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui14:20
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui14:51
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]15:53
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui17:33
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui20:34
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui20:35
--- Log closed Sun May 29 21:05:45 2011
--- Log opened Mon May 30 19:17:39 2011
+perlDreamerfrodwith, someone's released a HTML::Template parser on CPAN19:17
SquOnkLooking for a suggestion here.19:46
SquOnkThere's this website running WG. The front page is basically a lot of Shortcuts to the inside.19:46
SquOnkThey need to have *another* page with basically the same content, but a very different display.19:46
SquOnkI suggested the second page is just a shortcut to the main page, with a simpified template.19:47
SquOnkDoes that make sense?19:47
+perlDreameryup19:51
+perlDreamersame content + different display == shortcut in most cases19:51
SquOnkGood.19:55
SquOnkperlDreamer: From the top of your head: how hard would it be to allow Asset Reports an indirection into the Asset Data beyond the "general fields"?19:56
+perlDreamerthe top of my head doesn't know much about Asset Reports19:56
+perlDreamerit's pretty new19:56
SquOnkperlDreamer: Great answer.19:56
+perlDreamerthe code however, says that every asset property and metadata variable is available19:57
SquOnkperlDreamer: Well, the Asset Report grants you access to the Asset's general attributes and its metadata.19:57
+perlDreamer"general"?19:57
+perlDreamerit does $asset->get(), and $asset->getMetaDataAsTemplateVariables19:58
+perlDreamerbut it doesn't give you access to the template variables for the assets19:58
SquOnkperlDreamer: General as in url and title, for instance; but you don't get access to the images or attachments if it were an Article.19:58
+perlDreameryes, you do19:58
SquOnkWell, the question is how?19:58
SquOnkI tried <tmpl_var image.url>, but no joy.19:58
+perlDreamerthat's a template variable19:58
+perlDreamernot an asset property19:58
SquOnkperlDreamer: All right.19:59
+perlDreamerthe asset property for the article that you're looking for is storageId19:59
SquOnkperlDreamer: Then my question is, how can I get access to *that*?19:59
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui19:59
+perlDreameryou use it in combination with a macro, StorageUrl20:00
+perlDreamer^StorageUrl(<tmpl_var storageId>);20:01
+perlDreamerthat gives you the URL to the first file in the storage location20:01
SquOnkperlDreamer: So, if storageId is the ID for an Article, I'm getting the first file for that Article, be it an image or an attachment?20:01
+perlDreameryes20:01
+perlDreamerif you want a particular file from the storage location, you pass it the filename, too20:02
SquOnkperlDreamer: I think I see light at the end of the tunnel, and it's not an oncoming train :)20:03
+perlDreamerexcellent, although my kids like trains20:03
SquOnkperlDreamer: :)20:03
SquOnkperlDreamer: What if the Asset Report is bringing Shortcuts to real Articles?20:05
SquOnkperlDreamer: storageId would be the Shortcut, not the Article.20:06
+perlDreamerwell, it would return you only the properties for the shortcut20:08
+perlDreamernot the asset that it is shortcutting20:08
+perlDreamerso you wouldn't even get that20:08
SquOnkperlDreamer: Exactly. Main page is a bunch of Shortcuts. The alternate page was an Asset Report looking for Shortcuts. No way to get the images of the shortcutted Articles.20:10
SquOnkperlDreamer: Hence my suggestion of having the alternate page be a shortcut to the main page.20:10
+perlDreamerif you have shortcuts, why do you need the asset report?20:10
SquOnkperlDreamer: Because the user doesn't want to repeat the shortcutting effort.20:11
SquOnkperlDreamer: They want the alternate page to *automatically* show whatever is in the main page at any given time.20:12
SquOnkperlDreamer: They do shortcutting onto the main page, the alternate should reflect that with a different visual style.20:12
+perlDreamerI'd go with shortcutting the main page, rather than building an assetreport of it20:21
+perlDreamerespecially since, with the layout containing shortcuts, the asset report won't work well20:22
kthakoreoooh ppl are awake20:22
@scrottiejimX11, sounds reasonable.  you're subclassing, right?20:25
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui20:27
kthakorehi scrottie 20:34
@scrottieheey kthakore.20:34
kthakorewhats up?20:34
@scrottienot a whole lot.  poking at something fun =)  20:39
kthakorebewbs?20:41
@scrottieuh... think nerdier.  a lot nerdier.20:42
@scrottiethen maybe some video games.20:42
kthakore... pee pee20:42
kthakorewin 920:45
@scrottieuh mm?20:46
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: off]20:46
jimX11scrottie: ok. thanks.21:21
jimX11scrottie: yea, subclassing.  It's working.21:21
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui21:22
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]21:29
CIA-68webgui: Colin Kuskie master * r444c006 / t/Shop/TaxDriver/Generic.t : Add a test for multiple tax entries with different case. First one wins. - http://bit.ly/ki2C5w21:36
CIA-68webgui: Colin Kuskie master * rc3652d1 / (3 files in 3 dirs): Band-aid fix for bad decache of icalFeeds, where it is not deserialized from JSON. Fixes bug #12139. - http://bit.ly/m2o88E21:36
CIA-68webgui: Colin Kuskie webgui-7.9 * rf66da7d / t/Shop/TaxDriver/Generic.t : Add a test for multiple tax entries with different case. First one wins. - http://bit.ly/jT16iV21:37
CIA-68webgui: Colin Kuskie webgui-7.9 * r0856b6f / (3 files in 3 dirs): Band-aid fix for bad decache of icalFeeds, where it is not deserialized from JSON. Fixes bug #12139. - http://bit.ly/lS6FlJ21:37
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]23:00
-!- qwebirc95583 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has joined #webgui23:21
-!- _Getty [torsten@mrwhite.london.cloudssus.net] has joined #webgui23:26
-!- Getty [torsten@mrwhite.london.cloudssus.net] has quit [Ping timeout: 260 seconds]23:29
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]23:46
-!- qwebirc95583 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has quit [Ping timeout: 252 seconds]23:58
--- Day changed Tue May 31 2011
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out]00:50
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]01:18
jimX11I'm using  WebGUI::Test to get a session in a test and setting the fake post using $session->request->setup_body.  How do I set up a fake post of an image?  I didn't see an image test in WebGUI/t/Form to use as an example.01:28
jimX11found an example that tests WebGUI::Asset::File::Image.01:31
@scrottieWebGUI 7, right?01:39
@scrottieI can't think of any other tests in 7 but I can tell you where sending files is handled in the WebGUI code.01:39
@scrottie(variable position positional parameters)--01:41
jimX11scrottie: yea, I'm using WebGUI 7.01:42
jimX11scrottie: knowing where files are handled is over my head and won't help, I'd guess.01:43
@scrottiewell, it contains an example of sending a file.01:43
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui01:45
SquOnkGreetings.01:46
@scrottiehey SquOnk01:46
SquOnkI'm trying to change Visitor's default language, but seems impossible01:46
SquOnkAs Admin I go to Visitor's profile, choose Spanish, Save... back to English. What gives?01:46
SquOnkscrottie: Hey there.01:46
@scrottiejimX11:  roughly though, the WebGUI::Storage object is asked to compute a URL to the content, and then the user is redirected there, and generally the proxy httpd processes in front of the mod_perl httpd processes handle serving it.01:46
@scrottiehrm.01:46
SquOnkI'm doing that so anonymous users work in Spanish by default.01:47
jimX11scrottie: ok.  Over my head.  I guess what I want is just to mock WebGUI::Form::Image so that storage returns a fake GUID.01:48
@scrottiedoes it have to be fake?  or is fake just adequate?01:49
jimX11scrottie: it doesn't have to be fake.01:50
SquOnkI can change Admin's language, but not Visitor's.01:52
SquOnkIs that intended behaviour?01:52
@scrottiedon't know.  looking at the code now.01:52
@preactionthat is not intended behavior, no01:53
@scrottiewondering if it isn't just the old page cache problem with layouts.01:54
@scrottienot seeing anything in the code about preventing this profile field change.01:55
SquOnkpreaction: Just created a demo.webgui.org and was able to reproduce the problem there.01:56
SquOnkpreaction: Fresh demo, login as Admin, Users, click on Visitor, Profile, choose Spanish, Save, back to English.01:56
@preactionyou might have to change the default in the profile fields instead01:56
SquOnkpreaction: In fact, it will keep *no* changes made to Visitor's profile. I tried adding e-mail, name, etc. to no avail01:56
@scrottieer, visitor can't change its own profile field settings, but admin should be able to.01:57
@preactioni think we changed that so the default in the profile fields takes precedence01:57
SquOnkscrottie: Working as Admin01:57
* scrottie nods at SquOnk01:57
SquOnkAfter changing the default value for Language in User Profiling, Visitor's language is stuck in Spanish now :)01:58
@preactionso that's the change01:59
@preactionso in other words, Visitor has no Profile and we should disallow editing of it01:59
@scrottiejimX11:  tell me more exactly what you're trying to do.  you can create an instance of WebGUI::Form::Image with a defaultValue of a made-up GUID, but stuff in the control won't work properly.01:59
@preactionOR have changes to visitor's profile change the default in the profile fields01:59
SquOnkpreaction: I'm not comfortable with either :)01:59
@preactionwell, in the past, Visitor's profile was just assumed as the default for all fields02:00
@preactionso the default in the profile field manager did nothing02:00
@preactionnow, changing visitor's profile does nothing02:00
SquOnkpreaction: Then I guess Visitor's profile should be "invisible"02:00
jimX11scrottie: I'm making a new WebGUI::Form for measurements.  But in the form that sumits the measurement, there's an Image upload, which is getting in the way.02:00
@preactionboth doing something could work, if we got our field defaults from the field defaults and visitors could have different values02:01
jimX11scrottie:  Maybe Test::Session has what I'm looking for... I'm reading perldoc /data/WebGUI/t/lib/WebGUI/PseudoRequest.pm ...02:02
@scrottiejimX11:  okay, so in a test, you're posting data to this asset you've created?02:03
@preaction7 didn't make it easy to test file uploads, if it was possible at all. i never tried02:03
@preactionwe just refactored and unit-tested around the upload part02:03
@scrottiejimX11:  poking at the GalleryFile table in my almost-stock WebGUI install here, I see various assetIds that might work, including mikh3pNdQAO_KPEv87Nsyg02:04
@scrottie... yeah.  ifyou're simulating a file upload, you don't need the assetId... you need data to send.02:04
@scrottieyou should be able to fake that up in a POST request.  use multipart/form-data (not application/x-www-form-urlencoded) or the server won't buy it.02:05
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]02:05
@scrottiethen the file data is just data, like any other.02:06
@scrottiestill not clear on what you're trying to do exactly.02:07
jimX11scrottie: I'm just trying to get the image out of my way for the test.  Most likely I'll hit the same problem when $session->form->process hits my WebGUI::Form::Measurement.02:10
jimX11preaction: so I'll just cut the image stuff out of the test.  Simple solution.02:10
@scrottiejimX11:  or else use WWW::Mechanize.02:11
@preactionmech won't work without a running server, which may or may not be desirable02:12
jimX11Skipping automated tests, I see my code doesn't store the image using human testing (me).  Hmm.02:14
jimX11well, testing by hand I find the Measurement code seems to work, but I messed up the image upload somehow. Images aren't being stored (or the image location id isn't being stored).02:23
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui02:40
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui03:08
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]03:35
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui04:15
-!- mode/#webgui [+v perlDreamer] by ChanServ04:15
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 276 seconds]04:39
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]04:41
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:44
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]06:03
@scrottiehttp://slowass.net/~scott/tmp/webguikinda.gif06:46
@scrottieI might have done something very silly.06:46
@scrottieSadly, I'm out of time for the day and form processing isn't working yet.06:46
-!- mducharme-work1 [~nothing@206.188.121.4] has joined #webgui09:04
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds]09:06
-!- _Getty is now known as Getty09:08
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 255 seconds]10:09
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:47
-!- mode/#webgui [+v BartJol] by ChanServ10:47
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui11:16
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]13:21
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui13:34
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has left #webgui []14:45
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:33
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui16:34
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.]16:37
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:59
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:59
-!- fokat [~lem@66.0.48.131] has joined #webgui18:23
-!- perlDreamer [~colink@c-67-189-17-211.hsd1.or.comcast.net] has joined #webgui18:25
-!- mode/#webgui [+v perlDreamer] by ChanServ18:25
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui18:28
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]18:30
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:42
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Ping timeout: 248 seconds]19:01
-!- qwebirc17138 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has joined #webgui19:01
qwebirc17138hello19:04
qwebirc17138I have the issue with wre-webgui (current & beta) installation on Scientific Linux 6.0 and Fedora 15.  When the wre console is stopped, Apache Modperl & Apache Modproxy stops also and site become unavailable.19:04
+perlDreamerthere are separate buttons on the console to stop it, vs modperl and modproxy19:07
+perlDreameryou're saying you leave the other ones up, and they still shut down?19:07
qwebirc17138Yes. I stop the Wre Console!19:08
+perlDreamerare there any error messages logged to the screen when you shut it down?19:11
qwebirc17138None on the console screen. And this on the site scree : Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.  19:15
+perlDreamerhow about in the modperl and modproxy error logs?19:18
* perlDreamer needs to drop out and go to the gym, I'll be back later19:18
-!- perlDreamer [~colink@c-67-189-17-211.hsd1.or.comcast.net] has quit [Quit: Leaving.]19:18
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui19:57
-!- carogray [~Caroline@64.134.152.162] has joined #webgui20:03
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds]20:19
-!- sbaur [~Adium@130.157.145.37] has quit [Ping timeout: 252 seconds]20:26
-!- sbaur [~Adium@130.157.145.37] has joined #webgui20:27
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui20:33
-!- mode/#webgui [+v perlDreamer] by ChanServ20:33
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui20:54
-!- kaare__ [~kaare@79.138.162.18.bredband.oister.dk] has joined #webgui20:55
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]20:55
-!- carogray [~Caroline@64.134.152.162] has quit [Quit: Leaving.]20:58
-!- kaare__ [~kaare@79.138.162.18.bredband.oister.dk] has quit [Ping timeout: 240 seconds]20:59
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui21:02
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui21:08
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Connection reset by peer]21:08
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui21:12
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 248 seconds]21:12
qwebirc17138<perlDreamer> my wre-webgui install on both fedora 15 and acientific linux 6.0 are giving me modperl and modproxy issues21:17
+perlDreamerissues aside from the one mentioned this morning?21:18
qwebirc17138Yes. Both Apache Modperl & Apache Modproxy stops on their own shortly after a restart while the console continues to  to run.21:19
+perlDreamerwhat's in the error logs?21:19
qwebirc17138modproxy error log: [Tue May 31 12:57:17 2011] [notice] caught SIGTERM, shutting down [Tue May 31 12:57:17 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue May 31 12:57:17 2011] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k configured -- resuming normal operations [Tue May 31 12:57:18 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:8081 (*) failed21:19
+perlDreamerif Feodra 15 and Scientific Linux are based on RHEL 6, the WRE is only released for RHEL5-like operating systems21:20
+perlDreamerthat are 32-bit21:20
+perlDreamerdid you download one, or compile it by hand from source?21:20
qwebirc17138Downloaded21:21
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]21:21
+perlDreamerhow about the modperl error log?21:22
qwebirc17138modperl error log: [Tue May 31 13:01:41 2011] [warn] pid file /data/wre/var/logs/modperl.pid overwritten -- Unclean shutdown of previous Apache run? [Tue May 31 13:01:41 2011] [notice] Apache/2.2.11 (Unix) WebGUI/7.10.17 mod_ssl/2.2.11 OpenSSL/0.9.8k mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations 21:22
+perlDreamerthat's all that's in the modperl error log?21:29
qwebirc17138...repeat21:29
+perlDreamerthe modproxy error log says that it cannot reach modperl (127.0.0.1:8081).  So, the modperl error log should say something about why it's dead21:31
+perlDreamerlike, a shutdown, an error, or something21:31
+perlDreamerthe error could be in the webgui.log, but not likely21:32
qwebirc17138modperl log : [Tue May 31 12:48:17 2011] [warn] pid file /data/wre/var/logs/modperl.pid overwritten -- Unclean shutdown of previous Apache run? [Tue May 31 12:48:17 2011] [notice] Apache/2.2.11 (Unix) WebGUI/7.10.17 mod_ssl/2.2.11 OpenSSL/0.9.8k mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations [Tue May 31 13:01:41 2011] [warn] pid file /data/wre/var/logs/modperl.pid overwritten -- Un21:32
qwebirc17138webgui log == empty21:33
+perlDreamerqwebirc17138, when you paste very long line, IRC cuts them off21:37
+perlDreamerso it would be better to use a "paste" site, like webgui.pastebin.com21:37
+perlDreamerpaste your content there, and then paste the little URL into the channel21:37
qwebirc17138thank you. modperl log link - http://pastebin.com/p5qq14QU21:39
+perlDreamerokay, nothing in there either21:40
+perlDreamerhow about /data/wre/var/logs/wremonitor.log?21:40
qwebirc17138modproxy log link - http://pastebin.com/S9zL2F8321:40
+perlDreamernothing in there either21:41
+perlDreamerit's really starting to sound like a RHEL5 vs RHEL6 issue21:41
qwebirc17138wremonitor log link - http://pastebin.com/ad02mNR721:41
+perlDreamerthat's interesting, it says the wremonitor killed 13 processes21:42
+perlDreamerthere is memory limiting code for the WRE in two places21:43
+perlDreamer1) /data/wre/etc/wre.conf - do not paste this file unless you change usernames and passwords  in it21:43
+perlDreamer2) /data/wre/etc/modperl.pl21:43
+perlDreameryou may need to adjust both of those21:43
jigouWhen I set up a new server last week, I needed to tweak the limits in modperl.pl to make my server happy. That's running on CentOS5, downloaded WRE.21:52
jigouBUT the logs were telling me that it was killing the processes due to size limits.21:53
qwebirc17138I doubled the memory in both places and it hasn't failed. Wre console is currently running.21:59
@preactionmaxMemory in the wre.conf is where the wremonitor.pl decides when to kill things22:00
@preactionmodperl.pl is a friendly kill22:00
-!- pbcj [~pbcj@71.90.6.215] has joined #webgui22:01
-!- mode/#webgui [+o pbcj] by ChanServ22:01
jigoupreaction: should adjustments to those limits be done in small increments, or are big moves like qwebirc17138 did allowable? 8 GB of RAM allocated in my case, so that's not really a limit...22:02
@preactionthe modperl.pl should be adjusted to what you want the max process size to be. so "Available Memory" / "MaxChild" = "max memory"22:03
@preactionthe maxMemory should be about double that, because it's a runaway process monitor22:03
jigouPerfect - thank you!22:04
@preactionavailable memory is "total memory" - "memory used by all other processes" - 10% for good measure22:04
+perlDreamerthe default memory limits in the WRE are for pre-WebGUI7.9, where we didn't include 3 translations along with WebGUI.22:06
+perlDreamerit's pretty common now for a default install to trigger those limits22:07
@preactionor Moose, or a bunch of other memory hogs22:08
+perlDreameryeah, although I remember the problem first happening before we added CHI or Net::Twitter22:08
+perlDreamerMoose definitely didn't help though22:08
+perlDreamerpreaction, word to the wise, before taking your cell phone to Verizon claiming that it's broken, try cleaning the battery contacts first.22:09
+perlDreamerit will save you much embarassment22:09
@preactioni'll keep that in mind, though i think i may have also had that experience22:09
jigouif you had an iphone, you wouldn't have to worry about that....because you wouldn't be able to ACCESS the battery contacts.  :D22:10
+perlDreamergood point!22:11
qwebirc17138Thank you! It seems that it was a memory issue. I will continue to monitor and hope its not rhel6 vs rhel5.22:14
+perlDreamerthat reminds me, I need to check if ssh clients for the Android support PKI22:17
jigouI use this for SSH on Android: http://code.google.com/p/connectbot/22:25
jigouDon't know if PKI is an option, though.22:25
* scrottie needs a good, stiff drink22:30
+perlDreamerjigou, from what I'm reading, it is22:30
* scrottie should also note that he's clocked out and was doing something other than $work, re: the drink comment22:30
+perlDreamerI'm tired of hauling my laptop around while I'm on call22:30
+perlDreamerin most cases to fix stuff you really just have to ssh in, check some log files and then do a restart22:30
jigouI hear you!22:31
+perlDreamerAndroids have full keyboards and they're lighter than laptops22:31
ckotilyeah, smartphones have allowed me to go out on friday nights during oncall weeks22:32
-!- dreamersgirl [~chatzilla@137.53.249.129] has joined #webgui22:43
-!- dreamersgirl [~chatzilla@137.53.249.129] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]]23:02
@scrottieI liked the computers-the-size-of-VHS tapes that were in vogue in tail end of the period in which VHS tapes were in vogue... the Fujitsu P1120, and the Atari Portfolio (Atari made a hand-held PC clone)23:23
@scrottierather than a slightly larger phone, a slightly smaller laptop seems like a good idea.23:24
@scrottieoh yeah, the OQO too.  those rock.23:25
@scrottiethe rooted Kindle looks like a really awesome machine too, free data service or no.  you can't even sit in a covered porch in Arizona and compute.  the daylight is too bright.  I'd trade color for daylight visibility.  I think, anyway.23:30
kthakorehi scrottie 23:40
@scrottieheeey kthakore23:59
--- Log closed Wed Jun 01 00:00:01 2011

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!