--- Log opened Sun May 01 00:00:01 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 01: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 #webgui | 12: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 #webgui | 18: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 #webgui | 18:51 | |
-!- daviddelikat [~user@adsl-76-204-91-139.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 23:07 | |
-!- daviddelikat1 [~user@76.201.148.64] has joined #webgui | 23: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 #webgui | 23:51 | |
--- Day changed Mon May 02 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00: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 #webgui | 00:26 | |
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui | 00: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 #webgui | 02: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 #webgui | 03:34 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 03: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 #webgui | 08:58 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:13 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:13 | |
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui | 12:53 | |
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui | 12: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 #webgui | 13: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 #webgui | 13:08 | |
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui | 13: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 #webgui | 13: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 #webgui | 13: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 #webgui | 13:56 | |
-!- carogray1 [~Caroline@108.113.230.159] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15:07 | |
SDuensin | Morning. | 15:46 |
---|---|---|
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15: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 #webgui | 16:57 | |
carogray | quick help? what is template syntax for <tmp_if.... | 17:40 |
carogray | for if someone is logged in - not admin on, but logged in, cannot find it quickly | 17:41 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:47 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:47 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:03 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:06 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:06 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:06 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 18:07 | |
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has joined #webgui | 18:07 | |
-!- mode/#webgui [+o khenn] by ChanServ | 18:07 | |
@khenn | morning! | 18:07 |
+perlDreamer | hey khenn! | 18:07 |
@khenn | I'm sad I had to miss rizen's dancer talk last month | 18:08 |
@khenn | I'm telecommute 2 days a week now so I will hopefully make it this month for WG8!! | 18:08 |
+perlDreamer | WebGUI 8 is going to be released this month. | 18:08 |
@khenn | yeah? | 18:09 |
@khenn | that's awesome | 18:09 |
+perlDreamer | Since it's too early for preaction to be awake, I feel free to spread unsubstantiated rumors about 8 | 18:09 |
@khenn | heh | 18:10 |
+perlDreamer | although, given the huge progress he's been making recently, that's probably not too far from the truth | 18:13 |
CIA-16 | webgui: Colin Kuskie master * r944c760 / (5 files in 5 dirs): Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. - http://bit.ly/ijdec3 | 18: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 #webgui | 18:36 | |
-!- mode/#webgui [+o khenn] by ChanServ | 18:36 | |
* scrottie0 parsed "miss rizen's dancer talk" as "Ms. Rizen's Dancer talk" | 18:52 | |
@khenn | heh | 18:53 |
SDuensin | Bring on 8! | 19:00 |
ckotil | sweet | 19:08 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 19:25 | |
-!- Netsplit *.net <-> *.split quits: vayde, Getty | 20:11 | |
-!- Netsplit over, joins: vayde, Getty | 20:12 | |
carogray | trying 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 |
carogray | I am just not sure how this works - | 21:22 |
scrottie0 | yo might want the GroupText macro | 21:23 |
scrottie0 | you | 21:23 |
scrottie0 | that 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 | |
scrottie0 | which template are you editing? which asset is it a template for? | 21:26 |
scrottie0 | what are you actually testing... whether they're allowed to view the content? | 21:29 |
+perlDreamer | ya, GroupText macro is the way to do that, although sometimes in can give you fits with quotes and such | 21:33 |
+perlDreamer | yet another thing we could do better with Template::Toolkit | 21:33 |
@preaction | is there anything TT can't do better? | 21:34 |
carogray | so... | 21:43 |
carogray | I 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 template | 21:44 |
carogray | I just want to throw something in there quickly | 21:44 |
carogray | If I do Template Tookit I have to redo the whole template x 2 | 21:44 |
carogray | I 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 TT | 21:45 |
+perlDreamer | carogray, then use the GroupText macro | 21:46 |
+perlDreamer | be sure to escape double quotes and commas in the HTML that you want to show | 21:46 |
+perlDreamer | because they can cause macro parsing errors | 21:46 |
carogray | can 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 |
+perlDreamer | well, to use the macro well, you'll need to set up 1 Group that holds all the groups that should see the link | 21:51 |
+perlDreamer | then you do | 21:51 |
+perlDreamer | ^GroupText(GroupName,<li class="off"><a href="^/;home/laccm-intranet" class="navLink">LACCM Intranet</a></li>); | 21:52 |
+perlDreamer | I think that will do it | 21:52 |
+perlDreamer | or, you may need to escape all those double quotes in there | 21:53 |
+perlDreamer | ^GroupText(GroupName,<li class=\"off\"><a href=\"^/;home/laccm-intranet\" class=\"navLink\">LACCM Intranet</a></li>); | 21:53 |
carogray | perfect! | 22:01 |
carogray | thanks so much! | 22:01 |
+perlDreamer | you're welcome carogray | 22:01 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:37 | |
carogray | perldreamer: perfect! It worked perfectly, quickly, easily and painlessly! You are my hero - once again! Thank you so much! | 23:24 |
CIA-16 | webgui: 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/jUcXDN | 23:51 |
--- Day changed Tue May 03 2011 | ||
* perlDreamer goes to pickup kids from school | 00: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 #webgui | 00:19 | |
+perlDreamer | KlausH! | 00:41 |
KlausH | hi. will we have a WUC this year? | 00:42 |
+perlDreamer | I haven't heard any plans for a WUC this year, so I suspect not | 00:42 |
KlausH | no Webgui 8, no WUC :-( | 00:42 |
+perlDreamer | no WebGUI 8 yet | 00:43 |
+perlDreamer | but coming soon | 00:43 |
+perlDreamer | preaction has been committing tons of code, and it's will be released before Perl 6 | 00:43 |
+perlDreamer | before Christmas | 00:43 |
+perlDreamer | before the world ends in 2012, for sure | 00:43 |
KlausH | great! | 00:43 |
KlausH | will help a lot for endig the world. | 00:44 |
scrottie0 | https://gist.github.com/952439 ... | 00:44 |
+perlDreamer | no clue, scrottie0, I haven't run any wg8 code since November/December-ish | 00:45 |
scrottie0 | hrm, diagnostic output made a lot more sense before I pasted it. | 00:45 |
+perlDreamer | you sure you're not having local problems again? | 00:45 |
scrottie0 | of course not. in fact, that's the first thing I suspect. | 00:45 |
@preaction | did the test case run WebGUI::Test->waitForAllForks? | 00:46 |
scrottie0 | if 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 |
scrottie0 | that's how I stumbled into this. | 00:46 |
scrottie0 | it waits forever there. | 00:46 |
@preaction | hmm... | 00:46 |
scrottie0 | that's when it actually creates an entry in the table. | 00:46 |
@preaction | i'd say that my waitForAllForks code is bad then | 00:46 |
scrottie0 | I'll continue chasing this, I just wanted to alert people what I was doing. | 00:46 |
scrottie0 | nope. looking at the database, there's an unfinished one in there. sometimes. | 00:47 |
@preaction | or worse, the fork code is bad. but i'd check my wait first | 00:47 |
scrottie0 | non-deterministic. | 00:47 |
@preaction | hm... | 00:47 |
@preaction | is there a child process even? | 00:47 |
scrottie0 | sometimes. | 00:47 |
@preaction | and when that child process is there, the db entry is too? | 00:47 |
scrottie0 | yup. | 00:47 |
+perlDreamer | fork code seems to work in 7 | 00:48 |
@preaction | it 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 |
scrottie0 | if init is called, forkAndExec() never runs as a backup and sendRequestToMaster works reliably. | 00:49 |
+perlDreamer | KlausH, did my response to the makeUrlCompliant bug make sense? | 00:49 |
scrottie0 | dunno. still tracing that bit. | 00:49 |
@preaction | hm... on my laptop no master process does warn, but still works correctly. maybe that's not true of all systems | 00:51 |
scrottie0 | oh 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 |
scrottie0 | but I'm not sure how many tests wind up creating forks. that could be unmanagable. | 00:52 |
scrottie0 | or maybe I'll just make it a test failure if waitForAllForks don't finish in a certain amount of time. | 00:53 |
@preaction | waitForAllForks turns async into sync, that was why i wrote it, but if you have a better idea it's welcome | 00:54 |
scrottie0 | this 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 |
scrottie0 | nasty, naughty, evil Zoot... | 00:56 |
+perlDreamer | scrottie0: I don't think hardly any tests accidently make forks, since you have to call *InFork directly | 00:57 |
+perlDreamer | plus, you could always change it and run it and see what goes into an infinite loop | 00:58 |
* scrottie0 nods | 00:58 | |
CIA-16 | webgui: 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/kf7ozZ | 01:01 |
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has quit [Ping timeout: 252 seconds] | 01:02 | |
+perlDreamer | scrottie0, that was fast! How long did it take your box to run the whole test suite? | 01:02 |
scrottie0 | I 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 |
scrottie0 | I can always count on sarcasm after each commit. | 01:03 |
scrottie0 | I agree though. the test suite needs a test suite. | 01:04 |
scrottie0 | I 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 |
@preaction | that's what was happening? | 01:05 |
scrottie0 | huh? | 01:05 |
@preaction | the previous wait waited but the fork didn't mark itself as completed? | 01:05 |
scrottie0 | don't know. still trying to sort this out. don't know if it's left over or where execution gets hung up. | 01:07 |
scrottie0 | just wanted to feel people out on it so I better knew which directions could I reasonably take this. | 01:07 |
scrottie0 | aha. the forked process biffs it. I'm not sure closing STDERR is the way to fly in this case... | 01:09 |
scrottie0 | we're still using test plans in WebGUI 8? bah. | 01:20 |
scrottie0 | what's this? these source code files contain ASCII? lame. | 01:21 |
CIA-16 | webgui: Scott Walters WebGUI8 * ree212a1 / (lib/WebGUI/Test.pm t/AssetHelper/Copy.t): | 01:27 |
CIA-16 | webgui: WebGUI::Test::waitForAllForks optionally taking a number of seconds to wait; | 01:27 |
CIA-16 | webgui: 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/lMHCXI | 01:27 |
scrottie0 | okay, 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 |
scrottie0 | I'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 #webgui | 02:12 | |
CIA-16 | webgui: Colin Kuskie master * red4ab25 / sbin/testEnvironment.pl : Set the correct version of the Google geocoder module. - http://bit.ly/mqhBSH | 02: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 #webgui | 04:35 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds] | 05:45 | |
CIA-16 | webgui: 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/mwhANl | 06:07 |
CIA-16 | webgui: Colin Kuskie master * r62f1f98 / docs/create.sql : Preparing for 7.10.15 release. - http://bit.ly/lsDiD8 | 06:09 |
+perlDreamer | 29 minutes, that has to be some kind of world record | 06:29 |
CIA-16 | webgui: Colin Kuskie master * re0491ac / (4 files in 4 dirs): Ready for 7.10.16 development. - http://bit.ly/iYOvYy | 06: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.com | 06:30 | |
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui | 08: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 #webgui | 09:02 | |
scrottie0 | https://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->new | 09:14 |
scrottie0 | and the test was failing when the forkId didn't match between the two calls to WebGUI::Fork. this should differ. | 09:14 |
scrottie0 | I'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 |
scrottie0 | are there failing tests and die-ing tests in general in the WG8 suite...? | 09:16 |
scrottie0 | if 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 |
@preaction | there are some failing tests yes, EMSSubmission.t comes to mind | 09:20 |
scrottie0 | okay. just want to make sure that I'm barking up trees that actually exist. | 09:20 |
@preaction | i have been working on the frontend, so it's possible i've screwed up some tests | 09:21 |
scrottie0 | or possibily exist. | 09:21 |
scrottie0 | re: 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 |
@preaction | that was meant to change | 09:22 |
* scrottie0 nods | 09:22 | |
scrottie0 | excellent. thank you. | 09:23 |
@preaction | the old API was to pass the asset into process(), but that had some problems | 09:23 |
CIA-16 | webgui: Scott Walters WebGUI8 * r5b5a7e9 / t/Admin.t : | 09:28 |
CIA-16 | webgui: "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-16 | webgui: 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/mqylbw | 09:28 |
* scrottie0 & | 09:28 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 09:45 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 09:45 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10: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 #webgui | 10:34 | |
-!- carogray [~Caroline@72-63-66-21.pools.spcsdns.net] has joined #webgui | 13:03 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14: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 #webgui | 15:05 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15: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 #webgui | 16:26 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16: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 #webgui | 17:02 | |
-!- khenn [a6898b1b@gateway/web/freenode/ip.166.137.139.27] has joined #webgui | 17:04 | |
-!- mode/#webgui [+o khenn] by ChanServ | 17: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 #webgui | 17:30 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:30 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 17: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 #webgui | 17:51 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18: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 #webgui | 19: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 #webgui | 19: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 | |
scrottie0 | frodwith, 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 |
@pbcj | lol | 22:15 |
@pbcj | I was just typing "quiet in here today" | 22:15 |
scrottie0 | can't just say "it's quiet in here". you have to find something to make noise about. | 22:15 |
@frodwith | could tie stderr with Tie::Log4perl | 22:15 |
@frodwith | or equivalent | 22:15 |
scrottie0 | forked 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 |
scrottie0 | er, hmm, strike that last remark. that's just confused/confusing. | 22:17 |
@frodwith | capturing it instead of sending it to the bitbucket is a good idea though. | 22:17 |
scrottie0 | I 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 |
@frodwith | Stuff that happens off in forked land can be kind of evil to debug. | 22:17 |
scrottie0 | yeah, I just discovered that the other day. | 22:18 |
@frodwith | Doesn't it trap dies already, and stuff them into the fork's error field in the db? | 22:18 |
scrottie0 | forks 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 |
scrottie0 | hmmm. | 22:19 |
@frodwith | mostly what's evil about fork debugging is debugging Fork itself, not the client code it's running. Or so I thought. | 22:19 |
scrottie0 | I think that's part of the problem... most of the tests fail over to the forkAndExec method | 22:19 |
scrottie0 | but nope, looks like init() doesn't either | 22:20 |
scrottie0 | daemonize just falls from the eval { } to POSIX::_exit(0) | 22:20 |
@frodwith | Well, it'd be nice if it did. | 22:20 |
* scrottie0 nods | 22:20 | |
scrottie0 | shall I commit something? or would you like to see what I'm doing first? | 22:20 |
scrottie0 | I'm looking at the WG8 copy here. it might be out of date too. | 22:21 |
@frodwith | I trust you, but I'll look at it if it makes you feel better :) | 22:21 |
scrottie0 | cool =) | 22:21 |
scrottie0 | runRequest 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 |
scrottie0 | and 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 |
scrottie0 | should fix it. | 22:27 |
scrottie0 | duh, no. if we can't open the session, we can't log stuff or access the database. | 22:46 |
@frodwith | this is all starting to sound familiar | 23:00 |
@frodwith | maybe 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 |
scrottie0 | yeah. 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 #webgui | 23: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 #webgui | 00:07 | |
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao] | 00:13 | |
CIA-70 | webgui: Doug Bell WebGUI8 * r1962317 / lib/WebGUI/Asset/Wobject/Dashboard.pm : fix Dashboard edit form - http://bit.ly/lTtHat | 01:12 |
CIA-70 | webgui: Doug Bell WebGUI8 * r74b8e36 / lib/WebGUI/Command/test_content.pm : add all the other assets - http://bit.ly/mdwNbT | 01:12 |
CIA-70 | webgui: Doug Bell WebGUI8 * r40805ce / lib/WebGUI/Asset.pm : log the error when we have one, don't just return it - http://bit.ly/lx9J0P | 01:12 |
CIA-70 | webgui: Doug Bell WebGUI8 * r7389128 / (lib/WebGUI/Image.pm lib/WebGUI/Image/Graph.pm): | 01:13 |
CIA-70 | webgui: must have a width/height in order to set width/height | 01:13 |
CIA-70 | webgui: Failing to give a proper width/height will cause ImageMagick to die | 01:13 |
CIA-70 | webgui: with an assertion error - http://bit.ly/lLqZyT | 01:13 |
CIA-70 | webgui: 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/mHpdKY | 01:16 |
CIA-70 | webgui: Scott Walters WebGUI8 * r3e59d0f / (t/AssetHelper/ChangeUrl.t t/AssetHelper/ExportHtml.t): no zombie forks a test criteria - http://bit.ly/mIch3j | 01:16 |
CIA-70 | webgui: Scott Walters WebGUI8 * rc8f2810 / t/AssetHelper/Duplicate.t : no zombie forks as a test criteria - http://bit.ly/klNFtq | 01:16 |
CIA-70 | webgui: Scott Walters WebGUI8 * r57e0fe8 / t/Fork.t : no zombie forks as a test criteria - http://bit.ly/m9VNPF | 01:17 |
scrottie0 | grep -e 'not ok' prove2.log | grep -v 'TODO' | wc -l # 56 | 01:19 |
scrottie0 | fwiw. | 01:19 |
@preaction | yeah, i'm gonna fix all the tests i've broke | 01:19 |
@preaction | before i move on to my next task | 01:20 |
scrottie0 | oh, okay. then I don't have to. | 01:20 |
scrottie0 | I'll just... um... do something else. | 01:21 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 01:24 | |
CIA-70 | webgui: Doug Bell WebGUI8 * rdaaf45b / (5 files): remove accordion JS (+6 more commits...) - http://bit.ly/iB7nNM | 01: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 #webgui | 03: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 #webgui | 07: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 #webgui | 10:20 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 11:33 | |
-!- carogray [~Caroline@108.113.132.48] has joined #webgui | 12: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 #webgui | 13: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 #webgui | 13:59 | |
-!- andyiomoon1 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui | 14:21 | |
-!- andyiomoon2 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15:16 | |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 16:04 | |
SDuensin | Mourning. | 17:05 |
+BartJol | ah, Scott is in a joyous mood again I see | 17:07 |
SDuensin | I'm in my fuzzy cube in an office that makes Dilbert look like he has the best job in the world. | 17:09 |
+BartJol | whoa, is there a comic about you? | 17:09 |
SDuensin | They 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 #webgui | 17:53 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18:16 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:20 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:20 | |
+BartJol | perlDreamer: pbcj I reanabled your accounts | 18:21 |
+BartJol | re-enabled | 18:21 |
@pbcj | excellent | 18:21 |
+perlDreamer | thanks, sir! | 18:21 |
+perlDreamer | we were afraid that it was a prelude to the Dutch declaring war | 18:21 |
+perlDreamer | first they cut-off your accounts | 18:21 |
+perlDreamer | then they expel the diplomats | 18:21 |
+perlDreamer | then they come and drink all your bier | 18:22 |
+perlDreamer | after that, it gets nasty | 18:22 |
@pbcj | first you get the money... | 18:22 |
+BartJol | we tried that with the beer | 18:22 |
+BartJol | our invasion wasn't big enough | 18:22 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:30 | |
+perlDreamer | hm, do you think he went to get reinforcements? | 18:33 |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:35 | |
-!- mode/#webgui [+o khenn] by ChanServ | 18:35 | |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 18:57 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 20:18 | |
@preaction | what is the difference between AdminToggle and EditableToggle? | 20:47 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 20:53 | |
mducharme-laptop | afternoon | 20:53 |
mducharme-laptop | I'm getting an error upgrading one site from 7.9.14 to 7.9.15 | 20:54 |
mducharme-laptop | other sites upgrade properly | 20:54 |
mducharme-laptop | http://pastebin.com/jbU4ipTE | 20:55 |
@preaction | that isn't an error, it's a warning. is there any problem the site is having? | 20:55 |
mducharme-laptop | I don't know, when I saw that I got scared and reverted back | 20:56 |
mducharme-laptop | if you think it's probably safe to ignore I will reupgrade and check | 20:58 |
mducharme-laptop | I 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 comb | 21:02 |
CIA-70 | webgui: Doug Bell WebGUI8 * r311db7b / (2 files in 2 dirs): remove the old asset manager from the config file (+6 more commits...) - http://bit.ly/lQ49er | 21:02 |
SDuensin | Why not run test-environment? | 21:02 |
@preaction | sbin/testEnvironment.pl | 21:02 |
SDuensin | Yea. Taht one. | 21:02 |
mducharme-laptop | right but then I can't use webguiupdate.pl, I have to like manually upload the new testEnvironment.pl to the server and run that first | 21:03 |
@preaction | scrottie0: a metric fuckton of tests just got fixed, i'm going over the www::mechanize ones now | 21:03 |
mducharme-laptop | do I not? | 21:04 |
@preaction | all webguiupdate.pl does is 1) download webgui 2) run /data/WebGUI/sbin/upgrade.pl | 21:04 |
mducharme-laptop | I know | 21:04 |
mducharme-laptop | which totally messes everything up if you haven't installed the perl modules first | 21:05 |
mducharme-laptop | I find that very bizarre | 21:05 |
@preaction | i say that because it's very simple, something you could do yourself with wget | 21:06 |
mducharme-laptop | why does webguiupdate.pl not download webgui, then run testEnvironment, then run uprade.pl | 21:06 |
CIA-70 | webgui: Doug Bell WebGUI8 * r2b42142 / t/Asset/AssetClipboard.t : went overboard on deleting from this test - http://bit.ly/lUo6bB | 21:06 |
mducharme-laptop | er upgrade | 21:06 |
@preaction | i'm fairly certain the next WRE will not have a webguiupdate.pl | 21:06 |
@preaction | and the current WRE doesn't do testEnvironment because nobody's added that | 21:07 |
SDuensin | Yea. Nuke it instead of making it work. :-P | 21:07 |
@preaction | no, much of the WRE's functionality is going into WebGUI itself | 21:07 |
scrottie0 | preaction, 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 |
@preaction | scrottie0: no, you reminded me of something i was all ready to completely neglect | 21:08 |
@preaction | SO THANKS A LOT | 21:08 |
scrottie0 | YOU'RE WELCOME | 21:08 |
mducharme-laptop | well I got 64-bit wre running on opensuse without much problem | 21:09 |
@preaction | that's fairly surprising really :p | 21:09 |
scrottie0 | actually, 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 |
@preaction | eh, i made some major changes and need to take the time to make the tests match those changes. | 21:10 |
mducharme-laptop | ok it looks like everything is fine | 21:26 |
mducharme-laptop | I guess I can ignore those messages then | 21:26 |
mducharme-laptop | this is strange | 21:27 |
mducharme-laptop | under "Statistics" how many active sessions should there be? | 21:27 |
mducharme-laptop | for a small site | 21:27 |
mducharme-laptop | this says 138310 | 21:27 |
@preaction | do your sessions expire? | 21:28 |
mducharme-laptop | to me that seems like an unusually high number of sessions | 21:28 |
mducharme-laptop | hmm? | 21:28 |
@preaction | is spectre running? | 21:28 |
@preaction | did you set your sessions so that they never expire? it's in settings | 21:28 |
scrottie0 | kompare has one example in its DESCRIPTION: cvs diff | kompare -o - | 21:28 |
mducharme-laptop | preaction - session timeout is set to one hour | 21:30 |
mducharme-laptop | and yes spectre is running | 21:30 |
@preaction | then maybe the workflow activity that cleans up expired sessions isn't running right | 21:31 |
@preaction | or at all | 21:31 |
mducharme-laptop | this is a newly setup server, I moved the site over from an old server | 21:32 |
mducharme-laptop | I 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 over | 21:33 |
@preaction | then 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 fixed | 21:33 |
mducharme-laptop | oh ok | 21:34 |
mducharme-laptop | it could be | 21:34 |
mducharme-laptop | we upgraded from like 7.8.15 or something | 21:34 |
@preaction | anyone 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-70 | webgui: Doug Bell WebGUI8 * recbaca5 / (2 files): formbuilder templatevar prefix must contain the underscore now - http://bit.ly/iGydNv | 21:49 |
@preaction | fairly well, as it turns out | 21:52 |
CIA-70 | webgui: Doug Bell WebGUI8 * r4a8b4c6 / t/Asset/Asset.t : class is now className for www_add - http://bit.ly/iGnd9S | 21:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * rcdcbf53 / t/Asset/Asset.t : | 21:53 |
CIA-70 | webgui: getToolbarState and toggleToolbar no longer exist | 21:53 |
CIA-70 | webgui: The toolbar can be put in any page, and the toggle is now simply | 21:53 |
CIA-70 | webgui: if you are in the Turn Admin On group - http://bit.ly/mpx2Bb | 21:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * r0c23ba8 / t/Asset/AssetClipboard.t : perhaps a good plan is in order... - http://bit.ly/kRxJDK | 21:59 |
scrottie0 | I'm getting a lot of "ERROR: Unable to run handler on WebGUI::Content::AssetManager: Could not load WebGUI::Content::AssetManager beca | 22:04 |
scrottie0 | use Can't locate WebGUI/Content/AssetManager.pm in @INC" | 22:04 |
@preaction | yeah, you need to wgd reset -d --config | 22:04 |
scrottie0 | oh. | 22:04 |
@preaction | i just added the upgrade that will remove the assetmanager content handler | 22:04 |
scrottie0 | ahh. right. | 22:04 |
scrottie0 | kompare 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 |
scrottie0 | bah. | 22:06 |
scrottie0 | need 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 |
scrottie0 | hmm, maybe they're right. | 22:08 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 22:20 | |
mducharme-laptop | hrm | 22:40 |
mducharme-laptop | another question.... | 22:40 |
mducharme-laptop | I had seen in a screenshot before the thingy allowed some sort of "LDAP Connection" field type | 22:40 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 22:40 | |
mducharme-laptop | that field type doesn't appear to be in the latest stable release | 22:40 |
@preaction | ldap connection fields probably won't work in the thingy | 22:44 |
mducharme-laptop | dammit | 23:19 |
mducharme-laptop | I want some easy way of having a company directory | 23:20 |
mducharme-laptop | without having to reinvent the wheel | 23:20 |
mducharme-laptop | we used to use novell's eGuide for that but they discontinued that | 23:21 |
scrottie0 | funny how software that people hate never gets discontinued. | 23:25 |
mducharme-laptop | well 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 that | 23:29 |
mducharme-laptop | instead we have paper phone lists typed up in word | 23:29 |
mducharme-laptop | and other manually entered things | 23:29 |
@preaction | and with that commit, the EMSSubmissionForm fixed, I take lunch! | 23:33 |
CIA-70 | webgui: Doug Bell WebGUI8 * rb0da37e / (8 files in 4 dirs): fix EMSSubmissionForm and all its tests - http://bit.ly/kB6WFC | 23: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 #webgui | 00:06 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 00:22 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 00: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 #webgui | 01: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 #webgui | 02: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 #webgui | 02: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 #webgui | 02: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 #webgui | 02:54 | |
-!- carogray [~Caroline@107.26.65.40] has quit [Ping timeout: 260 seconds] | 03:10 | |
-!- carogray [~Caroline@108.97.251.151] has joined #webgui | 03: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 #webgui | 03:24 | |
-!- carogray1 [~Caroline@173-145-41-169.pools.spcsdns.net] has joined #webgui | 03: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 #webgui | 03: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 #webgui | 04:01 | |
scrottie0 | 04:05 | |
scrottie0 | who | 04: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 | |
scrottie0 | error handling has changed a lot. | 05:28 |
scrottie0 | that's making things interesting here. | 05:28 |
scrottie0 | canShowDebug and related things are gone. | 05:29 |
scrottie0 | oh heck yeah. heck heck yeah. | 05:47 |
scrottie0 | I 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 #webgui | 06:11 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 06:11 | |
scrottie0 | unrelatedly, 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 |
scrottie0 | and 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 #webgui | 06:19 | |
-!- mode/#webgui [+o scrottie] by ChanServ | 06: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 #webgui | 07:51 | |
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 08:07 | |
-!- mode/#webgui [+v Radix__] by ChanServ | 08: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 #webgui | 08:37 | |
elnino | hi....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 |
elnino | it seems i'm hitting a limit somewhere. | 08:38 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:03 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 10:21 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 11:02 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:13 | |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 11:55 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 12:11 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 13:00 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 13: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 #webgui | 13:49 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 15:15 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15:46 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:02 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:02 | |
elnino | good 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 |
+BartJol | eeeh, where is that setting? | 16:38 |
elnino | my.cnf somewhere apparently. | 16:38 |
+BartJol | ah | 16:38 |
+BartJol | off course | 16:39 |
+BartJol | well, ik appears that is not defaullt set in the wre my.cnf | 16:40 |
+BartJol | s/ik/it/ | 16:40 |
elnino | hmm. | 16:40 |
elnino | apparently the defaul tis supposed to be 1024.. I'm assuming that's characters.... | 16:41 |
+BartJol | or bits... | 16:41 |
elnino | do you see if max_allowed_packet is set anywhere on webgui's hosting servers? | 16:41 |
+BartJol | max_allowed_packet=16M | 16:42 |
elnino | that allso affects group_concat_max_len | 16:42 |
elnino | 16M is big enough. =) | 16:42 |
+BartJol | I believe 16M is default | 16:42 |
elnino | well 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 #webgui | 16:46 | |
elnino | its the most gnarly mysql statement I've ever written. | 16:47 |
SDuensin | Morning. | 16:47 |
elnino | BartJol - you're looking at the webgui's hosting servers? or just webgui code? | 16:48 |
+BartJol | 1 of our servers that runs WebGUI | 16:48 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has left #webgui [] | 16:49 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 16:49 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 16:49 | |
elnino | do yo know who I'd ask about plainblacks' servers? | 16:49 |
+BartJol | everyone with a star before there name, except bop-bop I suppose | 16:49 |
+BartJol | maybe perldreamer | 16:50 |
elnino | preaction is sleeping without a star... | 16:50 |
+BartJol | ah, he should know too | 16:51 |
elnino | sorry 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 |
@frodwith | preaction is probably the one to ask, but he's probably asleep. | 16:53 |
elnino | thank you. | 17:04 |
+BartJol | they don't allow dutch people on their servers | 17:09 |
elnino | lol - thanks for your help BartJol | 17:10 |
* elnino steps away for acouple hours | 17:22 | |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 17:40 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17:40 | |
+BartJol | mmmm, strange i18n | 17:41 |
+BartJol | "You really don't need to know more than that." | 17:41 |
+BartJol | in Asset_Dashboard.isInitialized | 17:42 |
+BartJol | it makes me only curious | 17:42 |
@scrottie | people who ask too many questions about WebGUI are never heard from again. | 17:46 |
+BartJol | they are sucked into the plain black hole? | 17:46 |
@scrottie | exactly. where CPU load is so high that time stands still and no processes make it out of the vent horizon. | 17:48 |
@scrottie | event | 17:48 |
+BartJol | and committing more translations | 17:49 |
+BartJol | 99.8% | 17:49 |
@scrottie | is 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 #webgui | 17:59 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:59 | |
* scrottie waves to perlDreamer | 17:59 | |
+perlDreamer | yo dude! | 17:59 |
@scrottie | yoo. | 17:59 |
@scrottie | I 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 |
@scrottie | or maybe it does and I'm reading this wrong. | 18:04 |
+BartJol | dutch translation is complete once again | 18:09 |
@scrottie | BartJol++ | 18:09 |
+BartJol | that was a while ago | 18:09 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 18:11 | |
+perlDreamer | sorry BartJol, that shouldn't have taken as long as it did | 18:21 |
@scrottie | why is it that when I right click the edit tab, I don't get a menu? | 18:24 |
@scrottie | going to be very annoyed if I can't right click and open edit links in new tabs in the WG8 admin | 18:24 |
@scrottie | JS is great but unobtrusive JS is da domb | 18:25 |
@scrottie | bomb | 18:25 |
@scrottie | da DOM? | 18:25 |
@preaction | that doesn't quite work yet, actually | 18:27 |
@preaction | it's supposed to, but doesn't | 18:27 |
@scrottie | ah, okay. I forgive then. an IOU is fine. | 18:27 |
@preaction | a bunch of the menus don't work yet, only the one in the admin bar and the ones in the page icons | 18:28 |
@preaction | not the ones on the Tree view yet | 18:28 |
* scrottie nods | 18:28 | |
@scrottie | should make Mckenzie do new templates for the edit view. | 18:28 |
@preaction | wait, you mean right-click on the edit page? | 18:28 |
@scrottie | right click on the grey Edit icon | 18:28 |
@scrottie | that goes eg above chunks of content in a page layout after you turn admin on. | 18:29 |
@preaction | oh monkey. that's a button now, you'll have to alt-click | 18:29 |
@preaction | i 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 |
@scrottie | I for one would be very glad for that but I don't know where it fits in the grand scheme of things | 18:30 |
@preaction | 6 of one, half-dozen of the other. as long as it looks the same, which shouldn't be difficult to do | 18:30 |
@scrottie | I can see about doing that too if you're already doing something. | 18:31 |
@scrottie | with more than a couple of people, deciding becomes more of a hurdle than doing. | 18:31 |
@preaction | sure, go ahead | 18:31 |
@scrottie | w00t. | 18:31 |
@preaction | though, you should be able to right-click on the Edit menu option maybe? | 18:32 |
@preaction | which reminds me those need to be ordered somehow. i don't think that order is predictable yet | 18:32 |
@scrottie | yeah, looks so. | 18:33 |
@scrottie | re: right click edit in the drop down | 18:33 |
@preaction | but still, making the button into a link would make things easier | 18:33 |
@scrottie | er, no... links to the same url with '#' after it | 18:34 |
@scrottie | re: the drop down | 18:34 |
@preaction | weird | 18:34 |
@preaction | oh, right, onclick handler | 18:34 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:36 | |
@scrottie | only 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 |
@scrottie | not the old progress bar, mind you, but dhtmly one in a small grey rectangle in middle of the screen. | 18:54 |
@preaction | there are some bugs in my handling of the fork progresstree | 18:59 |
* scrottie nods | 18:59 | |
@preaction | not sure what the hashref is doing during the copybranch though | 18:59 |
@scrottie | cool. | 18:59 |
@preaction | the Tree view ones work, i think i screwed them up for the normal helpers during that though | 19:00 |
@scrottie | fwiw, every copy in the tree view copies 0 / 1 in the progress bar. | 19:04 |
@preaction | yeah, i think i'm using the wrong var for the "total number of things to copy" | 19:06 |
@preaction | but 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 |
@scrottie | sounds like a job for tie + Carp::cluck. | 19:07 |
@preaction | but 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 |
@preaction | and 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, 5 | 19:12 |
@preaction | perl -d saves the day again | 19:12 |
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 19:21 | |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds] | 19:23 | |
CIA-70 | webgui: 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/mifuVD | 19:24 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 19: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 #webgui | 19:47 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 19:47 | |
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 20:02 | |
-!- mducharme-lapto2 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 20:05 | |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds] | 20:06 | |
elnino | hi everyone! I'm back! | 20:07 |
@scrottie | hi elnino! | 20:07 |
@scrottie | elnino, character encoding interacts badly with field size limits. | 20:08 |
elnino | character encoding? | 20:08 |
@scrottie | yeah. 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 | |
@scrottie | but 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 |
@scrottie | create your table with charset=ascii. | 20:09 |
elnino | right. I don't think my question had anythign to do with encoding.. I was just wondering what the limit was for group_concat | 20:09 |
elnino | my query is performing a query on a table created by webgui - via thingy. | 20:09 |
@scrottie | ah. | 20:10 |
@scrottie | I was going to say next that I had no idea if I was reading you correctly. | 20:10 |
elnino | oh.. | 20:10 |
@scrottie | or if that's what the problem is. just *sounded* like something. | 20:10 |
elnino | I created a thingy, and have got a nifty query going on it. that works. | 20:10 |
@scrottie | I'm scared. | 20:11 |
elnino | it outputs a hyperlink | 20:11 |
@scrottie | nooooooooo!! | 20:11 |
elnino | but now I want to add an "onclick" property to my output | 20:11 |
elnino | I have to.. | 20:11 |
elnino | but once I added an onclick to it, the output exceeds 400 characters and gets cut off. | 20:12 |
elnino | creating invalid html | 20:12 |
elnino | The other alternative is to use jquery to add the onclick perperty. | 20:12 |
elnino | reason I'm adding the onclick property is that I'm using google analytics to track the outbound links I'm creating. | 20:12 |
@scrottie | oh, hmm. no idea where that limit is. | 20:12 |
elnino | my.cnf | 20:12 |
@scrottie | really? | 20:12 |
elnino | but I don't have access to plainblacks servers. | 20:12 |
elnino | according to the mysql docs. | 20:13 |
@scrottie | what has a 400 char limit? | 20:13 |
elnino | group_concat_max_len | 20:13 |
@scrottie | dammit. the more I learn about MySQL, the more I learn that Postgres really has their house in order. | 20:13 |
@scrottie | seriously. | 20:13 |
* scrottie sighs | 20:13 | |
@scrottie | you probably don't have admin access to the database either. | 20:14 |
elnino | correct. | 20:14 |
elnino | I'm just a customer. | 20:14 |
elnino | Barjol said that max_allowed_packet is set to 16M | 20:14 |
elnino | , which also affects the limit. | 20:14 |
elnino | I 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 |
elnino | and using the default sql report template, it's still being cut off, so it isn't my custom report template | 20:17 |
@scrottie | looks like they raised it in newer MySQLs. | 20:17 |
@scrottie | 1024. | 20:18 |
elnino | default 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 | |
@scrottie | ugh. well, ... | 20:18 |
@scrottie | MySQL sucks. | 20:18 |
elnino | I think we established that. =) lol I don't know any better db. so I have no opinion. | 20:19 |
elnino | but if you go changing it on me, I'm not going to be happy. | 20:19 |
elnino | lol | 20:19 |
@scrottie | yeah. that's the rub. | 20:20 |
@scrottie | we're entrenched. | 20:20 |
elnino | so tell me what you know.. is 1024 enough for me? | 20:20 |
@scrottie | show global variables where Variable_name = 'group_concat_max_len' -- this would let you confirm the setting | 20:20 |
elnino | I can't do a show command. I would of if I could of. | 20:20 |
@scrottie | can you open / have you opened a support ticket for this? | 20:20 |
elnino | nope. | 20:20 |
elnino | I thought it was an easy answer. | 20:20 |
elnino | =) | 20:21 |
@scrottie | couldn't a SQLReport do a show command? | 20:21 |
elnino | nope. not last time I looked. | 20:21 |
@scrottie | but that's mostly just a diversion. | 20:21 |
@scrottie | huh. I've never tried. | 20:21 |
elnino | actually know. the webgui db conection setup area doesn't allow me to add that provision. | 20:21 |
@scrottie | I 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 |
elnino | s/know/no | 20:22 |
elnino | oh, and yes, I *Can* open a ticket. I thought you asked if I *did* | 20:23 |
@scrottie | the way I phrased that, I was kinda asking two questions at the same time ;) | 20:23 |
* elnino will do that now. | 20:24 | |
+perlDreamer | you may have to make "show" an allowed keyword in the DatabaseLink that the SQL Report uses | 20:24 |
elnino | I can't seem to be able to dothat.. am I missing somethign? | 20:25 |
elnino | I'm using the webgui's database link. | 20:25 |
elnino | it's a "thingy" | 20:25 |
elnino | should I recreate a new webgui db link? | 20:25 |
elnino | what would the parambeters be? | 20:25 |
+perlDreamer | let's try this on a demo site... | 20:26 |
+perlDreamer | hm, that's correct | 20:27 |
elnino | the dblink? or package up my thingy? | 20:27 |
+perlDreamer | the dblink | 20:27 |
+perlDreamer | if you have a hosting type question about the db, it would be best to ask on the support board | 20:27 |
+perlDreamer | all PB's hosting is based off the WRE, so everything would be handled the same way | 20:27 |
+perlDreamer | I checked on 1 hosting server, and it's 1024 | 20:29 |
+perlDreamer | if every UTF-8 character was 3 bytes, then 400 wouldn't be enough | 20:30 |
elnino | so this is where I stumped scrottie. Is 1024, enough for me to output 402 characters? | 20:30 |
elnino | you're fast... | 20:30 |
+perlDreamer | I've been doing this for a while :) | 20:30 |
elnino | i'm glad i'm not crazy. | 20:30 |
+perlDreamer | I've known you for a while, and haven't known you to be crazy either | 20:30 |
elnino | is 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 |
elnino | thank you... lol | 20:31 |
+perlDreamer | what's the specific problem? | 20:31 |
elnino | I've got an impressive sql statemtn for a thingy I wrote, and i'm exceeding the concat_group limit. =) | 20:32 |
+perlDreamer | preaction, if you'd consider my latest Thingy ticket about packaging with and without table data, I'd love an opinion | 20:32 |
@preaction | it was packaged without table data because there was the other import/export method | 20:32 |
+perlDreamer | ah, good point! | 20:33 |
@preaction | in theory you could tie the two together, that might be nice | 20:33 |
@preaction | the future plan is to make packages more editable, so putting a csv blob in there might be good | 20:33 |
+perlDreamer | elnino, what's the SQL statement? | 20:33 |
elnino | I'll put it on pastebin.... | 20:33 |
+perlDreamer | preaction, so for now, this isn't a bug | 20:33 |
@preaction | it would be a feature if you want to do it | 20:34 |
+perlDreamer | it'd be nice to have an option to do it, or not, based on the usage case | 20:34 |
+perlDreamer | but we can get the data, and that's what matters for now | 20:34 |
elnino | http://pastebin.com/zGi5tQS2 | 20:35 |
+perlDreamer | huh | 20:36 |
+perlDreamer | if you had 10 rows with a 40 character entry, that'd be 400 | 20:37 |
+perlDreamer | ah, hang on | 20:38 |
+perlDreamer | it's group_concating the created URL's | 20:38 |
+perlDreamer | those are big | 20:38 |
+perlDreamer | I'm guessing something on the order of 150 characters per entry | 20:39 |
elnino | yep. | 20:39 |
elnino | in those hrefs, you see an "a" that is where a file path is supposed to tbe | 20:39 |
elnino | s/tbe/be | 20:39 |
elnino | I shorted it to "a" to see if it was a limit I was reaching. | 20:40 |
elnino | so I would say that each hyper link could be ... | 20:40 |
elnino | I figured 250 | 20:40 |
+perlDreamer | yeah, it's too big for more than 1 or 2 links | 20:41 |
elnino | well, 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 |
elnino | so. | 20:42 |
+perlDreamer | here are some options | 20:42 |
+perlDreamer | use JS to post-process the SQL Report output | 20:42 |
elnino | I 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 |
+perlDreamer | how about using the Thingy AJAX interfaces to do this? Would that work? | 20:42 |
elnino | My brain doesn't compute AJAX. It was hard enought o use yahoo api to make this a cool sortable table. =) | 20:43 |
+perlDreamer | it may not be as hard as you think | 20:44 |
+perlDreamer | each cell has a custom formatter | 20:44 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 20:44 | |
+perlDreamer | and you can probably make asyncRequests to lookup information for each cell | 20:44 |
+perlDreamer | it would be slow though | 20:44 |
elnino | wait....l. my children are having a break down.. Can I come back in an hour or two? | 20:45 |
+perlDreamer | sure :) | 20:45 |
elnino | sorry. thanks! | 20:46 |
elnino | oh.. and jsut so you can see, this is what it's producing: http://www.standfirm.us/download/alphabetical | 20:50 |
elnino | that'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 #webgui | 20:53 | |
+perlDreamer | elnino, I don't see any clipping going on, which row are you having problems with? | 20:56 |
+perlDreamer | I mean, you can save a little bit by taking out the "constant" strings like "with voice" and putting them into the template | 20:57 |
elnino | this 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 |
+perlDreamer | in fact... | 20:57 |
+perlDreamer | ah, I see | 20:57 |
+perlDreamer | which templating system are you using? | 20:58 |
elnino | the default. | 20:58 |
+perlDreamer | if you switched to Template::Toolkit | 20:58 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 20:58 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 20:58 | |
+perlDreamer | you could probably just output the unique bits as a delimited string | 20:58 |
+perlDreamer | then use TT to split it and generate the links | 20:59 |
+perlDreamer | that gets you out of the group_concat limit by only returning the "important" bits | 20:59 |
+perlDreamer | and putting the formatting logic into a template, where it really works well | 20:59 |
+perlDreamer | it would mean learning TT though | 20:59 |
+perlDreamer | but there are good resources for that | 20:59 |
+perlDreamer | and TT should be part of a standard hosting package | 20:59 |
+perlDreamer | preaction, my TT pain is up to about 4 days per week | 21:01 |
@preaction | yay? | 21:01 |
+perlDreamer | perhaps, but when I get to 5 I'm going to start planning a 7.x transition to TT to be discussed | 21:02 |
+perlDreamer | because it just sucks the hoops that people have to jump through | 21:02 |
elnino | well. | 21:04 |
+perlDreamer | elnino, here's a link to split in TT: http://template-toolkit.org/docs/manual/VMethods.html#method_split | 21:04 |
elnino | the "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 |
elnino | s/part/issue | 21:05 |
elnino | I see though the value of using TT | 21:06 |
elnino | fot the other stuff. | 21:06 |
elnino | I 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 |
+perlDreamer | I do | 21:08 |
elnino | as a hosting customer, do I have the optoin to use TT? | 21:09 |
+perlDreamer | I believe so, however it's my turn to tend to kids | 21:13 |
+perlDreamer | I'll get you an answer in about 30 minutes or so | 21:13 |
elnino | =) | 21:16 |
elnino | I looked. I don't currently have the option. | 21:24 |
+perlDreamer | where is this site hosted? | 21:31 |
elnino | with you. | 21:34 |
elnino | well, at plainblack. | 21:34 |
+perlDreamer | :) | 21:34 |
+perlDreamer | does it have more than domain name attached to it? | 21:34 |
elnino | yes. I have about 4/5 aliases | 21:35 |
elnino | pilgrimsongs.us is the "real" one | 21:35 |
+perlDreamer | it's enabled now | 21:38 |
elnino | thx! - Ill go that route... | 21:39 |
@scrottie | 1.5 gigs of RAM to show the error page? sure! | 21:45 |
+perlDreamer | that's some stack trace | 21:50 |
@scrottie | Data::Dumper of all of the lexicals for each frame plus all of the arguments for each frame | 21:51 |
@scrottie | 30 odd frames deep | 21:51 |
@scrottie | with big fat objects | 21:51 |
* scrottie vomits code all over the repo | 21:58 | |
+perlDreamer | well, it doesn't help that session is a huge nasty recursive object either | 21:58 |
CIA-70 | webgui: 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/johZZC | 21:58 |
CIA-70 | webgui: Scott Walters WebGUI8 * ra97c1c9 / lib/WebGUI/Middleware/StackTrace.pm : | 21:59 |
CIA-70 | webgui: middleware based on Plack::Middleware::StackTrace that also dumps all of the assets in a YUI tree view | 21:59 |
CIA-70 | webgui: because that seemed like a good idea at the time. - http://bit.ly/mwosqo | 21:59 |
CIA-70 | webgui: 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/iTEhms | 21:59 |
CIA-70 | webgui: Scott Walters WebGUI8 * r617ca06 / (lib/WebGUI/Middleware/StackTrace.pm sbin/testEnvironment.pl): | 21:59 |
CIA-70 | webgui: Tweak which stack frames WebGUI::Middleware::StackTrace skips for HTML and text | 21:59 |
CIA-70 | webgui: output; add the modules it uses to testEnvironment.pl; comment out the dumping | 21:59 |
CIA-70 | webgui: of the asset tree for now; silence a warning in testEnvironment.pl by tweaking | 21:59 |
CIA-70 | webgui: module test/load order - http://bit.ly/mphzb9 | 21:59 |
CIA-70 | webgui: Scott Walters WebGUI8 * r59a22f4 / (lib/WebGUI/Middleware/StackTrace.pm share/site.psgi): | 21:59 |
CIA-70 | webgui: set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was | 21:59 |
@scrottie | I 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-70 | webgui: making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the | 21:59 |
CIA-70 | webgui: error page up. | 21:59 |
CIA-70 | webgui: keep the HTML of the original page and tack it on to the end of the stack trace. | 21:59 |
CIA-70 | webgui: add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace, | 21:59 |
CIA-70 | webgui: but leave a comment for the other one in case people prefer it. - http://bit.ly/lKFgaY | 21:59 |
CIA-70 | webgui: Scott Walters WebGUI8 * r2f45f30 / lib/WebGUI/Middleware/StackTrace.pm : Doc improvements - http://bit.ly/l0iQrU | 22:08 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:19 | |
+perlDreamer | time to go running | 22:31 |
CIA-70 | webgui: Scott Walters WebGUI8 * r8485707 / t/PSGI/StackTrace.t : Basic tests for WebGUI::Middleware::StackTrace - http://bit.ly/mc31sx | 22:58 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 23:33 | |
@preaction | shortcut 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 | |
@preaction | huh. how did some of these tests work at all... | 23:51 |
CIA-70 | webgui: 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/jaL8ff | 23:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * ref2727f / (2 files in 2 dirs): update usedBy when redeeming subscription code - http://bit.ly/lrzJEn | 23:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * re34d1ad / t/Asset/Snippet.t : shortcut no longer overrides getToolbar, so stop testing it - http://bit.ly/mtbL4r | 23:55 |
CIA-70 | webgui: Doug Bell WebGUI8 * r6ae2862 / t/Asset/Wobject/EventManagementSystem.t : all template vars have "controls" now - http://bit.ly/lAOz85 | 23:56 |
CIA-70 | webgui: Doug Bell WebGUI8 * r65f3f35 / t/Asset/Wobject/GalleryAlbum/view.t : class is now className when doing www_add - http://bit.ly/mi9BdG | 23:57 |
+BartJol | whoa, wg8 is booming | 23:59 |
--- Day changed Fri May 06 2011 | ||
@preaction | we're very close to an alpha | 00:00 |
@preaction | i'm right now making all our tests pass | 00:00 |
@preaction | then i'll probably test the upgrade against a local copy of pb.com and wg.org and if that works, mark an alpha | 00:01 |
@preaction | while i then go and fix helpdesk and automat for 8 so pb.com and wg.org can be actually upgraded | 00:01 |
+perlDreamer | and KarmaGifter, and the Karma payment plugin | 00:02 |
+perlDreamer | and whatever raft of other custom software's running on that box | 00:02 |
@preaction | right | 00: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 | |
@scrottie | perl -e '*d = *a; print $d[0];' | 01:43 |
@scrottie | "String evals will no longer fail after 2 billion scopes have been compiled" | 01:51 |
@preaction | who's a jigga what? | 01:56 |
@preaction | i suppose for long long long long running processes | 01: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-70 | webgui: Doug Bell WebGUI8 * ra476f09 / t/Asset/Wobject/Shelf.t : Shelf no longer has importProducts or exportProducts, they're AssetHelpers - http://bit.ly/k0pGwx | 02:52 |
CIA-70 | webgui: Doug Bell WebGUI8 * r140b5a5 / (2 files in 2 dirs): move Shelf tests into AssetHelper tests (and fix the thing) - http://bit.ly/mKjffD | 02: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 #webgui | 03:16 | |
@scrottie | DateTime doesn't list its deps very well... needs Class::ISA and List::MoreUtils and... | 03:18 |
@scrottie | DBD::mysql doesn't build cleanly on 5.14.0-rc2 | 03:19 |
@scrottie | ImageMagick is apparently just on crack | 03:21 |
@scrottie | I say we replace it with NetPBM. | 03:22 |
@scrottie | hrm, making an Image::Magick-work-a-like API based on NetPBM would be fun, if I were targetting an incomplete solution | 03:26 |
CIA-70 | webgui: Doug Bell WebGUI8 * r18dd9a4 / (2 files in 2 dirs): move export product tests and fix the export product helper - http://bit.ly/mlzp88 | 03:28 |
CIA-70 | webgui: Doug Bell WebGUI8 * rd7339c9 / t/Asset/Wobject/StoryArchive.t : class is now className in www_add - http://bit.ly/mliJlI | 03:30 |
CIA-70 | webgui: Doug Bell WebGUI8 * r36923dc / t/Asset/Wobject/WikiMaster/search.t : class is now className in www_add - http://bit.ly/lUKlqg | 03:30 |
CIA-70 | webgui: Doug Bell WebGUI8 * r61eff5b / t/Asset/dispatch.t : the default URL is /, not the empty string - http://bit.ly/kLPqHt | 03:37 |
CIA-70 | webgui: Doug Bell WebGUI8 * rbf75ed1 / t/Content/SiteIndex.t : we now cache the requested URL inside the session, fix it for tests - http://bit.ly/jrvNRT | 03:37 |
CIA-70 | webgui: Doug Bell WebGUI8 * rf33f4db / t/Macro/AdminText.t : admin mode is always on for admins - http://bit.ly/m6eQyT | 03:37 |
@preaction | 6 failing test scripts left! | 03:41 |
@scrottie | # Failed test 'use Crypt::SSLeay;' | 03:43 |
CIA-70 | webgui: 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/lgot5I | 03:44 |
CIA-70 | webgui: Doug Bell WebGUI8 * r0693e33 / t/Shop/ShipDriver/FlatRate.t : getEditForm is a FormBuilder and doesnt include csrfToken (added by www_edit) - http://bit.ly/k2yNQg | 03:46 |
@preaction | One of these pictures was rotated 90 degrees and then back again by Imagemagick. guess which one? | 03:52 |
@preaction | http://dl.dropbox.com/u/226725/Screen%20shot%202011-05-05%20at%207.51.31%20PM.png | 03:52 |
CIA-70 | webgui: Doug Bell WebGUI8 * r6b0cd93 / (t/Storage.t t/Storage/Image.t): i'm not testing that imagemagick does it correctly... - http://bit.ly/mbhUQI | 04:02 |
elnino | HELLO! THANK YOU for http://www.webgui.org/wgtv/template-toolkit-introduction and http://www.webgui.org/ht_to_tt!!! | 04:11 |
@preaction | thank bopbop and frodwith respectively | 04:11 |
elnino | thank you thank you! | 04:12 |
@preaction | scrottie: 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 |
@scrottie | cool. yeah, I'll do before and after the Plack "fix". thank you. | 04:19 |
@scrottie | POE::API::Peek falls apart under 5.14. | 04:20 |
@scrottie | though I think the tests that I would cause to fail don't exist and need to be written. | 04:36 |
@scrottie | I don't see Class::InsideOut used anywhere but it's still in testEnvironment.pl. kill? | 04:38 |
@preaction | please | 04:38 |
@preaction | and take great joy in it | 04:38 |
* scrottie nods | 04:39 | |
@scrottie | I 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-70 | webgui: Scott Walters WebGUI8 * r13a2c35 / lib/WebGUI/Middleware/StackTrace.pm : | 04:43 |
CIA-70 | webgui: Get rid of the cargo culted code about sending a text reply if the browser didn't specify | 04:43 |
CIA-70 | webgui: that it understands HTML. This interacts badly with Plack::Test and doesn't have much of | 04:43 |
CIA-70 | webgui: a point in real life anyway, and I accidentally sent the test up that dends on this being | 04:43 |
CIA-70 | webgui: gone without sending this too. Argh. If I could send up a coherent commit just once... - http://bit.ly/kOGLgJ | 04:43 |
CIA-70 | webgui: 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/jMGU9b | 04: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 #webgui | 06: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 #webgui | 07:08 | |
elnino | hi. in the template world, is session.var.adminOn a hash array reference? | 07:09 |
@preaction | no, it's just a boolean | 07:10 |
elnino | so.. I was all excited about http://www.webgui.org/ht_to_tt, but it didn't seem to work. | 07:10 |
elnino | it converted session.var.adminOn into session_var_adminOn - would that be correct? | 07:11 |
elnino | I'm trying to debug the resulting tt and just want to make sure I'm reading this correclty. | 07:11 |
@preaction | yes, TT requires that any var with . becomes _ | 07:11 |
@preaction | because . is reserved by TT's use | 07:12 |
@preaction | so if it says it has a . in the help, it should be a _ instead | 07:12 |
elnino | the converter also converted <tmpl_loop debug_loop> to | 07:13 |
elnino | FOREACH item IN debug_loop; FOREACH [item] | 07:13 |
elnino | would that be a correct conversion? | 07:13 |
elnino | I would think it would simply be: | 07:14 |
elnino | FOREACH debug_loop | 07:14 |
@preaction | no, it's FOREACH item IN debug_loop | 07:15 |
@preaction | then inside the loop, you refer to item | 07:15 |
elnino | not occording to http://www.webgui.org/wgtv/template-toolkit-introduction presentation.... Oh I'm so confused. | 07:16 |
@preaction | http://template-toolkit.org/docs/manual/Syntax.html <- the definitive source | 07:16 |
@preaction | also, http://template-toolkit.org/docs/manual/Directives.html | 07:17 |
@preaction | specifically http://template-toolkit.org/docs/manual/Directives.html#section_FOREACH | 07:17 |
elnino | yes, that's where I started to ask here. Cause they didn't agree. =) | 07:17 |
@preaction | they're both correct, but the one the converter did is better | 07:17 |
elnino | what it converted didn't work, and i made sure I changd the "template type" too | 07:18 |
elnino | even 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 |
elnino | oh. I guess they do. something else is preventing them from displaying. | 07:20 |
elnino | I guess I'll go and include each line back in at a time. | 07:20 |
elnino | Thanks! | 07:20 |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 264 seconds] | 07:44 | |
elnino | AH HA! | 07:56 |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 07:56 | |
elnino | did that show up? | 07:56 |
elnino | darn. | 07:57 |
elnino | there is a | 07:57 |
elnino | slash *<![CDATA[* slash | 07:57 |
elnino | showing up in my html code.. that shouldn't be there. | 07:57 |
elnino | I'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 |
elnino | yes. It appears and I don't know how to get rid o fit. | 08:16 |
@preaction | as long as it has a matching /*]]>*/ at the end and you're using an XHTML doctype, it shouldn't matter | 08:16 |
elnino | oh 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 HT | 08:17 |
elnino | s/i todes/it does | 08:17 |
elnino | Ot | 08:18 |
elnino | opps | 08:18 |
elnino | it does have that slash*]] stuff at the end... | 08:18 |
elnino | I'll do a pastebin. | 08:18 |
elnino | http://pastebin.com/fPEGygPj - I stripped out a lot of the javascript | 08:21 |
@preaction | what is the error you're getting? | 08:22 |
@preaction | and pastebin the entire thing | 08:22 |
@preaction | the template preferably | 08:22 |
elnino | http://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 #webgui | 08:24 | |
@preaction | there is no cdata stuff in there. did you turn on the compressed or minified template? | 08:25 |
elnino | compressed | 08:25 |
@preaction | that is probably what's doing it then | 08:25 |
elnino | right. the cdata is appearing in the output. | 08:25 |
elnino | oh. let me try that then. | 08:25 |
elnino | OK.. so I turned "packed" off and the CDATA disappeared. but report is still not displaying. grr. back to drawing board again. | 08:27 |
@preaction | the cdata block is not incorrect, it is the correct way to escape non-XML inside of XML | 08:28 |
@preaction | otherwise the <a href> and everything needs to be <a href> to be valid XML | 08:28 |
elnino | I think I found it... my attempt at debugging. | 08:28 |
elnino | darn. | 08:30 |
elnino | didn't work. | 08:30 |
elnino | this is the output http://pastebin.com/4dgy0X3H | 08:35 |
elnino | I'm missing commas.. let me fix that... | 08:36 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 08:38 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 08:38 | |
@preaction | you've got some barewords in there | 08:41 |
@preaction | javascript: pageTracker._trackPageview(/mp3/voice/a); <- /mp3/voice/a needs quotes | 08:41 |
@preaction | also, onclick doesn't need javascript: | 08:42 |
@preaction | also it's all lowercase | 08:42 |
@preaction | (onclick) | 08:42 |
elnino | ok I change that too. I copied from google =) | 08:42 |
elnino | it was the comma. not sure why [% UNLESS loop.last %],[% END %] doesn't work. | 08:47 |
elnino | that's what the converter gave me. | 08:47 |
elnino | I'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 #webgui | 09:19 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:21 | |
-!- andyiomoon [~andyiomoo@vpn246-12.cc.swin.edu.au] has quit [Ping timeout: 240 seconds] | 09:23 | |
elnino | thanks 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 |
elnino | good 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 #webgui | 10:00 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:08 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:08 | |
-!- cromartie-x182 [~cromartie@24.229.243.68.res-cmts.sm.ptd.net] has joined #webgui | 10: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 #webgui | 13:49 | |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 15:47 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:41 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:41 | |
SDuensin | FrIdAy! | 16:51 |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 17:02 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:30 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:56 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:56 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:57 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:57 | |
@pbcj | mornin' | 17:59 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 18:03 | |
sbaur | happy friday! | 18:06 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:08 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 18:33 | |
-!- preaction_ is now known as preaction | 18:47 | |
CIA-70 | webgui: Doug Bell WebGUI8 * r5cefff9 / t/Workflow/Activity/RemoveOldCarts.t : make RemoveOldCarts test more robust - http://bit.ly/jOUMJD | 21:20 |
+perlDreamer | preaction: need a backport to 7.x? | 21:21 |
@preaction | maybe? | 21:21 |
@preaction | it could probably use it, that test fails when run in conjunction with any other shop test that fails to clean up every cart | 21:22 |
+perlDreamer | like, in parallel? | 21:25 |
+perlDreamer | every test should clean up carts | 21:25 |
+perlDreamer | anyway | 21:25 |
+perlDreamer | if it doesn't then I can give you a boot | 21:25 |
+perlDreamer | since I likely wrote all those tests | 21:25 |
+perlDreamer | and I should know better | 21:26 |
@preaction | sure they should, but other tests shouldn't care what carts are there before it | 21:27 |
+perlDreamer | preaction, I have to run, but I got to thinking about 7.10 and a feature freeze | 22:24 |
+perlDreamer | when should we freeze? | 22:24 |
@preaction | i was thinking when 8 goes beta | 22:25 |
@preaction | well, after 8 goes beta we'll announce it | 22:25 |
+perlDreamer | so, give a few weeks for the stragglers, then lock it down? | 22:25 |
@preaction | more like give 8 beta a few weeks to calm down then lock 7.10 | 22: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 #webgui | 00:01 | |
+perlDreamer | bah | 00:24 |
+perlDreamer | 8 will wow the world | 00: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 #webgui | 00:25 | |
-!- mode/#webgui [+o preaction] by ChanServ | 00:25 | |
CIA-70 | webgui: 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/lORzAb | 00:40 |
+perlDreamer | now, come on preaction | 00:42 |
+perlDreamer | you and I have clearly defined roles | 00:42 |
+perlDreamer | you get to be the young, dynamic architecture wizard | 00:43 |
CIA-70 | webgui: 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/lJhulz | 00:43 |
+perlDreamer | and I am the old, crotchety, cynical, skeptical maintenance engineer | 00:43 |
@preaction | i object to three of those words :p | 00:43 |
+perlDreamer | if you start being cynical, I'll have to be young or dynamic | 00:43 |
+perlDreamer | and that won't be pretty | 00:43 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 01: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 #webgui | 03: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 #webgui | 08:44 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:58 | |
-!- docster_ [~docster@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui | 18: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.23 | 18: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 be | 19: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 #webgui | 20:34 | |
elnino | openid scares the bejeebies out of me. Can anyone convince me why it shouldn't? | 20:36 |
elnino | and 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 #webgui | 21: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 #webgui | 03:23 | |
arcanez | seen rizen | 03:23 |
arcanez | perlbot: bad bot | 03:23 |
perlbot | arcanez: 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 #webgui | 08:03 | |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 08: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 #webgui | 08:09 | |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 08:09 | |
-!- lem_ is now known as Guest2695 | 08: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 #webgui | 09: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 #webgui | 12: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 #webgui | 18: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 #webgui | 03: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 #webgui | 08:45 | |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 10:03 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 10:04 | |
-!- Haarg [~haarg@haarg.org] has quit [Excess Flood] | 10:04 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 10:05 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:31 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:31 | |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 12:20 | |
-!- carogray [~Caroline@174-146-225-64.pools.spcsdns.net] has joined #webgui | 13: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 #webgui | 13:28 | |
-!- carogray1 [~Caroline@108.96.165.210] has joined #webgui | 13: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 #webgui | 13: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 #webgui | 14:02 | |
-!- mode/#webgui [+o khenn] by ChanServ | 14: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 #webgui | 15:21 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:30 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:30 | |
SDuensin | Greetings. | 16:57 |
arcanez | where is that rizen fellow | 16: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 #webgui | 17:04 | |
-!- mode/#webgui [+o khenn] by ChanServ | 17:04 | |
+BartJol | arcanez: he doen't hang out here too much lately | 17:35 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:37 | |
arcanez | that doesn't sound like much fun :( | 17:46 |
+BartJol | nope | 17:48 |
arcanez | does he irc _at all_? | 17:48 |
+BartJol | now and then | 17:48 |
+BartJol | I also have the problem of 7 hours time difference with him | 17:48 |
+BartJol | so it might also be that that is part of the problem | 17:49 |
arcanez | .nl? | 17:49 |
+BartJol | yes | 17:49 |
arcanez | great as everyone says? | 17:49 |
+BartJol | off course | 17:49 |
@preaction | he doesn't do much webgui work these days | 17:51 |
arcanez | all lacuna? :) | 17:51 |
@preaction | that and www.thegamecrafter.com 2.0 | 17:51 |
@preaction | fortunately he left a capable lieutenant in charge of the webgui | 17:52 |
arcanez | I just wanted to talk to him about Facebook::Graph :) | 17:52 |
@preaction | he might be in #lacuna-expanse | 17:53 |
@preaction | nm, e-mail perhaps? | 17:53 |
arcanez | is he responsive on that? | 17:54 |
@preaction | as far as i know yes, but i've got an in | 17:56 |
@preaction | otherwise if there's a github repo, he'll probably respond to tickets | 17:57 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:59 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:59 | |
+perlDreamer | morning, folks | 17:59 |
+perlDreamer | BartJol, you can give Rory a big high-five for posting that reCaptcha bug | 18:00 |
arcanez | k | 18:03 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:03 | |
CIA-70 | webgui: Paul Driver master * rf153882 / (3 files in 3 dirs): rfe #12123: Layouts related for export purposes - http://bit.ly/jctU3g | 18:04 |
+perlDreamer | frodwith, pretty soon WebGUI will just export the whole thing :) | 18:05 |
@frodwith | :( | 18:05 |
+perlDreamer | well, you already get related layouts | 18:06 |
+perlDreamer | and if the layouts export all their children... | 18:06 |
@frodwith | they don't, actually | 18:06 |
+perlDreamer | maybe I should read your code intead of making dumb comments based on the commit messages | 18:06 |
@frodwith | it's not a dumb comment | 18:07 |
arcanez | webgui runs on mod_perl? | 18:07 |
@frodwith | I had/have the same concern | 18:07 |
@frodwith | yeah arcanez, although webgui 8 is a psgi app | 18:07 |
+BartJol | perlDreamer: he just left the building | 18:07 |
@frodwith | perlDreamer: 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 |
@frodwith | So 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 |
+perlDreamer | I don't get the "exporting this may invalidate these other assets" part. | 18:11 |
@frodwith | let's say you've got an article on a layout | 18:12 |
+perlDreamer | k | 18:12 |
@frodwith | and you've exported your whole site at some point | 18:12 |
@frodwith | so you've got a static version of your site sitting around | 18:12 |
@frodwith | and you go and edit the article | 18:12 |
+perlDreamer | ah, okay | 18:12 |
@frodwith | now, you don't want to export your whole site again, cause it took an hour | 18:12 |
@frodwith | yeah, you've got it | 18:12 |
@frodwith | :) | 18:12 |
+perlDreamer | and in the odd case I was thinking of | 18:13 |
+perlDreamer | I want to export a branch of my site | 18:13 |
+perlDreamer | this is the first export ever | 18:13 |
+perlDreamer | there's a related asset "over there" | 18:13 |
+perlDreamer | and I not only get it, but it's container as well | 18:13 |
@frodwith | in that case, I think you wouldn't want to export related assets at all | 18:14 |
+perlDreamer | probably | 18:14 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 18:15 | |
+perlDreamer | it would certainly wreak havoc with the funky broken navigation that would be generated on the related asset | 18:18 |
@frodwith | I 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 else | 18:19 |
@frodwith | I mean, I suppose you could monkeypatch Asset::New and see what all gets loaded when you export the page | 18:20 |
+perlDreamer | yeah, like the UserList asset, which can give you links to user profiles | 18:20 |
+perlDreamer | any other kind of account link | 18:20 |
@frodwith | yeah | 18:20 |
+perlDreamer | actually, anything that isn't an asset won't export well | 18:20 |
+perlDreamer | FilePump content | 18:21 |
@frodwith | i think static stuff generally avoids talking about users at all though | 18:21 |
@frodwith | We 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-70 | webgui: 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/khiHcW | 18:25 |
CIA-70 | webgui: 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/kxBjME | 18:25 |
-!- arcanez [arcanez@warpedreality.org] has left #webgui [] | 18:29 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:44 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 18:44 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 18:52 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 18: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 #webgui | 20:17 | |
-!- mode/#webgui [+o khenn] by ChanServ | 20:17 | |
+perlDreamer | preaction: so the folks at Google have bought Recaptcha | 20:49 |
+perlDreamer | and this month they've decided to stop using the old recaptcha URLs | 20:49 |
SDuensin | Oh fun. | 20:50 |
+perlDreamer | and use bright shiny new google URLs for doing recatpcha fetches and verifies | 20:50 |
+perlDreamer | I have fixed that bug for 7.9 and 7.10 | 20:50 |
+perlDreamer | but there are folks out there with earlier versions | 20:50 |
+perlDreamer | do we release an advisory with patches, or just notify them so they can upgrade? | 20:50 |
@preaction | perlDreamer: i'd say notify them so they can upgraydd | 20:59 |
+perlDreamer | hm either you need coffee, of you're secretly saying that upgrading is a gray issue | 20:59 |
+perlDreamer | but I'll do that | 20:59 |
@preaction | it's not tat big of a deal | 20:59 |
sbaur | um, I'd say upgrading is a huge deal for some of us... | 21:02 |
SDuensin | Upgrading scares me. | 21:03 |
+perlDreamer | sbaur, in the advisory I'll post a link to the bug | 21:03 |
+perlDreamer | the bug lists the commit to fix the bug | 21:04 |
+perlDreamer | so it can be backported by anyone who is stuck due to custom code or lack of resources to do it | 21:04 |
+perlDreamer | in, fact, if you're curious, it's this one http://bit.ly/khiHcW | 21:05 |
sbaur | Thanks pD. Now I just have to remember which of my servers/sites are using recaptcha... | 21:06 |
+perlDreamer | are your servers using the same version of WebGUI? | 21:07 |
+perlDreamer | if so, then just patch 1, then copy Form/Captcha to the rest | 21:07 |
sbaur | currently, they are, but probably not for much longer | 21:07 |
sbaur | yup | 21:08 |
sbaur | but it would be good to have a site in mind to test on after the patch is applied :-) | 21:08 |
+perlDreamer | true | 21:08 |
+perlDreamer | you're using WebGUI 7.6? | 21:09 |
sbaur | 7.5.40 | 21:09 |
+perlDreamer | hm, wgd has a "for-each" command | 21:09 |
+perlDreamer | where it will do another command on each site via the config files | 21:09 |
* sbaur hasn't played with wgd at all yet | 21:09 | |
+perlDreamer | wgd is a life saver | 21:10 |
+perlDreamer | for example, to find the sites using recaptcha | 21:10 |
+perlDreamer | wgd for-each setting useRecaptcha | 21:10 |
+perlDreamer | will help you find that | 21:10 |
sbaur | nice | 21:10 |
+perlDreamer | Haarg did lots of work to make sure it would work with earlier versions of WebGUi | 21:10 |
+perlDreamer | so it might be worth a try | 21:11 |
+perlDreamer | otherwise, a little script will do the same thing | 21:11 |
Haarg | i 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 |
+perlDreamer | does wgd work back to 7.5.40 Haarg? | 21:14 |
sbaur | Actually, 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 |
+perlDreamer | yay! | 21:14 |
Haarg | perlDreamer it should | 21:14 |
+perlDreamer | Go learn wgd anyway sbaur. You'll be happy you did :) | 21:14 |
sbaur | It's on my list already... | 21:14 |
Haarg | perlDreamer, have you seen any servers where wgd fails to load its documentation? | 21:17 |
+perlDreamer | no, but I haven't really looked, either | 21:18 |
+perlDreamer | I'll start keeping my eyes open | 21:18 |
+perlDreamer | I know that on my Ubuntu box it works fine | 21:18 |
+perlDreamer | and on every CentOS box I've ever looked at | 21:18 |
Haarg | generally the short help work but long help fails | 21:18 |
Haarg | and 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 |
+perlDreamer | whoa | 21:19 |
+perlDreamer | got one right now | 21:19 |
+perlDreamer | what would you like to know? | 21:19 |
Haarg | hmm | 21:19 |
+perlDreamer | this is a WRE using site 0.9.3 | 21:20 |
+perlDreamer | CentOS 5.5 (shouldn't matter that much) | 21:20 |
Haarg | can you try running from wgd source instead of the single file? | 21:20 |
Haarg | give me a minute and i can get you a tarball so you don't have to build it | 21:20 |
+perlDreamer | thanks :) | 21:20 |
+perlDreamer | perl 5.10.0 | 21:21 |
Haarg | recent version of dzil actually did add a thing to help me fix it so it's easy to get all the build prereqs | 21:22 |
Haarg | http://haarg.org/temp/WGDev-0.1105090.tar.gz | 21:22 |
+perlDreamer | this is odd | 21:23 |
+perlDreamer | I ran perl Makefile.PL | 21:24 |
+perlDreamer | and it build a makefile | 21:24 |
+perlDreamer | ran make | 21:24 |
+perlDreamer | then when I ran make test it complains about Try::Tiny missing | 21:24 |
+perlDreamer | maybe a missing dependency? | 21:24 |
Haarg | possibly | 21:24 |
+perlDreamer | let me install that, then run make test again | 21:24 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 21:25 | |
+perlDreamer | nope | 21:26 |
Haarg | ? | 21:26 |
+perlDreamer | long help still not working | 21:26 |
+perlDreamer | but Try::Tiny should still be added | 21:27 |
Haarg | ok, that's a start. so definitely something wrong with the code and not the packaging. | 21:27 |
Haarg | yeah. 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 |
+perlDreamer | oh, okay | 21:27 |
Haarg | but yeah, i'll fix that | 21:27 |
+perlDreamer | and perl -d didn't like running wgd | 21:28 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 21:32 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 21:33 | |
Haarg | can you add some debugging to lib/WGDev/Help.pm to see where it has the pod text and where it loses it? | 21:33 |
+perlDreamer | already there | 21:33 |
Haarg | in the package_pod sub | 21:33 |
+perlDreamer | it says there's no POD | 21:36 |
+perlDreamer | version problems with Pod::Select maybe? | 21:37 |
Haarg | where does it say there's no pod? | 21:37 |
+perlDreamer | I added some code after every ->throw in package_pod | 21:37 |
+perlDreamer | and all of them printed | 21:37 |
+perlDreamer | so then I asked it show me the pod that it had found | 21:37 |
+perlDreamer | and it was empty | 21:38 |
Haarg | what about $raw_pod ? | 21:38 |
Haarg | it kind of seems like it's the parse_from_filehandle call that isn't working for some reason. | 21:39 |
Haarg | what version of Pod::Select do you have? | 21:39 |
Haarg | i remember checking that before though and the error was happening with the same version i'm using | 21:40 |
+perlDreamer | raw_pod is okay | 21:40 |
+perlDreamer | and the POD is okay, too, I forgot to install the code before rerunning | 21:40 |
Haarg | what do you mean by 'the POD' exactly? | 21:41 |
+perlDreamer | well, package_pod returns POD that it found in the requested file | 21:42 |
+perlDreamer | and if there are sections requested, then they get filtered and that's returned instead | 21:42 |
+perlDreamer | so, at the end I added warn "$pod"; | 21:42 |
+perlDreamer | and I get POD | 21:42 |
Haarg | so is long help still failing? | 21:42 |
+perlDreamer | yes | 21:42 |
Haarg | what happens exactly? | 21:43 |
Haarg | also what do you get from wgd commands ? | 21:43 |
+perlDreamer | wgd commands: http://gist.github.com/963095 | 21:44 |
Haarg | ok so that's working. had a report of that not loading the descriptions. | 21:44 |
+perlDreamer | bottom part of what comes out when I run my modifed/debugged wgd help ls http://gist.github.com/963101 | 21:45 |
Haarg | can you try running it as not root? | 21:46 |
+perlDreamer | when not root, it works | 21:47 |
Haarg | well that's a start. | 21:47 |
+perlDreamer | the if statement is bein triggered at the bottom of package_perldoc | 21:48 |
Haarg | give me a minute and i'll have another version for you to test | 21:48 |
Haarg | what is your umask? | 21:49 |
+perlDreamer | 0022 | 21:50 |
+perlDreamer | for root | 21:50 |
+perlDreamer | and for me, 0002 | 21:50 |
+perlDreamer | in that if statement, $? is 256 | 21:50 |
Haarg | yeah. it's probably another variant of the problem i worked around before. | 21:50 |
Haarg | perldoc tries to drop privs | 21:51 |
Haarg | so the temp file written out is inaccessible | 21:51 |
+perlDreamer | but root usually supersedes permissions | 21:51 |
Haarg | it switches to another user | 21:52 |
+perlDreamer | ah | 21:52 |
Haarg | so that it isn't root anymore | 21:52 |
+perlDreamer | seems odd that Pod::Perldoc doesn't have any POD | 21:54 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 21:57 | |
+perlDreamer | morning, jimX11 | 21:57 |
jimX11 | howdy | 21:57 |
Haarg | i'm fishing through internals right now :/ | 21:57 |
Haarg | no worse than i've done before though | 21:58 |
+perlDreamer | Haarg, I'm thinking about a run | 22:02 |
+perlDreamer | are you close so that I should wait? | 22:02 |
Haarg | two minutes and we'll see | 22:02 |
Haarg | ok, it's going to take me a while longer | 22:04 |
+perlDreamer | I'll go for a run, that'll give you plenty of time | 22:04 |
+perlDreamer | it was an ugly run, I hope you had better time coding, Haarg | 22:44 |
Haarg | http://haarg.org/temp/WGDev-0.1105090.tar.gz updated | 22:45 |
+perlDreamer | works well | 22:46 |
Haarg | cool | 22:46 |
+perlDreamer | I get formatted *roff output as both root and a normal user | 22:47 |
Haarg | the pod parsing modules are all pretty crufty and terrible to work with | 22:51 |
Haarg | does the formatting look correct? having the package name at the top and being the correct width? | 22:58 |
+perlDreamer | I'm on a call, I'll check that in a bit | 22:59 |
CIA-70 | wgdev: Graham Knop master * r69ac91e / (lib/WGDev/Command/Base.pm lib/WGDev/Command/Help.pm): allow help errors to propagate - http://bit.ly/jqY0lN | 23:24 |
CIA-70 | wgdev: Graham Knop master * r2cf4c58 / lib/WGDev/Help.pm : | 23:24 |
CIA-70 | wgdev: drop privileges before writing temp file for perldoc | 23:24 |
CIA-70 | wgdev: This moves the entire process of writing the temp file for perldoc into | 23:24 |
CIA-70 | wgdev: the subprocess. Before creating any directories or files, it drops | 23:24 |
CIA-70 | wgdev: privileges using Pod::Perldoc's drop_privs_maybe method. This should | 23:24 |
CIA-70 | wgdev: guarantee they can be read by perldoc. - http://bit.ly/mGt23w | 23:24 |
CIA-70 | wgdev: Graham Knop master * rdb91021 / (README dist.ini): improve build instructions - http://bit.ly/kW4m72 | 23:24 |
CIA-70 | wgdev: Graham Knop master * r88de6e3 / Changes : | 23:24 |
CIA-70 | wgdev: v0.1105090 | 23:24 |
CIA-70 | wgdev: - fix documentation when run as root - http://bit.ly/iTw6Y1 | 23: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 #webgui | 23:59 | |
SquOnk | Greetings. | 23:59 |
+perlDreamer | greets, SquOnk | 23:59 |
SquOnk | perlDreamer: 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 | |
+perlDreamer | it may not be implemented in all templates | 00:00 |
SquOnk | ...yeah, I saw that, but couldn't figure out how it works. | 00:00 |
* SquOnk is a tad slow today | 00:00 | |
+perlDreamer | yeah, I hear ya | 00:00 |
SquOnk | Having a new Android phone has to do with that ;-) | 00:01 |
+perlDreamer | from what I'm seeing in processTemplate, they should already be there | 00:01 |
+perlDreamer | so, if you have metadata enabled on the site | 00:01 |
+perlDreamer | and an Asset has fields | 00:01 |
+perlDreamer | there will be a by-name interface to the metadata values for that field | 00:01 |
SquOnk | perlDreamer: Do you mean plain <tmpl_var my-metadata-field>? | 00:01 |
+perlDreamer | yup | 00:02 |
+perlDreamer | any template processed by processTemplate will have that in it | 00:02 |
SquOnk | Well, it's the *simplest* cleanest solution, now that I think of it. | 00:02 |
SquOnk | But as I said before, I'm a tad slow today. | 00:02 |
+perlDreamer | WebGUI is renowned for it's simple and clean solutions | 00:02 |
SquOnk | Had 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 20 | 00:04 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds] | 00:05 | |
+perlDreamer | Haarg, is there a new wgd available for download? | 00:21 |
+perlDreamer | I know for existing sites we can wgd update | 00:22 |
Haarg | http://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 |
+perlDreamer | sure | 00:23 |
+perlDreamer | between git and wgd, do you get a lot of requests for tarballs? | 00:24 |
Haarg | not really | 00:24 |
Haarg | i'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 |
+perlDreamer | I use it all the time | 00:25 |
+perlDreamer | it's hard to beat wget http://haarg.org/wgd | 00:25 |
Haarg | also, i was wrong about Try::Tiny. it is needed for WGDev itself, not just the tests. | 00:34 |
Haarg | but the single file dist packages it in, so it wasn't causing problems for users | 00:35 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 00:42 | |
+perlDreamer | Haarg, if I try to run a utility script in another directory | 01:01 |
+perlDreamer | I sh ould be able to pass wgd the -R switch and have it run, yes? | 01:01 |
Haarg | using the util command? iirc it changes to the sbin directory before running scripts. | 01:02 |
+perlDreamer | hm, 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 #webgui | 01:04 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 01:04 | |
Haarg | the util scripts like to assume that you are in sbin when they are run | 01:04 |
Haarg | i think that's been fixed, but wgd aims to work with older versions as well | 01:04 |
+perlDreamer | I figured that since wgd would set the environment by reading preload.custom it would work anyway | 02:03 |
+perlDreamer | I guess I'm on the very fringes of DWIM | 02:03 |
Haarg | the 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 #webgui | 02:31 | |
-!- carogray [~Caroline@107.33.217.184] has quit [Ping timeout: 240 seconds] | 02:35 | |
+perlDreamer | preaction: does FormBuilder generate template variables as it stands today? | 02:37 |
-!- carogray [~Caroline@108.127.24.14] has joined #webgui | 02:40 | |
CIA-70 | wgdev: Graham Knop master * rb1d282e / (19 files in 7 dirs): Perl::Critic fixes (+5 more commits...) - http://bit.ly/lgDcsM | 02:50 |
-!- carogray1 [~Caroline@108.121.193.148] has joined #webgui | 02:51 | |
Haarg | perlDreamer, i merged in a couple of your changes (with package importing) | 02:51 |
+perlDreamer | thanks! :) | 02:51 |
Haarg | if you get a chance to test them i'd appreciate it | 02:52 |
Haarg | also re: https://github.com/perlDreamer/wgdev/commit/993a026d48f9abbb1ef6733534e699d5a905ea72 | 02:52 |
+perlDreamer | poorly made? | 02:52 |
Haarg | if that used a wgdev config setting for those defaults instead of being hard coded | 02:52 |
Haarg | and if it used the WGDev::File->matched_find thing i just added, i would include it | 02:53 |
-!- carogray [~Caroline@108.127.24.14] has quit [Ping timeout: 240 seconds] | 02:53 | |
+perlDreamer | I think I can do that | 02:53 |
+perlDreamer | but it won't be for several days | 02:53 |
Haarg | i think i recommended you use the copy_deeply thing even though it's not really appropriate in that case. my bad. | 02:53 |
Haarg | it's just a build process so it doesn't need to extra existence / size tests. basically just needs to mkpath and copy. | 02:54 |
@scrottie | frodwith, 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 |
@frodwith | more or less, bug me about it during business hours :) | 03:11 |
@scrottie | heh, will do. | 03:11 |
@preaction | perlDreamer: the Asset Edit Form is being generated completely via FormBuilder template variables | 03:27 |
-!- carogray1 [~Caroline@108.121.193.148] has quit [Quit: Leaving.] | 03:33 | |
-!- carogray [~Caroline@108.121.193.148] has joined #webgui | 03:35 | |
-!- carogray [~Caroline@108.121.193.148] has quit [Quit: Leaving.] | 04:05 | |
+perlDreamer | thanks, preaction. I had forgotten the difference between the FormBuilder template variables, and the Form plugin template variables | 04:48 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 05: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 #webgui | 06:04 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 06:32 | |
+perlDreamer | few things in life are as good as watching Thundarr the Barbarian while the WebGUI test suite runs | 06:47 |
CIA-70 | webgui: Colin Kuskie webgui-7.9 * rfd88c5c / docs/create.sql : Preparing for 7.9.28 release. - http://bit.ly/lFqkG3 | 06:58 |
CIA-70 | webgui: Colin Kuskie webgui-7.9 * r2d9ef3f / (4 files in 4 dirs): Ready for 7.9.29 development. - http://bit.ly/iDVtzP | 07:10 |
+perlDreamer | well, except for releasing new versions of WebGUI | 07: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 #webgui | 10:23 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:23 | |
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui | 10: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 #webgui | 12: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 #webgui | 13: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 #webgui | 13:23 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 13: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 #webgui | 13:40 | |
-!- carogray1 [~Caroline@184-229-190-92.pools.spcsdns.net] has joined #webgui | 13: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15:11 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:14 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:07 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:07 | |
-!- fokat [~lem@190.204.78.19] has joined #webgui | 16:46 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17: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 #webgui | 19:02 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:02 | |
+perlDreamer | microsoft bought Skype | 19:03 |
SDuensin | That's not funny. | 19:05 |
@preaction | eh, 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 products | 19:06 |
@preaction | whereas apple doesn't have business products | 19:06 |
+perlDreamer | I guess as long as they don't drop the Linux and Apple ports it'll be fine | 19:06 |
SDuensin | Yea. MS can integrate. Just look at Games for Windows. :-P | 19:07 |
@preaction | i don't think they'd drop those ports, they make money | 19:08 |
@preaction | games for windows is a side-effect of using DirectX APIs on the Xbox really | 19:09 |
@scrottie | MS 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 contain | 19:13 | |
SDuensin | Well, one less IM client I need to run. | 19:13 |
@preaction | scrottie: 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 bits | 20:02 |
@scrottie | sure, will do. | 20:03 |
@scrottie | the one thing I've noticed, the YUI buttons line-breaking, I think you've already mentioned. | 20:04 |
@preaction | not that i remember | 20:05 |
@scrottie | something about the buttons being "too big"? hmm. | 20:08 |
@preaction | probably | 20:10 |
@preaction | the default size is rather massive | 20:10 |
@preaction | but honestly i like the bigger buttons | 20:10 |
-!- fokat [~lem@190.204.78.19] has quit [Quit: Ex-Chat] | 20:14 | |
SDuensin | Anyone ever have IE7 load your JS but not execute the code that's not in functions? | 20:20 |
+perlDreamer | sure, it's due to an error in the JS (according to IE7) | 20:22 |
+perlDreamer | I've had a little success with using IE8's JS debugger when that happens | 20:22 |
SDuensin | I figured that, but I've yet to hit on the right google search terms to learn about it. :-) | 20:23 |
SDuensin | And I'm stuck at work with ONLY IE7 installed. <sigh> | 20:23 |
+perlDreamer | install VirtualBox and run another copy of windows in a VM | 20:23 |
SDuensin | Not allowed. | 20:23 |
SDuensin | Honestly, I'm somewhat surprised I was able to create a new document. | 20:24 |
+perlDreamer | Shame on you for documenting! | 20:24 |
SDuensin | It was a JS document! :-P | 20:24 |
+perlDreamer | shame on your for using JS! | 20:26 |
@scrottie | buy Windows hosting somewhere, install VNC on it at home, and use the Flash VNC viewer to access it. | 20:26 |
@scrottie | go work for PlainBlack. I have Safari, Firefox, Chrome, a few MSIEs, Mosaic, lynx, w3m, links and several others installed. | 20:27 |
SDuensin | I'm already ssh'ed out to chat. May as well. | 20:27 |
SDuensin | PlainBlack tried to hire me. Sadly, I can't survive on the starting salary. :-( | 20:28 |
@preaction | that's not that many, really. you need e-mail accounts with all major webmail providers, and eudora and thunderbird and evolution | 20:28 |
@scrottie | I know. I love joining a good nagfest. | 20:28 |
SDuensin | IE7 reports no problems loading the script. Makes debugging even MORE FUN! | 20:28 |
@scrottie | I think I've got a Seamonkey laying around somewhere... | 20:28 |
@preaction | i maintain there was precious little nagging before THAT GUY showed up | 20:28 |
@scrottie | Konq. | 20:28 |
@scrottie | here's what we should do for a UI for WebGUI 9: http://trollingwithclass.files.wordpress.com/2010/09/simonextreme2.png | 20:30 |
+perlDreamer | WebGUI 9 is going to be all command-line | 20:31 |
SDuensin | YEEEEEEEEES! | 20:31 |
@preaction | including viewing | 20:38 |
@preaction | people will need to point their gopher client to gopher://example.com | 20:38 |
SDuensin | GOPHER! | 20:38 |
@preaction | we may also support telnet | 20:38 |
@scrottie | gopher rocks. been meanign to add gopher support to Continuity for ages. | 20:38 |
@preaction | perlDreamer: got a minute? | 20:53 |
+perlDreamer | yeah | 20:53 |
+perlDreamer | it's better than doing CSS debugging :) | 20:53 |
@preaction | what process did you use to merge 7.10 and 8? is it documented somewhere i can take a look? | 20:53 |
+perlDreamer | It's a very simple process, and it's not documented | 20:54 |
@preaction | i've got 11 releases worth of 7.10 to merge, which should be fun considering all the changes made | 20:54 |
+perlDreamer | if you try to merge more than 1 subversion at a time you'll kill yourself | 20:54 |
+perlDreamer | what I did was do a merge after each 7.10 release | 20:54 |
+perlDreamer | then, resolve all conflicts | 20:54 |
+perlDreamer | run t/00_compile.t to make sure it's clean | 20:54 |
@preaction | re-run the tests | 20:54 |
+perlDreamer | then, run the whole suite until it's clean | 20:54 |
+perlDreamer | then, merge the next sub-point | 20:55 |
@preaction | but merge like: git checkout 8; git merge v7.10.5? | 20:55 |
@preaction | or rebase? | 20:55 |
+perlDreamer | due to ignorance, I always rebased, and I would pick a specific commit each time | 20:55 |
* perlDreamer knows no other way to merge | 20:56 | |
@preaction | i'll try git rebase v7.10.5 and see what happens | 20:56 |
@preaction | tags should define a commit, in theory | 20:56 |
+perlDreamer | there will be conflict and woe but be stalwardt in the face of merging | 20:56 |
@preaction | my sheild is sturdy and my sword is strong! | 20:56 |
* perlDreamer passes preaction a bow and arrow for long range combat | 20:57 | |
+perlDreamer | and a set of Gauntlets of Ogre Power | 20:57 |
* preaction is off to save Princess Zelda | 20:57 | |
+perlDreamer | You have to merge if you have the urge | 20:57 |
+perlDreamer | or, if you want to release 8.0 as an early beta | 20:58 |
@preaction | alpha, sure | 20:58 |
@preaction | i have consulted the mighty wizard of Knop and he says I should just merge to v7.10.15 in one go | 21:02 |
+perlDreamer | I 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 head | 21:03 |
+perlDreamer | but, do as you wish | 21:03 |
@scrottie | yes, Lord Knop would win the remaining hair battle, fo' sho'. | 21:04 |
@preaction | i 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 choose | 21:16 |
+perlDreamer | blogggin? | 21:16 |
+perlDreamer | http://www.vim.org/scripts/script.php?script_id=2975 | 21:18 |
@preaction | maybe, it seems a goodly choice | 21:18 |
@preaction | yes, that | 21:18 |
@preaction | now i just have to show my buffer number so i can use diffget and diffput | 21:19 |
CIA-70 | webgui: 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/l31UPd | 21:40 |
CIA-70 | webgui: Scott Walters WebGUI8 * r2d31f72 / (share/site.psgi t/PSGI/ConfigMiddleware.t): | 21:40 |
CIA-70 | webgui: PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it. | 21:40 |
CIA-70 | webgui: This is minimal in implementation right now in that there's no support for passing args, which would generally be objects | 21:40 |
CIA-70 | webgui: mixed with strings, to the middlewares being added, as would be necessary if the .psgi files were to be largely migrated | 21:40 |
CIA-70 | webgui: to the config files. I agree that it's important that upgrade scripts be able to add middleware (probably custom ones | 21:40 |
CIA-70 | webgui: that know how to get the session from %$env) but I'm not convinced of the utility of moving much logic out of | 21:40 |
CIA-70 | webgui: share/site.psgi. - http://bit.ly/kVdp3d | 21:40 |
+perlDreamer | lunch time :D | 21:43 |
* scrottie ate all of the left over curry for breakfast =( | 21:44 | |
@scrottie | so, oatmeal for lunch. | 21:44 |
@preaction | scrottie: changing WebGUI::Content::* into middlewares? | 21:56 |
@scrottie | at the moment? nope. guess that's the next step on that last ticket. | 21:59 |
@scrottie | seems like that would create a merge disaster. | 21:59 |
@scrottie | hrm, maybe I can wrap for them for the time being. | 22:02 |
@preaction | no worries, having a way to migrate is the first API establishment step | 22:02 |
@preaction | migration can take time | 22:02 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 22:08 | |
@scrottie | if 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 catching | 22:08 |
@scrottie | also 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 |
@scrottie | I 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 |
@scrottie | or I suppose all of the stuff that WebGUI.pm does could be itself moved to a middleware. | 22:11 |
@scrottie | really, 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 |
@scrottie | thoughts welcome. guess I'll comment on the ticket though. | 22:12 |
Haarg | seems like converting them to plack apps would make more sense than middleware | 22:12 |
@scrottie | yeah. 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 |
@scrottie | I can think of a lot more interesting ways to make WebGUI less monolithic. | 22:13 |
Haarg | i 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 |
Haarg | been 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 | |
@scrottie | I 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 |
@scrottie | that would also further the cause of the gopher and telnet interfaces. | 22:24 |
Haarg | rereading 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 |
@scrottie | my reply there was just a copy of my remark here, but I might have misunderstood preaction's question. | 22:26 |
@scrottie | hrm, I don't imagine setNoHeader being much use in a non-CGI environment. | 22:27 |
@scrottie | I don't think this can be supported. | 22:27 |
@preaction | i 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 again | 22:28 |
@scrottie | unless the goal is just to keep two headers from being sent...? | 22:28 |
@scrottie | but I don't see any examples of it being used in the main codebase | 22:28 |
Haarg | that's what it looks like scrottie | 22:28 |
Haarg | heh, 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 |
@scrottie | maybe people want to put the site into maintenance mode while working on the maintenance page. | 22:33 |
Haarg | the combination of moose and plack does make stack traces really terrible | 22:41 |
@scrottie | yeah. | 22:42 |
* scrottie sighs | 22:42 | |
@scrottie | with all of the magic going on in Moose, why aren't they tail-calling that away or something? | 22:42 |
@scrottie | optional verbosity setting...? | 22:43 |
@preaction | i forgot all the wacky stuff we added to the 7.10 series | 22:54 |
@preaction | dashlets, weird search entries, map stuff, template preview | 22:55 |
@scrottie | what, preview, not live view? weak. | 22:56 |
@preaction | that's what i said, but it was Requested | 22:56 |
+perlDreamer | scrottie, 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 #webgui | 00:21 | |
cj | hey folks | 00:21 |
Haarg | greetings | 00:21 |
Haarg | tail calling would speed it up if anything. and runtime speed isn't really a problem with Moose. main issue is startup speed. | 00:22 |
cj | so, 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 |
cj | I expect webgui would probably be a fine choice for this type of thing, eh? | 00:23 |
@preaction | it depends on how intimate you want to get with WebGUI's Way Of Doing Things, but yes | 00:24 |
@preaction | www.thegamecrafter.com <- does almost exactly what you mentioned | 00:24 |
cj | preaction: 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 |
@preaction | the generate PDFs thing doesn't happen though, that part you'd have to create | 00:25 |
cj | alright. I could probably cobble something together. | 00:25 |
@preaction | and 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 PDFs | 00:25 |
cj | so, 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 |
@preaction | surely | 00:28 |
@preaction | 1-2G is "as configured in the WRE with OS and leeway factored in" | 00:28 |
cj | good to hear. I'll get things spun up, then. | 00:29 |
@preaction | we're running about 80-90M per apache fork though | 00:29 |
cj | alright. I've got a bit of flexibility, and if it starts paying for itself, I should be able to migrate it to its own iron | 00:31 |
cj | what size disk should I allocate? | 00:32 |
@preaction | WebGUI itself is only 20M, WRE 80M, so whatever you need to keep those PDFs around | 00:35 |
@preaction | hopefully by the time it starts paying for itself you can upgrade to 8, which has even more flexibility | 00: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 #webgui | 00:47 | |
@preaction | merge from 7.10.4 - 7.10.15 done! running test | 00:52 |
+perlDreamer | Good job, preaction! | 01:01 |
@scrottie | perl -p -i -e 's{http->setCacheControl}{response->setCacheControl}' `ack -l 'http->setCacheControl'` # this is going to bite me in the ass for sure | 01:05 |
+perlDreamer | scrottie, just make sure it's an atomic commit, and it can be quickly fixed | 01:11 |
+perlDreamer | also, save some finger typing and use the -pi switch instead of -p -i | 01:11 |
@preaction | am i supposed to override update() anymore? or write()? or what should I do? | 01:23 |
@scrottie | hmm? | 01:24 |
@preaction | collaboration 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 anymore | 01:25 |
@preaction | i think i have to do around 'groupIdView' => sub {...} instead | 01:26 |
@scrottie | yech. | 01:30 |
@scrottie | couldn't update() be overridden in a more specific fashion? inject a base class in a subclass somewhere or something...? | 01:31 |
@preaction | not sure, moose bitches about update() already existing (probably the role composed one in) | 01:32 |
@preaction | so most likely if i did around update it would work | 01:32 |
@preaction | but groupIdView is the only value I care about | 01:32 |
@preaction | crap. forgot about the upgrade path... | 01:33 |
Haarg | seems like that should be a trigger on groupIdView, although there is some oddness with triggers and object init iirc | 01:33 |
@scrottie | maybe Asset::update should do something ... for my $k ( keys %$hashref ) { $self->can("update_$k")->( $hashref->{$v} ) if $self->can("update_$k") } | 01:34 |
@scrottie | or that. | 01:34 |
@preaction | but how do I add a trigger? the property is defined in WebGUI::Asset, not WebGUI::Asset::Wobject::Collaboration | 01:34 |
Haarg | that's the entire point of having individual accessors. you can just add triggers or other behaviors to them without messing with update | 01:34 |
@preaction | does has '+groupIdView' ? | 01:35 |
@preaction | work | 01:35 |
@preaction | if it doesn't it should, so i'll check | 01:36 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 01:36 | |
+perlDreamer | it won't work, because it's wg8 specific | 01:51 |
+perlDreamer | you can emulate a trigger with around, or after | 01:52 |
+perlDreamer | either one would work | 01:52 |
+perlDreamer | or you can do what I did with the file permissions stuff, and provide a generic empty trigger and override that in various Asset classes | 01: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 #webgui | 02:00 | |
-!- mode/#webgui [+o preaction] by ChanServ | 02: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 #webgui | 02:25 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:28 | |
@scrottie | newByDymamicClass 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 #webgui | 03:17 | |
-!- mode/#webgui [+o preaction] by ChanServ | 03: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 #webgui | 03:45 | |
+perlDreamer | newById :) | 04:13 |
@scrottie | yeah. 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 |
+perlDreamer | most likely from merges | 04:15 |
+perlDreamer | wouldn't it be cool if you could make a git hook that updated those things automatically during a merge? | 04:19 |
@scrottie | hrm. could do an Acme::CodePolice type thing but instead of deleting your project, it fixes it. | 04:21 |
@scrottie | also, strong typing was invested for this reason. | 04:30 |
+perlDreamer | no | 04:33 |
@scrottie | pretty please? | 04:33 |
+perlDreamer | strong typing was infested because it make it hard to do a+1 | 04:33 |
+perlDreamer | which everyone knows should be b | 04:34 |
@scrottie | I thought you liked stricture in all of its various forms. | 04:34 |
+perlDreamer | perldreamerian strictures have more to do with testing than variable typing | 04:34 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 04:56 | |
@scrottie | pedantic might have been a better word. | 05:03 |
jimX11 | Is 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 |
jimX11 | but {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 |
@scrottie | no idea... | 05:17 |
+perlDreamer | jimX11, the data structure is originally based on HTML::Template | 05:17 |
@scrottie | re: modified, WebGUI doesn't come with a copy of Template Toolkit but instead uses the standard CPAN distro of it | 05:18 |
+perlDreamer | so you can have loops of data | 05:18 |
+perlDreamer | but the "data" is hashes | 05:18 |
+perlDreamer | so, {foo => {bar => baz}} is fine | 05:18 |
+perlDreamer | but not the other | 05:18 |
+perlDreamer | unless you foo => [ {bar => baz}, {buz => biz}] etc | 05:19 |
jimX11 | ok | 05:19 |
@preaction | arrays for TT templates work fine, see WebGUI::Asset::Template::Parser->downgrade | 05:19 |
@preaction | but they only work in TT templates, not H::T or H::T::E | 05:20 |
+perlDreamer | client specific version of wG? | 05:20 |
jimX11 | I see no downgrade method in WebGUI::Asset::Template::Parser | 05:23 |
@preaction | it's in the 7.10 series | 05:23 |
jimX11 | Oh, I'm so close. I'm using 7.9.14. | 05:24 |
jimX11 | So in 7.9.14 I gotta use the key => key shuffle, then? | 05:25 |
@preaction | map { name => $_ } @values or something yeah | 05:29 |
jimX11 | ok. | 05:29 |
jimX11 | Yea. Also I'll have to throw in something to preserve the order too, I guess. | 05:31 |
@preaction | H::T takes an arrayref of hashrefs for loops | 05:32 |
@preaction | which is ordered | 05:32 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 05:37 | |
+perlDreamer | I'd like to order a pizza with hash and glob refs, please | 05:41 |
+perlDreamer | extra cheese | 05:41 |
@scrottie | waiter, is this a stash in hash and glob pizza!? | 05:45 |
jimX11 | So a db call returning [ [22,44,66],[10,20,30]] becomes what? | 05:45 |
@scrottie | in my | 05:45 |
jimX11 | becomes this: ( ( {22=>22}, {44=>44}, {66=>66}), ( {10 => 10},{20=>20},{30=>30})) | 05:47 |
+perlDreamer | that wouldn't be very useful | 05:47 |
+perlDreamer | think about returning arrays of hashrefs intead of arrays of arrays | 05:47 |
+perlDreamer | [ { col1 => 22, col2 => 44, col3 => 66},{col1 => 10, col2 => 20, col3 => 30}] | 05:48 |
jimX11 | and sort on the keys to get the order back. | 05:48 |
+perlDreamer | sure | 05:49 |
jimX11 | So how am I using TT2 but needing H:T syntax? Does TT2 go through H:T in WebGUI? | 05:50 |
+perlDreamer | it all goes through the same template parsing system | 05:53 |
+perlDreamer | so, the limitations of one apply to all | 05:53 |
@preaction | which is why downgrade exists in 7.10, to allow the features of TT to be used without breaking H::T completely | 05:54 |
jimX11 | ok | 05:54 |
jimX11 | thanks | 05:54 |
+perlDreamer | preaction, 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 |
@preaction | we'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 |
@preaction | TT is faster than H::T, but slower than others if you don't need all the features TT provides | 05:56 |
@preaction | and who knows what tomorrow will bring? | 05:56 |
+perlDreamer | According to Google, tomorrow will bring Toy Story 3 | 05:57 |
+perlDreamer | http://www.google.com/search?client=ubuntu&channel=fs&q=what+will+tomorrow+bring%3F&ie=utf-8&oe=utf-8 | 06:01 |
jimX11 | Which 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}] or | 06:08 |
jimX11 | {c1 => { c1 => 22, c2 => 44, c3 => 66}, c2 => {col1 => 10, col2 => 20, col3 => 30}} | 06:09 |
+perlDreamer | the first | 06:09 |
jimX11 | k | 06:09 |
* perlDreamer has to bake some bread now, I'll be back on tomorrow | 06: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 #webgui | 07: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 #webgui | 10:41 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:41 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 10: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 #webgui | 11: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 #webgui | 12:50 | |
-!- carogray [~Caroline@184.241.111.54] has quit [Ping timeout: 260 seconds] | 12:59 | |
-!- carogray [~Caroline@108.113.223.56] has joined #webgui | 14:12 | |
-!- carogray1 [~Caroline@184-200-59-255.pools.spcsdns.net] has joined #webgui | 14: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 #webgui | 15: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 #webgui | 15:26 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:07 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:07 | |
+BartJol | just out of interest, are there plans to rewrite the map asset for openstreet maps? | 16:15 |
SDuensin | Welcome to Wednesday. That is all. | 16:46 |
@preaction | BartJol: no, but all the information should be in the template. you might be able to create one | 17:35 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:39 | |
CIA-70 | webgui: Paul Driver master * r6a01296 / (5 files in 5 dirs): rfe #12127: AssetProperty macro - http://bit.ly/ka3cTb | 17:44 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:56 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:00 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:00 | |
-!- khenn [a68988b5@gateway/web/freenode/ip.166.137.136.181] has joined #webgui | 18:05 | |
-!- mode/#webgui [+o khenn] by ChanServ | 18:05 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:05 | |
@khenn | hey | 18:12 |
@khenn | does anyone remember the name of the site that offers free website styles? | 18:12 |
@khenn | I think WG uses a few in the startup script | 18:12 |
+perlDreamer | oswd.org? | 18:15 |
@khenn | perhpas | 18:15 |
@khenn | thanks pd | 18:15 |
@khenn | I'll check that out | 18:15 |
+perlDreamer | most of the other designs came from the awesome Ning | 18:22 |
+BartJol | yeah, after that I had too much karma to spend | 18: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 #webgui | 19:39 | |
CIA-70 | webgui: 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/jnRqnK | 19:44 |
CIA-70 | webgui: Graham Knop master * r458b1a1 / lib/WebGUI/Mail/Send.pm : | 19:44 |
CIA-70 | webgui: Merge pull request #10 from roryzweistra/master | 19:44 |
CIA-70 | webgui: Fixed typo in Send.pm - http://bit.ly/mlAdjQ | 19:44 |
@preaction | did 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 pass | 20:16 |
@preaction | it's not in the merge, and it's not in the 7.10.15 tarball i downloaded | 20:16 |
+perlDreamer | it's in there | 20:18 |
+perlDreamer | "exportGetRelatedAssetIds" | 20:18 |
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui | 20:18 | |
@preaction | wtf. i'm looking right at the WebGUI.pm released as 7.10.15 and it is not here | 20:19 |
@preaction | in the StoryArchive asset? | 20:19 |
+perlDreamer | Asset/Story | 20:20 |
+perlDreamer | Story exports related topics | 20:20 |
+perlDreamer | I think that's how it was used | 20:20 |
+perlDreamer | ack -l exportGetRelatedAssetIds | 20:20 |
@preaction | ah, maybe that's why | 20:20 |
@preaction | found it. new -> newById | 20:22 |
+perlDreamer | also newByDynamicClass -> newById | 20:32 |
+perlDreamer | scrottie and I chatted about that last night | 20:32 |
* scrottie nods | 20:32 | |
+perlDreamer | and about all we agreed upon was that I was pedantic | 20:32 |
@scrottie | there are a few newByDyanmicClass calls floating around in there again but I'm yak shaving at the moment | 20:33 |
@scrottie | hrm. at every moment? | 20:33 |
+perlDreamer | I'm not sure, but possibly | 20:33 |
+perlDreamer | here, for a second, I'll switch from pedantic to annoyed and irritable | 20:34 |
@scrottie | I'm glad we can agree on irritable. | 20:35 |
@preaction | i love when errors get thrown but are completely blank! | 20:35 |
@scrottie | at least we have that in common. | 20:35 |
+perlDreamer | If 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 test | 20:35 |
+perlDreamer | yeah, I don't like me when I'm irritable, I'll stick with pedantic | 20:39 |
@preaction | i also love when your phone stops delivering calls and text messages but is otherwise completely operational, and only a restart fixes it | 20:44 |
@preaction | oh look, i got paged a couple times! | 20:45 |
@scrottie | perl needs a \). | 20:45 |
@scrottie | WebGUI 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 | |
@scrottie | it's not that I want to work on Plack stuff, but I keep stepping in it... | 21:04 |
CIA-70 | webgui: Scott Walters WebGUI8 * rd2c8670 / (lib/WebGUI/Test.pm t/Asset/AssetExportHtml.t): (log message trimmed) | 21:05 |
CIA-70 | webgui: Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes | 21:05 |
CIA-70 | webgui: requests using Plack::Test and attempts to maintain getPage's API. | 21:05 |
CIA-70 | webgui: Change three tests in t/Asset/AssetExportHtml.t to use this instead. | 21:05 |
CIA-70 | webgui: Backstory: | 21:05 |
CIA-70 | webgui: Forthcoming WebGUI::Session::HTTP, ::Request, ::Responses mucking abouts broke | 21:05 |
CIA-70 | webgui: some tests that use WebGUI::Test::getPage; in the case of t/Asset/AssetExportHtml.t, | 21:05 |
@preaction | oh crap, i could've saved you time | 21:06 |
+perlDreamer | getPage* needs to die | 21:06 |
@preaction | scrottie: there's WebGUI::Test::Mechanize now | 21:06 |
* scrottie grunts | 21:08 | |
@scrottie | okay, I'll try to sort that out | 21:08 |
@scrottie | my 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 |
@scrottie | I'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 |
@scrottie | I could test it and see I suppose... | 21:13 |
+perlDreamer | that's what WebGUI::Test::Mechanize will do for you | 21:14 |
@scrottie | it takes a userId. hmm. | 21:14 |
@scrottie | no, this should work. the WebGUI::Middleware::Session layer isn't used in favor of just setting up session here. cool. | 21:15 |
mducharme-work | afternoon | 21:21 |
@scrottie | heya mducharme-work | 21:21 |
mducharme-work | question - how can I make userlist visible to visitors? | 21:21 |
@scrottie | do you want an answer optimized for quickness of implementation or niceness of result? | 21:21 |
@scrottie | a SQLReport could pull from the users table. | 21:22 |
mducharme-work | I am using the user list wobject and it works for authenticated users but displays nothing for visitors | 21:22 |
mducharme-work | the ideal thing would be to have an LDAPReport that could pull directly from LDAP but there is no such thing | 21:23 |
@scrottie | visitors are all essentially the same user, so there isn't much to display... | 21:23 |
mducharme-work | you do not understand | 21:23 |
mducharme-work | we do not give phone numbers for our offices on our website | 21:24 |
mducharme-work | because we have multiple offices | 21:24 |
mducharme-work | instead we rely on the corporate phone directory on our website for people to know what number to call to get someone | 21:24 |
mducharme-work | novell discontinued their web based corporate phone directory product | 21:24 |
mducharme-work | which we used to have running in an iframe in webgui | 21:24 |
mducharme-work | I need for someone going to our company's website to see a listing of staff | 21:25 |
mducharme-work | and their phone numbers | 21:25 |
mducharme-work | without having to log in | 21:25 |
mducharme-work | http://www.ktc.ca/home/about-us/staff-directory | 21:25 |
mducharme-work | that's what it looks like right now | 21:25 |
@scrottie | okay, can't this user list wobject be set viable by 'Visitor'? | 21:25 |
mducharme-work | which doesn't work | 21:25 |
mducharme-work | or would you say that that is acceptable? | 21:25 |
mducharme-work | I don't think it's the wobject itself | 21:26 |
@scrottie | I don't see anything acceptable in a typical day ;) | 21:26 |
@scrottie | is this a bug or a configuration matter? | 21:26 |
@scrottie | I'd have to dig into the code to learn more, but I wonder if user profiles are hidden or the like. | 21:27 |
+perlDreamer | mducharme-work, profile information is never shown to the user Visitor. | 21:28 |
+perlDreamer | the UserList wobject may be able to override that, maybe not | 21:29 |
+perlDreamer | Try the Override Public Profile option, it may do the trick | 21:29 |
+perlDreamer | otherwise, you can build a SQL Report to mine the userProfileData table directly | 21:30 |
mducharme-work | ok | 21:31 |
mducharme-work | can the person still open the users profile and view their photo etc | 21:31 |
+perlDreamer | no | 21:31 |
mducharme-work | with the sqlreport gadget | 21:31 |
+perlDreamer | no, but you can list the phone number | 21:31 |
+perlDreamer | it's a privacy issue, where you don't want bots being able to mine your site for confidential information | 21:32 |
+perlDreamer | email address, physical addresses, skype contacts, phone numbers, etc | 21:32 |
mducharme-work | I understand that | 21:32 |
mducharme-work | but this is making us manually have to create a new phone list | 21:32 |
mducharme-work | when we already have one in ldap | 21:32 |
mducharme-work | and we already have one in webgui through ldap | 21:32 |
mducharme-work | it's just stupid | 21:33 |
mducharme-work | oh and we have a third one in the form of a word document | 21:33 |
+perlDreamer | you could modify the core to allow visitor to see profile information | 21:33 |
+perlDreamer | and hand maintain that whenever you upgrade | 21:33 |
@scrottie | SQLReport that does update userSession set userId='someNonVisitorGuestUser' where sessionId = ?, and JavaScript that picks out the sessionId and hits that "report"...? | 21:33 |
@scrottie | kludges. get yer kludges. we got kludges. right here. | 21:34 |
+perlDreamer | it'd be cleaner to put in a feature/setting that would allow Visitor to see user profiles | 21:34 |
@scrottie | yeah. | 21:34 |
+perlDreamer | because in companies I guess you want your information out there | 21:34 |
@scrottie | more users should be doing git pull --rebase to upgrade. | 21:34 |
@scrottie | heck, 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 | |
@scrottie | stick git in the WRE. | 21:35 |
@scrottie | unclean merge? reset back to where they were before and send an "oops, sorry" email. | 21:36 |
+perlDreamer | mducharme-work: the stuff that would need to be changed is in WebGUI::User, sub profileIsViewable | 21:37 |
mducharme-work | ok | 21:38 |
+perlDreamer | I'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 do | 21:40 |
mducharme-work | that's when you know what you're doing of course | 21:40 |
@scrottie | perlDreamer, preaction, thoughts on the Want module? | 21:40 |
+perlDreamer | scrottie, never heard of it | 21:41 |
+perlDreamer | mducharme-work, there are lots of people who you could contract to do it, including Plain Black | 21:41 |
@scrottie | or you could probably guess / get suggestions at which few lines to comment out in there =) | 21:41 |
+perlDreamer | iirc, mducharme-work does know perl | 21:42 |
mducharme-work | I used to code perl a long time ago | 21:42 |
mducharme-work | I've probably forgotten almost everything | 21:42 |
@scrottie | you can probably still read it, even as it's spoken today. | 21:43 |
mducharme-work | I also wonder why you developed your own help desk plugin for webgui | 21:44 |
@scrottie | was there another WebGUI helpdesk plugin floating around already...? | 21:44 |
+perlDreamer | yeah, we wonder why we did that too, sometimes | 21:45 |
mducharme-work | no, but there are some really good perl-based help desk systems | 21:45 |
mducharme-work | we use OTRS for instance | 21:45 |
@scrottie | ah. often the question is integration is a larger one than that of "really good". | 21:45 |
mducharme-work | that doesn't do much good if the help desk is a tinkertoy in comparison | 21:46 |
@scrottie | if 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 |
@scrottie | depends. sometimes lots of integrated tinker toys is just what people want. | 21:46 |
@scrottie | easily integrated. | 21:46 |
mducharme-work | there isn't all that much integration work involved in OTRS actually | 21:47 |
@scrottie | and 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 |
@scrottie | we're happy to integrate WebGUI with really nice products. | 21:47 |
mducharme-work | to what extent is the webgui help desk really integrated into other webgui components? | 21:47 |
+perlDreamer | not at all | 21:48 |
+perlDreamer | it uses WebGUI users and Groups | 21:48 |
+perlDreamer | a workflow activity | 21:48 |
@scrottie | frodwidth's plack-mounted-assets automatically integrate almost any Plack app into WebGUI =) | 21:48 |
+perlDreamer | and some templates | 21:48 |
@scrottie | it'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 |
@scrottie | I imagine there has been some work done here, but reverse-proxying in other apps over HTTP has potential, too. | 21:50 |
@scrottie | as 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 |
@scrottie | fixing this as best as I can | 22:12 |
mducharme-work | the users and groups thing is easy enough to do with otrs, it can plug into any sql authentication source with any schema pretty much | 22:12 |
@scrottie | patches welcome. | 22:12 |
mducharme-work | it can plug into multiple simultaneous auth sources as well | 22:12 |
-!- CIA-70 [~CIA@208.69.182.149] has quit [Read error: Operation timed out] | 22:13 | |
mducharme-work | the hard part is the UI integration | 22:13 |
@scrottie | er, I mean, perhaps PlainBlack shouldn't have written their help desk. dunno. you may be right. no idea. | 22:13 |
mducharme-work | it would be nice if there was a way of using JSR portlets as wobjects | 22:18 |
@scrottie | do-able. Inline::Java is an amazing piece of technology. | 22:18 |
mducharme-work | that would give a much greater range of integrations for webgui.. but you'd need some sort of shim to tomcat to accomplish that | 22:18 |
mducharme-work | ahh | 22:18 |
@scrottie | yeah. process size would go up a lot. | 22:18 |
mducharme-work | b/c a lot of the time you are having to reinvent the wheel, when there is already a JSR portlet that does something | 22:19 |
@scrottie | generally when there are two camps, the camps don't envy what the other camp has... otherwise there wouldn't be two camps. | 22:20 |
@scrottie | for various reasons, Java tends to be expensive to deploy. | 22:21 |
@scrottie | heck, for 8, we're optimizing away Apache as a simplification/optimization. | 22:21 |
@scrottie | I'm all for building bridges, but the efforts aren't purely redundant. | 22:22 |
@scrottie | if anything, other Perl CMSes are redundant with WebGUI ;) | 22:23 |
@preaction | RT and Bugzilla exist. we could have integrated those via auth plugins or somesuch | 22:33 |
mducharme-work | preaction - 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 angle | 22:55 |
mducharme-work | our help desk used to use RT but we moved off it due to the lack of features | 22:55 |
@preaction | a plack app using the plack app wobject could take advantage of webgui's global site search even | 22:56 |
+perlDreamer | the Plack app wobject maps indexContent in the low-lying plack app? that is cool! | 22:58 |
@preaction | no, you'd have to map it yourself, but it could be done | 22:58 |
mducharme-work | we would love to have OTRS integrated into our webgui | 22:58 |
mducharme-work | at 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 source | 22:59 |
mducharme-work | er iframe | 22:59 |
@preaction | auth plugins aren't too bad and getting better | 22:59 |
@scrottie | wait, I thought you said that it is really easy to integrate them, and OTRS can do arbitrary queries against an arbitrary database | 22:59 |
mducharme-work | yes | 23:00 |
@scrottie | or maybe I'm missing what else exactly should be integrated... | 23:01 |
@scrottie | I guess that goes back to the reverse proxying arbitrary HTTP thing | 23:01 |
mducharme-work | SSO | 23:01 |
mducharme-work | we have both using the same login | 23:01 |
mducharme-work | but single sign on is a different story | 23:01 |
mducharme-work | the credentials do not get passed along | 23:01 |
@preaction | make the WebGUI auth set both cookies | 23:02 |
@scrottie | its cookie might correspond to something in its databsae. might have to web scrape the login form there. | 23:03 |
@preaction | i 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 |
@preaction | OTRS is very bold. much orange and brightness... | 23:03 |
@scrottie | the 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 |
@scrottie | trying 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 |
@scrottie | sometimes simple is good. | 23:04 |
@scrottie | as it is, people can use it for all sorts of silly things not related to any of those tasks. | 23:04 |
@preaction | of course. i'd prefer a dead-simple ticket tracker and a bigger app that read that tracker's data to figure stuff out | 23:04 |
@preaction | which is the plan i hope | 23:05 |
@preaction | right now we don't have any talking between the PMS and the helpdesk, which necessitates copying data between them manually | 23:05 |
@preaction | and our PMS is rather haphazard as well. timetracker as a standalone with super sekrit functions if it's "linked" to a PMS system | 23:06 |
mducharme-work | OTRS does project management sorta | 23:06 |
mducharme-work | in the ITSM version | 23:06 |
@preaction | ah, the demo i tried didn't make it very obvious | 23:06 |
mducharme-work | the change management system can be used for projects | 23:06 |
@scrottie | datasharing between "mounted" apps that you're just proxying for/embedding/authenticating against/for gets even nastier. | 23:06 |
mducharme-work | you create work orders, create dependencies between them | 23:07 |
@scrottie | as soon as people have SSO, then they want data workflows. | 23:07 |
mducharme-work | it displays a gantt chart type thing | 23:07 |
mducharme-work | most of the features in OTRS only appear when you install the ITSM add on | 23:07 |
mducharme-work | they really should put the ITSM stuff into the core, IMO | 23:07 |
@scrottie | embedding 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-work | even if you don't run an ITIL shop it still adds a lot of features into the core | 23:08 |
@scrottie | I argue for a smaller WebGUI core, personally. | 23:08 |
mducharme-work | scrottie you misunderstand | 23:09 |
mducharme-work | I mean OTRS should integrate the ITSM add on into the OTRS core | 23:09 |
@scrottie | again? | 23:09 |
@scrottie | oh | 23:09 |
mducharme-work | b/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 do | 23:09 |
@scrottie | A 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-work | the 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 increase | 23:10 |
@preaction | that sucks. i'm trying to get rid of our project manager, but I can't unless we have something else to use | 23:10 |
@preaction | and if the OTRS demo doesn't include ITSM, then they can't know if it's good | 23:11 |
mducharme-work | brb have to reboot | 23: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 | |
@preaction | 1 day to do the merge. 1 day to fix the tests. | 23:27 |
fallout | 1 ring to rule them all? | 23:27 |
@scrottie | target is still moving. | 23:27 |
@scrottie | CIA left before I unleashed the spam. | 23:27 |
@preaction | gotta do a full test run before i can consider this "done" before i can pull your changes | 23:28 |
* scrottie nods | 23:28 | |
@scrottie | probably 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 that | 23:28 |
@scrottie | details that change every time bog down trying to diff output from two test runs | 23:29 |
@scrottie | comments welcome / consider yourselves warned | 23:29 |
@preaction | the test description text? sounds a good idea | 23:30 |
@scrottie | yeah, 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 #webgui | 23: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 #webgui | 00:10 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 00:10 | |
* scrottie waves to pbcj | 00:11 | |
@pbcj | sup sup | 00:11 |
@scrottie | how goes stuff? | 00:11 |
@pbcj | goingly =) | 00:11 |
@scrottie | playing with WebGUI 8. | 00:11 |
@scrottie | yay, yay. | 00:11 |
@pbcj | I saw the chatter | 00:11 |
@scrottie | I keep getting stucked into this testing/Plack vortex. | 00:12 |
@pbcj | I all of a sudden feel like the only kid on the block without a new bike | 00:12 |
@scrottie | sucked | 00:12 |
@scrottie | hrm. it must have been 8 or 10 months since I got to. so, feel bad, but not alone. | 00:13 |
@pbcj | so, how does static template vars from config strike the room? | 00:15 |
@pbcj | preaction: I'm looking at you | 00:15 |
@scrottie | hmm? | 00:16 |
@pbcj | I'm working on branding for a few clients, I'd like to have something configurable that gets passed into the templates | 00:17 |
@pbcj | this would support branching using TT's INCLUDE directive: http://template-toolkit.org/docs/manual/Directives.html#section_INCLUDE | 00:17 |
@preaction | but afaik webgui's use of TT doesn't work well w/ include | 00:18 |
@preaction | can't include assets, of course, and i'm not sure where files would get included from | 00:18 |
@preaction | i'd love to create a provider that would allow you to include assets, but i haven't found anyone to do it yet | 00:18 |
@preaction | and if you have INCLUDE working, you don't need anything in the config file, no? | 00:21 |
+perlDreamer | all righty, I have a test that exposes the Serializer bug and a patch to fix it | 00:22 |
+perlDreamer | now, time to wade through RT | 00:22 |
@pbcj | well, I'd still prefer have one template to package, rather than one that needs only a small customization when spawning a newly branded site | 00:22 |
@pbcj | I haven't tested include yet, I came here first | 00:23 |
@pbcj | and now I'm discouraged =( | 00:23 |
@preaction | i'm surprised there aren't Setting or Config macros | 00:23 |
@pbcj | indeed | 00:24 |
@scrottie | often programming is the art of quickly exhuasting non-workable solutions. | 00:24 |
+perlDreamer | wouldn't macros happen too late? | 00:24 |
@preaction | too late for what? | 00:24 |
@pbcj | macros are isolated, so it doesn't matter | 00:24 |
@pbcj | template vars don't get passed in automagically | 00:24 |
+perlDreamer | iirc, macros get evaluated after the template gets parsed | 00:25 |
+perlDreamer | so if you wanted to macro in something, it's too late to use it in the template eval stage | 00:25 |
@scrottie | frodwidth was playing with some hackery that found every variable on the stack and passed them in. | 00:25 |
+perlDreamer | in 7 | 00:25 |
@scrottie | er, frodwith | 00:26 |
@pbcj | as long as the vars are still around, the timing of it doesn't matter, I think | 00:26 |
@preaction | they're not vars though, that's the difference between vars and macros | 00:26 |
Haarg | it would be pretty easy to extend the template toolkit usage to allow macros to be called by templates directly | 00:26 |
@preaction | macros happen last, after templates are parsed | 00:26 |
@preaction | and yes, there's what graham said | 00:26 |
@preaction | and barring that, it'd be possible to provide TT with read-only bits of the session | 00:27 |
@preaction | but the current method we would have to do it would be to add proper variables in either Asset::Template->process or Asset->processTemplate | 00:28 |
@pbcj | I was more thinking that processTemplate could stick the current template vars into a collection that macro process could have access to | 00:28 |
@preaction | huh? | 00:29 |
@preaction | if 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 it | 00:29 |
@pbcj | right, 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 |
@preaction | i don't know what you mean | 00:31 |
@preaction | you wanted config values to be available in the template. a combination of macros and a TT function to call those macros could provide that | 00:32 |
@preaction | for INCLUDE assets, you need a custom Template::Provider object to read asset:// links or something | 00:32 |
@pbcj | I get that | 00:32 |
@preaction | both of which are projects i would support and want completed | 00:32 |
@pbcj | perhaps 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 #webgui | 00:35 | |
@pbcj | 1) 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 #webgui | 00:36 | |
-!- dreamersgirl [~chatzilla@137.53.249.130] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]] | 00:39 | |
@pbcj | 2) in a template: <div>every site has this, but this is specific content: [%ProcessTemplate("/customized-sub-template")%]</div> | 00:39 |
@preaction | you would be better off making [% INCLUDE asset:/customized-sub-template %] | 00:40 |
+perlDreamer | yup | 00:40 |
@pbcj | yes | 00:40 |
+perlDreamer | cuz users can't get to a config file to customize it | 00:41 |
@pbcj | yeah, come to think of it, that may not be needed at all | 00:42 |
@pbcj | since every branded site would have it's own /customized/ subtree aside from the common content | 00:42 |
@pbcj | okay, that will work.. sounds like pD volunteered | 00:42 |
+perlDreamer | pD does not write new code any longer, only fix customer sites and old code | 00:43 |
+perlDreamer | when 8 is released, they'll take him out into the back 40 and bludgeon him with an IBM XT computer | 00:43 |
@preaction | come on. we'd have more class than that | 00:43 |
@preaction | you'd get an Atari ST at least | 00:44 |
+perlDreamer | I was hoping for a 386-DX with math co-processor, but the old and defunct can't be choosy | 00:44 |
@pbcj | DX4 | 00:45 |
@pbcj | but, even then, that's a lot of work for us | 00:45 |
@pbcj | TRS-80 | 00:45 |
@pbcj | it's lightweight and versatile | 00:46 |
@pbcj | shows 'em who's boss and won't leave a mark | 00:46 |
Haarg | http://gist.github.com/967452 patch on webgui 8, untested | 00:48 |
Haarg | should let you do [% USE Macro; macro.FileUrl(blah) %] | 00:48 |
@pbcj | right on man | 00:50 |
Haarg | although 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 |
fallout | ie8 doesn't like wegbui.org =( | 00:54 |
fallout | and i don't like ie8 | 00:54 |
Haarg | fallout, what problems are you seeing? | 00:56 |
Haarg | or do you actually mean wegbui.org because i make that typo constantly | 00:58 |
fallout | they are layout related- mainly, open tickets sometimes appears in full, sometimes it's cut off at the bottom of its parent | 00:58 |
fallout | heh, no, this is webgui.org | 00:59 |
fallout | i have a bug open somewhere that i haven't had time to look into | 00:59 |
Haarg | ah yeah i see what you mean. it doesn't expand to show the entire ticket tracker | 01:00 |
Haarg | not for the data table at least | 01:00 |
fallout | yeah, there are other (seemingly related) effects | 01:00 |
-!- carogray1 [~Caroline@173-142-200-215.pools.spcsdns.net] has joined #webgui | 01:00 | |
fallout | similar things happen when submitting bugs- but you can make things disappear behind other items | 01:00 |
fallout | etc | 01:00 |
-!- carogray [~Caroline@173-145-113-91.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 01:01 | |
@pbcj | is it mostly the helpdesk? it could use some TLC. | 01:01 |
fallout | i'm still not clear what all is part of helpdesk.. | 01:02 |
@pbcj | everything you see when the url is /bugs | 01:02 |
fallout | <3 | 01:03 |
-!- daviddelikat [~user@ppp-70-226-164-54.dsl.mdsnwi.ameritech.net] has joined #webgui | 01:05 | |
@pbcj | what I meant, was, the helpdesk asset could use some TLC, wink wink nudge... earn some fame and lots of karma ;) | 01:05 |
@preaction | it already got TLC, it just hasn't been finished for one reason or another | 01:06 |
@preaction | helpdesk v2 is just sitting in a github repo somewhere | 01:07 |
@pbcj | oh, then, what I mean is.. blame preaction | 01:07 |
@preaction | i'd blame frodwith more than preaction, but preaction is going to migrate v2 to 8 and everyone will be happy then | 01:07 |
fallout | i'm just going to point at everyone except me | 01:08 |
@preaction | but when you point, 3 fingers are pointing back at you | 01:08 |
fallout | aww | 01:08 |
Haarg | preaction, should i add that template toolkit session passing thing to 8/7.10? | 01:09 |
@preaction | Haarg: go for it | 01:10 |
@pbcj | ... / 7.7.21 | 01:10 |
@preaction | pbcj: they should upgrade | 01:10 |
Haarg | what about the additional template plugin namespace thing i had in that patch? | 01:10 |
Haarg | it's an extremely simple change. could be backported to any version extremely easily. | 01:11 |
@preaction | i'd say yes, but it would need tests | 01:11 |
@pbcj | I'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 time | 01:12 |
@preaction | so when i'm done with this, i can write a simple test for it and then put it in | 01:12 |
@preaction | pbcj: as graham mentioned, backport it. it's a retardedly simple patch | 01: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 #webgui | 01:12 | |
@pbcj | grahams thing doesn't solve my problem, I think | 01:12 |
Haarg | i've just been throwing out related ideas i had so i'm not sure what problem you were actually dealing with | 01:13 |
Haarg | what are you trying to do? | 01:13 |
@pbcj | I want to process a subtemplate with the same template vars as the host template | 01:13 |
@pbcj | so that custom template content may be broken out | 01:14 |
@preaction | that won't do that then | 01:14 |
Haarg | well | 01:14 |
Haarg | it could be made to do something along those lines | 01:14 |
Haarg | would be kind of ugly though | 01:14 |
@pbcj | this is why I was talking about storing the template vars somewhere | 01:14 |
@pbcj | and that would be ugly | 01:14 |
@pbcj | we're going uglier but less hacky | 01:15 |
Haarg | basically, with that patch, you could write a template toolkit plugin to do pretty much anything you want | 01:15 |
@pbcj | get the vars hash that was passed in? | 01:15 |
@pbcj | and pass it to a subtemplate | 01:15 |
Haarg | the plugin would have access to those variables. the nastier part would be the actual processing of the subtemplate. | 01:16 |
@preaction | which a Template::Provider class would do elegantly | 01:16 |
-!- carogray [~Caroline@173-142-200-215.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 01:17 | |
Haarg | yeah, but that's harder than a one line patch | 01:17 |
@preaction | yes | 01:17 |
-!- carogray [~Caroline@32.178.80.139] has joined #webgui | 01:19 | |
Haarg | actually | 01:19 |
Haarg | with _session in there | 01:19 |
+perlDreamer | wouldn't it make sense to see if content brought in by an INCLUDE directive is reprocessed in the context of the template? | 01:21 |
@preaction | looks like Template::Provider only requires you to override two methods, and should be very long to WebgUI::Asset->newById(...)->view | 01:21 |
Haarg | you could make a plugin 'SubTemplate', used like [% USE SubTemplate('block_name','url-goes-here'); PROCESS block_name %] | 01:21 |
Haarg | would be pretty easy to do as well | 01:21 |
Haarg | maybe it isn't as beautiful as asking for the template directly, but would involve less changes to core. | 01:22 |
@preaction | how 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 tests | 01:23 |
@preaction | gives me more wow for my presentation next week | 01:23 |
Haarg | you'd want to also handle something like 'template:url-blah' for the use case pbcj is talking about | 01:25 |
@preaction | right, because template doesn't use view | 01:26 |
@preaction | though pbcj could just as easily use a snippet | 01:27 |
Haarg | he wants to process the other template though, not include the view of it | 01:28 |
@preaction | Provider does INCLUDE, PROCESS, and that other one | 01:28 |
@preaction | INSERT, is the other one | 01:29 |
Haarg | INSERT is for raw files, it doesn't go through provider | 01:29 |
Haarg | the difference between include and process is just the variables that are passed to them | 01:30 |
@preaction | Template::Provider::_template_content begs to differ with you | 01:30 |
@preaction | This method returns the content of the template for all C<INCLUDE>, C<PROCESS>, and C<INSERT> directives. | 01:30 |
@preaction | the Subclassing section of Template::Provider's docs | 01:31 |
Haarg | eh, i guess so | 01:31 |
Haarg | still 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 |
Haarg | for an asset that you are trying to include i'd think you'd want PROCESS, INCLUDE, and INSERT to all behave the same | 01:34 |
Haarg | unless you actually want the output of an asset to be able to be processed as a template | 01:35 |
@preaction | yes | 01:36 |
Haarg | well i guess that works too | 01:36 |
@preaction | template snippets | 01:36 |
@preaction | or crazy collab setups | 01:37 |
@preaction | KUH | 01:37 |
@preaction | RAISEY | 01:37 |
sbaur | So, 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 |
@preaction | nothing. it doesn't work | 01:38 |
@preaction | there's no way to set where it looks for files, is the problem | 01:38 |
Haarg | we don't specify any include paths, so it can't be used without patching core | 01:38 |
@preaction | much less grabbing assets, which is what we're discussing now | 01:39 |
@preaction | i could add the config stuff while i'm at it too | 01:39 |
sbaur | ok, thanks for the clarification | 01:39 |
@preaction | i could just check if the asset is a template and return template instead of view | 01:40 |
sbaur | seems 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 |
@preaction | but even that directory is configurable | 01:40 |
@preaction | well, uploads is. the parent dir doesn't matter to webgui | 01:41 |
Haarg | the 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 template | 01:41 |
Haarg | since it roughly serves as a replacement for assetproxy | 01:42 |
Haarg | all you have to do is use INCLUDE or PROCESS in one place where it should be IMPORT, and you have all kinds of security issues | 01:42 |
@preaction | but then we can't have snippets that define functions that you can use later | 01:44 |
Haarg | use a template if you want it to be templatable | 01:44 |
Haarg | or make whoever is writing the template explicitly ask for it as a template | 01:45 |
@preaction | but it's not a template, it's a set of functions and cannot be processed by itself. | 01:45 |
@preaction | but then you have the same security problems, no? | 01:46 |
Haarg | the issue is that if someone wants to include an asset like they would have done with assetproxy, they would do something like | 01:46 |
Haarg | [% INCLUDE asset:asset-url %] | 01:47 |
Haarg | which will be a security problem | 01:47 |
Haarg | if they have to say template:asset-url then they are asking for it as a template | 01:47 |
@preaction | only if asset-url was created by a user we don't trust | 01:47 |
@preaction | so doing INCLUDE asset:$postId would be very bad indeed | 01:47 |
Haarg | yes but all kinds of things get included with assetproxy | 01:48 |
Haarg | including plenty of user content | 01:48 |
@preaction | isn't that what INSERT is for then? or IMPORT or what-not? | 01:48 |
@preaction | INSERT asset:asset-url | 01:48 |
Haarg | yes, but you just forgot what it was | 01:49 |
Haarg | do you think a site admin is going to remember when there are three options? | 01:49 |
Haarg | i 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 |
Haarg | something like template: forces them to think more than the difference between PROCESS/INCLUDE/INSERT | 01:51 |
Haarg | i guess i don't see the issue with forcing people to use template assets to store template components | 01:52 |
@preaction | eh, there isn't one really | 01:53 |
@preaction | but what you've said sounds like i can't have asset: in provider, because provider does process include and insert | 01:53 |
jimX11 | A 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 |
@preaction | no | 01:54 |
@preaction | H::T will die | 01:54 |
jimX11 | H:T will die, but I'm using TT2. | 01:55 |
+perlDreamer | that doesn't stop the user from building new, custom templates in H::T | 01:56 |
Haarg | preaction, looking at provider a bit more, INSERT only works with static files | 01:56 |
Haarg | or wait i'm dumb | 01:57 |
Haarg | ok. 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 #webgui | 02: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 #webgui | 02:06 | |
Haarg | pbcj, 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 |
@pbcj | thx, 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 list | 02:08 |
@preaction | oh always | 02:09 |
Haarg | this stuff should all be simple to backport at least, so it shouldn't be a huge problem that it's an old version | 02:10 |
@pbcj | yes, but they aren't using TT to begin with, and that's what I don't have budget for | 02:15 |
@pbcj | however, this could likely solve it for client B. | 02:15 |
@pbcj | I want an overall solution that simplifies branding, for both a single site serving multiple urls, and several individual instances | 02:16 |
-!- carogray [~Caroline@32.178.80.139] has quit [Ping timeout: 258 seconds] | 02:19 | |
fallout | i need some easy bugs to wade into wg with | 02:25 |
@preaction | you might find it easier to start with 8, if you can get it to work | 02:27 |
@pbcj | can I start over and just start with 8? | 02:27 |
@preaction | speaking of which, how's that going scrottie? does anything work on your system yet? can i breathe a sigh of relief? | 02:27 |
fallout | heh | 02:28 |
@preaction | pbcj: no. you don't get 8. no 8 for you! | 02:28 |
fallout | cj you have vm's | 02:28 |
@pbcj | yes, but I get paid for this, so .. | 02:28 |
* pbcj is pinned squarely under the man's thumb | 02:28 | |
@preaction | pbcj: 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 has | 02:29 |
fallout | well, are there major issues with installing 8? | 02:29 |
@preaction | it's pre-alpha | 02:29 |
fallout | if it's similar to issues of old i think i'll survive | 02:29 |
@pbcj | I got it to work, once upon a time | 02:29 |
fallout | erm. | 02:29 |
@preaction | that's as succinct as i can get it | 02:29 |
@preaction | i'm working on trying to push alpha within a couple weeks | 02:29 |
fallout | will it get me karma is really the question i should be asking i suppose ;) | 02:30 |
@scrottie | anything work on my system? hmm? | 02:30 |
* scrottie was afk | 02:30 | |
@scrottie | I 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 | |
@preaction | at least it's doing a good job | 02:31 |
@scrottie | I guess I could test the UI some more. | 02:32 |
@preaction | fallout: afaik there aren't many easy bugs, but perlDreamer would know for sure. you might have better luck attacking the RFE boards | 02:32 |
fallout | roger. | 02:32 |
fallout | appreciate it | 02:32 |
@scrottie | fallout, yeah, even help testing would be good. a big picture of how it's coming together would seem useful. | 02:32 |
+perlDreamer | there's the PayPal locale bug | 02:32 |
@pbcj | fallout: I'd be willing to send you a stuffed octopus named 'gooey', and perlDreamer might be convinced to send you cookies. | 02:32 |
fallout | woot | 02:33 |
fallout | good enough. | 02:33 |
+perlDreamer | that's about as easy as it gets | 02:33 |
@scrottie | install is easy. I fixed up the README that comes with it to include the things that idiots like me tend to forget. | 02:33 |
+perlDreamer | but you need to test BOTH PayPal plugins, since they have different locale setting/form variables | 02:33 |
+perlDreamer | and the bug should be fixed in the master branch | 02:33 |
+perlDreamer | not WebGUI8 | 02:33 |
+perlDreamer | and we can talk about how to backport it to 7.9 | 02:33 |
fallout | ideal =) am looking. | 02:35 |
+perlDreamer | Haarg, what do you remember about this commit: 4350966866835f4a4a468d261fe2284577033c27 | 02:37 |
+perlDreamer | it 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 changed | 02:38 |
+perlDreamer | so, I was thinking of reverting that commit, and adding in a check to duplicate instead | 02:38 |
Haarg | i don't really know | 02: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 | |
cj | fallout: hmm? | 03:11 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 03:13 | |
cj | I do have vms, but why do you mention this? | 03:13 |
@preaction | cj: wrong cj i think. there's a pbcj | 03:14 |
cj | ah. 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 #webgui | 03:19 | |
@scrottie | cj, how's the WebGUI based cart going? | 03:24 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 03:27 | |
cj | scrottie: 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 #webgui | 03:41 | |
-!- fokat [~lem@186.93.207.12] has quit [Ping timeout: 240 seconds] | 03:41 | |
-!- lem_ is now known as Guest27612 | 03:41 | |
-!- Guest27612 [~lem@186.93.207.12] has quit [Quit: Ex-Chat] | 04:05 | |
@scrottie | File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688) ... | 04:36 |
@scrottie | that seems to be working now but I'll have to write tests and commit tomorrow. | 04:36 |
@scrottie | site.psgi looks at the config and enables either XSendfile or Static as appropriate | 04:36 |
@preaction | awesome! | 04:37 |
@preaction | i was worried about that one | 04:37 |
@scrottie | at this point, some of this Plack stuff just needs simplified... | 04:37 |
@preaction | plack itself? or our usage of it? | 04:41 |
@scrottie | the usage of it. | 04:42 |
@scrottie | WebGUI.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 |
@scrottie | except I want to move content type guessing for streamed filehandles up to the top level there. | 04:43 |
@scrottie | most places won't need to call sendHeader. that can be done at the top level and probably no where else. | 04:44 |
@scrottie | that can be rolled into the Request's finalize() method in a subclass. | 04:45 |
@preaction | agreed | 04:46 |
@scrottie | so, Plack continues to simplify everything. yay, yay! | 04:46 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [] | 04:50 | |
@preaction | what 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 robe | 04:51 | |
@scrottie | lineage vs url mostly confuses people, I think. | 04:53 |
@scrottie | it seems like mostly a chance for things to be out of sync. | 04:53 |
@preaction | it confused the hell out of me, yeah | 04:53 |
@preaction | but i also understand the benefit of arbitrary URLs | 04:53 |
@scrottie | I think we should shoot for that for 9. | 04:53 |
@scrottie | usually people pick their URL and then stuff under it goes under it and gets automatically named from the title. | 04:54 |
@scrottie | that wouldn't change. | 04:54 |
@preaction | we'd need a "canonical" URL to keep those automatic names predictable | 04:56 |
@scrottie | ImageMagick 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::Sucks | 04:57 |
@preaction | i'll keep it in mind. i should probably put together my 9 wishlist someday | 04:57 |
@scrottie | postgres. | 04:57 |
@preaction | why not a Graphics::Primitive plugin or what-not? | 04:57 |
@preaction | 9 would have an ORM, so yes. | 04:58 |
@scrottie | hmm, that sounds like a good idea. | 04:58 |
@scrottie | ugh. that's a discussion for another time. | 04:58 |
@preaction | heh | 04:58 |
-!- frodwith [~frodwith@helios.tapodi.net] has left #webgui [] | 04:58 | |
jimX11 | Hmmm, ORMs | 04:58 |
jimX11 | DBIx::Class is making things so simple | 04:59 |
@preaction | well, 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 too | 04:59 |
@scrottie | I 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 #webgui | 05:01 | |
-!- mode/#webgui [+o frodwith] by ChanServ | 05:01 | |
@preaction | you 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 #webgui | 05:43 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:25 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:25 | |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 11:24 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 14:33 | |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 14:34 | |
SDuensin | Thursday. 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 #webgui | 17:28 | |
fallout | SDuensin: well, i'm sure you'll get lots of practice | 17:38 |
SDuensin | :-) | 17:39 |
SDuensin | (Nobody gets my quotes! What kind of geeks are you?!) | 17:39 |
+BartJol | we just ignore them :P | 17:40 |
SDuensin | lol | 17:41 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:54 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:54 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:55 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:09 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 18:14 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 18:14 | |
@pbcj | mornin | 18:14 |
+perlDreamer | yo, pbcj | 18:14 |
@pbcj | =) finally starting to get over this bout. rhinovirus 3, chris 0 | 18:15 |
+perlDreamer | I keep tellin' ya, you spend too much time with weight on both feet, and you're droppin' yer left | 18:17 |
+perlDreamer | that's why he's got you on the ropes | 18:17 |
+perlDreamer | now, keep shifting your weight, move move move | 18:17 |
@pbcj | stick and move | 18:17 |
+perlDreamer | and keep that left up, otherwise he's going to make hamburger out of ya | 18:17 |
+BartJol | what, not playing supertuxcart? | 18:25 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:27 | |
@scrottie | SDunsin, geeks aren't awake at that hour. | 18:30 |
@scrottie | ORMs aren't the future. they're just another tragic chapter in history. | 18:31 |
@pbcj | ORMs are a stepping stone | 18:32 |
@scrottie | ORMs are an attempt to replicate the working set in yet another place because copying data around is so much fun. | 18:34 |
@preaction | why do you hate jesus? | 18:34 |
@preaction | jesus loves ORMs | 18:34 |
@pbcj | ORMs are suppose to add an abstraction layer, albeit a specific abstraction. nHibernate was pretty nice. db4o even better. | 18:38 |
* pbcj begins the flame war | 18:38 | |
@pbcj | so 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 |
@pbcj | idea from: http://stackoverflow.com/questions/1285441/calling-outside-modules-in-template-toolkit-without-plugins | 18:47 |
@pbcj | is this a bad idea? | 18:47 |
+perlDreamer | anything is better than giving them the whole session | 18:51 |
+perlDreamer | once an underprivileged user has a session, they can rewrite passwords, give themselves group membership | 18:52 |
+perlDreamer | and other things for fun and profit | 18:52 |
@preaction | we don't allow full perl blocks | 19:00 |
@preaction | and without downgrade(), i'm not sure how the subs will make it to the template | 19:01 |
@pbcj | I'd be a core change | 19:01 |
@pbcj | It'd | 19:01 |
@pbcj | and only work for TT | 19:01 |
@preaction | and we already have it, in the downgrade() sub. if you allow subrefs to be ported through, it'll work | 19:02 |
@preaction | as for eval_perl, let me get you a patch here quick | 19:02 |
@preaction | https://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 key | 19:04 |
@preaction | so you could do "template" : { EVAL_PERL : 1 } and enable eval_perl | 19:04 |
@preaction | if you're using pre 5.10 perl, you need to change //= into: defined $something ? $something : $default | 19:05 |
@pbcj | hrm, I was actually thinking I could put it in base template, and had started down that road as a test | 19:12 |
@pbcj | this is probably riddled with perl noob mistakes, but this is what I was going for: https://gist.github.com/5444b48de7bfeeb594b8 | 19:12 |
* pbcj has not run that code. don't shoot me | 19:12 | |
@preaction | that won't work with H::T, and will break any H::T template | 19:12 |
@pbcj | screw H::T | 19:13 |
@pbcj | I 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 #webgui | 19:36 | |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 19:40 | |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Remote host closed the connection] | 19:57 | |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 19:57 | |
-!- CIA-80 [cia@cia.atheme.org] has quit [Remote host closed the connection] | 20:01 | |
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui | 20:23 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 20:40 | |
-!- fokat [~lem@190.204.78.19] has joined #webgui | 20:50 | |
-!- fokat [~lem@190.204.78.19] has quit [Ping timeout: 240 seconds] | 21:01 | |
Haarg | pbcj, if you apply my patch to add _session to vars, you can then use a plugin like this | 21:55 |
Haarg | http://gist.github.com/969192 | 21:55 |
Haarg | and do [% USE WGTemplate; WGTemplate.process('url-here') %] | 21:56 |
@pbcj | still need the vars passed, though | 21:57 |
Haarg | $context->process keeps the vars | 21:57 |
@pbcj | oh, saweet | 21:58 |
@pbcj | this still puts session in vars tho | 22:12 |
@preaction | _ vars cant be accessed from the template | 22:12 |
@preaction | only from plugins and such | 22:12 |
@pbcj | oh, right, I think I discovered that once | 22:12 |
@pbcj | nice | 22:12 |
@pbcj | then, purrrfect | 22:13 |
@pbcj | ty | 22:13 |
-!- CIA-82 [cia@cia.atheme.org] has quit [] | 22:20 | |
@pbcj | CIA is not doing well today | 22:22 |
+perlDreamer | He needs some Botspo-Bismal | 22:32 |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.] | 22:33 | |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 22:35 | |
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui | 22:40 | |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.] | 22:46 | |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 22:52 | |
@scrottie | http://pghpw.org/ppw2011/ ... I'm thinking about putting in "WebGUI 8 as a Plack Web Development Framework". | 23:34 |
@scrottie | btw, 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 #webgui | 01:04 | |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 01:04 | |
-!- lem_ is now known as Guest7516 | 01: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 #webgui | 02: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-82 | webgui: Scott Walters WebGUI8 * r7a994b5 / (6 files in 6 dirs): (log message trimmed) | 04:11 |
CIA-82 | webgui: File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688) | 04:11 |
CIA-82 | webgui: New API method: WebGUI::Response::sendFile; it, as appropriate, calls | 04:11 |
CIA-82 | webgui: setRedirect or setStreamedFile, depending on enableStreamingUploads config var. | 04:11 |
CIA-82 | webgui: setStreamedFile now kicks off the XSendfile process. | 04:11 |
CIA-82 | webgui: File.pm now uses this instead of trying to set both a redirect and a stream. | 04:11 |
CIA-82 | webgui: IO::File::WithPath blows up if a file doesn't exist so this raises an exception | 04:11 |
* scrottie & | 04:12 | |
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 04: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 #webgui | 05: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 #webgui | 05:23 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 05: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 #webgui | 07: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 #webgui | 07:45 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 08:49 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:29 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 13:05 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Read error: Operation timed out] | 14:23 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 14:24 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 14: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 #webgui | 16:23 | |
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 16:40 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds] | 16:43 | |
SDuensin | FrIdAy13tH! | 16:50 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 17:25 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:48 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17: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 | |
@scrottie | GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD MORNING VIETNAM | 19:41 |
@scrottie | oh, hell. | 19:41 |
@scrottie | it is. | 19:41 |
@scrottie | so that's why I stabbed myself with a rusty nail this morning. | 19:42 |
SDuensin | Well 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 #webgui | 21:00 | |
@preaction | so since I wrote WebGUI::Template::Provider today, does that mean it's the unholy spawn of our evil dark lord, Mr. Fuzzydrawers? | 21:41 |
@scrottie | vi lib/WebGUI.pm ... :w ... lib/WebGUI.pm: 209 lines, 6666 characters. | 21:49 |
@preaction | oh god, it's STARTING | 21:50 |
@scrottie | I guess wc -c would be easier. | 21:50 |
@scrottie | hrm, 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 #webgui | 22:28 | |
-!- mode/#webgui [+o rizen] by ChanServ | 22:28 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 22:42 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 22:42 | |
-!- fokat [~lem@190.72.135.232] has joined #webgui | 23: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 #webgui | 23: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 | |
@preaction | I CAN FINALLY CHECK IN THIS MERGE! | 02:13 |
@preaction | full test suite runs expectedly dirty! only POD.t and Whitespace.t fail! | 02:14 |
@preaction | git add lib t | 02:14 |
@preaction | that's the wrong window | 02:14 |
CIA-82 | webgui: Doug Bell WebGUI8 * r277faae / (848 files in 205 dirs): (log message trimmed) | 02:21 |
CIA-82 | webgui: Merge commit 'v7.10.15' into 8 | 02:21 |
CIA-82 | webgui: Conflicts: | 02:21 |
CIA-82 | webgui: docs/gotcha.txt | 02:21 |
CIA-82 | webgui: docs/previousVersion.sql | 02:21 |
CIA-82 | webgui: docs/templates.txt | 02:21 |
CIA-82 | webgui: lib/WebGUI.pm | 02:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * r677ac97 / (89 files in 28 dirs): | 02:21 |
CIA-82 | webgui: Merge branch 'WebGUI8' of github.com:plainblack/webgui into 8 | 02:21 |
CIA-82 | webgui: Conflicts: | 02:21 |
CIA-82 | webgui: lib/WebGUI.pm | 02:21 |
CIA-82 | webgui: lib/WebGUI/Auth/WebGUI.pm | 02:21 |
CIA-82 | webgui: sbin/findBrokenAssets.pl | 02:21 |
CIA-82 | webgui: sbin/testEnvironment.pl - http://bit.ly/k0dBsw | 02:21 |
sbaur | congrats 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 #webgui | 04:29 | |
@scrottie | preaction, just between you and I, I think you should release a public beta of WebGUI8 at midnight. | 04:43 |
@preaction | 11:59 perhaps? | 04:43 |
@scrottie | works. | 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 #webgui | 13:24 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 13:27 | |
-!- KlausH [~KlausH@pD952A00E.dip0.t-ipconnect.de] has joined #webgui | 14: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 #webgui | 18:55 | |
-!- mode/#webgui [+o rizen] by ChanServ | 18: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 #webgui | 22:04 | |
--- Day changed Sun May 15 2011 | ||
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 03: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 #webgui | 05: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 #webgui | 06:52 | |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 06:52 | |
-!- lem_ is now known as Guest40665 | 06: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 #webgui | 07: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 #webgui | 09:22 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds] | 09:34 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:43 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 12: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 #webgui | 13: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 #webgui | 15:24 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 15:24 | |
-!- carogray [~Caroline@184-201-247-71.pools.spcsdns.net] has joined #webgui | 15:38 | |
-!- carogray1 [~Caroline@173-101-178-251.pools.spcsdns.net] has joined #webgui | 16: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 #webgui | 17: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 #webgui | 17: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 #webgui | 18: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 #webgui | 18:50 | |
-!- carogray1 [~Caroline@173-125-127-35.pools.spcsdns.net] has joined #webgui | 18: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 #webgui | 00:44 | |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 01:40 | |
-!- Baub [~ilikegyro@cblmdm24-53-133-235.buckeyecom.net] has joined #webgui | 02: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 #webgui | 04:06 | |
-!- andyiomoon [~andyiomoo@vpn246-8.cc.swin.edu.au] has joined #webgui | 04: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 #webgui | 05: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 #webgui | 05: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 #webgui | 06: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 #webgui | 07: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 #webgui | 10:22 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 11: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 #webgui | 13: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 #webgui | 14:19 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14: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 #webgui | 15:01 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 15:02 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 15: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 #webgui | 15:04 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 16: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 #webgui | 16:35 | |
SDuensin | Greetings. | 16:50 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 16:56 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 16: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 #webgui | 17:28 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17: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 #webgui | 17:46 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:46 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds] | 17:47 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17: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 #webgui | 21:40 | |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 22: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 #webgui | 00:04 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 00:05 | |
CIA-82 | webgui: Paul Driver master * rc1a2918 / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/iuwgWG | 00:13 |
CIA-82 | webgui: Paul Driver webgui-7.9 * red2a50d / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/kTijeG | 00:17 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r0d66ad4 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/lSSc0G | 00:17 |
CIA-82 | webgui: Paul Driver master * r4af2c84 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/kQoC2H | 00: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 #webgui | 02:05 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:27 | |
jimX11 | how can I generate a new session id? This ain't it: $session->id->generate | 03:00 |
@scrottie | are you calling the docs a liar? | 03:04 |
@scrottie | what error do you get? | 03:05 |
@preaction | do you mean you want a new session? | 03:05 |
@preaction | or just an ID? | 03:05 |
jimX11 | just an id | 03:05 |
jimX11 | well it could be me. | 03:05 |
@preaction | then yes, session->id->generate | 03:05 |
@scrottie | I might guess that you have a $self but not a $session. does the module load? | 03:05 |
jimX11 | Hmm. | 03:05 |
@scrottie | is there anything in the mod_perl error log about this module? | 03:06 |
Haarg | what does generate give you that is different from what you are expecting? | 03:06 |
jimX11 | In 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 |
jimX11 | my $session = WebGUI::Test->session; | 03:07 |
@scrottie | paste the code around this loop into a gist.github.com gist? | 03:07 |
jimX11 | is my seesion. | 03:07 |
@scrottie | or use +http://webgui.pastebin.com | 03:08 |
jimX11 | https://gist.github.com/975636 | 03:08 |
Haarg | pastebin doesn't have subdomains like that anymore actually | 03:09 |
-!- targz [~gmac@heaton.plus.com] has joined #webgui | 03:09 | |
jimX11 | the 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 |
jimX11 | well, I made a test loop and that craeted new ids (just as the docs say). So must be something in my loop. | 03:13 |
jimX11 | ok, session->id->generate is the right thing to use here. Just checking my assumptions (because at least one of the is wrong). | 03:14 |
targz | I'm planning a WebGUI deployment for later this year. Any idea when WebGUI8 might be released? | 03:16 |
targz | I'd really like a Plack/PSGI-based version to work with. | 03:17 |
@scrottie | targz, check out a copy now and test it. | 03:19 |
@scrottie | there 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 |
targz | I 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 |
@scrottie | regardless, 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 |
@scrottie | preaction will have to speak to that. | 03:21 |
targz | It's more a case of trying out new server options with PSGI eg. Starman, nginx etc. | 03:22 |
@preaction | i'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 |
@preaction | normal 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 stable | 03:23 |
targz | Sounds like the back end of this year then. Good to have some idea. Thanks. | 03:23 |
@preaction | as long as you write no custom code, the upgrade should happen as normal, though i'll get a feel for that in these coming weeks | 03:24 |
@scrottie | a lot of this has to do with how brave you are. | 03:25 |
@preaction | indeed | 03:25 |
@preaction | but 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 universe | 03:25 |
@scrottie | fwiw, we're stoked about Plack too. | 03:25 |
@scrottie | have those Test::Class tests seen the light of day any time recently? | 03:27 |
@preaction | crap, you're right. those don't get run with a normal run... | 03:28 |
@scrottie | they're too obnoxious. but they might be worth running manually. | 03:28 |
targz | Where can I get WebGUI 8 source code? Can't see anything on the website. | 03:33 |
@preaction | http://github.com/plainblack/WebGUI8 i think | 03:33 |
@preaction | https://github.com/plainblack/WebGUI/tree/WebGUI8 <- nope, this | 03:34 |
jimX11 | thanks for the tips, the problem was in the method chaining. | 03:43 |
targz | The fie I downloaded is labelled ... v7.10.15 ... Is that the correct one? | 03:50 |
@preaction | targz: no, you need to clone the git repo and checkout the WebGUI8 branch | 03:50 |
targz | Right. So it's a Git job. | 03:51 |
jimX11 | where can I read about adding a user via the command line? Maybe something in /data/wre/sbin will help? | 04:00 |
@preaction | wgd might be able to do it | 04:00 |
@preaction | maybe not. looks to only be able to test the security of passwords | 04:01 |
Haarg | userImport.pl can do some user manipulation | 04:02 |
Haarg | it's kind of painful to work with though | 04:02 |
jimX11 | ok. | 04:04 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 04:22 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04:22 | |
-!- targz [~gmac@heaton.plus.com] has left #webgui [] | 04:27 | |
+perlDreamer | what's the magic CPAN invocation to tell it just to install all these temporary modules needed for building other modules? | 05:17 |
@preaction | EM_MM_USEDEFAULT=1 maybe? dunno | 05:26 |
@preaction | cpanm maybe? | 05:26 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 05:45 | |
+perlDreamer | mmm, cpanm! | 05:48 |
Haarg | o conf build_requires_install_policy yes | 06:34 |
+perlDreamer | thanks Haarg | 07:04 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 07:30 | |
elnino | hi. 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 |
@preaction | no, but that might be an outstanding RFE | 07:32 |
elnino | ok. 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" row | 07:33 |
CIA-82 | webgui: Colin Kuskie master * r2ab9773 / lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm : Remove variables that were not being used. - http://bit.ly/kVFzeP | 07:34 |
CIA-82 | webgui: 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/lQxBVA | 07:34 |
CIA-82 | webgui: 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/kg9V4C | 07:37 |
jimX11 | well, 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 |
elnino | are you talk to me? | 07:54 |
+perlDreamer | preaction: heads up. There's some intermittent bug in AssetLineage.t | 07:55 |
jimX11 | elnino:sorry wrong window. | 07:55 |
elnino | lol. that's ok. it kinda sounded related to what I was doing. =) | 07:55 |
@preaction | perlDreamer: what happens? | 07:56 |
+perlDreamer | http://www.webgui.org/use/bugs/tracker/12130 | 07:56 |
+perlDreamer | setRank fails to move an asset | 07:56 |
CIA-82 | webgui: Colin Kuskie master * re33c41b / t/Asset/AssetLineage.t : Add more tests around a test that fails intermittently in AssetLineage.t - http://bit.ly/kMt2zt | 07:58 |
@preaction | jimX11: you should have a data structure that looks like this: columns => [ { name => 'name', label => 'Name' } ... ], rows => [ { row => [ { name => 'Value' } ... ] }, { row => [ { name => 'Value2' } ] } ] } | 07:58 |
@preaction | the DataTable asset does something like it, iirc | 07:58 |
@preaction | perlDreamer: that has to be a recent happenstance. perhaps git bisect can help you? | 07:58 |
+perlDreamer | I don't think it's recent, I think it's rare | 07:58 |
+perlDreamer | and I can't duplicate it | 07:59 |
+perlDreamer | but I've got the test log that shows what'sup | 07:59 |
+perlDreamer | if I hadn't had to spend the last hour fixing test failures from RFE's I may have never seen it even this time | 07:59 |
@pbcj | Haarg, got that TT plugin working. ended up like this: https://gist.github.com/975976 this way it can branch to a H::T | 08:00 |
CIA-82 | webgui: Colin Kuskie master * r669a071 / docs/create.sql : Preparing for 7.10.16 release. - http://bit.ly/iNOipy | 08:00 |
@pbcj | [% USE SubTemplate; SubTemplate.process('/other-template') %] | 08:00 |
@pbcj | thx for your assist on that | 08:01 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:02 | |
jimX11 | preaction: 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 |
@preaction | H: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 TT | 08:04 |
@preaction | but working with H:T means massaging the data into what H:T expects, even if that requires a few dozen map { } calls | 08:04 |
+perlDreamer | preaction, the new AssetProperty macro lets you pull any property from a macro without doing group checks | 08:08 |
+perlDreamer | is that legal? | 08:08 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 08:08 | |
+perlDreamer | let me try that again | 08:08 |
+perlDreamer | preaction, the new AssetProperty macro lets you pull any property from any asset without doing privilege checks | 08:08 |
@preaction | perhaps ask the author if that's a requirement? i could go either way really | 08:10 |
+perlDreamer | I'm probably just being paranoid again | 08:11 |
+perlDreamer | never mind | 08:11 |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 08:15 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 08:16 | |
@scrottie | bash needs the perl /x flag for commands. | 08:16 |
@scrottie | or maybe I need to investigate perl shells. | 08:17 |
CIA-82 | webgui: Colin Kuskie master * rbba52dd / (4 files in 4 dirs): Ready for 7.10.17 development. - http://bit.ly/kU4WYy | 08:20 |
Haarg | that 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 |
jimX11 | preaction: 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 |
jimX11 | I 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 | |
@preaction | wait a minute. aren't files supposed to be included in packages? | 09:02 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:02 | |
@preaction | the actual file contents? | 09:02 |
@scrottie | hrm. I have in the past wgd package'd up pngs and moved them over. | 09:03 |
@scrottie | I 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 #webgui | 09:03 | |
@preaction | maybe it's because these are collab posts and the attachments don't come with them? | 09:04 |
* scrottie waves to andyiomoon | 09:04 | |
@preaction | like dataform entries don't come with the dataform | 09:04 |
@preaction | nope, attachments are included with posts. | 09:04 |
@preaction | why do i always have to find bugs when it's a data recovery emergency? | 09:05 |
@scrottie | uh oh. | 09:05 |
@preaction | i'm fine, i can get the data, it's just annoying | 09:05 |
@preaction | the package wouldn't import, had to do it three times, somehow repeating it make it eventually work | 09:05 |
@preaction | but the package didn't export any files... because the files weren't there because the assets were from the backup but the files were not | 09:06 |
@preaction | so that's not a bug | 09:06 |
@preaction | just out of sync data | 09:06 |
@preaction | but having to import three times... | 09:06 |
@preaction | maybe because the storageId was there but there was no data? | 09:06 |
@scrottie | could be. | 09:07 |
@preaction | it's 1:00am. i'm not going to go digging, but i will leave a note to dig tomorrow | 09: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 #webgui | 09:08 | |
@scrottie | "my $storage = $asset->exportPackage;" seems to be the heart of package building. | 09:08 |
@scrottie | and importPackage() to import them. | 09:09 |
* andyiomoon doffs lid to scrottie | 09:09 | |
@scrottie | ready for another exciting day, andyiomoon? | 09:09 |
andyiomoon | boy am I!!! | 09:10 |
andyiomoon | that might have sounded a little too enthusiastic | 09:10 |
@scrottie | enthusiasm 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 | |
@preaction | and for some reason tar didn't extract all the images correctly, or worse those images are missing... | 09:16 |
@scrottie | hrm. 'info'/'debug' level logging is going to have to be retained, I think. | 09:16 |
@preaction | most definitely | 09:17 |
@scrottie | (I can't remember right now what you wrote earlier) | 09:17 |
@preaction | fatal needed to go away because all errors are potentially recoverable and logging an error should not include a die() | 09:18 |
@scrottie | exceptions 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 |
@scrottie | there's something nice about being able to turn debug volume to 11 when you're testing a failure scenario. | 09:22 |
@preaction | i 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 #webgui | 10:23 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:23 | |
@scrottie | kill it with fire. | 10:41 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 10: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.com | 12: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 #webgui | 14: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 #webgui | 15:54 | |
jimX11 | wreservice.pl --restart modperl give a "FAILED!" message. The log /data/wre/va\ | 16:05 |
jimX11 | r/logs/modperl.error.log look normal "resuming normal operations" but modperl a\ | 16:05 |
jimX11 | ppears 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 | |
jimX11 | I'm guessing one of my modules fails to compile, but no mention of that in the log. | 16:17 |
+BartJol | jimX11: sometimes I see a FAILED message, while actually modperl is fine | 16:26 |
+BartJol | but in yeurcase it doesn't look like it | 16:26 |
+BartJol | I think yopu can adjust the log level | 16:27 |
jimX11 | BartJol: I'll adjust the log level and see if something turns up in the logs. Thanks. | 16:27 |
+BartJol | in the wre it is in modperl.conf in /data/wre/etc | 16:28 |
SDuensin | Only Tuesday!? ACK! | 16:41 |
jimX11 | BartJol: 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 |
+BartJol | well, bon appetit | 16:53 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:33 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:33 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:54 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:54 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17: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 #webgui | 18:31 | |
-!- mode/#webgui [+o rizen] by ChanServ | 18:31 | |
+perlDreamer | preaction: got some action on the Data::Serializer::JSON bug report | 18:37 |
+perlDreamer | the author is hesitant to accept the patch, because the author of JSON provided the original | 18:38 |
@rizen | he's just the author of json, what does he know about it? =) | 18:38 |
+perlDreamer | oh sure, take his side! | 18:39 |
+perlDreamer | what do you know about authoring large, popular software programs? | 18:39 |
@rizen | nothing | 18:40 |
@rizen | i've only authored large unpopular programs | 18:40 |
@rizen | many times | 18:40 |
@rizen | =) | 18:40 |
+perlDreamer | 4th times the charm! | 18:42 |
+perlDreamer | okay, 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 |
@rizen | sounds awfully sweet. i'd say, throw that crap away and make me an omelet! | 18:43 |
@rizen | =) | 18:43 |
+perlDreamer | from now on, I'm only making the kids spaghetti with peanut butter and worchestershire sauce | 18:44 |
Haarg | perlDreamer, i think for the purposes of that Data::Serializer::JSON issue, using utf8 encoding and decoding would probably be the way to go | 19:08 |
@preaction | http://www.webgui.org/use/bugs/tracker/12132 <- fun bug I found at 2:00am last night! | 19:09 |
+perlDreamer | oooohhhh, very evil! | 19:15 |
@preaction | now i just gotta find out why the frankenstein package i made completely blew up | 19:24 |
CIA-82 | webgui: Doug Bell WebGUI8 * r01b9d95 / lib/WebGUI/Asset/RichEdit.pm : fix RichEdit merge - http://bit.ly/klsoRP | 19:49 |
@preaction | should inheriting from WebGUI::Asset load WebGUI::Definition::Asset for you? | 19:52 |
@preaction | i can reduce this Hello World asset by a line, and a confusing error | 19:53 |
@preaction | nope, 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 need | 20:06 |
jimX11 | lunch anyone? Bean nachos. Hmm. | 20:20 |
+perlDreamer | preaction, I did a little digging into that bug and I'm confused | 20:36 |
+perlDreamer | www_lock calls addRevision | 20:37 |
+perlDreamer | addRevision creates a tag if it doesn't exist | 20:37 |
+perlDreamer | or if the parent doesn't have an open tag | 20:37 |
+perlDreamer | or if there's no autocommit workflowId | 20:37 |
+perlDreamer | I mean, on the surface it looks fine | 20:37 |
@preaction | shit | 21:07 |
@preaction | shit shit shit | 21:07 |
@preaction | then i don't even know | 21:07 |
@preaction | i was looking at 8, which does things differently | 21:07 |
@preaction | then i don't know what happened. | 21:10 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 21:26 | |
+perlDreamer | later 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 #webgui | 21:43 | |
knowmad | i 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 |
@preaction | knowmad: add it to the existing DataForm asset and send us a patch? | 21:46 |
@preaction | though, isn't there a global reply-to address in the settings? | 21:46 |
@preaction | it has to be different than From:? | 21:46 |
knowmad | i didn't see one but let me check again... | 21:47 |
knowmad | i 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 field | 21:48 |
@preaction | but yes, if it's not there, i approve the RFE | 21:49 |
knowmad | when you say "global reply-to address in the settings", do you mean in the DataForm.pm definition? | 21:49 |
knowmad | preaction: there is a reply-to option in WebGUI::Mail::Send so adding a reply-to field in settings is easy | 21:51 |
knowmad | unfortunately, i need to be able to populate that with a value from the dataform | 21:52 |
knowmad | oh, wait, I should be able to do it the same way we handle from, subject, cc, etc | 21:52 |
@preaction | yeah, that | 21:53 |
knowmad | ok, i'll submit an rfe and patch | 21:54 |
+perlDreamer | it would probably be best to extend the default field set that's setup to add the Reply-To: Field in there | 21:55 |
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen] | 21:57 | |
jimX11 | I 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 |
@scrottie | https://github.com/miyagawa/Plack-Middleware-InteractiveDebugger | 22:42 |
+perlDreamer | GUID's are URL safe, jimX11 | 22:42 |
CIA-82 | webgui: Doug Bell WebGUI8 * r1f75069 / lib/WebGUI/Asset.pm : allow assetName to be a normal, non-i18n string - http://bit.ly/iN4By9 | 23:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * r587d494 / (2 files in 2 dirs): add Template Toolkit plugins/extentions - http://bit.ly/muddFD | 23:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * r72d32d6 / lib/WebGUI/Template/Provider.pm : clarify returning from try/catch - http://bit.ly/izQVWu | 23:28 |
knowmad | perlDreamer: 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 form | 23:32 |
@preaction | yes, most likely | 23:33 |
knowmad | on another topic, i need to integrate an external script into a WebGUI site | 23:33 |
knowmad | thanks preaction | 23:33 |
knowmad | it will take form input, process it and return output | 23:34 |
knowmad | i'm looking for quick and maintainable (realizing that these may be mutually exclusive) | 23:34 |
knowmad | ideally, i'd like the output to be handled by a wG template; any suggestions? ideas? | 23:34 |
@preaction | i'd say an asset, it would have to be | 23:38 |
@preaction | parsing the output yourself and then giving it to a template | 23:38 |
knowmad | do i need a wobject or can i get by with a plain asset? | 23:39 |
knowmad | Believe it or not, I've never written one so I'm kinda looking forward to the opportunity | 23:40 |
@preaction | wobject adds style templates, so you probably want a wobject | 23:40 |
@preaction | wish i had 8 out, i'm writing a presentation right now about HelloWorld asset and a simple DBIx::Class wobject | 23:41 |
knowmad | yeah, we probably do; now to learn about wobjects ;) | 23:41 |
knowmad | do you have an ETA on the release of 8? | 23:41 |
@preaction | i'm planning on an alpha next month. a beta when pb.com and wg.org are settled and stable | 23:42 |
@preaction | alpha will be like a beta cycle, only with an alpha name and not stopping 7.9 stable dev | 23:42 |
knowmad | excellent | 23:44 |
@preaction | anyone care to comment on the state of the 8-apps presentation so far? http://preaction.github.com/WebGUI/8-apps.html | 23:53 |
Haarg | perlDreamer, re Data::Serializer::JSON, have you tried using it with utf8 encoding turned on for both encode and decode? | 23:55 |
+perlDreamer | no, I just used what we use internally | 23:55 |
+perlDreamer | from_json and to_json | 23:55 |
+perlDreamer | which the docs say will handle UTF8 correctly | 23:55 |
--- Day changed Wed May 18 2011 | ||
Haarg | if you are storing it in a text column yes | 00:01 |
Haarg | from_json is the same as JSON->new->decode() | 00:01 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:01 | |
Haarg | if you store the data in a blob or something binary, letting JSON do the encoding/decoding is fine | 00:03 |
+perlDreamer | I think part of the problem is that we don't know what it's going to be stored as | 00:23 |
+perlDreamer | the backend could be anything | 00:23 |
+perlDreamer | so, for context, I came across that when I tried to use CHI, with Fast_MMAP, with JSON as the serializer | 00:24 |
+perlDreamer | the site that was using it had smart quotes, which all broke with JSON as the serializer | 00:24 |
+perlDreamer | worked fine with Storable, but the original version of Storable was writing stuff that it couldn't read | 00:25 |
+perlDreamer | so the site would throw a 500 error | 00:25 |
Haarg | for things like that, having it not encoded is probably wrong, but due to perl internals probably works anyway | 00:25 |
Haarg | i think for a cache system you should probably always be assuming the backend is dealing in bytes | 00:26 |
+perlDreamer | currently it's encoding asymmetrically | 00:26 |
Haarg | yeah, with something like fastmmap though, it probably just goes directly to the internal representation | 00:26 |
Haarg | which just happens to be utf8ish | 00:26 |
Haarg | and so it round trips correctly by luck | 00:26 |
+perlDreamer | hm | 00:27 |
Haarg | i could be wrong about that, but i think what is needed is to encode and decode both with utf8 on | 00:27 |
+perlDreamer | so you would s/JSON->new->decode($_[1]);/JSON->new->utf8->decode($_[1]);/ | 00:27 |
Haarg | for the caching thing yes | 00: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 |
+perlDreamer | you'd use the URL of the asset for that | 00:30 |
+perlDreamer | $self->getUrl | 00:30 |
jimX11 | thanks | 00:30 |
+perlDreamer | if you every really did want the page url from the session, $session->url->page | 00:31 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:35 | |
SquOnk | Greetings. | 00:35 |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 252 seconds] | 00:36 | |
+perlDreamer | yo, SquOnk | 00:36 |
SquOnk | Need 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 #webgui | 00:37 | |
+perlDreamer | what defines "current"? | 00:37 |
SquOnk | They 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 |
+perlDreamer | sorry | 00:37 |
SquOnk | perlDreamer: Whichever one they shortcut and paste in the main page. | 00:37 |
+perlDreamer | that's an Asset focus problem | 00:37 |
+perlDreamer | when they vote, you go into the Asset | 00:37 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 00:38 | |
SquOnk | Exactly. I told them that. Is there any way to prevent that? | 00:38 |
+perlDreamer | change the Poll to submit ajax? | 00:38 |
+perlDreamer | and pull data via AJAX? | 00:38 |
+perlDreamer | I'm pretty sure the ajax submit can happen with just a template change | 00:38 |
+perlDreamer | but pulling the data can't | 00:38 |
SquOnk | perlDreamer: Haven't done that. | 00:39 |
+perlDreamer | unless you forced a page reload or something | 00:39 |
+perlDreamer | SquOnk, there are lots of examples of making AJAX requests in WebGUI | 00:41 |
+perlDreamer | and if a JS-hating bigot like me can do it, then esteemed university professors can do it too | 00:41 |
SquOnk | perlDreamer: Oh, but I'm not doing it. | 00:42 |
SquOnk | perlDreamer: *They* are doing it. | 00:42 |
+perlDreamer | ah | 00:42 |
+perlDreamer | it would be a cool RFE to add a real AJAX API to the Poll | 00:44 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 248 seconds] | 00:46 | |
+perlDreamer | preaction, re 8-presentation, have you had time to check out the InnoDB migration code? | 00:50 |
@preaction | it is not part of the upgrade yet, no | 00:50 |
* SquOnk wonders about the Pg-based version | 00:53 | |
+perlDreamer | SquOnk, we're just waiting for your patches :) | 00:54 |
SquOnk | perlDreamer: :) | 00:54 |
+perlDreamer | actually, there have been a couple of different people who have asked about that now | 00:55 |
+perlDreamer | and a db agnostic way of running wG would make the demo system very easy | 00:55 |
+perlDreamer | something that is SQLite backed, for example | 00:55 |
SquOnk | perlDreamer: "db agnostic" implies DBIx::Class | 00:56 |
+perlDreamer | no, it implies working with lots of other database backends | 00:56 |
+perlDreamer | converting WebGUI to DBIx::Class would be about the same amount of work, or more, than converting it to Moose | 00:56 |
+perlDreamer | that was close to two years | 00:56 |
@preaction | it wouldn't have to be DBIC though | 00:56 |
SquOnk | perlDreamer: 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 |
+perlDreamer | going through all the SQL to make sure it works with Postgres I think would be a smaller task | 00:57 |
+perlDreamer | SquOnk, I'm sold on the concept | 00:57 |
+perlDreamer | Totally think we should go with some kind of ORM | 00:57 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 00:57 | |
+perlDreamer | but that's a different concept than making sure wG's current SQL works on pG | 00:57 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 00:59 | |
CIA-82 | webgui: 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/iYl6y8 | 01:08 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds] | 01:10 | |
CIA-82 | webgui: Graham Knop tt-asset-plugin * rd1f93b8 / lib/WebGUI/Template/Plugin/Asset.pm : add Asset template plugin (+1074 more commits...) - http://bit.ly/iCpBOG | 01:11 |
CIA-82 | webgui: 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/iiZorz | 01:14 |
jimX11 | i 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-82 | webgui: Doug Bell WebGUI8 * r72667d0 / lib/WebGUI/FormBuilder/Role/HasObjects.pm : add process() sub for FormBuilder - http://bit.ly/inwbRk | 01:31 |
+perlDreamer | jimX11, check for syntax errors in the www_foo func, the webgui.log file tells all | 01:39 |
jimX11 | ok | 01:39 |
jimX11 | it 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 | |
@scrottie | jimX11, 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 | |
jimX11 | well, I can't figure it out. | 02:36 |
jimX11 | maybe I incorrect case? This should send it to www_editRow: ?func=editRow; | 02:37 |
jimX11 | I 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 |
jimX11 | perlDreamer: 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 #webgui | 04:24 | |
jimX11 | I even removed use directives applied to my other packages. | 04:31 |
+perlDreamer | I have no idea | 05:10 |
+perlDreamer | when I visit /home/untitled?func=foo | 05:11 |
+perlDreamer | I get the output of the foo method | 05:11 |
+perlDreamer | if you were to go to /home?func=foo | 05:11 |
jimX11 | oh | 05:11 |
jimX11 | yea | 05:11 |
+perlDreamer | you'd be trying to get foo from the layout containing the untitled asset | 05:11 |
+perlDreamer | remember, layouts ALWAYS show the view method of their child assets | 05:11 |
+perlDreamer | if you want to call a method directly on a child asset, you hve to use ITS url instead | 05: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 #webgui | 05: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 #webgui | 05: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 #webgui | 06:52 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 06:53 | |
-!- Netsplit *.net <-> *.split quits: jimX11 | 07:09 | |
-!- Netsplit over, joins: jimX11 | 07: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 #webgui | 08:21 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:02 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:30 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:30 | |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 12:00 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 13:43 | |
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has joined #webgui | 15: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 #webgui | 15:30 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 16: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 #webgui | 17:07 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:12 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:12 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 17:16 | |
SDuensin | Greetings. | 17:25 |
@pbcj | morn' | 17:30 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 17:44 | |
-!- targz [~gmac@heaton.plus.com] has joined #webgui | 17:52 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:53 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:53 | |
targz | Need help getting WebGUI8. Have git cloned the repo and 'git checkout WebGUI8'. What next? | 17:53 |
targz | Don't see any app.psgi file | 17:54 |
+perlDreamer | it's /data/WebGUI/app.psgi | 17:57 |
+perlDreamer | well, or whereever you installed WebGUI, in the top level directory | 17:57 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 17:57 | |
targz | no /data | 17:58 |
+perlDreamer | where did you install WebGUI? | 17:58 |
targz | It was a git clone, not a download | 17:58 |
+perlDreamer | all right, where did you clone WebGUI? | 17:59 |
targz | I was prev. advised to clone the git repo | 17:59 |
targz | cloned into webgui directory | 17:59 |
@preaction | so it should be webgui/WebGUI/app.psgi no? | 17:59 |
@preaction | where's the lib directory? app.psgi should be in the same directory as lib and README and a few other files | 18:00 |
+perlDreamer | app.psgi is in the git repo | 18:00 |
@preaction | also, you might be interested in http://preaction.github.com/WebGUI/8-apps.html | 18:00 |
+perlDreamer | definitely | 18:00 |
targz | all I see is asset_status.ods, docs, etc, lib, sbin, t, var, www | 18:00 |
targz | lib contains Spectre, WebGUI, WebGUI.pm | 18:01 |
+perlDreamer | github says it's in there: https://github.com/plainblack/webgui/tree/WebGUI8 | 18:01 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:02 | |
targz | Not the URL I used | 18:02 |
@preaction | who did you clone from? | 18:02 |
targz | https://github.com/preaction/webgui.git | 18:02 |
targz | Maybe explains it | 18:02 |
@preaction | yeah, that's out of date | 18:02 |
+perlDreamer | oh, that's not the right place | 18:02 |
@preaction | but you can fix that easy | 18:02 |
targz | Why is that the main URL listed on GitHub then? | 18:03 |
@preaction | git remote rm origin; git remote add origin git@github.com:plainblack/webgui.git | 18:03 |
@preaction | uh... it should not be, where is it listed? | 18:03 |
targz | Link from here: https://github.com/preaction | 18:04 |
@preaction | targz: i have a personal fork of WebGUI, but WebGUI's main repo is in the Plain Black organization | 18:05 |
targz | Anyway, I have the correct URL now so thanks. | 18:08 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:08 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 18:08 | |
-!- targz [~gmac@heaton.plus.com] has left #webgui [] | 18:11 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18: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 #webgui | 19:13 | |
-!- mode/#webgui [+o rizen] by ChanServ | 19:13 | |
-!- mode/#webgui [-o rizen] by pbcj | 19:21 | |
-!- BugSlasherMcGurk [~rizen@69.71.243.246] has joined #webgui | 19:32 | |
-!- mode/#webgui [+o BugSlasherMcGurk] by ChanServ | 19:32 | |
-!- rizen [~rizen@69.71.243.242] has quit [Ping timeout: 246 seconds] | 19:35 | |
-!- BugSlasherMcGurk is now known as rizen | 19:35 | |
-!- mode/#webgui [-o rizen] by pbcj | 19:45 | |
-!- mode/#webgui [-o+o pbcj rizen] by preaction | 19: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 #webgui | 19:46 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 19:46 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 20:31 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 20:36 | |
+perlDreamer | if only paypal sandbox testing had frequent purchaser points... | 20:49 |
SDuensin | What? PayPal? | 20:50 |
SDuensin | Please tell me you're making a decent PP driver. :-) | 20:50 |
+perlDreamer | depends on what you mean by "decent" | 20:51 |
SDuensin | One I can sell subscriptions to a group with. | 20:51 |
+perlDreamer | it would help if it was more straight-forward on how to do that | 20:52 |
+perlDreamer | with PayPal Standard, you can only buy one subscription at a time | 20:52 |
+perlDreamer | with Express, there's a whole bunch of hoops, and you're still limited in the number you can buy at a time | 20:52 |
+perlDreamer | I think it's twelve | 20:52 |
+perlDreamer | ITransact doesn't have any of those limitations | 20:54 |
SDuensin | But ITransact is expensive as hell. | 20:56 |
SDuensin | And 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 |
+perlDreamer | expensive? PayPal charges 9% for transactions | 21:03 |
+perlDreamer | ITransact, last time I checked, charged 3% plus a monthly fee | 21:03 |
SDuensin | On my volume, they're expensive. :-P | 21:04 |
@scrottie | Maybe you need to set up a ccbill payment driver. | 21:06 |
@scrottie | They specialize in recurring payments. | 21:07 |
+perlDreamer | for better or worse, people are going to demand paypal | 21:08 |
SDuensin | Payment solutions suck. | 21:08 |
+perlDreamer | indeed | 21:09 |
+perlDreamer | the reason that I now know so much is that we had a customer come and ask for recurring payments with PayPal | 21:10 |
SDuensin | Yea. ME! :-P | 21:10 |
+perlDreamer | oh no, there was another | 21:10 |
* scrottie watches a while(...) { $asset->purge } run. always makes ya a little nervous... | 21:10 | |
@scrottie | one 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 | |
SDuensin | I 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 |
@scrottie | If customers have questions or complains, ccbill makes it easy to get a live operator. | 21:14 |
@scrottie | I interviewed with ccbill but their lawyers decided that they couldn't legally hire me =) | 21:14 |
SDuensin | Oh 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 #webgui | 21:15 | |
+perlDreamer | SDuensin, scrottie told you that they make it a point of making it easy to get to a live operator | 21:36 |
+perlDreamer | and scrottie metabolic status is in question | 21:36 |
SDuensin | hehe | 21:37 |
@preaction | WebGUI 8 is officially capable of running plainblack.com | 22:03 |
@preaction | the upgrade worked without a hitch, though it took about 20 minutes, and the site works | 22:03 |
+perlDreamer | helpdesk | 22:03 |
+perlDreamer | karma gifter | 22:03 |
@preaction | not migrated yet | 22:03 |
+perlDreamer | the whole 9 yards? | 22:03 |
@preaction | working on it | 22:03 |
@preaction | but the WebGUI 8 core works | 22:03 |
+perlDreamer | good work! | 22:03 |
+perlDreamer | is it beautiful? | 22:03 |
+perlDreamer | is it blindingly fast? | 22:03 |
@preaction | it is beautiful. it is not blindingly fast, but my laptop is not a production environment | 22:04 |
@pbcj | it's no lie, I saw it | 22:05 |
@preaction | so, now to blog about this, my presentation, and yay! | 22:05 |
SDuensin | WG8 and PayPal in the same day? You guys are an evil tease! | 22:20 |
@preaction | deal with it, tough guy | 22:22 |
SDuensin | :-P | 22:23 |
* SDuensin REALLY needs PayPal subscriptions. Not being able to sell those is keeping his new service offline! | 22:23 | |
+perlDreamer | SDuensin, you must not really want it that badly, otherwise you'd write it yourself | 22:25 |
* perlDreamer knows that you can wield an editor | 22:25 | |
SDuensin | I can, but I've been up to my eyes in other editors. | 22:26 |
knowmad | I 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 displayed | 22:33 |
knowmad | I have this working great using content profiling or even the random asset proxy | 22:33 |
knowmad | however, if i'm not logged in, webgui is caching the image and only refreshing about once a minute | 22:34 |
@preaction | javascript, i'd say | 22:34 |
knowmad | is there any way around this in webgui? | 22:34 |
@preaction | or ads | 22:34 |
knowmad | ohh, i like that idea | 22:34 |
@preaction | ads keep rotating, bypassing the burst cache | 22:34 |
knowmad | thought javascript may be easier to manage | 22:35 |
knowmad | ok, good ones! | 22:35 |
knowmad | thanks | 22:35 |
CIA-82 | webgui: Doug Bell WebGUI8 * rb1a5276 / lib/WebGUI/Command.pm : do not buffer command output - http://bit.ly/lTXRrz | 23:19 |
CIA-82 | webgui: Doug Bell WebGUI8 * re5012d3 / lib/WebGUI/Command/upgrade.pm : App::Cmd options are normalized to lower-case - http://bit.ly/merv9h | 23:19 |
@scrottie | is this another instance of page layouts caching for guests? | 23:20 |
@scrottie | I 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 | ||
+perlDreamer | scrottie, that's exactly what it is | 00:00 |
+perlDreamer | Maybe we should change it from hardcoded, to setting a cache timeout for visitors on the layout, like we do with other assets | 00:01 |
+perlDreamer | then, in 8, we make it a Role | 00:01 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:11 | |
SquOnk | Greetings. | 00:11 |
+perlDreamer | howdy SquOnk | 00:13 |
SquOnk | perlDreamer: I have a template question today. | 00:13 |
SquOnk | (customers trying to do strange things) | 00:14 |
+perlDreamer | as customers can sometimes be wont to do | 00:14 |
SquOnk | Yeah, well. | 00:14 |
SquOnk | It's like this: | 00:14 |
@scrottie | yeah, 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 |
SquOnk | perlDreamer: They've added a Gallery and set Default View to List Albums | 00:15 |
SquOnk | perlDreamer: 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 |
SquOnk | perlDreamer: 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 |
SquOnk | But it doesn't work. | 00:18 |
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui | 00:18 | |
kthakore | hi scrottie | 00:18 |
@preaction | it won't, the list albums screen doesn't get the file list | 00:18 |
@preaction | it'd take forever to generate all that | 00:18 |
+perlDreamer | right, read the template variable help | 00:18 |
+perlDreamer | one cannot randomly pick and choose template variables from various templates, mix them in, and expect them to work | 00:19 |
SquOnk | preaction, perlDreamer: So, what would you suggest. | 00:19 |
@preaction | to really fix the Gallery: Album goes away, use Folder instead. Photo goes away, adds its features to Image. | 00:19 |
+perlDreamer | that won't fix it | 00:19 |
@preaction | You could AssetProxy() the albums in | 00:19 |
@preaction | it's a start. people really just want Folders | 00:20 |
+perlDreamer | that might fix it, but then you have to change the template everytime a new album is added | 00:20 |
@preaction | that could be overcome fairly simply, adding a folder would be a function of the Gallery which would set the right template | 00:20 |
SquOnk | We suggested an Album for lack of a better option for what they're trying to do. | 00:20 |
@preaction | they want folders of images, no? | 00:20 |
@preaction | with the features that Gallery provides: resolutions, comments, EXIF, etc... | 00:21 |
SquOnk | preaction: They can *get away* with what they want using them, I reckon. | 00:21 |
@preaction | in 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 setup | 00:21 |
SquOnk | preaction: They want to build a fancy JS scroller with the front pages of every section of every newspaper each day. | 00:21 |
SquOnk | preaction: So, they are using a Gallery to hold everything, an Album for each newspaper, and a Photo for each section front page. | 00:22 |
SquOnk | preaction: They only need to show the image. They won't be using any of the EXIF properties. | 00:22 |
@preaction | a navigation and AssetProxy maybe? | 00:23 |
@preaction | Folders to organize the Images, a Navigation to display the JS scroller, and AssetProxy to put the image inside the scroller | 00:23 |
@preaction | not sure if that's worse or not | 00:23 |
@preaction | though a Nav should work just as well using Gallery as the container | 00:24 |
SquOnk | preaction: The Navigation will make it impossible for them. They see Navigations as some kind of ju-ju white man's magic thing. | 00:24 |
@preaction | so the Navigation shows the JS scroller of the Gallery | 00:24 |
@preaction | it just lists a bunch of assets, which is what they want | 00:24 |
@preaction | otherwise a custom gallery subclass overriding view_listAlbums to add the album files would work | 00:25 |
+perlDreamer | Don't photos have isHidden hardcoded? | 00:25 |
@preaction | navs can ignore isHidden | 00:25 |
SquOnk | I think it's just a plain Folder. | 00:26 |
SquOnk | ...of Folders. | 00:26 |
@preaction | then you'd definitely want a navigation. you can't reach inside the folders that a folder is listing | 00:26 |
SquOnk | A folder of dates in ISO format, with Folders for each newspaper, holding the images for the front pages. | 00:26 |
SquOnk | preaction: Yep. | 00:26 |
@preaction | for the JS bit i mean, otherwise it's perfectly navigable | 00:26 |
@scrottie | oh, hey kthakore | 00:27 |
@preaction | i wish i could tell you there was a JS service you could use, but you don't get that until 8 | 00:27 |
SquOnk | preaction: Their JS thing just wants a bulleted list, so yes. | 00:27 |
@preaction | yeah, should work great | 00:27 |
SquOnk | preaction: All right. Let me see how can I explain that to them so their ears don't start bleeding. | 00:28 |
@preaction | i wonder sometimes about replacing most of our asset classes with prototypes, then i take my prozac | 00:28 |
kthakore | scrottie: :p took a while but I won't hold it against you | 00:29 |
@preaction | we don't need a forum, we could use folders of articles! | 00:29 |
SquOnk | lol | 00:29 |
@preaction | a forum is a navigation into a set of folders of articles | 00:29 |
@scrottie | kthakore, yeah, I'm an IRC slob. I'm running irc-II for crying out loud. | 00:29 |
@preaction | could seriously do some crazy stuff with just Layout, Folder, Article, Template, Navigation, File/Image | 00:30 |
@preaction | oh, right, and a JS interface to work with the lot | 00:31 |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 00:32 | |
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds] | 00:32 | |
@scrottie | kthakore, have you seen http://search.cpan.org/~gphat/Graphics-Primitive-0.60/lib/Graphics/Primitive.pm ? preaction showed that to me. | 00:33 |
@scrottie | pluggability is a nice feature. | 00:34 |
kthakore | scrottie: a little yeah | 00:34 |
kthakore | but haven't used it | 00:35 |
kthakore | or preused it in detail | 00:35 |
kthakore | It interfaces with http://search.cpan.org/~gphat/Graphics-Primitive-Driver-GD-0.01/ | 00:36 |
kthakore | so that can't be bad | 00:36 |
kthakore | hi preaction, scrottie made me wander in here with treats. | 00:37 |
@scrottie | ssh. don't tell people I'm dispensing candy. | 00:37 |
@preaction | cookies? | 00:40 |
@scrottie | go 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 | |
kthakore | can't compile ImageMagick Perl module | 01:04 |
@scrottie | are you a Debian user? | 01:04 |
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 01:04 | |
@scrottie | if so, do you have the dev versions of the library installed? libmagickcore-dev it might be | 01:05 |
kthakore | yeah | 01:10 |
kthakore | I have that | 01:10 |
kthakore | some mmx instruction problems again | 01:10 |
* kthakore pathces | 01:10 | |
@scrottie | not surprised but thought I'd double check. | 01:10 |
kthakore | crap still problems | 01:13 |
kthakore | sigh | 01: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 | |
kthakore | oh wow ImageMagick is so broken | 01:22 |
kthakore | http://search.cpan.org/~jcristy/PerlMagick-6.67/ | 01:23 |
kthakore | newest versions only fails | 01:23 |
@scrottie | I would guess that an antique version would work. hrm, I have 6.5.8 here. | 01:26 |
kthakore | ok | 01:26 |
kthakore | doing a manual | 01:28 |
kthakore | cannot find -lperl | 01:29 |
kthakore | wtf ... | 01:29 |
@scrottie | are 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 |
@scrottie | DBD::mysql was easily fixed though | 01:32 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 01:34 | |
kthakore | 5.12.2 | 01:36 |
kthakore | wow why won't this compile | 01:38 |
kthakore | jeez today is not my day | 01:38 |
kthakore | first house gets broken into then nothing works | 01:38 |
+perlDreamer | maybe they broke perl while they were in there | 01:39 |
kthakore | perlDreamer++ LOL I needed that | 01:39 |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 01:44 | |
jimX11 | where 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 | |
jimX11 | I'll just hide it using $f->addField("hidden", name => "Guid", value => $guid); | 01:54 |
+perlDreamer | if you set the name to guid, will that still match what DBIx::Class expects? | 01:55 |
kthakore | scrottie: my error now says it can't find -lperl | 01:56 |
kthakore | which is so weird | 01:56 |
@scrottie | hrm. if you have a perlbrew perl, that's not entirely unsurprising. | 02:02 |
jimX11 | perlDreamer: No it won't. I'm reading WebGUI::Form::Guid | 02:02 |
@scrottie | which 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 |
@scrottie | fix is build system dependant but quick fix is to just edit the Makefile and correct the LIBS line | 02:03 |
kthakore | .. | 02:04 |
@scrottie | to do -L wherrever your prewbrew'd libs dir is | 02:04 |
kthakore | which libs though? | 02:04 |
kthakore | I can't find the libperl.so | 02:04 |
kthakore | all I see is libperl.a | 02:04 |
@scrottie | huh, perlbrew might not have built you one. | 02:04 |
@scrottie | should still work. | 02:04 |
@scrottie | -L/whatever/ -llibperl should find an .a or .so | 02:04 |
@scrottie | assuming /whatever/ actually contains one of the two. | 02:05 |
kthakore | right | 02:05 |
@scrottie | the 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 |
@scrottie | I guess if you really want to cut to the chase, you can do /home/kthakore/lib/or_whatever/libperl.a right in the LIBS= line | 02:06 |
kthakore | did 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 -fPIC | 02:08 |
kthakore | sigh | 02:08 |
kthakore | even the dist perl is giving me trouble | 02:08 |
kthakore | ok so Image::Magick going away needs to happen a lot | 02:09 |
kthakore | heh | 02:09 |
@scrottie | I take issue with putting entire perl installs inside . directories. | 02:09 |
@scrottie | and I don't know what "relocation R_X86_64_32S" is. | 02:10 |
@scrottie | but it kind of suggests that 32 bit and 64 bit code are being linked together, which ain't gunna happen. | 02:10 |
+perlDreamer | that'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 frowns | 02:17 | |
+perlDreamer | yay! successfully talked to PayPal! | 02:18 |
@scrottie | 7.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 |
+perlDreamer | you have to be in admin mode | 02:20 |
@scrottie | guess I should read the git log... | 02:20 |
@scrottie | thank perlDreamer. | 02:22 |
@scrottie | would it be redundant to add that to the docs? | 02:23 |
@scrottie | er, the wiki page..? | 02:24 |
-!- preaction_ [~preaction@li79-149.members.linode.com] has joined #webgui | 02:26 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:26 | |
-!- Netsplit *.net <-> *.split quits: vayde, @preaction | 02:32 | |
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui | 02:36 | |
-!- Netsplit over, joins: vayde | 02: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 #webgui | 02:40 | |
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui | 02:43 | |
+perlDreamer | scrottie, I think it'd be fine | 02: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 #webgui | 03: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 #webgui | 03:17 | |
jimX11 | html 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 | |
@scrottie | feel free to a paste the code of how you're using it into a gist. | 03:36 |
jimX11 | my $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->toHtml | 03:38 |
jimX11 | and out comes html like this: | 03:38 |
@scrottie | oh, naughty programmer | 03:38 |
@scrottie | paste your code into http://gist.github.com and then tell us the URL. | 03:38 |
jimX11 | k | 03:39 |
@scrottie | hrm, trying that snippet there in a mini test program, I'm not seeing that. | 03:42 |
@scrottie | no 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 |
jimX11 | https://gist.github.com/979927 | 03:44 |
jimX11 | it does close the form | 03:44 |
jimX11 | but I doesn't render properly I think because of the missing table starting and ending tags. | 03:45 |
@scrottie | https://gist.github.com/979928 | 03:45 |
@scrottie | jives with the synopsis. | 03:47 |
jimX11 | thanks, I'm doing something incorrectly, again. | 03:47 |
@scrottie | hmm? mine didn't work right either. | 03:48 |
jimX11 | oh? 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 | |
jimX11 | One 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 |
jimX11 | I pulled in 8 packages from WebGui 8 into 7.9.14. | 03:54 |
jimX11 | By pulled, I mean just copied them from lib/WebGUI/FormBuilder in a git check out to the 7.9.14 site. | 03:55 |
jimX11 | scrottie: yea, no closing form on yours, maybe it's just a human cut-n-paste error (assuming your human). | 04:04 |
jimX11 | your=you're (my bad) | 04:11 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 04:16 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 04:31 | |
@scrottie | uh... | 04:42 |
@scrottie | that requires qualification beyond "FormBuilder isn't working" | 04:43 |
kthakore | hi scrottie | 05:06 |
kthakore | around? | 05:06 |
@scrottie | yup | 05:06 |
@scrottie | sup? | 05:06 |
kthakore | I am having a real big problem with Image::Magick can I ignore that for the rest of WebGUI install? | 05:06 |
jimX11 | scrottie: thanks. | 05:06 |
@scrottie | hrm. 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 |
@scrottie | so you'd be replacing it with something else without having it as a reference. but that's not impossible. | 05:08 |
@scrottie | still, 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 |
@scrottie | I should also note the idea of replacing it isn't trivial | 05:11 |
kthakore | yep notice that | 05:11 |
@scrottie | it gets used to crop images, rotate them, make thumbnails... nothing too serious but uses of it are littered around | 05: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 #webgui | 06:21 | |
-!- ThePing [~phycho@174.127.64.107] has left #webgui [] | 06:21 | |
jimX11 | I'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 | |
@scrottie | it 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 |
@scrottie | and it usually works correctly but the server does have a chance to botch it | 07:08 |
@scrottie | classic ASP distinguishes whether data arrived in the body or as a parameter on the URL | 07:09 |
jimX11 | scrottie: what does WebGUI do? | 07:09 |
@scrottie | does not distinguish between the two | 07:09 |
@scrottie | mixing them together. | 07:09 |
jimX11 | I think Firefox is inserting the td and tr junk. So mixing works, ok. | 07:09 |
@scrottie | that sounds unlikely. | 07:10 |
@scrottie | you can always 'warn' the output of FormBuilder and read it at the console | 07:10 |
jimX11 | yea, the tr's and td's are in text from a simple test. | 07:12 |
jimX11 | I 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 |
@scrottie | you haven't fixed that problem? | 07:13 |
jimX11 | I haven't found out why there are td's and tr's in the html from the toHtml method, no. | 07:13 |
jimX11 | but, I've noticed another problem, that may be related. The form doesn't do anything when I hit the submit button. | 07:14 |
@scrottie | I think you really want the latest WebGUI 8 code here | 07:15 |
jimX11 | Ok. I'll copy over the updated files I just got from git. | 07:15 |
jimX11 | using subversion I can do a "svn status" what is the equivalent in git? So I know what version I'm using. | 07:16 |
jimX11 | sorry, I meant the equivalent of "svn info" | 07:17 |
@scrottie | I don't remember svn | 07:20 |
@scrottie | you might try 'git status' though | 07:21 |
@scrottie | what info do you want out of git? | 07:21 |
jimX11 | I want to know what "version" of webgui 8 I have. | 07:22 |
@scrottie | git itself doesn't do version... it hash commit hashes | 07:23 |
@scrottie | so 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 are | 07:24 |
@scrottie | man git-tag | 07:24 |
jimX11 | ok | 07:24 |
@scrottie | I don't think things in the WebGUI 8 branch have been tagged | 07:25 |
@scrottie | so you'll just get a lot of 7.x.x tags | 07:25 |
@scrottie | for 8, you'll have to speak in terms of hashes until there's an alpha and then beta | 07:25 |
jimX11 | just did git tag, right lots of 7.x.x branches. How can I see the hash I'm currently using? | 07:25 |
jimX11 | oh, git log is what you said. | 07:27 |
jimX11 | that works. | 07:27 |
@scrottie | tags just take you to a particular commit hash | 07:27 |
@scrottie | which represents a point in history | 07: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 |
jimX11 | a little like a branch in subversion. or a tag in cvs. | 07:28 |
jimX11 | git log was what I wanted. Thanks. | 07:28 |
@scrottie | kind of. git has a few things going... it also has branches. | 07:29 |
@scrottie | tags aren't the most used git feature... | 07:29 |
jimX11 | FormBuilder 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 #webgui | 09:00 | |
-!- andyiomoon [~andyiomoo@vpn246-17.cc.swin.edu.au] has joined #webgui | 09:37 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09: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 anyway | 09:57 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:20 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:20 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 14:24 | |
kthakore | morning | 14:47 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 15:26 | |
+BartJol | morning | 15:39 |
jimX11 | BarJol:howdy | 15: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 #webgui | 15:51 | |
SquOnk | Greetings. | 15:51 |
SquOnk | I'm changing the Display Template for an Asset Report. I started out with the Default, and the Assets I want are there. | 15:51 |
SquOnk | The Assets have some metadata properties I want listed in the report. | 15:51 |
SquOnk | According to the Template Help, inside the asset_loop I can use asset_info to get access to the particular Asset's info. | 15:52 |
SquOnk | I thought of using it to access the metadata fields, but it didn't work. | 15:52 |
SquOnk | I 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 #webgui | 15:53 | |
SquOnk | In any case, how can I access the metadata fields of an Asset that's listed by an Asset Report? | 15:53 |
+BartJol | isn't that included with extraHeadTags? | 16:00 |
SquOnk | BartJol: My *own* metadata fields? How would I go about fetching them? extraHeadTags.name-of-my-field? | 16:02 |
+BartJol | mmm, maybe not, sorry, bit short on time, as I get bugged by australians | 16:04 |
SquOnk | BartJol: Thanks anyway :-) | 16:05 |
SquOnk | And I have to go to class in 20 mins. | 16:05 |
+BartJol | give or follow? | 16:05 |
SquOnk | BartJol: Give. | 16:12 |
SquOnk | BartJol: Actually an exam. | 16:12 |
SquOnk | BartJol: 20% | 16:12 |
SquOnk | Well, the code in AssetReport.pm is calling WebGUI::Asset->get on each Asset included in the report. | 16:13 |
SquOnk | As far as I can see W::A->get does not return the metadata field. | 16:13 |
SquOnk | Since 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 |
SquOnk | Otherwise, I'm unable to use the metadata fields of Assets listed by an Asset Report. | 16:14 |
SquOnk | Would that be a bug or an RFE? | 16:15 |
SquOnk | 'cause it's the current show-stopper for production :-) | 16:15 |
SquOnk | Well, gotta go. I think there's a quick fix for it, and perhaps will try later. | 16:16 |
+BartJol | I'm afraid it is an RFE, | 16:16 |
SquOnk | Hopefully preaction_ will read the backlog. | 16:16 |
SquOnk | BartJol: I can see it both ways. | 16:17 |
SquOnk | BartJol: Thanks for your time. I've got to go pick up the exams at the Department. | 16:17 |
SquOnk | See 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 #webgui | 16:35 | |
kthakore | scrottie: morning. Around? | 17:01 |
SDuensin | Morning 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 #webgui | 17:16 | |
jimX11 | How 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 |
+BartJol | I believe you set that first in your env, I seem to recaal something like that | 17:19 |
jimX11 | I want to do this from a test: $session->config->get('dsn'); | 17:19 |
+BartJol | but it is a year ago | 17:20 |
jimX11 | BartJol: ok. | 17:20 |
jimX11 | BartJol: yea, that's it. WEBGUI_CONFIG | 17:20 |
+BartJol | that one | 17:21 |
+BartJol | my memory stills works!!!!!!!!! | 17:21 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:24 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:24 | |
jimX11 | BartJol: fault tolerant memory, sweet. | 17:31 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 17:32 | |
kthakore | Is anyone trying webgui8 from git? I am getting a weird error runing the server. | 17:32 |
jimX11 | I 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 #webgui | 17:42 | |
kthakore | jimX11: no | 17:42 |
kthakore | jimX11: I set it up just how the README mentioned | 17:42 |
kthakore | I used the etc/WebGUI.conf.original as the configuration with wgd | 17:43 |
kthakore | then I copied the www/examples to the domain... so on | 17:43 |
kthakore | but I am getting this error when I run it with plack | 17:43 |
kthakore | Can'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 71 | 17:43 |
jimX11 | kthakore: while you might get git help from me, you won't get any useful plack from me. Sorry. | 17:49 |
kthakore | jimX11: can you get webgui8 running ? | 17:54 |
+BartJol | mmm, too long ago I installed that | 17:55 |
jimX11 | kthakore: 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 7 | 17:55 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:55 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:55 | |
kthakore | ok | 17:55 |
kthakore | well it is seriously broke | 17:55 |
* kthakore hunts the plack interfaces | 17:56 | |
kthakore | preaction_: around? | 17:56 |
+perlDreamer | 'tis a little early for preaction_ | 17:56 |
+perlDreamer | statistically speaking of course | 17:56 |
kthakore | ok | 17:58 |
kthakore | hmm | 17:58 |
kthakore | sigh found it | 17:59 |
kthakore | unmet deps | 17:59 |
kthakore | nope great ... w/e | 18:00 |
+perlDreamer | did you run the testEnvironment.pl script to check for dependencies? | 18:02 |
kthakore | yeah | 18:02 |
+perlDreamer | and it missed the dependency? | 18:02 |
kthakore | some how | 18:02 |
kthakore | HTML::Template::Expr Geo::Coder::Googlev3 | 18:03 |
kthakore | I am checking my logs | 18:03 |
kthakore | I think I might have closed the terminal by accident | 18:03 |
kthakore | anyway it still doesn't fix the server problem | 18:03 |
+perlDreamer | HTML::Template::Expr is supposed to be optional, but I think it's actually not since you have to load WebGUI::Asset::Template::HTMLTemplateExpr | 18:06 |
+perlDreamer | and Geo::Coder::Googlev3 is required and is checked by testE | 18:06 |
kthakore | Here is my stack output http://paste.scsys.co.uk/105564 | 18:09 |
+perlDreamer | wow, so core WebGUI 8 requires Devel::StackTrace and a bunch of others? | 18:29 |
+perlDreamer | normally those things are made optional for developers | 18:29 |
+perlDreamer | bunch == 2... | 18:29 |
kthakore | perlDreamer: 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 |
+perlDreamer | sure, I'll do that after i get through depenedency problems | 18:32 |
kthakore | oh have fun with that ... that took me a while | 18:32 |
+perlDreamer | ha! done | 18:32 |
+perlDreamer | when I run plackup app.psgi | 18:32 |
+perlDreamer | I get no errors/warnings or anything | 18:32 |
+perlDreamer | hm, but there are CSS based rendering problems with the Underground style | 18:34 |
kthakore | aw man | 18:39 |
kthakore | can you tell me how you set it up? | 18:39 |
kthakore | what config file do you use? | 18:39 |
+perlDreamer | I have a standard one that I use for all my development | 18:39 |
+perlDreamer | the the URL Mapping should be autogenerated | 18:39 |
+perlDreamer | check to see if you have any bad config files in /data/WebGUI/etc | 18: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 ChanServ | 18:45 | |
-!- preaction_ is now known as preaction | 18:46 | |
kthakore | ok | 18:50 |
kthakore | perlDreamer: where is /data/WebGUI I mean | 18:50 |
kthakore | I just run it in the git dir | 18:50 |
+perlDreamer | last I checked, WebGUI still had to be run out of /data | 18:51 |
kthakore | http://paste.scsys.co.uk/105567 | 18:52 |
kthakore | oh! | 18:52 |
kthakore | I need to move it ot /data ? | 18:52 |
kthakore | sigh so I have to run it as root? | 18:52 |
+perlDreamer | preaction, is that still true? Is WebGUI locked into /data/? | 18:52 |
@preaction | perlDreamer: 8 isn't, WebGUI::Paths gets rid of it | 18:56 |
+perlDreamer | okay | 18:56 |
+perlDreamer | any clue as to this wackiness of kthakore's about null plackurl maps? | 18:57 |
CIA-82 | webgui: 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/jZW23s | 18:59 |
CIA-82 | webgui: 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/iNCDaU | 19:00 |
CIA-82 | webgui: 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/iALKt6 | 19:00 |
@preaction | no, i'd say try to run the test suite and see what happens | 19:00 |
kthakore | ok | 19:01 |
@preaction | there are a few tests that go through the entire process | 19:01 |
jimX11 | kthakore: do you have root access? If so, maybe just link /data to your 8 repo? | 19:01 |
kthakore | jimX11: yeah I was trying that | 19:01 |
kthakore | preaction: um do I just do prove -t for the tests? | 19:02 |
@preaction | yes, after setting the WEBGUI_CONFIG env variable to the webgui config file | 19:02 |
@preaction | or you could get wgdev and do "wgd test" | 19:02 |
kthakore | ok | 19:03 |
* jimX11 never used the -t flag in prove. | 19:03 | |
kthakore | what should WEBUI_CONFIG point to? | 19:03 |
@preaction | the webgui config file you created | 19:03 |
kthakore | etc/WebGUI.conf.original ? | 19:03 |
kthakore | I was trying to run the example provided | 19:04 |
@preaction | no, you need a copy of that config file with dsn, dbuser, and dbpass set correctly | 19:04 |
+perlDreamer | ah, that would explain it | 19:05 |
kthakore | ok | 19:06 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 19:07 | |
kthakore | is it possible to use postgreSQL instead of MySQL? | 19:07 |
@preaction | probably not | 19:09 |
kthakore | ok | 19:12 |
kthakore | where is the mysql .sql I should load ? | 19:12 |
@preaction | for 8, share/create.sql | 19:12 |
@preaction | for 7, docs/create.sql | 19:12 |
kthakore | ah that is why | 19:13 |
* kthakore facepalms | 19:14 | |
kthakore | ok thanks | 19:14 |
@preaction | kinda weird error message for that though. perhaps we need to trap it somehow... | 19:14 |
kthakore | indeed | 19:14 |
@preaction | oh. now i get it. there were no config files that app.psgi recognized to load site.psgi into the mapper | 19:14 |
@preaction | so somehow a "" got put in there, and then treated as a subref | 19:15 |
kthakore | well it is with $script_name | 19:15 |
kthakore | parameter to the Middleware | 19:15 |
kthakore | what is the default config filename webgui looks for? | 19:15 |
@preaction | there is none | 19:15 |
kthakore | hmm what about just throwing a missing config file HTML content | 19:16 |
@preaction | each site needs its own config file, so it checks a directory | 19:16 |
@preaction | yeah, that's gonna be the most likely scenario "No config files, bailing out" | 19:16 |
@preaction | or "Cannot connect to database, bailing out" | 19:16 |
jimX11 | WebGUI::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 |
@preaction | probably not, you'll just have to filter it a bit for now | 19:18 |
jimX11 | ok | 19:18 |
kthakore | or /win 2 | 19:34 |
kthakore | preaction: 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 |
kthakore | http://paste.scsys.co.uk/105570 | 19:37 |
kthakore | should I add that coloumn? | 19:37 |
kthakore | Unknown column 'privacyFields' in 'field list' | 19:37 |
kthakore | omfg I still get the same error. The DB is set up and everything! | 19:41 |
* kthakore cries | 19:41 | |
carogray | Hi 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 |
carogray | Thingy doesn't have RSS feed does it? | 19:42 |
+perlDreamer | nope | 19:45 |
+perlDreamer | Syndicated Content has RSS feeds | 19:45 |
+perlDreamer | Gallery has RSS feeds | 19:45 |
+perlDreamer | but not Thingy | 19:46 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds] | 19:46 | |
kthakore | I guess I should take a break now ... been trying this for too long | 19:47 |
carogray | huh - is syndicated content ...like collaboration system? | 19:47 |
+perlDreamer | nope | 19:47 |
carogray | given my description of need for searchable database of forms what would you suggest would be the best approach? | 19:47 |
+perlDreamer | carogray, the Content Manager's Guide wiki on webgui.org covers most of the Assets | 19:47 |
carogray | ok | 19:47 |
+perlDreamer | oh, I'd go Thingy all the way | 19:48 |
+perlDreamer | especially if you use 7.10 | 19:48 |
+perlDreamer | since Thingy can use the WebGUI Search, instead of just its own built in one | 19:48 |
carogray | what about "publishing" | 19:48 |
carogray | so other sites could update their forms based on our database? | 19:49 |
+perlDreamer | Thingy has an AJAX interface for remote access, but you may run into privilege problems with it | 19:50 |
+perlDreamer | that would require writing a bunch o' JavaScript, of course | 19:51 |
carogray | ok - 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 |
+perlDreamer | well, you know that if you need extra programming, support, javascripting,templating etc. that Plain Black would be happy to help out. | 19:56 |
+perlDreamer | there's only so much you can do via an IRC channel | 19:56 |
carogray | right - thanks so much. | 19:57 |
@preaction | kthakore: right, because create.sql is the un-upgraded sql (because 8 has not technically been released) | 20:03 |
@preaction | create.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 |
@preaction | but that's easy: sbin/webgui.pl upgrade --doit --skipBackup | 20:04 |
kthakore | ugh it wants me to be superuser | 20:14 |
kthakore | sigh | 20:14 |
+perlDreamer | kthakore, that's usually due to write permission on the log file, or the uploads directory | 20:17 |
+perlDreamer | log file is chosen in WebGUI/etc/log.conf | 20:17 |
+perlDreamer | uploadsPath is in the WebGUI config file itself | 20:18 |
@preaction | i think upgrade explicitly checks for superuser | 20:18 |
+perlDreamer | isn't there a switch for that? | 20:18 |
@preaction | perhaps, webgui.pl help upgrade might show it | 20:18 |
+perlDreamer | --override in upgrade.pl | 20:18 |
+perlDreamer | no idea about webgui.pl | 20:19 |
+perlDreamer | you know, when you release 8, I'm going to be pretty useless | 20:19 |
@preaction | why? | 20:19 |
+perlDreamer | well, so much has changed and I've either forgotten it or haven't learned it yet | 20:20 |
+perlDreamer | like WebGUI::Paths | 20:20 |
+perlDreamer | webgui.pl | 20:20 |
+perlDreamer | plack | 20:20 |
+perlDreamer | that's probably just the tip of the iceberg | 20:20 |
kthakore | I mangaged it | 20:20 |
kthakore | I ran the upgrade | 20:20 |
kthakore | but there is no change to share/create.sql | 20:20 |
+perlDreamer | <insert quote re Yoda and taking students who are too old> | 20:20 |
@preaction | it doesn't change create.sql, it changes the site's databases | 20:21 |
@preaction | the idea being that during development, create.sql + upgrade = bleeding edge version (so we can test the upgrade) | 20:21 |
kthakore | ah ok | 20:21 |
@preaction | wgdev's build tool would create the create.sql | 20:22 |
+perlDreamer | that's something else we need to double check before the release, is the wgdev build process | 20:23 |
+perlDreamer | and that's not going to be simple, since it'll have to work for both 7.x and 8.x for a while | 20:23 |
+perlDreamer | maybe it won't be too bad | 20:25 |
+perlDreamer | release wg8 will need a functional 8.x codebase though, while 7.x can use the bundled wgd | 20:26 |
+perlDreamer | Haarg, I had a case the other day where wgdev needed Try::Tiny. It doesn't seem to be bundled. | 20:26 |
+perlDreamer | this was a 7.7 install, so it didn't have it installed for core requirements | 20:26 |
kthakore | How do I tell webgui to use my conf file when I start it in plackup? | 20:29 |
@preaction | app.psgi loads all the configs | 20:30 |
kthakore | right I get that | 20:31 |
kthakore | I have a WebGUI.conf file | 20:31 |
kthakore | I set that to WEBGUI_CONF and run plack | 20:31 |
@preaction | in the same directory as WebGUI.conf.original? | 20:31 |
kthakore | now I do | 20:32 |
kthakore | IT WORKS! | 20:32 |
kthakore | ok great! | 20:32 |
kthakore | now to see how to swap out Image::Magick for GD/Cairo/Graphics::PRimitives | 20:33 |
+perlDreamer | Image::Magick is used by... | 20:35 |
+perlDreamer | Asset/Image, Storage, Asset/File/GalleryFile, Asset/File/GalleryFile/Photo, | 20:35 |
+perlDreamer | Image.pm and sub-classes | 20:35 |
+perlDreamer | those are the places to check | 20:36 |
kthakore | perlDreamer: great thanks. I was thinking of refactoring out Image::Magick out to WebGUI::Graphics first | 20:38 |
kthakore | then start swapping out Image::Magick there | 20:39 |
+perlDreamer | hm, we're trying to avoid wrapper classes like that nowadays | 20:39 |
+perlDreamer | they almost cause more problems than they're worth | 20:39 |
+perlDreamer | for example, we don't wrap Plack::Response or Request, we sub-class and extend them | 20:39 |
+perlDreamer | instead of wrapping CHI, we just use it directly | 20:39 |
@preaction | Graphics::Primitive should be the wrapper class, is what i think | 20:40 |
+perlDreamer | will it dispatch to others? | 20:40 |
@preaction | then we can provide a way to configure it from the config file | 20:40 |
@preaction | yes, Graphics::Primitive supports drivers for GD and Cairo/Pango | 20:40 |
@preaction | no support for IM yet, but if it did, then everyone could get everything | 20:40 |
@preaction | though making WebGUI::Graphics use Graphics::Primitive would be fine to start | 20:41 |
kthakore | I didn't plan on keeping WebGUI::Graphics around | 20:42 |
kthakore | I wanted to ensure everything is in one place to handle first | 20:42 |
kthakore | then I can experiment with GD/Cairo easily | 20:42 |
kthakore | what do you think? | 20:42 |
@preaction | ah, mais oui | 20:42 |
@preaction | sounds a good plan | 20:42 |
kthakore | ok I will have my results on github soon. | 20:43 |
kthakore | btw I seem to have lost the admin page :( | 20:43 |
kthakore | can't find the turn admin on link | 20:43 |
@preaction | did you login? | 20:44 |
@preaction | if 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.html | 20:48 |
+perlDreamer | what's the advantage of that? | 20:49 |
@preaction | a single, unified interface to both DBIC objects and Thingy data | 20:50 |
+perlDreamer | but who is using DBIC in WebGUI? | 20:51 |
@preaction | jimX11? | 20:51 |
+perlDreamer | hm | 20:51 |
+perlDreamer | that would be a complete refactoring of that new asset, wouldn't it? | 20:52 |
@preaction | and my idea that the website should be able to have a bunch of schemas, including content-manager-created ones | 20:52 |
+perlDreamer | I mean, are you proposing slaving the Thingy to these DBIC schemas? | 20:52 |
@preaction | not slaving, co-existing | 20:52 |
+perlDreamer | sounds like something we should keep in mind for the 8.x rework of Thingy :) | 20:53 |
@preaction | exactly | 20:53 |
kthakore | yeah I logged in | 20:57 |
@preaction | try ?op=admin then? | 21:03 |
kthakore | yeah tried that | 21:06 |
kthakore | no luck | 21:06 |
kthakore | the log shows | 21: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 |
kthakore | there is no AdminBar ... in lib | 21:08 |
@preaction | hm.. it shouldn't be trying to | 21:12 |
@preaction | and that shouldn't prevent the page from loading, anything else in there? | 21:12 |
+perlDreamer | AdminBar is still in WebGUI.conf.original | 21:14 |
kthakore | in the log? | 21:14 |
+perlDreamer | so any newly generated conf file will have them, too | 21:14 |
kthakore | preaction: I have to get. Nothing in the log after I comment out AdminBar | 21:17 |
@preaction | change etc/log.conf "ERROR" to "INFO" and try again maybe? | 21:17 |
@preaction | i'll fix the AdminBar problem | 21:17 |
+perlDreamer | should probably check for other outdated entries in there | 21:20 |
@preaction | already did | 21:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * raf2abb7 / etc/WebGUI.conf.original : fix outdated macros in conf.original - http://bit.ly/lQWcGY | 21:21 |
jimX11 | preaction: I'm on a conf call ... | 21:52 |
kthakore | preaction: thanks | 22: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 #webgui | 22:17 | |
kthakore | preaction: http://paste.scsys.co.uk/105575 | 22:23 |
+perlDreamer | that looks like the upgrade may not have run successfully | 22:29 |
+perlDreamer | running the upgrade should remove all instances of the AdminBar macro from all templates | 22:32 |
jimX11 | preaction: I'm all ears, if you need my ear. | 22:32 |
@preaction | yeah, and install the template that newById is looking for | 22:32 |
@preaction | jimX11: no, i was telling perlDreamer that you were using DBIC in WebGUI | 22:32 |
jimX11 | preaction: ok | 22:33 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 22:53 | |
SquOnk | Greetings | 22:53 |
+perlDreamer | what's shakin', SquOnk? | 22:54 |
* perlDreamer goes running. | 22:56 | |
SquOnk | preaction: Did you read the backlog this morning? | 23:21 |
@preaction | no | 23:21 |
* scrottie was out... doctors appointment (I never do that...) | 23:27 | |
@preaction | SquOnk: that's an RFE, and it should be a single line change. let me find where it would be | 23:27 |
@scrottie | kthakore, you didn't run upgrades. | 23:28 |
@scrottie | kthakore, 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 |
@scrottie | I told you to read the install notes twice and then repeated that particular bit of it too. | 23:29 |
@preaction | SquOnk: 175 of lib/WebGUI/Asset/Wobject/AssetReport.pm push(@{$var->{'asset_loop'}}, { %{$returnAsset->get}, %{$returnAsset->getMetaDataAsTemplateVariables} }); | 23:29 |
@preaction | test it out, put it in a patch, and we'll include it | 23:29 |
SquOnk | preaction: That's what I patched :-) | 23:31 |
SquOnk | preaction: Will test and RFE tonight. I believe it will make it into 7.10, but NOT into 7.9, right? | 23:31 |
@preaction | correct | 23:31 |
SquOnk | preaction: Good. It's a one line patch, so my customer can live with that. | 23:32 |
SquOnk | preaction: One question, though. | 23:32 |
SquOnk | preaction: 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 |
@preaction | inside the loop, yes | 23:33 |
@preaction | if you used a TT template, you could get around that | 23:33 |
SquOnk | preaction: Good. | 23:34 |
SquOnk | preaction: Works like a charm, my friend. | 23:38 |
@preaction | sweet | 23:38 |
@scrottie | preaction: 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 |
@scrottie | correctly | 23:38 |
Haarg | it currently doesn't know which upgrades have been run because it keeps track of that by version number | 23:39 |
@scrottie | right. if the version number of WebGUI doesn't match the version in the database, it needs to run upgrades. | 23:40 |
@scrottie | so, rephrasing, should automatically run upgrades when launched if db and code version don't match | 23:40 |
Haarg | yeah, but that won't handle the case you mentioned, because doing git pull wouldn't change your version number | 23:41 |
@scrottie | WebGUI8 doesn't have releases yet. is that the only problem? even then, it would notice that 7.10.x ne 8 | 23:41 |
@scrottie | developers will have to deal with this until 8 starts getting subversions. | 23:42 |
@preaction | yes, which is soon | 23:42 |
@scrottie | except for that pesky first-8 run | 23:42 |
Haarg | if you are developing on 8, then your db version is already at 8 | 23:42 |
@preaction | or we could even just bail out if the db version and the code version don't match | 23:42 |
@scrottie | Haarg, unless you loaded the create.sql that comes with 8 | 23:42 |
@scrottie | that's an option too, but I'm imagining this streamlined auto-update feature so that we're not plagued with pathologically antique .dpkgs | 23:43 |
Haarg | but in that case you know that upgrades are needed | 23:43 |
@preaction | i worry about doing things automatically that could destroy sites if done wrongly or unnecessarily | 23:44 |
Haarg | if you are already importing create.sql, just change your process to also do an upgrade | 23:44 |
@preaction | wgd reset does exactly that, even | 23:44 |
@scrottie | how 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 |
@preaction | change that to email me, and you've got a deal | 23:44 |
@preaction | i do desperately need a new fur coat | 23:44 |
Haarg | i think having the psgi bail out of the version numbers don't match would make sense | 23:44 |
* scrottie nods | 23:45 | |
@scrottie | okay. | 23:45 |
Haarg | well maybe not bail out | 23:45 |
Haarg | but do something | 23:45 |
Haarg | because when you are upgrading you want it to be able to show the maintenance page | 23:45 |
@scrottie | we could do an environment variable... WEBGUI_VERSION_OVERRIDE | 23:45 |
SquOnk | preaction: There you go, RFEd | 23:46 |
@preaction | danke, SquOnk | 23:46 |
@scrottie | default to failing on startup on mismatch but allow override | 23:46 |
@scrottie | people could always change the version in the db too. | 23:46 |
Haarg | this is something that server admins will have to deal with often though, so making it annoying would be bad | 23:47 |
@scrottie | if the versions don't match, it should be a matter of running upgrades. | 23:48 |
Haarg | alternatively, have it store the current version in settings all the time and show the maint page based on that | 23:48 |
@scrottie | I wanted to do that automatically =P | 23:48 |
@scrottie | the 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 |
Haarg | it already does that during upgrade but having it just always there would be fine as well | 23:49 |
Haarg | basically, 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 |
@scrottie | yeah, that's fine for dev. | 23:50 |
Haarg | having it fail in a friendlier way would be good though | 23:50 |
+perlDreamer | no tests on that AssetReport RFE? | 23:52 |
@scrottie | sounds 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 |
@scrottie | fine. | 23:53 |
@scrottie | this doesn't have to be perfect, only an improvement, and it can be improved again later. | 23:54 |
@scrottie | nothing in code is ever perfect. | 23:54 |
CIA-82 | wgdev: Graham Knop master * r0ff9ffb / Changes : | 23:59 |
CIA-82 | wgdev: v0.1105190 | 23:59 |
CIA-82 | wgdev: - add missing Try::Tiny prereq | 23:59 |
CIA-82 | wgdev: - fix to directory copy code | 23:59 |
CIA-82 | wgdev: - add overwrite option to package importing | 23:59 |
CIA-82 | wgdev: - improve package importing error reporting | 23:59 |
CIA-82 | wgdev: - improve script packing (+6 more commits...) - http://bit.ly/jhnkPd | 23:59 |
--- Day changed Fri May 20 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:01 | |
+perlDreamer | Thanks Haarg! | 00:03 |
+perlDreamer | you rock | 00:03 |
SquOnk | Well, gotta go. | 00:11 |
SquOnk | preaction: 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 #webgui | 00:59 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [] | 01:52 | |
kthakore | hi scrottie ok this is what I had to do to get webGUI8 to work | 02:54 |
kthakore | scrottie: 3) $ wgd reset --upgrade -F etc/WebGUI.conf | 02:54 |
kthakore | then I had to drop the db and run create.sql again on it | 02:54 |
@scrottie | good. yeah, that runs upgrades, which fixes that. | 02:54 |
@scrottie | okay, bad. | 02:55 |
kthakore | yeah which I didn't get why | 02:55 |
kthakore | :( | 02:55 |
@scrottie | database changes are the vast majority of what upgrades do. | 02:55 |
kthakore | ok | 02:55 |
@scrottie | upgrades change stuff in the database and config file, but mostly in the database. | 02:55 |
@scrottie | run upgrades again to avoid futher problems... wgd reset --upgrade | 02:55 |
kthakore | right but with the -F tag | 02:55 |
kthakore | it doesn't listen to WEBGUI_CONF | 02:55 |
@scrottie | you should have WBGUI_ROOT=/whereever | 02:56 |
@scrottie | yeah, gotta do WEBGUI_ROOT I think. | 02:56 |
kthakore | ah | 02:56 |
kthakore | that is not in the README | 02:56 |
kthakore | 'The site psgi file uses the WEBGUI_CONFIG environment variable to find the config.' | 02:56 |
Haarg | it's probably easiest to set WEBGUI_CONF to the full path of the config | 02:56 |
kthakore | that is all I see | 02:56 |
Haarg | WEBGUI_ROOT is a wgd thing | 02:56 |
@scrottie | yeah, was just looking at the README | 02:57 |
kthakore | scrottie: ok so it was just ambiougous then. Just add 'full path to config' for WEBGUI_CONF | 02:57 |
kthakore | ? | 02:57 |
@scrottie | docs/install.txt has it | 02:57 |
kthakore | ah ok | 02:57 |
kthakore | I didn't know if to read that | 02:58 |
kthakore | ok also there are some template breakage I don't know how to fix | 02:58 |
kthakore | preaction told me to install template stuff for these WARNS/ERRORS http://paste.scsys.co.uk/105575 | 02:59 |
Haarg | kthakore, are you just trying to get a stock webgui 8 install going? | 02:59 |
kthakore | it looks at /home/crystalx but I dont have that | 02:59 |
kthakore | Haarg: the github, so I can work on swapping Image::Magick out for GD or Cairo | 03:00 |
kthakore | just some example website is all I need | 03:00 |
Haarg | ok | 03:00 |
@scrottie | yeah, the upgrade script takes the Macro::AdminBar out of your config file. | 03:00 |
Haarg | so you have your database set up and in the config file. what about uploads? | 03:00 |
@scrottie | it is no longer a macro in WebGUI8. | 03:00 |
@scrottie | I had the same problem. | 03:00 |
@scrottie | uploads is in doc/install.txt now. | 03:01 |
kthakore | scrottie: I am not sure what that means. macro for /home/crystalx stuff? | 03:01 |
@scrottie | to support extension, a lot of plug-in-y stuff gets registered in the config file, including "macros". | 03:02 |
Haarg | basically, if you have a config file with a database and uploads set up, you should be able to run | 03:02 |
Haarg | wgd reset --dev | 03:02 |
@scrottie | macros get parsed out of templates and other stuff, code run, and the output replaced in | 03:02 |
Haarg | and get everything working | 03:02 |
@scrottie | I 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 | |
kthakore | ok | 03:04 |
kthakore | is having spectre.pl running necessary? | 03:04 |
@scrottie | not really | 03:04 |
@scrottie | not for dev | 03:04 |
@scrottie | in the admin tab, there's a "workflows" thing. the stuff in there that runs peroidically won't run without it, fwiw. | 03:05 |
kthakore | Haarg: thanks for the wgd reset --dev tip! | 03:07 |
Haarg | we really need a site creation script, it's just been low priority because the people working on stuff already have things set up | 03:08 |
kthakore | ok 'Turn Admin On!' is still not working for me | 03:09 |
@scrottie | oh, 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.conf | 03:09 |
@scrottie | ... but it's terrible | 03:09 |
Haarg | yeah the wre's stuff for that isn't great, and it really needs to be in webgui itself | 03:10 |
@scrottie | kthakore, remind me where you're at exactly? you loaded a new database, ran upgrades... | 03:10 |
kthakore | scrottie: almost all of docs/install.pl except for spectre.pland wgd reset --dev is done | 03:11 |
@scrottie | scripts to maintain httpd.conf are as old as web hosting itself... | 03:11 |
@scrottie | the art has not advanced. | 03:11 |
@scrottie | wgd reset --upgrade ... has this been done? | 03:11 |
@scrottie | if not, it shouldn't hurt to do it again | 03:11 |
Haarg | --dev includes that | 03:12 |
@scrottie | thought maybe he upgraded but didn't do --dev yet for some reason | 03:12 |
@scrottie | okay. 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.0 | 03:12 |
@scrottie | and it's probably better that way. the upgrade path should be well tested going into an 8.0 release. | 03:13 |
kthakore | running the upgrade gets warnings like | 03:14 |
kthakore | Use of uninitialized value in pattern match (m//) at /home/kth | 03:14 |
@scrottie | hrm. | 03:14 |
kthakore | admin worked | 03:14 |
kthakore | I did absolute paths in the config file | 03:15 |
@scrottie | good. | 03:15 |
kthakore | I was doing relatives before | 03:15 |
@scrottie | did you ever get Image::Magick working, out of curiosity? | 03:15 |
kthakore | yeah | 03:15 |
* scrottie nods | 03:15 | |
kthakore | loads of black magic | 03:15 |
kthakore | I had to compile it against Debian's libperl manually | 03:16 |
kthakore | then patch it for mmx and 64bit | 03:16 |
kthakore | which was pointlessly wasteful | 03:16 |
kthakore | as it was only having that problem with my architecture .... so I can't even give the module a patch to add | 03:17 |
@scrottie | on 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 |
kthakore | oh ... yeah that will be a long long long list of todo | 03:17 |
@scrottie | no kidding. | 03:17 |
* kthakore shudders | 03:17 | |
@scrottie | yikes. | 03:18 |
kthakore | ok how do i add a bunch of content/plugins to use the Image functionality of WebGUI8 | 03:18 |
kthakore | sorry I haven't use WebGUI8 before | 03:18 |
@scrottie | s'ok | 03:18 |
@preaction | Poll uses the most of WebGUI::Graphics | 03:19 |
@scrottie | there's some ImageGallery stuff too | 03:19 |
@preaction | otherwise Image assets create thumbnails using the methods in WebGUI::Storage | 03:19 |
@scrottie | in the admin bar, there's a New Content tab. you have to add these things (Poll, Image Gallery, etc) from there. | 03:19 |
@scrottie | it 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 |
@scrottie | I'm not sure how good test coverage currently is but I'd be happy to write some tests for you. | 03:20 |
kthakore | ok | 03:21 |
kthakore | great ... I ran into another bug/config issue | 03:21 |
kthakore | I do New Content->Basic->Poll | 03:21 |
kthakore | and nothing happens | 03:22 |
kthakore | clicking any of the edit buttons doesn't do anything either | 03:22 |
@scrottie | does your browser's developer widgetplexdealie have any information about .js files it failed to find/load? | 03:23 |
kthakore | Couldn't call method www_edit on asset for url: /home Root cause: Can't locate object method "getValue" via package | 03:23 |
kthakore | that is the error | 03:23 |
@preaction | oh humph | 03:23 |
@preaction | one sec | 03:23 |
kthakore | WebGUI::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 |
@preaction | do a pull and it should be fixed | 03:24 |
@scrottie | you *should* get a delightful enhanced Plack::Middleware::StackTrace if things blow up and you have developer mode on | 03:24 |
@preaction | getValue went gone a long time ago | 03:24 |
CIA-82 | webgui: Doug Bell WebGUI8 * r258d939 / lib/WebGUI/Asset/RichEdit.pm : remove getValue for the third time maybe? - http://bit.ly/kkCHnT | 03:24 |
kthakore | :) | 03:24 |
* kthakore loves finding bugs and getting fixes just for doing simple things | 03:25 | |
CIA-82 | webgui: Graham Knop WebGUI8 * r2a73f5a / lib/WebGUI/Asset.pm : fix undefined warnings - http://bit.ly/mAjMww | 03:25 |
kthakore | works | 03:26 |
@scrottie | at mysql, do: insert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1'); | 03:26 |
Haarg | or wgd reset --debug | 03:26 |
@scrottie | oh, huh. | 03:27 |
@scrottie | btw, wgd db is really handy | 03:27 |
Haarg | it doesn't stick in the ipDebug thing actually | 03:27 |
kthakore | Can't add image gallery now | 03:29 |
kthakore | insert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1'); | 03:29 |
kthakore | oops | 03:29 |
kthakore | WebGUI::Asset::dispatch[760] Couldn't call method www_add on asset for url: /home Root cause: newById must get an assetId | 03:29 |
@scrottie | mmm... does it say where that was called from, before that? | 03:30 |
@scrottie | you'll have to restart the thing for the stack traces to kick in | 03:30 |
kthakore | ok | 03:31 |
kthakore | no stack traces yet ... | 03:33 |
kthakore | I will do the wgd reset --debug then | 03:33 |
@scrottie | perl t/PSGI/StackTrace.t ... that should figure out if that's working | 03:35 |
Haarg | if you did --dev, debug mode should already be on | 03:35 |
kthakore | ok | 03:36 |
kthakore | http://paste.scsys.co.uk/105605 | 03:38 |
@scrottie | heh... export WEBGUI_LIVE=1 | 03:39 |
@scrottie | that actually needs to go away | 03:39 |
@scrottie | (and then try again) | 03:39 |
kthakore | the test? | 03:42 |
kthakore | or the webapp? | 03:42 |
kthakore | test is fine | 03:43 |
@scrottie | the 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 | |
@scrottie | I need to rework what happens when stuff gets caught works a bit. | 03:44 |
@scrottie | or someone does. | 03:44 |
@scrottie | errors deeper inside WebGUI are likely getten eaten right now | 03:45 |
kthakore | yay! | 03:45 |
kthakore | ok I will take a break then start preping for Image::Magick refactor | 03:46 |
kthakore | I am just going to ack the heck out of it | 03:46 |
kthakore | and move it to a WebGUI::Graphics where I can play with GD/Cairo | 03:46 |
kthakore | I will fork WebGUI8 onto my github and get you guys to try my fork | 03:46 |
kthakore | so I don't waste all my time fiddling with server setup | 03:47 |
kthakore | is that good? | 03:47 |
@scrottie | no complaints here. | 03:47 |
kthakore | cool | 03:47 |
kthakore | need to clean up fucking water damage some more | 03: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 #webgui | 04:24 | |
-!- jjm_ is now known as jimX11_ | 04:32 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04: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 #webgui | 07:19 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 07:26 | |
CIA-82 | webgui: Scott Walters WebGUI8 * rc011dda / (README docs/install.txt): README and docs/install fixes. - http://bit.ly/jLCD4K | 07:38 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:16 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:36 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 12: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 #webgui | 13:43 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 14:09 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 14: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 #webgui | 15: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 #webgui | 16:14 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:14 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 16: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 | |
+BartJol | joy : http://www.webgui.org/use/bugs/tracker/12135 | 17:04 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:06 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:06 | |
@pbcj | 'mornin | 17:07 |
+BartJol | morning | 17:07 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 17:30 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 17:30 | |
kthakore | morning | 17:55 |
+BartJol | howdy | 17:59 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:17 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:17 | |
+BartJol | hey colin it is da man who alles testen can | 18:25 |
+BartJol | perlDreamer: did you add the Geo::Coder::Googlev3 lib? | 18:28 |
+perlDreamer | no, and not likely too either | 18:28 |
+BartJol | I see your name in a possible related bug | 18:28 |
+perlDreamer | missing dependencies should be filed on rt.cpan.org against the distribution | 18:28 |
+BartJol | ah | 18:28 |
+BartJol | sorry, wrong place | 18:28 |
+BartJol | shame on me | 18:28 |
+perlDreamer | if they refuse to fix it, then we can add something to WebGUI to cover their badness | 18:28 |
+perlDreamer | we don't assign blame, we just throw boots | 18:29 |
+BartJol | mmm, missing my errors, because I haven't enabled endless scrolling | 18:33 |
+perlDreamer | I wish I was in The Netherlands right now | 18:37 |
+perlDreamer | because that would mean that Friday is almost over | 18:37 |
kthakore | hmm 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 | |
+BartJol | I send the bug in | 18:42 |
+BartJol | https://rt.cpan.org/Ticket/Display.html?id=68343 | 18:42 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:46 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 18:55 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 18: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 #webgui | 19: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 | |
@preaction | kthakore: check your uploadsPath in your webgui config file. also check the error log | 20:52 |
kthakore | preaction: Checked it | 20:56 |
kthakore | Also I set up a test suite for image features here | 20:57 |
kthakore | https://github.com/kthakore/webgui/commit/20082dd2935d31c218074fbe88f88ab6edfbf69e | 20:57 |
kthakore | is that correct? | 20:57 |
@preaction | should be yeah | 20:58 |
@preaction | everything we do with images should be covered by those tests, if those tests cover it ;) | 20:58 |
@preaction | i'll take a look inside Poll.t to see how well the graphs are covered | 20:58 |
kthakore | cool ok | 20:59 |
kthakore | I am gettign a lot of fails with these test already tough | 20:59 |
@preaction | they're checked if they're generated, which is really all we can do reliably. we're not going for exactly the same rendering | 20:59 |
@preaction | sbin/testEnvironment.pl runs clean? | 20:59 |
kthakore | yeah | 21:00 |
kthakore | wgd test fails alot too | 21:00 |
kthakore | I can upload now | 21:00 |
kthakore | I just had to clear the cache | 21:00 |
kthakore | wgd reset fixed it | 21:01 |
@preaction | do 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 though | 21:01 |
kthakore | ok | 21:02 |
kthakore | Image test results in the meantime http://paste.scsys.co.uk/105845 | 21:02 |
kthakore | preaction: I get bad parameter provided | 21:05 |
@preaction | oh, you need wgd -Fconfigfile | 21:05 |
kthakore | ok | 21:05 |
@preaction | probably | 21:06 |
kthakore | same problem | 21:06 |
@preaction | not in the right directory maybe? | 21:06 |
kthakore | No WebGUI root directory available. | 21:08 |
kthakore | I was able to run test before | 21:08 |
kthakore | should I set WEBGUI_ROOT ? | 21:08 |
@preaction | how/where did you do wgd test before? that's the place | 21:08 |
@preaction | yes, that'll do it probably | 21:08 |
kthakore | as soon as I do that | 21:10 |
kthakore | I get bad parameter | 21:10 |
kthakore | gah | 21:10 |
@preaction | perhaps 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 #webgui | 21:12 | |
kthakore | nope | 21:12 |
kthakore | it just refuses to work now | 21:13 |
@preaction | awesome! | 21:13 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 21:15 | |
kthakore | hah | 21:16 |
kthakore | did you have a look at the image test results? HOw do I make those things pass? | 21:16 |
@preaction | i've looked at the results, but haven't done any digging yet. responding to some e-mail first | 21:19 |
kthakore | cool | 21:21 |
* kthakore runs away to break stuff | 21:21 | |
kthakore | :) | 21:21 |
@scrottie | heh, I was up late doing the same thing... taking inventory of those... should have pasted my work. oops. | 21:25 |
kthakore | :P | 21:26 |
@scrottie | I think I have some that you don't... | 21:26 |
kthakore | I haz broekn many thungs | 21:26 |
kthakore | :\ | 21:26 |
@scrottie | then 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 |
@scrottie | I decided to try to adapt it to reading PNGs in pure perl. then I was up until 2am. | 21:27 |
@scrottie | it'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 |
@scrottie | https://gist.github.com/983485 | 21:28 |
@scrottie | let me post my last test run too... | 21:28 |
kthakore | ok | 21:30 |
kthakore | btw image galleries, image crop and thumbnails don't work for me | 21:31 |
@scrottie | I'd be interested to see the output of prove --verbose for those | 21:31 |
kthakore | ok | 21:31 |
@scrottie | actually, if you do prove --verbose, I can kompare yours and mine | 21:31 |
kthakore | https://gist.github.com/983498 | 21:31 |
@scrottie | okay, https://gist.github.com/983485 has my prove --verbose output in it. | 21:31 |
kthakore | those are the broken Image stuff right now | 21:32 |
@scrottie | hrm, need more context. | 21:32 |
kthakore | adding gallery | 21:33 |
kthakore | and setting thumbnail size | 21:33 |
kthakore | two failing things right now | 21:33 |
kthakore | and 2 logger events | 21:33 |
kthakore | scrottie: verbose tests http://paste.scsys.co.uk/105846 | 21:35 |
@scrottie | wgd test --reset="-d --config" -A -v --debug 2>&1 | tee test.log ... please do do that | 21:36 |
kthakore | ok | 21:36 |
@scrottie | not finding 'adding gallery' or 'setting thumbnail size' searching that file | 21:36 |
@scrottie | in t/Asset/File/Image.t | 21:36 |
@preaction | only one failing test, and it's TODO :( | 21:36 |
kthakore | scrottie: I was doing that by hand in the webapp | 21:36 |
@scrottie | ah. | 21:36 |
kthakore | scrottie: can't run wgd anymore | 21:37 |
@scrottie | are you getting proper stack traces now? that would be really handy for investigating run-time errors. | 21:37 |
kthakore | it complains about no WebGUI root directory | 21:37 |
@scrottie | export WEBGUI_ROOT=/data/WebGUI # or whereever you put it... app.psgi should be in that dir | 21:38 |
kthakore | I think I should do a clean 'install' again | 21:38 |
@scrottie | no, that's just the lack of an environment variable it's complainable about, unless you deleted everything out of there | 21:38 |
kthakore | now I get Bad parameter provided. | 21:38 |
kthakore | sigh | 21:38 |
kthakore | I dunno what broke that | 21:38 |
@scrottie | I hate that one. I don't know what that's about. | 21:38 |
@preaction | usually the config file parameter | 21:38 |
@scrottie | what's echo $WEBGUI_CONFIG say, if anything? | 21:38 |
@preaction | try WEBGUI_CONFIG instead of -F maybe? | 21:39 |
kthakore | ok | 21:39 |
@scrottie | most 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 stuff | 21:39 |
kthakore | http://paste.scsys.co.uk/105847 | 21:40 |
@scrottie | mine says: export PERL5LIB='/data/WebGUI/lib:/data/WebGUI/t/lib'; export WEBGUI_CONFIG='/data/WebGUI/etc/www.example.com.conf' | 21:40 |
kthakore | yeah it is serious broken now | 21:41 |
kthakore | great | 21:41 |
@scrottie | no wgd commands work? not even wgd db -F ... ? | 21:42 |
kthakore | nothing | 21:42 |
@scrottie | try absolute paths for PERL5LIB etc? | 21:42 |
@preaction | humph. your script works for me after i change the config file to my own | 21:43 |
@scrottie | next step would be asking Haarg please for a better diagnostic message, or else adding one yourself to wgd. | 21:44 |
kthakore | scrottie: try absolute paths. Same problem | 21:44 |
kthakore | I am cleaning up my test_env and starting again | 21:44 |
kthakore | I am going to just have symlinks to lib now instead all of webgui git | 21:45 |
@preaction | if you export WEBGUI_DEBUG=1 you should be able to do prove directly | 21:45 |
kthakore | preaction: how do you mean directly? I do that right now. | 21:45 |
@scrottie | quick 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 |
@preaction | wgd test is a wrapper around App::Prove, --debug sets WEBGUI_DEBUG | 21:46 |
Haarg | WGDEV_DEBUG=1 will give you stack traces | 21:46 |
Haarg | it's most likely something with WEBGUI_ROOT | 21:46 |
@scrottie | [ -f $WEBGUI_ROOT/app.psgi ] || echo "WEBGUI_ROOT wrong" | 21:47 |
Haarg | what i would recommend is unsetting WEBGUI_ROOT, and just having WEBGUI_CONFIG set to the absolute path for your config file | 21:48 |
kthakore | Haarg: ok | 21:48 |
kthakore | No WebGUI root directory available | 21:49 |
@scrottie | I 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 |
@scrottie | hrm, no, that's wrongt. | 21:50 |
kthakore | whould having lots of symlinks mess with wgd ? | 21:50 |
Haarg | yes | 21:50 |
kthakore | sigh | 21:50 |
kthakore | ok | 21:50 |
kthakore | scrottie: preaction Haarg let me clean up | 21:50 |
kthakore | what about just lib as symlink? | 21:50 |
@scrottie | this stuff likes to compute relative paths, often .. or ../.. | 21:51 |
Haarg | i'd start with just having everything in one directory with no symlinks. | 21:52 |
@scrottie | mv */* */*/* */*/*/* */*/*/*/* */*/*/*/*/* . | 21:52 |
kthakore | shit | 21:54 |
kthakore | I cleaned up everything | 21:54 |
kthakore | still not working | 21:54 |
kthakore | wtf happened | 21:54 |
* kthakore reads back bash_history | 21:55 | |
@preaction | i'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 maybe | 21:55 |
kthakore | but it was working jsut this morning | 21:56 |
kthakore | how the fuck | 21:56 |
Haarg | so 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 |
kthakore | yeah | 21:56 |
@scrottie | 5.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 |
Haarg | what do you get if you run wgd config command ? | 21:56 |
kthakore | No WebGUI root directory available. | 21:56 |
kthakore | no output | 21:56 |
@scrottie | the .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.conf | 21:57 |
kthakore | that is the output | 21:57 |
@scrottie | head and tail .conf... does it look like the JSON got cut off on either end? | 21:57 |
kthakore | yeah .. missing a { | 21:57 |
kthakore | wtf | 21:57 |
kthakore | how | 21:57 |
kthakore | and my .conf is all changed | 21:58 |
* kthakore looks at git | 21:58 | |
kthakore | .... | 21:58 |
@scrottie | interrupted at the wrong moment and not doing the mv shuffle. | 21:58 |
kthakore | this happened after I ran ./wgb --dev thing | 21:58 |
@scrottie | WebGUI and the tests treat the .conf file as read-write. | 21:58 |
@scrottie | see Config::JSON. | 21:58 |
@scrottie | WebGUI::Config uses that. | 21:58 |
kthakore | right | 21:59 |
Haarg | preaction, all the upgrade scripts got brought along with the merge | 22:00 |
@preaction | i'm checking other perls because on of these test failures is a failure in a regexp to grab the file extension, which is really weird | 22:01 |
@preaction | Cannot determine source for t/Asset/Wobject/StoryTopic.t <- and i dunno wtf's going on there | 22:02 |
@preaction | and of course i just deleted all my VMs to free up space to load pb.com's database... | 22:02 |
@preaction | oh, right, i should merge all those pull requests that are pending | 22:03 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 22:04 | |
CIA-82 | webgui: Doug Bell WebGUI8 * r65752f2 / lib/WebGUI/Template/Plugin/Asset.pm : | 22:08 |
CIA-82 | webgui: Merge pull request #12 from haarg/tt-asset-plugin | 22:08 |
CIA-82 | webgui: Adds an Asset plugin for Template Toolkit - http://bit.ly/k08bir | 22:08 |
kthakore | ok complete clean app, no symblink, new database | 22:09 |
kthakore | same problem with wgd | 22:09 |
@scrottie | mmmm, you repaired your config file? | 22:11 |
kthakore | yeah | 22:11 |
kthakore | I can paste my config file | 22:11 |
kthakore | http://paste.scsys.co.uk/105849 | 22:12 |
@scrottie | if it can parse it, you should get some other error | 22:12 |
kthakore | actually this one I mean | 22:13 |
kthakore | http://paste.scsys.co.uk/105850 | 22:13 |
@scrottie | don'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 |
kthakore | TRACE of the whole thing http://paste.scsys.co.uk/105851 | 22:19 |
kthakore | WGDev::X::BadParameter->throw( is called | 22:19 |
kthakore | line 785 | 22:19 |
kthakore | what is that called for? | 22:20 |
Haarg | kthakore, give me a minute | 22:22 |
@scrottie | >> /loader/0x217b910/WGDev.pm:69: if ( -d $path | 22:22 |
@scrottie | just above it. | 22:22 |
kthakore | yeah | 22:22 |
kthakore | looking at what $path is | 22:22 |
kthakore | /home/kthakore/Documents/Development/Work/test_env at /loader/0x1b7dba0/WGDev.pm line 69.\ | 22:22 |
kthakore | seems fine | 22:22 |
kthakore | && -e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' ) | 22:23 |
kthakore | wtf why? | 22:23 |
kthakore | it looks for that file but why? | 22:23 |
kthakore | got rid of that | 22:23 |
Haarg | it needs some indication if the directory is a valid webgui root | 22:23 |
kthakore | works awesome | 22:24 |
@scrottie | it seems to want it not to be a directory. if( -d ) Throw | 22:24 |
kthakore | not it was the WebGUI thing | 22:24 |
kthakore | -e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' ) | 22:24 |
kthakore | I am missing that file | 22:24 |
kthakore | cause I mv | 22:24 |
* kthakore strangles himself | 22:24 | |
Haarg | that file should exist in any normal webgui root directory, so i used it | 22:24 |
@scrottie | ah, else throw | 22:24 |
kthakore | Haarg: it was my fault I didn't know that | 22:24 |
* kthakore strangles himself and commits sepakky | 22:25 | |
kthakore | sigh | 22:25 |
@scrottie | oooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOooooooooo | 22:25 |
Haarg | well, my super special error message was extremely helpful tracking it down | 22:25 |
Haarg | 'bad parameter' | 22:25 |
kthakore | Haarg: ... erm no | 22:25 |
kthakore | but it was fun | 22:25 |
kthakore | :) | 22:25 |
@scrottie | this explains why wgd does this same thing to me some times | 22:25 |
kthakore | can I patch that for the love of gawd? | 22:25 |
kthakore | Haarg: ? | 22:25 |
Haarg | yeah something should be done to improve that | 22:25 |
@scrottie | just a bit earlier I was saying that it did that for me some times and I wasn't sure why. | 22:26 |
@scrottie | github.com/haarg/wgd I think | 22:26 |
@scrottie | http://github.com/haarg/wgdev.git | 22:26 |
kthakore | okie | 22:26 |
kthakore | patch soon | 22:26 |
@scrottie | :q | 22:27 |
@scrottie | ahem. | 22:27 |
kthakore | eyeball lick? | 22:27 |
@scrottie | kill -9 $$ | 22:27 |
@scrottie | teehee | 22:27 |
@scrottie | I had a bugger. fixed! | 22:27 |
kthakore | scrottie: you are making less and less sense | 22:27 |
@scrottie | tongue can't reach eyeballs, only buggers. | 22:27 |
@preaction | perlDreamer: got a minute? do you remember who/where that Thingy patch went? | 22:28 |
CIA-82 | webgui: Doug Bell master * rc471728 / (2 files in 2 dirs): | 22:28 |
CIA-82 | webgui: add metadata to assets inside an AssetReport | 22:28 |
CIA-82 | webgui: Thanks to SquOnk for the patch. - http://bit.ly/lhVlFF | 22:28 |
CIA-82 | webgui: Doug Bell master * r9b5f14d / docs/changelog/7.x.x.txt : always forget a changelog... maybe I need a git hook... - http://bit.ly/k8ubYY | 22:28 |
@preaction | perlDreamer: nm, i found it | 22:28 |
kthakore | scrottie: Haarg pretty please https://github.com/haarg/wgdev/pull/22 | 22:32 |
Haarg | kthakore, as is that patch isn't going to work, but i'm fixing stuff elsewhere so it will. | 22:33 |
kthakore | oh ok | 22:34 |
kthakore | Haarg: I would have helped | 22:34 |
kthakore | but if you got it cherrio | 22:34 |
@scrottie | I 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 |
kthakore | where do I point my pair of eyes? | 22:35 |
@preaction | i can be the eyes, JT would be the Config::JSON maintainer | 22:35 |
Haarg | i can take a look. what is the problem you want to fix? | 22:35 |
Haarg | i wrote the current config writing thing iirc | 22:35 |
@scrottie | ahhh | 22:36 |
Haarg | i still want to come up with a better way to handle included files but haven't come up with a good strategy yet | 22:36 |
@scrottie | Haarg, https://github.com/scrottie/config-json/commit/cc41ea153be45c5a2665940ea5b1518a5a42a550 | 22:39 |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 22:39 | |
@scrottie | basically, 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 |
Haarg | yeah. the reason for the past ugliness was to prevent problems with the disk getting full. but your thing is almost certainly better. | 22:40 |
Haarg | oh, i think i remember why i ended up with the ugly thing i made | 22:41 |
@scrottie | yeah. I was surprised how careful the code was when I went to look at it. | 22:41 |
Haarg | didn't want to potentially mess with the file owner | 22:41 |
Haarg | i don't know if that's really important though. | 22:41 |
@scrottie | hrm. that's a good point, but my two cents is avoiding interruption is more significant. | 22:42 |
@scrottie | I should write some tests for this before sending a pull request. | 22:42 |
@scrottie | or sending one on IRC ;) | 22:43 |
Haarg | i'd probably go with your version. simpler than mine, and as you say protecting against race conditions is probably more important. | 22:44 |
@scrottie | hrm, I could totally write tests that simulated low disc space conditions, but that might make people angry. | 22:46 |
@scrottie | s/simulated/actuated/ | 22:46 |
Haarg | hah | 22:46 |
kthakore | lunch/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 #webgui | 22:50 | |
CIA-82 | webgui: Doug Bell master * r1fa9110 / (5 files in 4 dirs): | 23:00 |
CIA-82 | webgui: Merge commit '1966cc02a70752' | 23:00 |
CIA-82 | webgui: Conflicts: | 23:00 |
CIA-82 | webgui: lib/WebGUI/Asset/Wobject/Thingy.pm - http://bit.ly/jFwcDv | 23:00 |
@preaction | finally zylopfa's work is merged. i gotta keep better track of contributions... | 23:00 |
kthakore | scrottie: preaction Haarg the tee test.log command http://paste.scsys.co.uk/105857 | 23:13 |
@preaction | awesome. i'll take a closer look when i get back from some errands | 23:17 |
kthakore | preaction: it only took a couple hours lol | 23:18 |
@preaction | yeah, --debug takes a while, as it does a lot more testing | 23:18 |
kthakore | oh I meant even the ability to run that command | 23:18 |
kthakore | hah | 23:18 |
kthakore | that Bad Parameter thing | 23:18 |
@preaction | what was the end problem? | 23:19 |
@scrottie | if www.example.com.conf wasn't in etc, it decided it was the wrong directory. | 23:21 |
kthakore | scrottie: nope | 23:21 |
kthakore | it had to be /etc/WebGUI.conf.original | 23:21 |
@scrottie | ah, sorry | 23:21 |
kthakore | that file needed to exist | 23:21 |
kthakore | which seemed counter intuitive to me | 23:22 |
kthakore | but I dunno maybe that makes sense | 23:22 |
@preaction | oh, the reset needs it to build a new config from when doing reset="-d --config" probably | 23:23 |
Haarg | i 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 |
@preaction | or that | 23:23 |
* preaction & | 23:23 | |
Haarg | and yeah that is a required file for webgui & wgdev. the real issue is just the error message | 23:24 |
kthakore | Haarg: yeah. The only reason it was counterintuitive to me was that in other webapps mv *.original *. is fine | 23:24 |
kthakore | great new errors :) | 23:25 |
kthakore | error WebGUI::Macro::_processMacro[179] No macro with name i18n defined. | 23:25 |
Haarg | yaaay error time to celebrate! | 23:26 |
Haarg | add to the config file in macros: "i18n" : "International", | 23:27 |
kthakore | ok | 23:29 |
kthakore | I already have | 23:30 |
kthakore | "International" : "International", | 23:30 |
Haarg | yeah, they should both be in there | 23:30 |
--- Day changed Sat May 21 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:06 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 00:06 | |
+perlDreamer | that i18n macro synonym is supposed to be added during the upgrade to 8.x | 00:14 |
Haarg | it should be in WebGUI.conf.original though and it apparently isn't | 00: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 #webgui | 00: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 #webgui | 01: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 | |
+perlDreamer | that's fixed easily enough | 02:37 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * rf4bd6d3 / etc/WebGUI.conf.original : Add the i18n alias to the default WebGUI configuration file. - http://bit.ly/iX4Vji | 02:38 |
kthakore | aww I was gonna add that | 02:38 |
+perlDreamer | I waited two hours to give ya the chance | 02:45 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 02: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 #webgui | 03: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 #webgui | 06: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 #webgui | 12: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 #webgui | 12: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 #webgui | 17: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 #webgui | 18:34 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 18:41 | |
jimX11 | If 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 #webgui | 19: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 | |
@scrottie | perldoc WebGUI::Asset | 19:55 |
@scrottie | WebGUI::Asset::Wobjects are WebGUI::Assets | 19:55 |
@scrottie | there are a few ways to construct them... a few different new methods | 19:56 |
jimX11 | scrottie:thanks | 20: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 #webgui | 20: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 #webgui | 23:29 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 23:31 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 23:50 | |
--- Day changed Sun May 22 2011 | ||
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 01:27 | |
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui | 01:28 | |
kthakore | hallo | 02:15 |
kthakore | anyone here? | 02:15 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 02: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 #webgui | 02: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 #webgui | 03: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 #webgui | 05:58 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 06:10 | |
@scrottie | sup 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 #webgui | 09: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 #webgui | 09: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 #webgui | 13: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 #webgui | 14:36 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds] | 16:31 | |
kthakore | hi 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 #webgui | 18:33 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 18:50 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 19: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 #webgui | 19: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 #webgui | 19: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 #webgui | 20:32 | |
jimX11 | In 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 |
@preaction | why can't method B check for "new"? | 20:49 |
kthakore | hi | 20:49 |
jimX11 | well, it could. | 20:53 |
jimX11 | preaction: method A really passes $session to method B and C. B and C need a real id. | 20:54 |
jimX11 | kthakore: hey | 20:54 |
@preaction | why 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 |
jimX11 | preaction: 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 |
@preaction | so method A should be the only method that takes the session, no other method should care about the session at all | 21:01 |
jimX11 | yea, right. That's what happens. | 21:02 |
jimX11 | preaction: 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 |
jimX11 | preaction: it worked (of course you knew it would). Thank you. | 21:15 |
kthakore | Has anyone gotten an Image asset to crop in WebGUI8? | 21:24 |
kthakore | I can't seem to get it to work | 21:24 |
@preaction | I did once, when I migrated it to where it is now | 21:26 |
kthakore | sigh | 21:26 |
kthakore | none of my crop/resize on the Image (Utility) asset doesn't work | 21:27 |
@scrottie | haven't tried. | 21:27 |
@scrottie | if you don't try something, it doesn't work, so you don't have to fix it. | 21:27 |
@scrottie | er, it doesn't not work | 21:27 |
kthakore | heheh | 21:29 |
kthakore | what does that mean? | 21:29 |
kthakore | it works? | 21:29 |
@preaction | i'm testing it right now | 21:29 |
@scrottie | no, 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 |
kthakore | hehe | 21:30 |
kthakore | try crop it says 'Image Cropped' but the image doesn't update and show that new size | 21:30 |
kthakore | http://paste.scsys.co.uk/106323 | 21:31 |
kthakore | it even shows resize | 21:31 |
kthakore | in the log | 21:31 |
kthakore | oh wtf | 21:32 |
kthakore | it works now | 21:32 |
kthakore | ugh why is it so finicky | 21:32 |
@preaction | that's good, because i can't get the Save button to work for me | 21:33 |
kthakore | I had that problem too | 21:33 |
kthakore | try my repo | 21:33 |
kthakore | my refactor fixed it a bit but I duno how :( | 21:33 |
kthakore | I hate when that happens | 21:33 |
@preaction | i imagine its finicky because nobody i know uses it. it was hidden in a menu that people rarely saw | 21:33 |
kthakore | https://github.com/kthakore/webgui/tree/image_magick_gd | 21:33 |
kthakore | oh ... | 21:34 |
@preaction | 8 brings it more prominently, which exposes the problems in it | 21:34 |
kthakore | ah I see | 21:34 |
kthakore | but how does my refactor fix it | 21:34 |
@preaction | let me check the tests quick | 21:34 |
@preaction | oh, probably just me fatfingering something in my migration | 21:34 |
@preaction | none of them have tests, which may explain it... | 21:35 |
* preaction adds to his list | 21:35 | |
kthakore | I was using t/Storage/Image.t | 21:35 |
@preaction | yeah, that test should work, i meant a Test::WWW::Mechanize test for the actual pop-up box thing | 21:36 |
kthakore | preaction: what did you add to your list? Making tests for this? | 21:36 |
kthakore | oh ok | 21:36 |
@preaction | no, just front-end tests for the image dialogs | 21:36 |
kthakore | ok | 21:36 |
kthakore | Where can I test the addFileFromCaptcha in webgui | 21:37 |
@preaction | every other asset helper has sunny-day tests, no reason those shouldn't | 21:37 |
kthakore | I can't find an Captcha asset | 21:37 |
kthakore | I am going to GD that first | 21:37 |
@preaction | DataForm has Captcha, Settings lets you enable captcha on account creation | 21:37 |
kthakore | yay thanks | 21:37 |
@preaction | i think Collaboration also has Captcha on post for visitors | 21:37 |
@preaction | i think DataForm only puts captcha on visitors too, so you have to not be logged-in | 21:38 |
kthakore | while you are there can you check if you can add a gallery? | 21:38 |
@preaction | in your fork? or in mainline? | 21:39 |
kthakore | mainline too | 21:39 |
kthakore | err | 21:39 |
kthakore | mainline | 21:39 |
@preaction | nope, Couldn't call method www_add on asset for url: /home Root cause: newById must get an assetId | 21:40 |
@preaction | our 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 list | 21:41 |
@preaction | most likely it's lib/WebGUI/Form/Asset.pm | 21:41 |
@preaction | i remember having a bunch of problems with that when I developed Gallery initially | 21:41 |
kthakore | OK | 21:42 |
kthakore | even formdata is giving me errors | 21:42 |
kthakore | I am thinking I should just do my refactor to GD | 21:42 |
kthakore | then just see if tests pass | 21:42 |
@scrottie | sorry, I'm half here, but if you paste a good stack trace, I'll take a look at that | 21:42 |
kthakore | it is hard to test on webgui cause I can't get some of these assets | 21:42 |
kthakore | scrottie: where do I get the stack trace? | 21:43 |
@scrottie | yeah, that stuff should get fixed | 21:43 |
@preaction | that would probably be a good idea, and as we go I can hammer through some issues | 21:43 |
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 250 seconds] | 21:43 | |
@preaction | to get a stack trace in the log, add %n%T%n%n to the end of the pattern in the log.conf file | 21:43 |
@scrottie | kthakore, 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 |
@scrottie | well, you should be getting nicely formatted stack traces in the log and nicely formatted HTML/CSS stack traces in the browser with dev on | 21:44 |
@scrottie | er, not in the log, on stderr. sorry. | 21:44 |
kthakore | scrottie: sigh no ... | 21:45 |
kthakore | preaction: I can try that | 21:45 |
@scrottie | hang 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 |
kthakore | haha ok | 21:45 |
@scrottie | what are you doing? | 21:45 |
@scrottie | that generates the error that has no stack trace? | 21:45 |
@scrottie | which asset are you trying to add? | 21:45 |
kthakore | scrottie: GD for all fucntions in Storage that use Image::magic | 21:45 |
@scrottie | gallery? | 21:45 |
kthakore | gallery, Captcha in DataForm | 21:46 |
@scrottie | most recently, what was the thing that you were trying to do? | 21:46 |
@scrottie | gallery. okay. | 21:46 |
kthakore | Gallery to try to do generateThumbnail | 21:46 |
@scrottie | wait, did you add a gallery asset successfully? | 21:46 |
@scrottie | tell me exactly what you were clicking on that didn't work. | 21:46 |
kthakore | ok | 21:46 |
kthakore | I click on Login -> Turn on Admin! -> Add new Content -> Collaboration -> Gallery -> Save | 21:47 |
@scrottie | thank you. let's see. | 21:47 |
kthakore | Collaboration/Community | 21:47 |
kthakore | s/Collaboration/Community/ I mena | 21:47 |
@preaction | you can see the edit form? i don't even get that | 21:47 |
kthakore | yeha I get that | 21:47 |
kthakore | again only on my branch | 21:47 |
kthakore | which is sooooo weird | 21:47 |
kthakore | oh wtf now it doesn't work | 21:48 |
kthakore | gorram | 21:48 |
kthakore | it | 21:48 |
@scrottie | wait, I was asking you for the thing you did that _didn't_ work. | 21:48 |
kthakore | scrottie: that is what didn't work | 21:49 |
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 21:49 | |
kthakore | no Gallery Asset when going back to site. | 21:49 |
@scrottie | "when going back to site"? give me steps to replicate. | 21:49 |
kthakore | I click on Login -> Turn on Admin! -> Add new Content -> Collaboration -> Gallery ( NO edit form now) Click Back to Site. NOthing added | 21:50 |
@scrottie | nothing gets added if you don't click 'Save' or if 'Save' doesn't work | 21:50 |
kthakore | Expected Edit form for Gallery and When back to site no gallery is seen/ | 21:50 |
kthakore | scrottie: can't even get to that form now | 21:51 |
kthakore | could never get to it in WebGUI8 branch | 21: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-82 | webgui: Scott Walters WebGUI8 * r95def8a / (lib/WebGUI.pm lib/WebGUI/Middleware/StackTrace.pm): | 22:25 |
CIA-82 | webgui: Perl run-time errors get kicked over to session->log->error, and | 22:25 |
CIA-82 | webgui: WebGUI::Middleware::StackTrace now intercepts errors as well as | 22:25 |
CIA-82 | webgui: fatals (since fatals are likely going away). - https://github.com/plainblack/webgui/commit/95def8a439e4037c45046486424b33127c3b0d2c | 22:25 |
@scrottie | getOriginalValue: at /data/WebGUI/lib/WebGUI/Form/Asset.pm line 152. | 22:26 |
@scrottie | what kind of value? original how? | 22:26 |
@scrottie | oh, form value | 22:26 |
@preaction | yeah, the value => passed into the form control's creation, or defaultValue if that wasn't specified | 22:29 |
@scrottie | kthakore, you might hit another error ten feet down the road, but try that | 22:29 |
CIA-82 | webgui: 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/ljKODX | 22:30 |
-!- vayde [~vayde@67-4-237-205.mpls.qwest.net] has joined #webgui | 22:33 | |
kthakore | scrottie: I found an error! | 22:37 |
kthakore | the* | 22:37 |
kthakore | fixing it now | 22:38 |
@scrottie | kill it with fire! | 22:38 |
kthakore | hahah | 22:38 |
* kthakore unsheates his firey sword! | 22:38 | |
CIA-82 | webgui: 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/lzMTE5 | 22:38 |
kthakore | ... sounds naughty ... and dirty | 22:38 |
kthakore | scrottie: should I pull it first? | 22:39 |
kthakore | this is one of it | 22:40 |
kthakore | http://paste.scsys.co.uk/106326 | 22:40 |
@scrottie | I 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 push | 22:41 |
@scrottie | http://www.webgui.org/wiki/commit-policy ... fyi | 22:42 |
@preaction | wtf how did that ever work then? my tests must suck... | 22:42 |
kthakore | ok | 22:42 |
@scrottie | Suck factor 9, Scotty! | 22:42 |
kthakore | preaction: what did? the error I found? | 22:42 |
@preaction | i suppose the test content used addChild, not www_add, which could hide certain bits | 22:42 |
@preaction | the one you found and the one scrottie just fixed | 22:42 |
@preaction | there's a webgui.pl test_content command that loads a site with an instance of every asset, and every asset loaded by that worked fine | 22:43 |
kthakore | yay I get stacktraces | 22:43 |
kthakore | and loads of it | 22:43 |
@scrottie | yay! | 22:43 |
@preaction | but 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 |
@scrottie | I 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 |
kthakore | scrottie: sending you those first. Then I will hunt down execute problem | 22:45 |
@scrottie | dammit. no good way to do this though. | 22:45 |
@scrottie | kthakore, 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 |
@scrottie | or 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 |
kthakore | scrottie: http://paste.scsys.co.uk/106327 | 22:47 |
kthakore | scrottie: ok I can do that | 22:47 |
@scrottie | I'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 |
@scrottie | kthakore, you're getting 404s. that's what that error is. | 22:48 |
kthakore | ok then I get Graphics::ColorObject not found | 22:49 |
@scrottie | either 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 |
kthakore | that should be in TestEnvironment probably | 22:49 |
@scrottie | yeah. | 22:49 |
kthakore | OOOH way better errors! | 22:50 |
* kthakore hugs scrottie | 22:50 | |
kthakore | thank you!!! | 22:50 |
* scrottie giggles | 22:51 | |
@scrottie | you're welcome. sorry that wasn't working before. | 22:51 |
kthakore | Where do I find out the $op for http://0:5000/home?op=listUsers | 22:52 |
@scrottie | op= implies a "content handler" | 22:53 |
kthakore | ok | 22:53 |
-!- preaction [~preaction@li79-149.members.linode.com] has left #webgui ["Leaving"] | 22:53 | |
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui | 22:53 | |
-!- mode/#webgui [+o preaction] by ChanServ | 22:53 | |
kthakore | so WebGUI::Operation::User ? | 22:53 |
@scrottie | they 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 them | 22:53 |
@scrottie | WebGUI/Content/*.pm | 22:53 |
@scrottie | er, wait, sorry | 22:54 |
@scrottie | you're right | 22:54 |
@scrottie | I think. let's see. | 22:54 |
@scrottie | yeah. lib/WebGUI/Operation/User.pm | 22:54 |
kthakore | ok | 22:54 |
kthakore | but I don't see this select that is causing the problem | 22:55 |
kthakore | http://paste.scsys.co.uk/106328 | 22:55 |
CIA-82 | webgui: Scott Walters WebGUI8 * rf14f2e5 / lib/WebGUI/Asset.pm : | 22:56 |
CIA-82 | webgui: Failed calls to www_ methods generating stack traces when webgui.debug is on | 22:56 |
CIA-82 | webgui: is useful for developers; merely warning skips stack traces in | 22:56 |
CIA-82 | webgui: WebGUI::Middleware::StackTrace. Make this an error. - http://bit.ly/myUHcM | 22:56 |
@scrottie | that 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 |
kthakore | ok | 22:57 |
kthakore | Turn on Admin! -> Users | 22:58 |
@scrottie | grepping around, it looks like that's lib/WebGUI/Operation/User.pm line 229 | 22:58 |
kthakore | ah indeed | 22:59 |
kthakore | FIXED! | 23:01 |
kthakore | :D | 23:01 |
kthakore | I love these stack traces | 23:01 |
@scrottie | yay! one down, a billion to go! | 23:01 |
kthakore | ahah | 23:02 |
kthakore | just refactoring is finding so many things | 23:02 |
kthakore | https://github.com/kthakore/webgui/commit/320f4958c0b7db584bb36bbaff1e224081d982fb | 23:03 |
kthakore | scrottie: ^^ | 23:03 |
@scrottie | thanks, let's see | 23:05 |
kthakore | simple enough | 23:06 |
kthakore | How do I add missing deps to Test::Enviornment.pl | 23:07 |
kthakore | checkmodule? | 23:08 |
@preaction | yes | 23:08 |
@scrottie | which module was missing again? | 23:08 |
kthakore | https://github.com/kthakore/webgui/commit/d5573ba561b75268ed334468ef5b66db82b29c4a | 23:10 |
kthakore | OMG I CAN FINALLY ADD USERS!!! | 23:11 |
@scrottie | Graphics::ColorObject ... right | 23:11 |
kthakore | o forgot that one | 23:11 |
@scrottie | where was the 'use' or 'require' for that? | 23:11 |
@scrottie | not finding it in lib | 23:11 |
@scrottie | want to see if it is interacting with my recent change (that I'm skeptical of) | 23:12 |
@scrottie | also, have to water the garden here and go afk a bit... going to do that before merging things | 23:12 |
kthakore | ok | 23:12 |
kthakore | to test this | 23:12 |
@scrottie | where did Graphics::ColorObject get used from? | 23:13 |
kthakore | do Users -> Click Visitor | 23:13 |
kthakore | scrottie: dunno maybe it was a dep of a dep? | 23:13 |
@scrottie | ah. right. | 23:13 |
kthakore | it just complained so I installed | 23:13 |
kthakore | the squeky wheel gets the oil | 23:13 |
@scrottie | yeah, 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 |
@scrottie | stack 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 wG8 | 23:14 |
@scrottie | afk a bit | 23:14 |
kthakore | ok | 23:15 |
kthakore | sorry | 23:15 |
* kthakore reads back scroll | 23:15 | |
jimX11 | I'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 | ||
jimX11 | Session docs give this: WebGUI::Session->open($webguiRoot, $configFile); I'll use that instead of mucking with env variables. | 00:01 |
@preaction | jimX11: you can change the config in the test and the original will be just fine | 00:04 |
@preaction | but if you open a new session, you're screwing with the real actual config | 00:05 |
@preaction | the test session is special | 00:05 |
jimX11 | preaction: 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-82 | webgui: Scott Walters WebGUI8 * r7687203 / lib/WebGUI/Operation/User.pm : | 01:21 |
CIA-82 | webgui: Author: kthakore <thakore.kartik@gmail.com> | 01:21 |
CIA-82 | webgui: Date: Sun May 22 16:02:00 2011 -0400 | 01:21 |
CIA-82 | webgui: Fixed SQL statement for ?op=listUsers operation. - http://bit.ly/knxmVZ | 01:21 |
jimX11 | To add a "cancel" button on an edit form, should I use javascript like: onclick="history.go(-1)? | 01:35 |
@preaction | that could work, yes | 01:35 |
jimX11 | preaction: ok, thanks. | 01:36 |
jimX11 | I'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 #webgui | 01:48 | |
jimX11 | I could use the "forwardButton" class, but that makes the button green. Green is an odd color for a cancel button. | 01:49 |
jimX11 | oh, "backwardButton" is nice and red. I'll use that. | 01:50 |
@scrottie | these modules that are generating stack traces are all in eval { }'s, by the way. they're all optional deps of other modules. | 03:22 |
@scrottie | I'm also getting these now: "WebGUI::Middleware::StackTrace::__ANON__('WebGUI::Session::Log=HASH(0xca75138)', 'fastmmap set failed - value too large? (114605 bytes)" | 03:22 |
@scrottie | CHI::Driver::FastMmap raises those. | 03:23 |
@scrottie | oh, 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-82 | webgui: Scott Walters WebGUI8 * r6a6fff6 / lib/WebGUI/Session.pm : Fixing the var() deprecation crutch. - http://bit.ly/jjUS9i | 04:05 |
CIA-82 | webgui: Scott Walters WebGUI8 * rd6f66b0 / sbin/maintenanceMode.pl : session->var is apparently deprecated. - http://bit.ly/m9pHiD | 04:05 |
kthakore | scrottie: hi. Sorry I had to take care of something | 04:26 |
@scrottie | hey kthakore. | 04:26 |
kthakore | I see you got my patch in there. | 04:26 |
@scrottie | I'm keeping busy here in my sandbox full of cat poop. | 04:26 |
kthakore | ... err what? | 04:27 |
@scrottie | uh, nothin'. | 04:27 |
kthakore | any way I found more bugs. But I am gonna focus on getting the Storage.pm refactored first to GD | 04:27 |
kthakore | but ... maybe tmmw | 04:28 |
@scrottie | are you able to create galleries and upload images to them? | 04:28 |
kthakore | no | 04:28 |
kthakore | there is a breakage on primary key | 04:28 |
kthakore | when uploading picture assets to albums in hte gallery | 04:28 |
kthakore | but I know what it is and I will have a report on it soon | 04:28 |
@scrottie | it might make sense to get that working first or the number of bugs might just compound. | 04:28 |
kthakore | I am being very careful not to do that | 04:29 |
@scrottie | is it on a table called metaData_values? | 04:29 |
kthakore | that is why I am doing a shallow refactor to WebGUI::Graphics | 04:29 |
kthakore | scrottie: hmm lets see | 04:29 |
kthakore | assetversiontag | 04:30 |
kthakore | Duplicate entry 'PRwV8qJRTw6CYxwgdbqVtg' for key 'PRIMARY' [for Statement "INSERT INTO `assetVersionTag` | 04:31 |
kthakore | all these bugs are not on my branch btw | 04:31 |
kthakore | they are on the WebGUI8 branch | 04:31 |
@scrottie | the $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 naught | 04:32 | |
CIA-82 | webgui: 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/mTJU9u | 04:46 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04: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 #webgui | 05: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 #webgui | 05:32 | |
CIA-82 | webgui: Scott Walters WebGUI8 * r2cf986f / lib/WebGUI.pm : | 06:55 |
CIA-82 | webgui: Back out $SIG{__DIE__}. Exposes far too many caught errors. Back to the | 06:55 |
CIA-82 | webgui: drawing board. - http://bit.ly/kDtOic | 06:55 |
CIA-82 | webgui: 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/lENhlw | 06:58 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09: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 #webgui | 09:13 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:57 | |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 11:10 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 11:11 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 11:11 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 264 seconds] | 11:40 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:45 | |
-!- carogray [~Caroline@72-59-177-80.pools.spcsdns.net] has joined #webgui | 12: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 #webgui | 14:00 | |
-!- carogray1 [~Caroline@184-201-120-55.pools.spcsdns.net] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14:47 | |
-!- carogray1 [~Caroline@173-140-47-252.pools.spcsdns.net] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15: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 #webgui | 15:45 | |
SDuensin | Morning. | 16:01 |
+BartJol | howdy | 16:18 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:27 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:27 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17: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 #webgui | 17:59 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:59 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 18: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 #webgui | 18:54 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 19:12 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 19:12 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 19:14 | |
+perlDreamer | stooopid CHI + Storable bug! | 19:28 |
Haarg | which one? | 19:28 |
+perlDreamer | the one where Storable writes stuff that it can't read | 19:34 |
Haarg | being stored in a blob? | 19:36 |
+perlDreamer | I'm not sure what the backed it | 19:36 |
+perlDreamer | it might be Fast_Mmap | 19:36 |
@preaction | happened again even after updating storable? | 19:37 |
+perlDreamer | new site | 19:37 |
+perlDreamer | this one a little closer to home | 19:37 |
+perlDreamer | I spent 10 minutes waiting for the support wiki to show up | 19:38 |
+perlDreamer | server load, low to nil | 19:38 |
+perlDreamer | other pages, work fine | 19:38 |
+perlDreamer | cleared client cache, reloaded, nada | 19:38 |
+perlDreamer | cleared cache on the server, whammo, instant page generation | 19:38 |
+perlDreamer | preaction: I would love it if upgrading Storable would fix this problem, but it's intermittent with low frequency so still waiting | 19:42 |
+perlDreamer | p.s. good morning, dude! | 19:43 |
@frodwith | have I mentioned lately how much I hate spectre? | 19:43 |
Haarg | i think you just did | 19:44 |
@preaction | no he didn't, he should though | 19:45 |
@frodwith | I hate spectre THIS much. | 19:45 |
@preaction | .? that's not that much, if it's just . | 19:45 |
@frodwith | I hate spectre a lot. | 19:45 |
@frodwith | Has anyone seen a singleton workflow just get stuck, and never get run? | 19:46 |
+perlDreamer | sure | 19:46 |
@preaction | not recently' | 19:47 |
+perlDreamer | -007 workflow for sending emails | 19:47 |
@frodwith | have you figured out why that happens? | 19:47 |
@frodwith | yeah, that workflow. | 19:47 |
@preaction | that was fixed in 7.9? 7.8? | 19:47 |
+perlDreamer | 7.9, I think | 19:47 |
+perlDreamer | cuz I fixed it | 19:47 |
@frodwith | was it a bug in spectre, or in webgui? | 19:47 |
+perlDreamer | webgui | 19:47 |
+perlDreamer | spectre itself is pretty bug free | 19:47 |
Haarg | spectre itself is relatively bug free it just feels to complicated for the job it does | 19:48 |
Haarg | *too | 19:48 |
@frodwith | Yeah, agreed Haarg. | 19:49 |
+perlDreamer | frodwith, see these commits for examples: ea5e82b6263419ca240e3af802e25c4db4d6d721, 5a904a85db915fa93be138d4df5c3436466909d6 adbec05e971cd7d99696b7514a43a347f4f55694 | 19:49 |
@frodwith | It does very little, but the code is a labyrinth. | 19:49 |
+perlDreamer | time to start the campaign for a spectre rewrite for 8 | 19:50 |
Haarg | two main issues with spectre: bidirectional communication, and single point of failure | 19:51 |
@scrottie | it would be kind of nice if it either communicated over HTTP or by way of MySQL but not both... | 19:52 |
Haarg | it 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 |
Haarg | right now it uses http and poe ikc | 19:52 |
+perlDreamer | the earlier problems I fixed had to do with not checking return values correctly | 19:53 |
+perlDreamer | if at all | 19:53 |
@frodwith | why does webgui need to be able to talk to spectre? | 19:54 |
@frodwith | oh, never mind. | 19:54 |
+perlDreamer | :) | 19:54 |
Haarg | the 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 |
@frodwith | It wants to inform it that a new workflow instance exists. | 19:54 |
+perlDreamer | right | 19:55 |
+perlDreamer | or, it's time for a cron to be run | 19:55 |
+perlDreamer | and then run the right workflow | 19:55 |
@frodwith | doesn't spectre decide when it's time for a cron to be run? | 19:55 |
Haarg | the whole flow of that seems wrong too | 19:55 |
+perlDreamer | yes, but it doesn't know what to run | 19:55 |
Haarg | it should tell webgui to run the cron, and webgui should respond with the workflow info | 19:56 |
+perlDreamer | it would help if spectre dialed up WebGUI to get a fresh list of pending instances | 19:56 |
Haarg | it shouldn't need to make a separate connection back to spectre to give it that info | 19:56 |
+perlDreamer | good idea, Haarg | 19:56 |
@frodwith | hmm. perlDreamer, commit adbec05e971cd | 19:58 |
@frodwith | why does this fix it? | 19:58 |
Haarg | plack gives us lightweight http easily, so moving all ipc to that would be reasonable | 19:58 |
+perlDreamer | frodwith, the original error works like this | 19:59 |
+perlDreamer | spectre calls webgui because it's cron time | 19:59 |
+perlDreamer | WebGUI creates a workflow instance | 19:59 |
+perlDreamer | WebGUI tries to call spectre back to tell it to run the instance | 19:59 |
@frodwith | ah ah ah ah | 19:59 |
+perlDreamer | but fails | 19:59 |
+perlDreamer | then it's hung | 19:59 |
@frodwith | yes, that makes perfect sense | 20:00 |
+perlDreamer | I suspect that all hanging is a variation on that theme | 20:00 |
+perlDreamer | with different points of failure | 20:00 |
+perlDreamer | if we put in a 30 minute time inside spectre to get fresh sets of data, they'd go away (I think) | 20:00 |
+perlDreamer | but currently spectre can't do that | 20:00 |
+perlDreamer | it only does it on startup | 20:00 |
@frodwith | I think they would, yes | 20:00 |
@frodwith | bit of a bandaid, but not too awful. | 20:01 |
Haarg | i think it makes sense to add that anyway to help with allowing multiple spectre instances to be run | 20:02 |
@frodwith | Why does spectre need to make an http request to get that info anyway? Why doesn't it just read from the db? | 20:03 |
@frodwith | so spectre can run on another machine | 20:03 |
@frodwith | that doesn't have access to the db | 20:03 |
Haarg | yes | 20:03 |
@preaction | which may or may not be a desirable feature, considering what spectre does not do | 20:04 |
+perlDreamer | for better or worse, spectre was designed to be as small and stupid as possible | 20:04 |
@frodwith | spectre's just a scheduler, yeah. I don't know if there's a lot of reason to run it on another machine. | 20:04 |
@frodwith | It -could- have its own little pool of perl processes and not have to bother with apache for running workflows | 20:05 |
@frodwith | if 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 file | 20:06 |
@scrottie | not being tied to mod_perl, this is realistic. | 20:06 |
@scrottie | one 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 uploads | 20:07 |
@frodwith | it would need to be able to do everything that webgui can do, in other words | 20:07 |
+perlDreamer | which is why we used WebGUI to do it :) | 20:08 |
Haarg | the primary reason spectre was kept small was for memory usage reasons iirc | 20:08 |
@frodwith | well, the workers at least have to be running in the same environment that the WebGUI handler is | 20:08 |
@frodwith | and it makes sense to do the IPC over http, since you're already running a webserver | 20:09 |
+perlDreamer | Haarg is right, if the runner size is big, then it may not be worth it from a memory usage standpoint | 20:09 |
@preaction | is 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 |
@frodwith | I'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 jobs | 20:10 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 20:10 | |
Haarg | i'm not sure the memory usage thing is such a big concern | 20:10 |
+perlDreamer | moving spectre to another box would mean "another box" would need to talk to the db on this one | 20:11 |
@frodwith | and probably have the WebGUI root mounted over nfs | 20:12 |
+perlDreamer | that doesn't sound fun | 20:12 |
+perlDreamer | of course, I have a very limited definition of fun | 20:12 |
Haarg | spectre 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 up | 20:13 |
@frodwith | in current parlance, you'd just have to run two mod_perls | 20:13 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 20:13 | |
Haarg | mucking with the config files would be painful though given how they are used | 20:14 |
@preaction | i thought there were all kinds of different ways to manage process pools in Perl these days | 20:14 |
@scrottie | preaction 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 |
@preaction | not saying this is THE way we should go, i'm saying it's an option | 20:14 |
@scrottie | then do HTTP to that in particular | 20:14 |
@frodwith | yeah 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 words | 20:16 |
@frodwith | might make some sense | 20:16 |
+perlDreamer | if 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 children | 20:17 |
@frodwith | number of runner children shouldn't affect memory very much, I shouldn't think | 20:18 |
@frodwith | since if you preload before forking, they'll all have copy-on-write sharing | 20:18 |
@frodwith | some, obviously, but. | 20:18 |
@frodwith | not much. | 20:18 |
@frodwith | although, if you didn't preload at all, you could fork for each workflow instead of having a pool | 20:19 |
@frodwith | and then the memory would be reclaimed when the workflow was done. | 20:19 |
@frodwith | but that seems like a waste of cpu time, loading all those perl modules over and over again. | 20:20 |
kthakore | hallo | 20:21 |
@preaction | bonjour | 20:23 |
@frodwith | perlDreamer: an oddity, the site this is getting stuck on is running 7.9.18, and seems to have your fix. | 20:27 |
@frodwith | so who knows | 20:27 |
+perlDreamer | maybe you've come across another way to get them stuck? | 20:27 |
@frodwith | quite likely | 20:27 |
@frodwith | I wish I knew what it was though. Restarting spectre seems to fix it. | 20:28 |
@frodwith | Annoyingly. Cause it's harder to debug that way. | 20:28 |
+perlDreamer | it would, that makes spectre reload the instance table | 20:28 |
@frodwith | Yeah. | 20:28 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 20:28 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 20:28 | |
+perlDreamer | uh | 20:29 |
+perlDreamer | hm | 20:29 |
+perlDreamer | I think I see another way... | 20:29 |
@frodwith | do share! | 20:30 |
+perlDreamer | well, maybe | 20:30 |
+perlDreamer | no | 20:30 |
+perlDreamer | instance->start returns a flag | 20:30 |
+perlDreamer | that's a boolean, not a multi-value | 20:31 |
+perlDreamer | the bug is really simple | 20:31 |
+perlDreamer | just con WebGUI into starting an instance and then never tell spectre about it | 20:31 |
@frodwith | the question is - why doesn't spectre know about it | 20:32 |
+perlDreamer | that's how | 20:32 |
+perlDreamer | grrrr | 20:32 |
@frodwith | *hide* | 20:32 |
+perlDreamer | spectre calls WebGUI for a cron | 20:32 |
+perlDreamer | WebGUi makes an instance and starts it | 20:32 |
+perlDreamer | start is told not to run it in realtime | 20:33 |
+perlDreamer | so it tries to call up spectre | 20:33 |
+perlDreamer | that fails | 20:33 |
+perlDreamer | then it tries to run spectreTest to make sure spectre is up and running | 20:33 |
+perlDreamer | that passes | 20:33 |
+perlDreamer | so the cron returns "all fine" | 20:33 |
+perlDreamer | and you have a stuck workflow instance | 20:33 |
+perlDreamer | instead of that extra spectreTest | 20:33 |
+perlDreamer | we need to check the actual IKC call worked | 20:34 |
+perlDreamer | sure enough | 20:34 |
+perlDreamer | $spectre->notify has no useful return value for checking that | 20:34 |
@scrottie | WebGUI should automatically provision more virtual servers on demand and scale out to them. | 20:35 |
+perlDreamer | it'll log stuff, but not return anything useful | 20:35 |
SDuensin | perlDreamer, 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 | |
+perlDreamer | SDuensin, grand news about paypal coming out before the end of the day | 20:35 |
+perlDreamer | and I work late on Mondays, so it's gonna be a while | 20:35 |
SDuensin | Whhhhhhhhha? | 20:35 |
+perlDreamer | frodwith: I think that's the bug | 20:36 |
@frodwith | perlDreamer: but we could give it a useful return value, eh, and check it | 20:36 |
+perlDreamer | totally! | 20:36 |
@frodwith | yeah, I think you're onto something | 20:36 |
+perlDreamer | and get rid of that extra check | 20:36 |
@frodwith | the spectreTest check? | 20:36 |
+perlDreamer | yeah, it's wasteful and inaccurate | 20:36 |
+perlDreamer | it makes a 2nd connection to spectre | 20:36 |
@frodwith | righto. I'll write up a commit. | 20:36 |
+perlDreamer | the other bummer is that now we have to wait weeks to verify the bug | 20:36 |
@frodwith | well, doing it Right can't hurt even if it doesn't fix the bug | 20:37 |
+perlDreamer | I need more allergy medicine | 20:40 |
SDuensin | Less allergies. More PayPal. :-) | 20:41 |
+perlDreamer | preaction: 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/12120 | 20:45 |
+perlDreamer | can we close them? | 20:45 |
@preaction | yes, please | 20:46 |
CIA-82 | webgui: Paul Driver master * redcf276 / (2 files): Check the return value of IKC call to spectre - http://bit.ly/l3BDrx | 20:54 |
@frodwith | committing code that doesn't compile is really smart, Paul | 20:54 |
@frodwith | everyone look the other other way for a couple minutes | 20:54 |
+perlDreamer | frodwith, if you keep making my mistakes, then soon I won't be needed anymore | 20:57 |
kthakore | what was the -dev wdg command again? | 20:58 |
CIA-82 | webgui: Paul Driver master * rde55b02 / (2 files): Durr, I are frodiwht. I are code. - http://bit.ly/jPtei2 | 20:59 |
kthakore | heheheh | 21:01 |
kthakore | I love that commit | 21:01 |
@frodwith | :-p | 21:03 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r501d5ed / (2 files): Check the return value of IKC call to spectre - http://bit.ly/lPPvwv | 21:03 |
+perlDreamer | frodwith, do we need an explicit return 0 for sub notify? | 21:04 |
kthakore | ok $SIG{_DIE} is being bad to my webgui now ... | 21:04 |
@preaction | kthakore: wgd reset -d maybe? | 21:04 |
kthakore | preaction: I got it wgd reset -dev | 21:04 |
+perlDreamer | otherwise, we get whatever happened last | 21:04 |
kthakore | my auth is dead now | 21:04 |
kthakore | great | 21:04 |
+perlDreamer | and I don't know what $error->warn returns | 21:04 |
@frodwith | ah. Excellent point. | 21:05 |
kthakore | I donno what to do with this. My db is funked. | 21:05 |
kthakore | error 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`, `la | 21:06 |
@preaction | that's... weird | 21:06 |
kthakore | ugh huh | 21:06 |
@preaction | and reset -d doesn't clear that out? | 21:06 |
* kthakore breaks things in unormal way | 21:06 | |
kthakore | no it doesn't | 21:06 |
kthakore | sigh | 21:06 |
+perlDreamer | wgd db --clear | 21:06 |
kthakore | kk | 21:06 |
+perlDreamer | that'll fix it good | 21:06 |
@preaction | okay, do "truncate userSession" perhaps | 21:06 |
@preaction | or that | 21:06 |
+perlDreamer | that's better, and more targeted | 21:07 |
+perlDreamer | wgd db --clear is "pull back and nuke the site from orbit" | 21:07 |
CIA-82 | webgui: Paul Driver master * rca08cc0 / lib/WebGUI/Workflow/Spectre.pm : Explict failure return - http://bit.ly/ieC6aL | 21:07 |
kthakore | perlDreamer: thanks | 21:07 |
@preaction | it's the only way to be sure | 21:07 |
@scrottie | kthakore, I pushed a removal of $SIG{__DIE__}. yeah, that was everything I feared it might be. | 21:07 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r3cd3c00 / lib/WebGUI/Workflow/Spectre.pm : Explict failure return - http://bit.ly/komnc1 | 21:07 |
kthakore | LOLLOL | 21:07 |
kthakore | wow | 21:07 |
kthakore | Unable 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 |
kthakore | YAY! nuked! | 21:08 |
kthakore | hehe | 21:08 |
@scrottie | kthakore, 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 |
kthakore | scrottie: np | 21:08 |
@scrottie | I 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 |
@scrottie | er, and is preserved | 21:10 |
kthakore | how do I turn it on and off as I want? | 21:15 |
@scrottie | re-add that bit of code. | 21:19 |
@scrottie | git log, view the commits. | 21:19 |
kthakore | ok | 21:19 |
kthakore | yay gallery works | 21:23 |
* kthakore needs some food now | 21:23 | |
kthakore | I found the problem | 21:24 |
kthakore | the bug I mean for that duplicat primary SQL | 21:24 |
kthakore | basically if I make an asset with Untitled as both name and menu | 21:24 |
kthakore | I seem to get the same assetid | 21:25 |
kthakore | I need to test this | 21:25 |
@scrottie | you should not get the same assetId in that case. | 21:25 |
@scrottie | and the url should never be exactly the same for two assets both of which are active. | 21:26 |
kthakore | hmm ok then I did some black deep unholy magic | 21:27 |
kthakore | time to clear some stuff up | 21:27 |
@scrottie | the primary way that things are unique is by (assetId, revisionDate) | 21:27 |
kthakore | right | 21:27 |
kthakore | yay new bug found for adding DataForm | 21:28 |
@scrottie | when 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 revisionDate | 21:28 |
kthakore | that seems to making the bug for DataForm right now | 21:28 |
kthakore | WebGUI::Asset:342 - Cannot find revision date for assetId (param: SSAKwFSlS1aCAWlDoEiXEg) | 21:29 |
kthakore | at WebGUI::Asset::getCurrentRevisionDate[199] select max(revisionDate) from assetData where assetId='SSAKwFSlS1aCAWlDoEiXEg' and | 21:29 |
kthakore | that is adding a new DataForm | 21:29 |
@scrottie | if 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 |
@preaction | i 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 week | 21:30 |
@preaction | but for now, i make meatballs! | 21:30 |
* preaction & | 21:30 | |
kthakore | preaction: oh please don't worry about that. I break stuff too fast. | 21:31 |
kthakore | scrottie: no that is not the problem | 21:31 |
kthakore | the revisiondate is null for this asset | 21:31 |
kthakore | in assetData table | 21:31 |
@preaction | well, this is supposed to be software ready for alpha release :p | 21:31 |
kthakore | ahhhhh! | 21:31 |
kthakore | that makes sense | 21:31 |
kthakore | hope I am breaking things good and well | 21:31 |
kthakore | then | 21:32 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 21:34 | |
kthakore | scrottie: should it not ignore this error? As a null revisiondate sjust says it was new? | 21:35 |
@scrottie | I don't know. _why_ are you getting that error? | 21:35 |
@scrottie | er, sorry, missed some scroll | 21:35 |
kthakore | add a new Dataform | 21:35 |
@scrottie | revisionDate should not be null. | 21:35 |
kthakore | crap | 21:35 |
@scrottie | that's a bug. | 21:35 |
kthakore | ok I can't seem to find the insert statement in the MYSQL trace | 21:36 |
kthakore | actually there are no insert statements at all | 21:36 |
kthakore | wth | 21:36 |
kthakore | I 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 |
kthakore | it doesn't happen when I add a dataform again | 21:39 |
kthakore | food & | 21:39 |
@scrottie | stuff 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 | |
@scrottie | instrument WebGUI::SQL::write perhaps. | 21:44 |
kthakore | ok | 21:46 |
kthakore | and I borked my install again | 21:46 |
kthakore | Couldn'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 |
kthakore | oops that was mee | 21:47 |
kthakore | apologies | 21:47 |
kthakore | and we have captch | 21:49 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:12 | |
* perlDreamer goes running | 22:12 | |
@scrottie | kthakore, you did see http://www.webgui.org/community/webgui-8/issues/11849, right? | 22:57 |
kthakore | yeah that is what I was working on | 22:58 |
@scrottie | ah, okay. I forgot that this actually had a ticket. | 22:58 |
kthakore | I was gonna use whatever best works and test everything | 22:59 |
kthakore | I couldn't find that repo harggg put up | 23:00 |
@scrottie | were you still leaning towards Graphics::Primitive? | 23:00 |
kthakore | yeah | 23:00 |
kthakore | I think GD would be perfect for what I have seen so far | 23:00 |
@scrottie | awesomeness. | 23:01 |
kthakore | I looked at Haarg's webgui/imager branch but it only does Storage.pm | 23:01 |
kthakore | in WebGUI8 I::MAgick is used in several other places | 23:02 |
kthakore | the 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 #webgui | 00: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 #webgui | 00:01 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 00:01 | |
@scrottie | pbcj, been a while! how goes? | 00:02 |
@pbcj | not bad not bad, how about yourself? | 00:02 |
@scrottie | goes okay. | 00:03 |
@preaction | and 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 | |
kthakore | preaction: um don't get the new one | 00:13 |
@preaction | i had one downloaded already | 00:13 |
@preaction | and it seems to be building well so far | 00:13 |
kthakore | are you getting no -lperl found? | 00:15 |
@preaction | no, 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 |
@preaction | hum, i did get that message though. | 00:16 |
kthakore | yeah that stuff is finicky | 00:16 |
kthakore | preaction: are you doing perlbrew? | 00:16 |
@preaction | no | 00:16 |
@preaction | but it didn't stop im from building, and now the test | 00:16 |
kthakore | it craps out if the perl library wasn't available. Atleast for me it did. | 00:17 |
@preaction | nope, but also didn't fix my error... | 00:17 |
kthakore | I was actually wondering. Is GD or Canvas easier to install for you guys? | 00:21 |
kthakore | I find GD a lot easier but thats on linux | 00:22 |
@preaction | dunno, i've only ever tried ImageMagick | 00:23 |
@preaction | i've never had a problem with IM on linux, only BSD and OSX | 00:23 |
kthakore | none of the newer stuff even compile for me | 00:24 |
@scrottie | haven'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 #webgui | 00: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 #webgui | 02:39 | |
-!- carogray1 [~Caroline@68-247-244-62.pools.spcsdns.net] has joined #webgui | 02:50 | |
-!- carogray [~Caroline@108.111.157.245] has quit [Ping timeout: 276 seconds] | 02:53 | |
kthakore | hallo | 03:39 |
@preaction | bonjourno | 03:39 |
kthakore | hi preaction | 03:39 |
kthakore | I started the to GD refactor | 03:39 |
kthakore | https://github.com/kthakore/webgui/commit/a05e8172bbf3291ce3aa5e4aa105c92338b77cc7 | 03:39 |
kthakore | it is going well only thing I don't have is sharpen in the thumbnail method. I was wondering how critical that was? | 03:40 |
@preaction | not critical at all, didn't even know we did it for IM | 03:41 |
kthakore | well IM seems to make a real blurry pic | 03:41 |
kthakore | apparently for some low res pictures | 03:41 |
kthakore | could you care to give a Gallery and Album Creation a try? | 03:42 |
@preaction | sure one sec | 03:43 |
kthakore | crap the Storage/Image.t test use an actual file for the thumbnail tests. | 03:45 |
kthakore | wee | 03:45 |
kthakore | actual file data | 03:45 |
Haarg | kthakore, 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 |
Haarg | or making a driver for Imager or something | 03:51 |
kthakore | Haarg: I am going to work on that too | 03:51 |
kthakore | I played with Cairo today ... it was ok~ | 03:51 |
kthakore | GD is better | 03:52 |
@preaction | hm... Color::Object isn't on my cpan mirror | 03:52 |
Haarg | cairo seems good for a drawing library, but wouldn't work for everything webgui does | 03:52 |
kthakore | yeah | 03:52 |
kthakore | GD does almosty every thing we want | 03:52 |
Haarg | preaction, there's no stable release | 03:52 |
kthakore | rest I can do by hand in perl if need be | 03:52 |
@preaction | oh | 03:52 |
kthakore | huh ? | 03:53 |
kthakore | sure there is for COlor::Object | 03:53 |
Haarg | http://search.cpan.org/~areibens/Color-Object-0.1_02/ this is all i see | 03:53 |
kthakore | oh you are right | 03:53 |
kthakore | cpanm got it for me regardless so I didnt realize | 03:53 |
@preaction | oh, ok, cpanm it is | 03:54 |
Haarg | ok, now i remember why i was favoring Imager over GD | 03:55 |
Haarg | you have to already have libgd installed | 03:55 |
@scrottie | open 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 |
Haarg | Imager packages everything into the CPAN dist | 03:55 |
-!- carogray1 [~Caroline@68-247-244-62.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 03:55 | |
kthakore | Haarg: right but lots of servers come with GD now | 03:56 |
-!- carogray [~Caroline@72-60-218-58.pools.spcsdns.net] has joined #webgui | 03:57 | |
Haarg | yeah it's a pretty easy prereq, nowhere near the nightmare of Image::Magick | 03:57 |
kthakore | scrottie: ok. Is there a coding style doc I should look at? | 03:57 |
kthakore | btw I am still fighting with random errors I can't seem to nail down. | 03:58 |
kthakore | Especially the missing revision thing | 03:58 |
@scrottie | egads. I used the standard perldoc documentation as my style guide. maybe that's the problem... | 03:58 |
@scrottie | Damian Conway wrote a book but it is too boring to speak of. | 03:59 |
@scrottie | which is tragic. | 03:59 |
kthakore | heh | 03:59 |
kthakore | ok | 03:59 |
@scrottie | there's the WebGUI Developers Guide on the site. that's not a style guide but explains how some of this stuff works. | 03:59 |
kthakore | I perused some of it | 03:59 |
@scrottie | it's more focused on API than internals. | 03:59 |
Haarg | we usually stick pretty close to the style parts of perl best practices | 03:59 |
kthakore | ok I can do that | 03:59 |
kthakore | if in doubt I will jsut search the repo for similar code and copy that style | 04:00 |
@scrottie | I can't tell from looking at this github page if this is the case or not, but please don't use tabs ;) | 04:01 |
@scrottie | or set your editor to translate them on save/load. | 04:01 |
Haarg | webgui 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 |
kthakore | I can run perltidy -b on it should you want | 04:02 |
Haarg | another json module on cpan. have to wonder why. | 04:02 |
kthakore | WebGUI::Graphics is temporary at the momoney | 04:02 |
kthakore | err | 04:02 |
kthakore | moment | 04:02 |
jimX11 | kthakore: do you know about the .perltidyrc in webgui? | 04:02 |
kthakore | jimX11: no | 04:03 |
kthakore | but I can run that | 04:03 |
jimX11 | yea, feed it to perltidy. | 04:03 |
Haarg | i wouldn't run it against any existing files. will make a mess of the revision history. | 04:03 |
@preaction | yeah, it's there, but it hasn't been run against anything in the core | 04:03 |
@preaction | that's one of those todo items that always gets pushed back | 04:04 |
@scrottie | legand has it that if you run it on WebGUI, it'll ruin it. | 04:04 |
@preaction | i don't subscribe to legends and hearsay! show me the proof, sir! | 04:04 |
kthakore | hah | 04:04 |
jimX11 | it's good for new code, no? | 04:04 |
kthakore | I meant to run it only on my file | 04:04 |
@preaction | hokey religions and ancient weapons are no match against the power of the proof! | 04:05 |
@preaction | it is good for new code, yes | 04:05 |
kthakore | also I don't plan to keep that wrapper around | 04:05 |
kthakore | I want to put everything back | 04:05 |
jimX11 | I 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 | |
kthakore | jimX11: Is this the same as the statement. " I will tell you first and last lie, 'I never lie!' " | 04:07 |
@scrottie | ancient weapons will spear your ass while you're still trying to find sulphur for your black powder. | 04:07 |
@preaction | i have had a terrible itch on my ass | 04:07 |
@scrottie | legand has it, using perltidy causes warts. | 04:08 |
jimX11 | but are the warts not tidy and reasonably displayed? | 04:09 |
SDuensin | Hey! Where'd PD go with his earth-shattering PayPal news? :-) | 04:09 |
@preaction | sigh, 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 |
jimX11 | preaction: 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 |
@preaction | DBIx::Class can quote identifiers, it just doesn't by default iirc | 04:10 |
jimX11 | preaction: yea, not working. Don't know why. I'm looking into it. Maybe I have to redeploy. | 04:11 |
kthakore | is taht acceptable? https://github.com/kthakore/webgui/blob/99cabc35a2d81a6d54915d1e696a2acb71b5de99/lib/WebGUI/Graphics.pm | 04:11 |
@scrottie | "$filename" ... there's really no reason ever to do that unless you're using dualvars or something | 04:12 |
@scrottie | that's the same as '' . $filename . '' | 04:12 |
@scrottie | I think that's one of those stylistically shunned things | 04:13 |
kthakore | ah right | 04:13 |
kthakore | I was rushing sorry | 04:13 |
@scrottie | s'ok | 04:13 |
@preaction | otherwise yep, looks fine | 04:13 |
@scrottie | it isn't fresh in my head how all of this stuff needs to fit together | 04:14 |
@scrottie | you said this class is just temporary? | 04:14 |
kthakore | scrottie: yeah it is only there to keep my code out of other peoples' biznazz! | 04:15 |
kthakore | erm basically I want to localize and minimize my impact on the rest of the code until all tests are passing and it is acceptable | 04:15 |
kthakore | then I will move it back in | 04:15 |
@scrottie | gotcha. well, you're certainly welcome to make a mess in your own fork. | 04:15 |
kthakore | I prefer to be careful | 04:15 |
kthakore | cause mergin time | 04:16 |
kthakore | something will rape me | 04:16 |
@scrottie | keeping things running is a good development strategy. | 04:16 |
@scrottie | heh | 04:16 |
kthakore | I blame my caution basically on getting nailed by thing in SDL way too many times | 04:16 |
kthakore | oooh it is only a tiny refactor .... nothing will happen ... MERGE .. COMMIT ... RELEASE .... FACEPALM!!! .... and RAGE lots of RAGE | 04:17 |
@scrottie | if there's not a test for it, it probably isn't important. | 04:19 |
@scrottie | at least that's the prevailing attitude ;) | 04:19 |
kthakore | I find the things that aren't important screw things up more often then things taht are important | 04:19 |
kthakore | people pay attention the important thing, they rarely blindside you. | 04:20 |
kthakore | it is the litte pricks (pardon the pun) | 04:20 |
kthakore | that bleed the lion. | 04:20 |
kthakore | ok I am ramblin' ... which means food time | 04:20 |
kthakore | & | 04:21 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 04:42 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04:43 | |
@scrottie | afk a while too. | 04:50 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:04 | |
@preaction | kthakore: 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 |
@preaction | but otherwise, despite the existing webgui 8 bugs, it worked! | 05:14 |
@preaction | you know what's nice? that GD compiled against the right stuff and didn't go completely nuts when I tried to use it | 05:18 |
@preaction | ImageMagick on the other hand is still loading from the system libs and not the WRE libs I keep pointing it to... | 05:18 |
kthakore | ok | 05:32 |
kthakore | preaction: I still have troubles with the gallery too | 05:33 |
kthakore | I don't know if my code is to fault tough | 05:33 |
@preaction | probably 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 do | 05:33 |
kthakore | preaction: hope fully I can get GD done so you won't need IM :P | 05: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 #webgui | 08:57 | |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 09:29 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 09:31 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 09:58 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 09: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 #webgui | 12:00 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 12: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 #webgui | 15:12 | |
SDuensin | Greetings. | 16:17 |
xdanger | afternoon | 16: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 #webgui | 17: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 | |
+BartJol | looks like I found an upgrade bug | 17:53 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:56 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:19 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 18:28 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 18:28 | |
+BartJol | cj I suppose you're pbcj? | 18:29 |
@preaction | nope | 18:29 |
+BartJol | ah | 18:29 |
+BartJol | well I send chris a mail on a bug I reported | 18:29 |
+BartJol | since it contains my settings table, I didn't want to put it in the bug report | 18:30 |
+BartJol | well, I hope it arrives | 18:30 |
+BartJol | preaction: if he starts complaining that he didn't get info, it is in his mail | 18:31 |
+BartJol | must be off | 18:31 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Client Quit] | 18:31 | |
@preaction | ok | 18: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 #webgui | 18:40 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 18: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 #webgui | 18: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 #webgui | 18:53 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 18: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 #webgui | 19: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 #webgui | 19: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 #webgui | 19: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 #webgui | 19:58 | |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui | 19: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 #webgui | 20: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 #webgui | 20:52 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 20:54 | |
SDuensin | Hmm. Not the PayPal announcement I had been hoping for. | 21:08 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 21:16 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 21:17 | |
+perlDreamer | SDuensin, was that PayPal news from last night big enough for you? | 21:17 |
SDuensin | You're evil. | 21:17 |
SDuensin | [13:08] <SDuensin> Hmm. Not the PayPal announcement I had been hoping for. | 21:18 |
+perlDreamer | I didn't promise good news, just big. | 21:18 |
SDuensin | Seriously though, do you see WG getting a subscription-capable PP driver any time soon? | 21:22 |
+perlDreamer | it depends | 21:23 |
+perlDreamer | right now, all of PB's open source development is geared at getting WebGUI 8 out | 21:24 |
+perlDreamer | so it's not on our radar anytime soon | 21:24 |
SDuensin | I've got all of 900 karma you can have. :-P | 21:24 |
+perlDreamer | but PB accepts contract work, and patches | 21:24 |
+perlDreamer | and either would suffice to get it done in the "soon" timeframe | 21:24 |
SDuensin | Thing is, I can use Drupal as-is. Or go super fancy for all of $65. :-( | 21:25 |
+perlDreamer | If you want subscriptions, you can use ITransact in WebGUI right now | 21:27 |
SDuensin | I 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 | |
+perlDreamer | 14th time is the charm! | 21:48 |
+perlDreamer | okay, successful checkout. Not to test if we can break it | 21:49 |
+perlDreamer | no breaking | 21:51 |
* SDuensin cheers | 21:53 | |
jimX11 | yea! | 21:53 |
CIA-82 | webgui: Colin Kuskie master * r8bc944d / (9 files in 5 dirs): (log message trimmed) | 21:59 |
CIA-82 | webgui: Prevent the PayPal standard driver from being abused. Update POD and comments | 21:59 |
CIA-82 | webgui: in several Shop files. Fix form labels for PayPal Express checkout driver. Fix | 21:59 |
CIA-82 | webgui: a niggling bug with updating a transaction with a cart, twice. Fixes bug | 21:59 |
CIA-82 | webgui: #12140. | 21:59 |
CIA-82 | webgui: commit cef8c5bde10f793db0890dcfd18cbf20b0e69c90 | 21:59 |
CIA-82 | webgui: Author: Colin Kuskie <colink@perldreamer.com> | 21:59 |
+perlDreamer | and now thanks to the brilliance of the Dutch team, we have a pure code fix for the bug | 22:00 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rbcdf204 / (9 files in 5 dirs): (log message trimmed) | 22:01 |
CIA-82 | webgui: Prevent the PayPal standard driver from being abused. Update POD and comments | 22:01 |
CIA-82 | webgui: in several Shop files. Fix form labels for PayPal Express checkout driver. Fix | 22:01 |
CIA-82 | webgui: a niggling bug with updating a transaction with a cart, twice. Fixes bug | 22:01 |
CIA-82 | webgui: #12140. | 22:01 |
CIA-82 | webgui: commit cef8c5bde10f793db0890dcfd18cbf20b0e69c90 | 22:01 |
CIA-82 | webgui: Author: Colin Kuskie <colink@perldreamer.com> | 22:01 |
ryuu_ro | yeah dutch team! | 22:01 |
+perlDreamer | ryuu_ro, the Ogone driver is brilliant | 22:02 |
+perlDreamer | sometimes, I too minimalist for my own good | 22:02 |
+perlDreamer | yesterday i figured out why it's immune to this exploit | 22:02 |
+perlDreamer | and it was so cool I spent all of yesterday and today reworking my patch to do the same thing | 22:03 |
ryuu_ro | oh good, what was it? | 22:03 |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 22: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 cj | 22:48 | |
-!- jimX11 [~jjm@98.180.60.146] has quit [Ping timeout: 258 seconds] | 23:07 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 23:07 | |
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui | 23:08 | |
-!- jim_bob [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 23:28 | |
kthakore | hallo again | 23:50 |
@scrottie | hey hey. | 23:51 |
kthakore | scrottie: hi how is life. | 23:52 |
@scrottie | alright but I'm a bit strung out on computering at the moment. | 23:54 |
@scrottie | yourself? having fun? | 23:54 |
kthakore | erm ... sure | 23:55 |
kthakore | haven't slept well in a few nights | 23:55 |
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Ping timeout: 276 seconds] | 23:55 | |
kthakore | just got 2ish hours right now | 23:55 |
kthakore | so feelign better | 23:55 |
@scrottie | that's bad... and good... | 23:57 |
kthakore | heh | 23:57 |
kthakore | its ok | 23:57 |
kthakore | I ... go in and out of those fazes | 23:57 |
--- Day changed Wed May 25 2011 | ||
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui | 00:00 | |
@scrottie | this 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 #webgui | 00:04 | |
* scrottie waves to andyiomoon | 00:05 | |
+perlDreamer | scrottie, HTML::Template templates don't work that way, but it's a great idea | 00:05 |
kthakore | scrottie: what pagination? | 00:06 |
+perlDreamer | the template code that would work well with $pagination->appendTemplateVariables(); | 00:06 |
* andyiomoon peers through sleep-starved eyes, waves back and promptly walks into side table | 00:07 | |
@scrottie | pagination 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 |
@scrottie | ooof. | 00:07 |
+perlDreamer | but in TT it would work really well | 00:09 |
kthakore | andyiomoon: ah fellow wight, how I hear your plight. | 00:09 |
@scrottie | what would? pasting the snippet? | 00:09 |
+perlDreamer | yeah, the snippet would get proxied too late to be evaluated in the right context | 00:12 |
+perlDreamer | it'd have to be a template include of some kind | 00:12 |
@scrottie | ah. 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 |
+perlDreamer | that would work, and work quite well | 00:14 |
+perlDreamer | the Paginator does make two pre-made bars | 00:15 |
-!- jim_bob is now known as jimX11_bob | 00:15 | |
@scrottie | oh. | 00:15 |
@scrottie | so the only question is then why I haven't been using that. | 00:16 |
@scrottie | getBarSimple et al? | 00:16 |
+perlDreamer | too simple? | 00:30 |
+perlDreamer | it may not have enough knobs so that people can style it well | 00:30 |
kthakore | yay generateThumbnail refactor passing tests | 00:31 |
kthakore | onwards | 00:31 |
@scrottie | kill, maim, destroy! | 00:32 |
kthakore | also fire | 00:32 |
kthakore | lest we forget the Lord of Light! | 00:32 |
kthakore | </fantasy nerd> 'might as well put this in' | 00:33 |
@scrottie | I am scared. | 00:34 |
kthakore | haha | 00:34 |
kthakore | I was fishing for a fellow Game of Thrones nerd | 00:35 |
kthakore | then I read it back | 00:35 |
@scrottie | there are no game nerds in here. | 00:36 |
kthakore | erm ... it is a book ... nvm | 00:37 |
* kthakore goes away ... in shame | 00:37 | |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds] | 00:38 | |
@scrottie | no one in here can read, either. | 00:39 |
kthakore | hahhahah | 00:39 |
kthakore | hahah | 00:39 |
kthakore | ok | 00:39 |
kthakore | scrottie++ troll extrodinare | 00:39 |
@scrottie | it's in my DNA or something. | 00:39 |
* scrottie sighs | 00:40 | |
@scrottie | I don't notice I'm doing it until everyone is crying. | 00:40 |
kthakore | we need to get beer together | 00:40 |
kthakore | I love trolls! | 00:40 |
ryuu_ro | we can all read binary right? | 00:40 |
ryuu_ro | 01111001 01100101 01110011 01110111 01100101 01100011 01100001 01101110 00100001 | 00:40 |
kthakore | ryuu_ro: GTFO | 00:40 |
ryuu_ro | :) | 00:40 |
* kthakore points ryuu_ro to the dungeon that his is hovel | 00:40 | |
kthakore | (is his)* | 00:41 |
ryuu_ro | I don't feel appreciated here :) | 00:41 |
kthakore | awwww ... that is scrottie's job ... not mines | 00:41 |
ryuu_ro | hehhehe | 00:42 |
@scrottie | perl -e 'print join "", map chr, map oct("0b0$_"), split / /, "01111001 01100101 01110011 01110111 01100101 01100011 01100001 01101110 00100001"; | 00:42 |
kthakore | hahaha | 00:42 |
@scrottie | ryuu_ro, you made perlDreamer's day | 00:43 |
+perlDreamer | technically, it was yesterday | 00:43 |
ryuu_ro | glad to be of any help | 00:43 |
kthakore | ryuu_ro: no that means get to work on today | 00:45 |
* kthakore cracks the whip | 00:46 | |
kthakore | perlDreamer: I will have him ready my leige | 00:46 |
+perlDreamer | kthakore, it's about 11:00pm where ryuu_ro is | 00:46 |
+perlDreamer | he may hack as he wishes | 00:46 |
@scrottie | kthakore, do you have any wG8 bugs causing you grief at the moment? | 00:47 |
kthakore | only that hisenbug T T | 00:47 |
kthakore | revisiondatemissing | 00:47 |
kthakore | still hunting for it but I wanna get Storage.pm ready too | 00:47 |
@scrottie | you 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 |
kthakore | scrottie: yeah I did that | 00:48 |
kthakore | still ... :( | 00:48 |
@scrottie | more creeping in or haven't seen any more or it just isn't detecting it when it happens...? | 00:48 |
kthakore | haven't seen any more | 00:48 |
kthakore | and it takes far to long to undo all the gallery stuff and reinstall webgui | 00:49 |
@scrottie | we should just run this whole tub with $SIG{__DIE__} = sub { CORE::dump; }; | 00:49 |
kthakore | to produce this I have to drop everything | 00:49 |
kthakore | and run a fresh one | 00:49 |
@scrottie | yeah, don't do that. doesn't sound like that's too much in your way. | 00:49 |
ryuu_ro | actually it's around 12 :) | 00:49 |
@scrottie | I can tell you how to clean out asset garbage if you like. | 00:49 |
kthakore | please do | 00:50 |
@scrottie | what's the className? is the entry in assetData valid? can you select className from assetData where assetId = $whatever ? | 00:50 |
@scrottie | that tells you what tables you need to delete from. | 00:51 |
kthakore | scrottie: let see if I can bugger it again | 00:53 |
ryuu_ro | andydiomoon i'm of to bed, back online around your 17:00 pm | 00:54 |
kthakore | scrottie: nope not happening | 00:56 |
kthakore | however I get this no on that asset it was happening too | 00:56 |
@scrottie | huh? | 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 |
kthakore | noticed the buggered url ... I don't even know | 00:57 |
kthakore | I am going to clean one the capcha is refactored and give you a better report | 00:57 |
@scrottie | select className from assetData join asset using (assetId) where url = 'home/untitled/sdf/home/untitled/sdf/untitled'; | 00:57 |
@scrottie | alright. just wanted to make sure you weren't suffering from any particular wG8 bug that was holding you back. | 00:58 |
kthakore | scrottie: no records found for that btw | 00:58 |
kthakore | no I am good now | 00:58 |
kthakore | there are some more things I could break but I am playing nice until refactor | 00:58 |
kthakore | ok here is the new captcha ... .there are no tests for it however | 01:22 |
kthakore | http://imgur.com/0ksIX | 01:22 |
kthakore | scrottie: ^^ Looks kosher? | 01:23 |
kthakore | Anyone want to try a test? | 01:24 |
CIA-82 | webgui: Colin Kuskie master * r595660e / (3 files in 3 dirs): Tests for templateId and URL handling, some i18n for the RenderThingData macro. - http://bit.ly/iziDCC | 01:24 |
@scrottie | I like my cpatcha better: http://cluster.slowass.net/~scott/3dcaptest.cgi | 01:24 |
@scrottie | I think we should use that one. | 01:24 |
@preaction | i will if i ever get a working development system again | 01:25 |
kthakore | wtf | 01:26 |
kthakore | I can't even do that | 01:26 |
kthakore | scrottie: you really want me to use that ? | 01:26 |
@scrottie | you have to cross your eyes. | 01:26 |
kthakore | I can ... try | 01:26 |
@scrottie | it's a "magic eye" style image. | 01:26 |
kthakore | .... really? | 01:26 |
@preaction | you should put those registration marks at the bottom "make these two dots overlap to see the image" | 01:26 |
kthakore | or trolling me again | 01:26 |
kthakore | heheh | 01:27 |
kthakore | sure if you guys want | 01:27 |
@preaction | no, it's real | 01:27 |
@scrottie | preaction, that's a good idea. | 01:27 |
@scrottie | kthakore, it's a real capture, no, you should not use it. | 01:27 |
@preaction | i'd say no on actually using it, even with clear instructions on how to do it, many people simply can't | 01:27 |
kthakore | I still can't | 01:27 |
kthakore | and now my eyes hurt | 01:27 |
kthakore | thanks scrottie | 01:27 |
@scrottie | I'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 |
@preaction | is another way that works for some | 01:28 |
kthakore | ... no | 01:28 |
@preaction | eh, not everyone can do it | 01:29 |
@preaction | it's a sailboat | 01:29 |
+perlDreamer | particularly people who are vision impaired | 01:29 |
@scrottie | I'm 99% sure it would be easier for computers to solve those than hu-mans. | 01:29 |
kthakore | I can run the captcha trhough this | 01:31 |
kthakore | http://www.backtrack-linux.org/forums/tool-requests/38312-captcha-breaker.html | 01:31 |
kthakore | and see | 01:31 |
@scrottie | nice. another obnoxious thing the captcha could do is be an animated gif. | 01:32 |
+perlDreamer | scrottie, sometimes I think you specialize in knowledge of the obnoxious | 01:33 |
kthakore | perlDreamer: isn | 01:33 |
kthakore | t it WONDERFUL!! :D | 01:33 |
kthakore | heh | 01:33 |
@scrottie | I was read the datasheet for the ACE1101 processor the other day... | 01:34 |
@scrottie | I think you're right, perlDreamer. | 01:34 |
@scrottie | actually, 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 |
+perlDreamer | I'm partial to the MOV machine | 01:35 |
@scrottie | have to google that... | 01:36 |
@scrottie | btw, I think Amiga false is awesome, but its smaller sibling, brainf*&k, is pointless and uninteresting. | 01:36 |
@scrottie | http://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 |
+perlDreamer | http://en.wikipedia.org/wiki/Transport_triggered_architecture | 01:39 |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 01:40 | |
@scrottie | oh, huh. that has a name. I was daydreaming about such a thing one day. | 01:41 |
+perlDreamer | it's also called the MOV machine, because it has one instruction, MOVE A, B | 01:42 |
+perlDreamer | they're very small | 01:42 |
+perlDreamer | can be made highly specialized for area, power or specific operations | 01:42 |
+perlDreamer | and if I tell you anymore I'd be violating an NDA | 01:42 |
@scrottie | =) | 01:42 |
+perlDreamer | it was fun to make, but I liked the PICs better | 01:43 |
+perlDreamer | and hacking gnupic | 01:43 |
@scrottie | http://www.microchipdirect.com/ProductSearch.aspx?Keywords=TEIK001 ... looking at doing a hardware project with one of those. | 01:44 |
@scrottie | I don't know anything about the PIC architecture right now. | 01:45 |
+perlDreamer | it's not too bad | 01:45 |
+perlDreamer | simple instruction set | 01:45 |
+perlDreamer | options for jump/long jump based on address space | 01:45 |
+perlDreamer | plus, open source tools for hackery | 01:46 |
@scrottie | Microchip 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 stack | 01:46 |
+perlDreamer | you can use gnupic and gnuasm to do it | 01:47 |
@scrottie | hrm. that's good to know. | 01:47 |
@scrottie | the 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 #webgui | 01: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 #webgui | 02: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 #webgui | 03:07 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 03:07 | |
CIA-82 | webgui: Graham Knop WebGUI8 * r529743f / (51 files in 15 dirs): remove old upgrades - http://bit.ly/iqe7DS | 03:48 |
Haarg | i feel like scrottie is going to slap me at yapc | 03:48 |
@scrottie | meh? | 03:59 |
Haarg | reading your moose rants | 04:00 |
@scrottie | oh. | 04:01 |
@scrottie | no, I pretty much stick to verbal lashings, and ones at no one in particular mostly | 04: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 #webgui | 04:32 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 252 seconds] | 04:55 | |
@preaction | I never ever thought I'd ever say this, but I think I should go back to Linux so my system Just Works. | 04:57 |
SDuensin | YES!!!!!! I knew you were smart! | 05:06 |
@scrottie | ha. | 05:06 |
@scrottie | as if. | 05:07 |
@scrottie | sometimes 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 | |
@scrottie | http://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 #webgui | 05:09 | |
SDuensin | There's only ONE reason to use Windows... Games. | 05:17 |
@preaction | windows would handle the python projects i work on even worse than OSX handles them | 05:18 |
* SDuensin loves him some OS X. | 05:19 | |
@scrottie | OS 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 |
SDuensin | Mine is poorly made elsewhere garbage. :-) | 05:30 |
* SDuensin has a Hackintosh. | 05:30 | |
SDuensin | (And an Amiga 3000.) | 05:30 |
SDuensin | Anyway, I'm going to bed. Later all. | 05:31 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r1b3c2cb / docs/create.sql : Preparing for 7.9.29 release. - http://bit.ly/kXpgDU | 06:07 |
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving] | 06:11 | |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r11cdbbd / (4 files in 4 dirs): Ready for 7.9.30 development. - http://bit.ly/jszJD2 | 06:37 |
CIA-82 | webgui: Colin Kuskie master * r8284ab4 / docs/create.sql : Preparing for 7.10.17 release. - http://bit.ly/iXrVff | 06:38 |
CIA-82 | webgui: Colin Kuskie master * r926cfd1 / (4 files in 4 dirs): Ready for 7.10.18 development. - http://bit.ly/iywIOk | 06:55 |
+perlDreamer | okay, that's enough overtime work for tonight | 06: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.com | 06: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 #webgui | 08:15 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 08:15 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09: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 #webgui | 09:54 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10: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 #webgui | 12:24 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 12:35 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 12:52 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 12:52 | |
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui | 13: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 #webgui | 13:56 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 13: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 #webgui | 14:18 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 14: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 #webgui | 14:23 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 14:23 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 14: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 #webgui | 15: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 #webgui | 15:14 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 15: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 #webgui | 15:18 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 15: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 #webgui | 15:22 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 15: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 #webgui | 15:31 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 15: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 #webgui | 15:35 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 15:35 | |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui | 15:59 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Read error: Connection reset by peer] | 16:21 | |
@frodwith | so, here's an enjoyable bug, or class of bugs I suppose | 16:46 |
@frodwith | when you import assets from one site to another, often you'll end up with several settings that aren't really valid on the other site | 16:46 |
@frodwith | nonstandard groupIds come to mind | 16:46 |
@frodwith | now, there's several places in the code that sort of assume that assets have valid data | 16:47 |
@frodwith | the place where I'm running into it here is in the subscribable asset's duplicate | 16:47 |
@frodwith | er, subscribable aspect | 16:48 |
@frodwith | it assumes that if the asset it's duplicating has a subscriptionId, then there's a group to copy | 16:48 |
@frodwith | but of course there isn't in this case, because the groupId is invalid. | 16:49 |
@frodwith | I'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 exist | 16:49 |
@frodwith | but 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 |
SDuensin | Greetings, Programs. | 17:09 |
@frodwith | Hello, 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 #webgui | 17: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 #webgui | 17: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 #webgui | 17:54 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:55 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:55 | |
+perlDreamer | morning, folk | 17:55 |
SDuensin | Ugh. | 17:56 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17: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 #webgui | 18:03 | |
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has joined #webgui | 18:04 | |
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has quit [Ping timeout: 252 seconds] | 18:11 | |
@frodwith | What 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/991156 | 18:21 |
@frodwith | perlDreamer, scrottie, preaction, Haarg | 18:23 |
+perlDreamer | what's the advantage of that over just adding it to t/Asset/Post/Thread.t ? | 18:23 |
@frodwith | biggest thing I think is shorter tests | 18:24 |
@frodwith | It's easier (for me, at least) to write short, focused tests if they're just doing one thing | 18:24 |
@frodwith | it also keeps the more general test from getting long and unwieldy | 18:24 |
+perlDreamer | yeah, I've done stuff like that, but I usually create a subdirectory below the current test | 18:24 |
+perlDreamer | like stuff in t/Asset/Wobject/Thingy/indexContent.t | 18:25 |
+perlDreamer | I'd rather have it "near" the original test for organization | 18:25 |
+perlDreamer | although that tends to make for long paths | 18:25 |
@frodwith | well, I don't really care about long paths | 18:26 |
@frodwith | I guess I kind of like the distinction between testing functionality and testing a particular edge case that went buggy once upon a time | 18:27 |
@frodwith | but, I wouldn't be opposed to just referencing the bug at the top of the file | 18:27 |
+perlDreamer | you could even put it in the name of the test | 18:28 |
+perlDreamer | duplicate_XXXX | 18:28 |
@frodwith | yarr | 18:28 |
+perlDreamer | of course with git, git log file.t will help us find that | 18:28 |
+perlDreamer | since we have the soft convention of putting in the bug number in the commit notes | 18:28 |
@frodwith | how 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 tree | 18:28 |
+perlDreamer | I'm cool with more documentation in bug tests or tests in general | 18:30 |
+perlDreamer | btw, the spectre fix from earlier this week went out yesterday, so we have some sites using it | 18:30 |
@frodwith | had we been getting any stuck email workflows from other sites? | 18:30 |
@frodwith | (before the fix) | 18:30 |
+perlDreamer | yes | 18:31 |
+perlDreamer | one of the servers had a spectre restart cron job | 18:31 |
@frodwith | Cool. Here's hoping we've killed that finally. | 18:31 |
* jigou has a spectre restart cron job..... :-) | 18:32 | |
+perlDreamer | if you upgraded to 7.9.29, you probably wouldn't! | 18:32 |
jigou | Wanna know what I'm testing RIGHT NOW? | 18:33 |
+perlDreamer | sure! | 18:34 |
jigou | That. Upgrading to 7.9.29. | 18:35 |
jigou | Running the upgrade from 7.8.24 to 7.9.29 as we type, in fact. | 18:36 |
+BartJol | ah, I had problems yesterday with updating a WebGUI with a calender | 18:36 |
+BartJol | same stuff as I saw in a calender rss update workflow | 18:36 |
+perlDreamer | BartJol: is this an old calendar? | 18:38 |
+BartJol | like first made in an old webgui? | 18:38 |
+perlDreamer | yup | 18:38 |
+perlDreamer | in the database, what does it have in the icalFeeds column? | 18:38 |
+BartJol | lemme check | 18:39 |
+BartJol | 7.4.21 | initial install | 1200758229 | 18:39 |
+perlDreamer | what does it have for the icalFeeds column in the calendar table for the failing calendar? | 18:40 |
+BartJol | and [] in that column | 18:40 |
+perlDreamer | what? | 18:40 |
+perlDreamer | seriously? | 18:40 |
+BartJol | [] | 18:40 |
+BartJol | yes | 18:40 |
+perlDreamer | you sure it doesn't have "[]" | 18:41 |
+perlDreamer | with some kind of quotes? | 18:41 |
+BartJol | mysql> select icalFeeds from Calendar; | 18:41 |
+BartJol | +-----------+ | 18:41 |
+BartJol | | icalFeeds | | 18:41 |
+BartJol | +-----------+ | 18:41 |
+BartJol | | [] | | 18:41 |
+BartJol | +-----------+ | 18:41 |
+BartJol | 1 row in set (0.00 sec) | 18:41 |
+BartJol | to be spamming this channel with code :P | 18:41 |
+perlDreamer | <insert subtle but profuse swearing> | 18:41 |
+BartJol | so, quite seriously | 18:41 |
SDuensin | DROP BartJol; | 18:41 |
+perlDreamer | I must have mucked up the fix for the RSS feed bug, too | 18:42 |
+perlDreamer | grrr | 18:42 |
+BartJol | so something went wrong somewhere :) | 18:42 |
+BartJol | but the 7.9.26->7.9.27 upgrade fails there | 18:43 |
+BartJol | Colin, I'm sorry, but I really have to go | 18:44 |
+BartJol | not sure where the entry originates from, but I wish you good luck with finding out | 18:45 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:46 | |
+perlDreamer | no sweat BartJol, I'm sure I mucked it up somewhere | 18:46 |
CIA-82 | webgui: Colin Kuskie master * r90b37da / (3 files in 3 dirs): Fix more i18n issues with the RenderThingData macro. Addresses bug #12141 - http://bit.ly/lrXPzh | 18:50 |
@scrottie | frodwith, 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 to | 18:58 |
@scrottie | combine things to speed up the test run. | 18:58 |
@scrottie | this might be a grass-is-greener scenario. | 18:59 |
@scrottie | tests whether combined or individual should certainly be commented with their bug ticket number they were created for. | 18:59 |
@frodwith | I think in some cases it'd be appropriate for a bug test to be standalone, and in others not so much | 19:00 |
@frodwith | if it requires a lot of setup that's already present in another test, it makes sense to combine them | 19:00 |
@frodwith | but yeah, definitely we should annotate the tests in either case with bug ticket numbers. | 19:01 |
CIA-82 | webgui: Paul Driver master * rd450ded / (4 files in 4 dirs): fixed #12142: Copy fails on imported threads - http://bit.ly/lebj2l | 19:02 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r68ee84e / (4 files in 4 dirs): fixed #12142: Copy fails on imported threads - http://bit.ly/kZAS4o | 19: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 #webgui | 19:09 | |
-!- fokat [~lem@adsl-074-164-057-252.sip.mia.bellsouth.net] has joined #webgui | 19:30 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 19:34 | |
@frodwith | when 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 | |
@preaction | when 8.0 goes beta, so hopefully a few months from now | 19:57 |
@preaction | of course, it'll never happen if i can't get a stable dev environment set up... | 20:17 |
@preaction | perl won't build a makefile now... | 20:17 |
+perlDreamer | frodwith, doesn't that test need to clean up the thread that it created if duplicate worked correcty? | 20:28 |
@frodwith | arg, yes, and it did at one point. Thanks. | 20:28 |
@frodwith | I'll fix. | 20:29 |
CIA-82 | webgui: Paul Driver master * r7b7d1b4 / t/Asset/Post/Thread/bug_12142_duplicate.t : cleanup extra thread in 12142 test - http://bit.ly/lHrxLy | 20:31 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r53016ef / t/Asset/Post/Thread/bug_12142_duplicate.t : cleanup extra thread in 12142 test - http://bit.ly/jUpOWD | 20:32 |
+perlDreamer | preaction:, it's confirmed. Even with the latest Storable there are still problems | 21:17 |
@preaction | yay! | 21:17 |
+perlDreamer | I need to see where I left the bug report with the Data::Serializer maintainer | 21:17 |
+perlDreamer | and maybe in the meantime we can try my patch out with JSON serialization and see what shakes out | 21:17 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 21:20 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 21:52 | |
jimX11_bob | I 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 |
+perlDreamer | don't use periods in template names | 22:14 |
+perlDreamer | well, I replied to the last question the maintainer of Data::Serializer asked, so I guess now we just wait | 22:15 |
+perlDreamer | although, I really should send him an updated patch with Haarg's recommended JSON syntax | 22:16 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 23:35 | |
CIA-82 | webgui: Paul Driver master * r7b796ed / lib/WebGUI/Account.pm : Check permissions in account plugin - http://bit.ly/lMpAKz | 23:46 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r8dbc72e / lib/WebGUI/Account.pm : Check permissions in account plugin - http://bit.ly/io98dd | 23:48 |
--- Day changed Thu May 26 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
+perlDreamer | frodwith, that's a pretty big change, it needs a changelog notice as to why, and a notice in the gotchas for developers | 00:05 |
@frodwith | It's a bugfix. | 00:07 |
@frodwith | and I don't want to put a notice in the changelog because it's a security hole. | 00:07 |
+perlDreamer | oh sure, but if someone was depending on that buggy behavior, we need to tell them that | 00:07 |
@preaction | but 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 | |
@frodwith | Yeah, probably. | 00:33 |
@frodwith | I'll write something up tomorrow morning. Head's killing me. | 00:36 |
@preaction | ok | 00:37 |
kthakore | Is it reasonable to expect Try::Tiny in webGUI8? wdg uses it. | 01:04 |
@scrottie | yeah, or something like that. | 01:05 |
@preaction | it should already be in testEnvironment.pl | 01:05 |
@preaction | if it's in testEnvironment.pl, it's okay to use | 01:05 |
@scrottie | I have to deal with that if the stack traces are ever going to be correct and useful. | 01:05 |
@preaction | if it's not, just ask and most likely it'll go in if it doesn't overlap existing prereqs | 01:06 |
@preaction | why not just accept that the current Perl philosophy is that it should be easy to write and impossible to debug | 01:06 |
@preaction | oh wait, isn't that what it's always been? | 01:06 |
kthakore | ok | 01:06 |
@scrottie | srsly. | 01:07 |
kthakore | ... | 01:07 |
kthakore | hah ok | 01:07 |
kthakore | apologies for trying to make Perl easier to debug | 01:07 |
@preaction | i'm joking, though the stack traces that the recent spat of best-practices development creates are monstrous | 01:08 |
@preaction | sacrelicious even | 01:08 |
@scrottie | don't get me started. | 01:08 |
kthakore | ok. i won't | 01:09 |
@preaction | i'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 VM | 01:09 |
kthakore | what is WRE? | 01:10 |
@preaction | the virtualbox shared folders make Perl not create a Makefile for some reason | 01:10 |
@preaction | its WebGUI Runtime Environment, our stack in a nice package | 01:10 |
@preaction | fsdo nice | 01:10 |
@scrottie | I 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 |
kthakore | ah ok | 01:11 |
@scrottie | for example, code that was written in ASP.NET on Windows will, even if rewritten, never ever work correctly. | 01:11 |
@scrottie | clearly something tainted the WRE. | 01:11 |
kthakore | I call it The Plague. | 01:11 |
kthakore | it spreads and no measures will eradicate it | 01:11 |
@preaction | i'll start killing the rats | 01:11 |
kthakore | well you missed the pidgins | 01:12 |
kthakore | now you are dead | 01:12 |
@preaction | nooooo! | 01:12 |
@preaction | oh wait, now i dont' have to compile this software! | 01:12 |
@preaction | yay! | 01:12 |
kthakore | yay? | 01:12 |
kthakore | preaction: Frankly, I find your lack of goth distrubing. All this yaying and stuff | 01:13 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:24 | |
kthakore | scrottie: I am getting some really weird errors in the getSizeInPixels test | 01:28 |
kthakore | the refactor works fine for the gallery but ... I dunno what is up with the tests | 01:29 |
@scrottie | kthakore, put together a specific bug report? which tests? what do I have to run and look at? | 01:31 |
kthakore | kk | 01:31 |
kthakore | scrottie: http://paste.scsys.co.uk/107226 | 01:37 |
kthakore | I dunno if it is me or .... something the test does | 01:37 |
+perlDreamer | those are warnings, kthakore | 01:38 |
kthakore | that is all I am getting out thoug :( | 01:38 |
Haarg | you can ignore any warnings about UNIVERSAL::isa or UNIVERSAL::can during tests | 01:38 |
kthakore | ok | 01:38 |
Haarg | they are all false positives | 01:38 |
kthakore | ok | 01:39 |
@scrottie | does the test pass or fail? also, as I said before, the tests aren't very good. | 01:39 |
kthakore | fail | 01:39 |
@scrottie | you need to paste more context when you paste. | 01:39 |
kthakore | but .... when I run it manually they don;t | 01:39 |
kthakore | scrottie: what more context do you need? | 01:39 |
@scrottie | well, including the 'not ok' message and the name of the test next to it seems like a good start | 01:40 |
kthakore | ok | 01:40 |
@scrottie | basically all of the things people are likely to ask for. | 01:40 |
kthakore | ok | 01:40 |
+perlDreamer | In 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 money | 01:47 |
kthakore | ahhhh I found the error | 01:48 |
kthakore | just describiing it helped | 01:48 |
kthakore | but now I am stuck | 01:49 |
kthakore | sigh | 01:49 |
* kthakore needs a break | 01:49 | |
kthakore | basically 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 |
+perlDreamer | doubtful | 01:51 |
@scrottie | hypothesis -> test -> hypothesis -> test -> hypothesis -> test etc | 01:51 |
@scrottie | what wasn't ImageMagick finding? was it there even though it couldn't find it? | 01:52 |
kthakore | I am making the report | 01:52 |
kthakore | gimme a seck | 01:52 |
@scrottie | you can take a break, I'm just not sure how to comment usefully when I don't understand what you're saying. | 01:54 |
@scrottie | other than by asking tons and tons of questions =P | 01:54 |
kthakore | http://paste.scsys.co.uk/107227 | 01:56 |
kthakore | scrottie: :D | 01:56 |
kthakore | please ask moar | 01:56 |
@scrottie | perldoc WebGUI::Storage | 02:04 |
@scrottie | that has getPath() and getUrl methods | 02:05 |
@scrottie | getPath() 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 |
@scrottie | you should be able to do that and see for yourself what is in the image file | 02:05 |
@scrottie | expect it to be different each time | 02:06 |
kthakore | derp derp derpingtong | 02:08 |
kthakore | argh all my fault | 02:08 |
@scrottie | looking at this, $sizeTest is a WebGUI::Storage | 02:10 |
@scrottie | so it's what you'd have to ask for the full path+filename of things you put in it | 02:10 |
kthakore | right | 02:11 |
kthakore | I got the tests working now | 02:11 |
kthakore | now for one of the error tests the regex is not perfect | 02:11 |
kthakore | ok let me see | 02:11 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:31 | |
jimX11_bob | hmm, the WebGUI logs rolled right when I was looking at them. A bit disorienting. That's never happened before. | 03:01 |
+perlDreamer | preaction: 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 #webgui | 03:05 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 03: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 #webgui | 03: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 #webgui | 04:12 | |
jimX11_bob | how 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 |
@scrottie | the 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 #webgui | 04: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 #webgui | 05:04 | |
-!- CIA-77 [cia@cia.atheme.org] has joined #webgui | 05: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 #webgui | 06:43 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 06:43 | |
-!- Netsplit *.net <-> *.split quits: Haarg | 07:14 | |
@preaction | perlDreamer: because it's the JSON table, its value should go right into the database as a string, no other manipulation required | 07:20 |
+perlDreamer | yeah | 07:21 |
+perlDreamer | I have no idea how that one site's upgrade failed | 07:21 |
+perlDreamer | it makes absolutely no sense at all | 07:21 |
+perlDreamer | there's serialization code in new | 07:23 |
+perlDreamer | and in upgrade | 07:23 |
+perlDreamer | if you use the API, the calendar should be completely covered | 07:23 |
@preaction | i still say the best option is to handle if the database field is empty gracefully | 07:23 |
+perlDreamer | that's just it | 07:24 |
+perlDreamer | we did an upgrade in 7.8 to fix that already | 07:24 |
+perlDreamer | the problem is that somehow, the asset got created and all the JSON serialization code got bypassed | 07:24 |
+perlDreamer | since '[]' was not changed into [] for us | 07:24 |
+perlDreamer | so we fixed old assets already | 07:25 |
+perlDreamer | and any new assets already get created with '[]' already | 07:25 |
+perlDreamer | in 8 it's not a problem, since if you don't pass a value to the constructor it uses the default | 07:26 |
@preaction | i 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 |
+perlDreamer | it didn't have "" as the icalFeeds value | 07:26 |
+perlDreamer | it had '[]' | 07:26 |
+perlDreamer | it just didn't get deserialized | 07:26 |
+perlDreamer | I misread the bug report earlier, and then I misled you with earlier talk | 07:27 |
@preaction | then i dunno | 07:27 |
+perlDreamer | ya me too | 07:27 |
@preaction | but perhaps the error should still be caught and reported? | 07:27 |
+perlDreamer | I did think about adding some shim code to sub getFeeds | 07:28 |
+perlDreamer | but it makes me feel dirty | 07:28 |
+perlDreamer | I'd like Bart to clear cache and try again | 07:28 |
+perlDreamer | since the cache is the only way to bypass the serialization | 07:28 |
+perlDreamer | but I can't find a way to dirty the cache, either | 07:28 |
+perlDreamer | I even falsely accused Form::JsonTable, but it does everything right too! | 07:29 |
-!- Netsplit over, joins: Haarg | 07: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 #webgui | 09: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 #webgui | 09:47 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 09:54 | |
+perlDreamer | hm | 10:22 |
+perlDreamer | maybe 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 #webgui | 10:45 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:45 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11:40 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Excess Flood] | 12:07 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 12:07 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 12:07 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:23 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 12:36 | |
zylopfa | Anyone have problems in the latest wre and latrest webgui, that the http server shuts down? | 12:37 |
zylopfa | Apache2::SizeLimit httpd process too big, exiting | 12:37 |
zylopfa | I have run the testEnvironment script | 12:37 |
ryuu_ro | we had to crank up the size limit when the CHI module was added | 12:38 |
zylopfa | ahh so i have to set the size larger? | 12:38 |
zylopfa | I guess you mean in /data/wre/etc/modperl.pl? | 12:38 |
zylopfa | I thought a new process was just spawned when it reach the size limit? | 12:39 |
ryuu_ro | yes, I think is so | 12:39 |
zylopfa | but it seems it doesnt create a new child | 12:39 |
+BartJol | mmm, my webgui also crashed | 12:39 |
+BartJol | luckily only a testsite | 12:39 |
zylopfa | yeah with service temporary error cause it seems its only the proxy that runs | 12:39 |
zylopfa | I set the size higher, but now it just takes a bit longer before it crash | 12:43 |
zylopfa | its as if it doesnt spawn new processes | 12:43 |
zylopfa | I tghink ihave to compile the wre manually | 12:52 |
zylopfa | I figured it out guys, seems the maxmemory setting in wre.conf is to low | 13:05 |
zylopfa | set it to 2 times the sixe of the Apache2::SizeLimit | 13:06 |
+BartJol | sorry zylopfa, wwe are a bit busy, but all in all, it doesn't sound really good | 13:09 |
zylopfa | Well i solved the problem BartJol | 13:21 |
+BartJol | ah | 13:32 |
zylopfa | I think it should be changed in wre.conf as standard | 13:55 |
zylopfa | as it will happen to ALL people who install webgui from now on | 13:55 |
+BartJol | it should definitely be in the gotcha's | 14:00 |
+BartJol | but I installed CHI a while ago, not sure whhether that is the bottleneck | 14:01 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 14:01 | |
zylopfa | i installed wre from afresh | 14:17 |
zylopfa | and it happend to me so i guess it should be fixed | 14: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 #webgui | 14:49 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Remote host closed the connection] | 14:49 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 15:07 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 15: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 #webgui | 15:48 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro] | 16:10 | |
CIA-82 | webgui: Paul Driver webgui-7.9 * r72b7d17 / (docs/changelog/7.x.x.txt docs/gotcha.txt): changelog/gotchas for account change - http://bit.ly/imRgKP | 16:21 |
CIA-82 | webgui: Paul Driver master * r76a69c9 / (docs/changelog/7.x.x.txt docs/gotcha.txt): changelog/gotchas for account change - http://bit.ly/l4GLwo | 16:23 |
SDuensin | Well, 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 #webgui | 16:33 | |
+BartJol | ah, that must be a relieve :P SDuensin | 16:34 |
SDuensin | Every 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 |
+BartJol | what is your OS? I think the problem lies within that | 16:37 |
SDuensin | Well, of course! I said "Windows"! :-P | 16:38 |
SDuensin | (It's 2003 Server.) | 16:39 |
-!- daviddelikat [~user@h69-11-251-58.mdsnwi.dedicated.static.tds.net] has joined #webgui | 16:40 | |
+BartJol | well that blahblahblah part also ,akes me wonder how you name your files | 16:41 |
SDuensin | :-) | 16:55 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 17:07 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 17:07 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:59 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:00 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:03 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:03 | |
+BartJol | hey perlDreamer found anything about the [] problem? | 18:14 |
+perlDreamer | yes, and no | 18:14 |
+perlDreamer | I know that it has to do with the cache | 18:14 |
+BartJol | you said it was impossible, right? | 18:14 |
+perlDreamer | well, apparently not... | 18:14 |
+BartJol | :) | 18:14 |
+perlDreamer | if you get to the point in the upgrade where it fails | 18:14 |
+perlDreamer | and if you clear the cache | 18:14 |
+perlDreamer | wgd -F mysite.conf reset --delcache | 18:15 |
+perlDreamer | then it upgrades just fine | 18:15 |
+BartJol | but, that doesn't update my table | 18:15 |
+BartJol | so I still have a strange db entry | 18:16 |
+perlDreamer | no, then continue on with the upgrade | 18:16 |
+perlDreamer | the db entry is fine, I was wrong | 18:16 |
+perlDreamer | [] in the db is cool | 18:16 |
+BartJol | ah | 18:16 |
+perlDreamer | I came across this last night myself while upgrading several hundred sites | 18:19 |
+perlDreamer | and I found that if a site broke there, then that wgd call would fix it and allow me to continue | 18:19 |
+BartJol | ok | 18:25 |
+BartJol | Ican't do it in front of the upgrades (since I start at 7.8.24? | 18:25 |
daviddelikat | perlDreamer: can you check that I'm setup correctly for this project? I can't connect | 18: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 #webgui | 18:53 | |
+perlDreamer | BartJol, you could try that | 19:05 |
+perlDreamer | but I don't know if the bad cache thing happens during the upgrade, or before | 19:06 |
+perlDreamer | you could sure try it, though | 19:06 |
+BartJol | ok | 19:06 |
+BartJol | well, that will be on a test site | 19:06 |
+perlDreamer | oh, come one | 19:06 |
+perlDreamer | be daring! | 19:06 |
* perlDreamer is off to the gym | 19: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 | |
@preaction | I should have been a doctor, or a lawyer | 19:47 |
@preaction | even cpan is failing me now, some prereqs of prereqs have bad packages on the cpans | 19:48 |
@scrottie | typical. | 19:48 |
@preaction | hm. 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, @scrottie | 20:24 | |
-!- Netsplit over, joins: gugod, @frodwith, @scrottie | 20:25 | |
+perlDreamer | preaction, there have been cases where WRE's perl doesn't do dependencies correctly | 20:29 |
+perlDreamer | like the whole CHI, Test::Logger thing | 20:29 |
+perlDreamer | and now, Google::Geo::Coder common::sense thing | 20:29 |
@preaction | if i hadn't already lost 3 days of coding, working on a fourth, i'd probably figure out why... | 20:30 |
+perlDreamer | yar | 20:35 |
SDuensin | +'s revenge | 20:36 |
-!- daviddelikat [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 21: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 #webgui | 21:28 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 21:28 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 21: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 #webgui | 21:29 | |
* perlDreamer wanders away for some lunch | 22:06 | |
kthakore | hi | 23:24 |
@preaction | sal?t! | 23:26 |
kthakore | me8? | 23:28 |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds] | 23:47 | |
@scrottie | I pain. sendmail--. | 23:48 |
kthakore | ok | 23:49 |
--- Day changed Fri May 27 2011 | ||
@scrottie | how'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 #webgui | 00:42 | |
-!- daviddelikat1 [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has quit [Read error: Connection reset by peer] | 00:56 | |
kthakore | scrottie: oh I was just doing that | 01:14 |
kthakore | perl and me are getting along excellent :) | 01:14 |
@scrottie | good, good. | 01:14 |
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui | 01:22 | |
kthakore | OMG | 01:26 |
kthakore | first time ever with webgui | 01:26 |
kthakore | I did a complete refactor, 1 commit, and no test fails or live test fails!! | 01:27 |
kthakore | and I spoke too soon | 01:35 |
kthakore | yaya | 01:35 |
* scrottie scratches his head | 02: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 #webgui | 02:34 | |
kthakore | sunofabitch | 02:37 |
kthakore | ... | 02:37 |
kthakore | sigh | 02: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 | |
kthakore | arg... GD is killing me for the first time | 03:50 |
kthakore | sigh | 03:50 |
@scrottie | GD probably thinks it is your fault =) | 03:52 |
kthakore | yeah I think so | 03:53 |
kthakore | I am making a sperate script now to understand what is going on | 03:53 |
kthakore | sigh | 03:53 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04: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 #webgui | 04: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 #webgui | 05: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 #webgui | 08:11 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 09:28 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 09:28 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds] | 10:33 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:55 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 13: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 #webgui | 14:11 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 14: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 #webgui | 15: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 #webgui | 16:01 | |
-!- knowmad [~knowmad@209.168.233.155] has joined #webgui | 16: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 #webgui | 16:17 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 16:34 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:44 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:44 | |
-!- knowmad [~knowmad@209.168.233.155] has quit [Ping timeout: 246 seconds] | 16:52 | |
SDuensin | FrIdAy! | 17:07 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 17:13 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:36 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:42 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:51 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:11 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18: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 #webgui | 19: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 #webgui | 19:40 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 20:40 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:40 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 21:46 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 21:46 | |
@pbcj | hello all | 21:46 |
@preaction | bonjourno! que pata? | 21:52 |
@pbcj | I'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 not | 22:18 |
@preaction | only workflows that don't have an object type can be scheduled | 22:22 |
@pbcj | how 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 |
@pbcj | arg | 22:27 |
@pbcj | and type=? | 22:27 |
@pbcj | nm | 22:27 |
@pbcj | thx | 22: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-82 | webgui: Doug Bell WebGUI8 * r538dc2a / lib/WebGUI/Template/Provider.pm : process non-TT templates before including them - http://bit.ly/kAhJkz | 00:16 |
CIA-82 | webgui: Doug Bell WebGUI8 * r2751e4f / lib/WebGUI/Asset/File/GalleryFile.pm : GalleryFile handles its own template - http://bit.ly/igyc5z | 00:16 |
@preaction | should the Test::Class asset tests be part of the same debug tests run before every release? | 00:17 |
kthakore | hallo | 00:20 |
kthakore | YAYAYYA | 00:20 |
kthakore | preaction: thanks | 00:20 |
@preaction | yeah. a one line fix that would've been done 5 days ago had i a damnable dev environment | 00:21 |
@preaction | also, i hate computers | 00:21 |
@preaction | is 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 |
kthakore | hehe | 00:22 |
kthakore | preaction: what are you looking for interms of compling stuff? | 00:23 |
kthakore | C faqs are good | 00:23 |
@preaction | i think i'm missing basic knowledge | 00:23 |
kthakore | ok start ... kinda here based on questions you might have | 00:23 |
kthakore | http://c-faq.com/osdep/index.html | 00:23 |
@preaction | which 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 libs | 00:23 |
kthakore | ahh ok | 00:24 |
@preaction | i 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 explodes | 00:24 |
kthakore | ah use -rpath,W1 during compile | 00:25 |
kthakore | whenever doing libgif and so on | 00:25 |
kthakore | cause varying deps kill you | 00:25 |
@preaction | are those cflags or ldflags? | 00:25 |
kthakore | cflags | 00:26 |
kthakore | it should work | 00:26 |
@preaction | ok, i can start from there, thanks | 00:26 |
kthakore | but BSDs are a whore for this kinda things | 00:26 |
kthakore | you also need to consider making a dist package | 00:26 |
kthakore | like .deb for Debian | 00:27 |
kthakore | and so on | 00:27 |
kthakore | it works a lot better for this kinda thing ... | 00:27 |
@preaction | yeah. 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 |
@preaction | macports is how i'm working right now | 00:27 |
kthakore | talk to #macdev on freenode or something I forget | 00:28 |
kthakore | they did my SDL pack | 00:28 |
@scrottie | preaction, 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 |
@preaction | i've had horrible luck in the mac channels on freenode | 00:29 |
@preaction | if they've got some basic knowledge, they could help. right now i don't understand 2 + 2 = a library | 00:29 |
@preaction | i think i may have put those on my reading list | 00:30 |
@scrottie | static 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 |
kthakore | c.comp.PLEASEHELPMEMOMMA | 00:30 |
kthakore | is the shit | 00:30 |
kthakore | scrottie: errr no .a | 00:30 |
@scrottie | you can delete the static library at that point and your binary will continue to run | 00:31 |
@scrottie | kthakore, no 'ar'. 'man ar' | 00:31 |
@scrottie | old SysV systems only have this. | 00:31 |
@scrottie | dynamic linking is newer. | 00:31 |
@scrottie | ld.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 |
@scrottie | Windows 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 |
@scrottie | ld.so is part of the ELF method. | 00:33 |
@scrottie | the 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 |
@scrottie | when 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 |
@scrottie | idea that if you upgrade a library, you have to upgrade the programs too and vice versa. | 00:41 |
@scrottie | because that's how Windows does it, I guess. | 00:42 |
@scrottie | and 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 interchangeable | 00:42 |
@scrottie | I 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 paradox | 00:43 |
@scrottie | you 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 | |
kthakore | ok I think crop is refactored | 00:53 |
kthakore | but ... I am kinda having random values com from that javascript form to make the crop parametes | 00:53 |
* kthakore hunts moar bugs | 00:53 | |
@scrottie | let 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 | |
@preaction | oh, right, i'm supposed to write tests for those | 01: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 | |
kthakore | scrottie: I know .. | 01:14 |
kthakore | arg | 01:14 |
kthakore | where is the crop javascript GUI function | 01:14 |
kthakore | can't find it | 01:14 |
kthakore | crop image | 01:14 |
kthakore | preaction: we have tests for this? | 01:15 |
@preaction | in the Admin mode, if you are viewing an Image asset, you should see it in the Image menu | 01:15 |
@preaction | no, that's what i need to fix | 01:15 |
kthakore | gah | 01:27 |
kthakore | I have magic nubmers now | 01:27 |
kthakore | wtf GD | 01:27 |
kthakore | WTF | 01:27 |
kthakore | T T | 01:27 |
kthakore | copy is offset in GD for some insane reason | 01:28 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 01:28 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 01:31 | |
kthakore | can ... someone please break my magic numbers? | 01:37 |
@scrottie | post something detailed? | 01:57 |
kthakore | are sorry | 02:06 |
kthakore | I remember your fetish for details :p | 02:07 |
kthakore | hold on | 02:07 |
kthakore | I was testing | 02:07 |
@scrottie | well, only if you want help. otherwise, test away. | 02:08 |
kthakore | 1. 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 right | 02:08 |
kthakore | It seems to work fine but ... I hate habving magic numbers | 02:11 |
@scrottie | can it narrow it down to which paramater is wrong...? | 02:11 |
kthakore | x and y | 02:11 |
kthakore | it is going off the images unless I put magic number | 02:11 |
kthakore | to offset back | 02:11 |
@scrottie | okay, it works, but you don't understand the code? | 02:11 |
kthakore | I don'y understand offset :( i.e. Magic Number | 02:12 |
@scrottie | do you know where the code lives? | 02:12 |
kthakore | https://github.com/kthakore/webgui/commit/c76e0ee45fab038b5d348f182b5a8de0d84436f1#L0R149 | 02:12 |
kthakore | scrottie: no there is no problem with the current javascript/HTML + Image::Magi | 02:12 |
kthakore | but with both GD and Canvas | 02:12 |
kthakore | it is off my those offsets | 02:12 |
kthakore | I can't ... figure out where this is coming form | 02:13 |
@scrottie | it isn't a bug if you just don't understand it. you got me all excited. | 02:17 |
@scrottie | let's see. | 02:17 |
kthakore | but ... I don't want to introduce ... magic numbers | 02:18 |
kthakore | I just don't feel good about it | 02:18 |
@scrottie | of course. | 02:20 |
@scrottie | let'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 files | 02:23 |
kthakore | 0o | 02:25 |
@scrottie | ? | 02:25 |
kthakore | I still don't get it | 02:25 |
kthakore | and now my brain hurts from hunger | 02:25 |
kthakore | I forgot to eat breakfast and lunch ... | 02:26 |
kthakore | shit | 02:26 |
kthakore | & | 02:26 |
@scrottie | WebGUI 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 |
kthakore | ok | 02:28 |
* kthakore just learned about yui | 02:28 | |
kthakore | the crop is not givin numbers wrong | 02:30 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:30 | |
kthakore | I just don't see why Canvas and GD but need those offsets | 02:30 |
@scrottie | huh? | 02:34 |
@scrottie | which offset? does the parameter have a name? is there docs for it? | 02:35 |
kthakore | https://github.com/kthakore/webgui/commit/c76e0ee45fab038b5d348f182b5a8de0d84436f1#L0R149 | 02:36 |
kthakore | see that line | 02:36 |
@scrottie | fine, 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 |
@scrottie | https://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 |
kthakore | scrottie: I can fix the indenting again | 02:40 |
kthakore | done | 02:40 |
kthakore | I was using the extension function already used in the WebGUI::Storage | 02:41 |
@scrottie | use LWP::MediaTypes qw(guess_media_type); # that's it... | 02:41 |
@scrottie | oh, hrm, that might just go off of the file extension too | 02:42 |
@scrottie | weak. | 02:42 |
kthakore | indeed | 02:42 |
@scrottie | what calls cropRefactor? | 02:43 |
@scrottie | lib/WebGUI/Storage.pm. | 02:45 |
@scrottie | lib/WebGUI/AssetHelper/Image/Crop.pm calls that. | 02:50 |
@scrottie | kthakore, 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 |
@scrottie | works 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 #webgui | 03:22 | |
@scrottie | that 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 #webgui | 03: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 | |
kthakore | scrottie: wait whut happened? | 04:54 |
kthakore | scrottie: explain!!! | 04:56 |
kthakore | scrottie: graphics primatives doesn't allow you to crop | 05:00 |
kthakore | so that is why I am using GD plain | 05:00 |
kthakore | for graph drawing I will use Graphics::Primatives | 05: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 #webgui | 05: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 | |
@scrottie | the Graphics::Primitive thing doesn't let you copy chunks of images? that's weak | 05:49 |
@scrottie | calling 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 #webgui | 17: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 #webgui | 19:06 | |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 19:35 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 20: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 #webgui | 20:45 | |
kthakore | hallo | 22:05 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 22:07 | |
--- Day changed Sun May 29 2011 | ||
@scrottie | hey. | 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 #webgui | 02:28 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 02: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 #webgui | 03:06 | |
kthakore | scrottie: around? | 04:13 |
kthakore | scrottie: can you explain what you mean by the offset is not needed? | 04:13 |
@scrottie | yup, I'm around. | 04:39 |
@scrottie | I mean your code works perfectly for me when I take the +150 -200 out | 04:39 |
@scrottie | your magic constants make it work incorrectly for me... I get data offset by that much rather than what I selected | 04:39 |
@scrottie | without the magic numbers, it works perfectly. | 04:39 |
@scrottie | for me. | 04:39 |
@scrottie | don't know what is going on on your system. | 04:39 |
@scrottie | fwiw, 32 bit Linux here. | 04:39 |
@scrottie | bbiab | 04:43 |
kthakore | crappppp | 06:51 |
kthakore | why | 06:51 |
* scrottie shrugs | 06:57 | |
@scrottie | nail 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 |
@scrottie | offline a bit. work on something else? get someone else to test that for a third opinion? | 06:59 |
kthakore | I will do rest of refactors and come back to this I guess | 07:01 |
kthakore | I am linux 64 | 07:06 |
-!- geocrasher [45e38859@gateway/web/freenode/ip.69.227.136.89] has joined #webgui | 09:10 | |
geocrasher | anybody 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 | |
@preaction | sure, what's up | 09:13 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 11: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 #webgui | 12: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 #webgui | 13:09 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has left #webgui [] | 13:09 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 13: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 #webgui | 14:20 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 14: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 #webgui | 17:33 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 20:34 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 20:35 | |
--- Log closed Sun May 29 21:05:45 2011 | ||
--- Log opened Mon May 30 19:17:39 2011 | ||
+perlDreamer | frodwith, someone's released a HTML::Template parser on CPAN | 19:17 |
SquOnk | Looking for a suggestion here. | 19:46 |
SquOnk | There's this website running WG. The front page is basically a lot of Shortcuts to the inside. | 19:46 |
SquOnk | They need to have *another* page with basically the same content, but a very different display. | 19:46 |
SquOnk | I suggested the second page is just a shortcut to the main page, with a simpified template. | 19:47 |
SquOnk | Does that make sense? | 19:47 |
+perlDreamer | yup | 19:51 |
+perlDreamer | same content + different display == shortcut in most cases | 19:51 |
SquOnk | Good. | 19:55 |
SquOnk | perlDreamer: 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 |
+perlDreamer | the top of my head doesn't know much about Asset Reports | 19:56 |
+perlDreamer | it's pretty new | 19:56 |
SquOnk | perlDreamer: Great answer. | 19:56 |
+perlDreamer | the code however, says that every asset property and metadata variable is available | 19:57 |
SquOnk | perlDreamer: Well, the Asset Report grants you access to the Asset's general attributes and its metadata. | 19:57 |
+perlDreamer | "general"? | 19:57 |
+perlDreamer | it does $asset->get(), and $asset->getMetaDataAsTemplateVariables | 19:58 |
+perlDreamer | but it doesn't give you access to the template variables for the assets | 19:58 |
SquOnk | perlDreamer: 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 |
+perlDreamer | yes, you do | 19:58 |
SquOnk | Well, the question is how? | 19:58 |
SquOnk | I tried <tmpl_var image.url>, but no joy. | 19:58 |
+perlDreamer | that's a template variable | 19:58 |
+perlDreamer | not an asset property | 19:58 |
SquOnk | perlDreamer: All right. | 19:59 |
+perlDreamer | the asset property for the article that you're looking for is storageId | 19:59 |
SquOnk | perlDreamer: Then my question is, how can I get access to *that*? | 19:59 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 19:59 | |
+perlDreamer | you use it in combination with a macro, StorageUrl | 20:00 |
+perlDreamer | ^StorageUrl(<tmpl_var storageId>); | 20:01 |
+perlDreamer | that gives you the URL to the first file in the storage location | 20:01 |
SquOnk | perlDreamer: 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 |
+perlDreamer | yes | 20:01 |
+perlDreamer | if you want a particular file from the storage location, you pass it the filename, too | 20:02 |
SquOnk | perlDreamer: I think I see light at the end of the tunnel, and it's not an oncoming train :) | 20:03 |
+perlDreamer | excellent, although my kids like trains | 20:03 |
SquOnk | perlDreamer: :) | 20:03 |
SquOnk | perlDreamer: What if the Asset Report is bringing Shortcuts to real Articles? | 20:05 |
SquOnk | perlDreamer: storageId would be the Shortcut, not the Article. | 20:06 |
+perlDreamer | well, it would return you only the properties for the shortcut | 20:08 |
+perlDreamer | not the asset that it is shortcutting | 20:08 |
+perlDreamer | so you wouldn't even get that | 20:08 |
SquOnk | perlDreamer: 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 |
SquOnk | perlDreamer: Hence my suggestion of having the alternate page be a shortcut to the main page. | 20:10 |
+perlDreamer | if you have shortcuts, why do you need the asset report? | 20:10 |
SquOnk | perlDreamer: Because the user doesn't want to repeat the shortcutting effort. | 20:11 |
SquOnk | perlDreamer: They want the alternate page to *automatically* show whatever is in the main page at any given time. | 20:12 |
SquOnk | perlDreamer: They do shortcutting onto the main page, the alternate should reflect that with a different visual style. | 20:12 |
+perlDreamer | I'd go with shortcutting the main page, rather than building an assetreport of it | 20:21 |
+perlDreamer | especially since, with the layout containing shortcuts, the asset report won't work well | 20:22 |
kthakore | oooh ppl are awake | 20:22 |
@scrottie | jimX11, sounds reasonable. you're subclassing, right? | 20:25 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 20:27 | |
kthakore | hi scrottie | 20:34 |
@scrottie | heey kthakore. | 20:34 |
kthakore | whats up? | 20:34 |
@scrottie | not a whole lot. poking at something fun =) | 20:39 |
kthakore | bewbs? | 20:41 |
@scrottie | uh... think nerdier. a lot nerdier. | 20:42 |
@scrottie | then maybe some video games. | 20:42 |
kthakore | ... pee pee | 20:42 |
kthakore | win 9 | 20:45 |
@scrottie | uh mm? | 20:46 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: off] | 20:46 | |
jimX11 | scrottie: ok. thanks. | 21:21 |
jimX11 | scrottie: yea, subclassing. It's working. | 21:21 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 21:22 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 21:29 | |
CIA-68 | webgui: 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/ki2C5w | 21:36 |
CIA-68 | webgui: 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/m2o88E | 21:36 |
CIA-68 | webgui: 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/jT16iV | 21:37 |
CIA-68 | webgui: 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/lS6FlJ | 21: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 #webgui | 23:21 | |
-!- _Getty [torsten@mrwhite.london.cloudssus.net] has joined #webgui | 23: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 | |
jimX11 | I'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 |
jimX11 | found an example that tests WebGUI::Asset::File::Image. | 01:31 |
@scrottie | WebGUI 7, right? | 01:39 |
@scrottie | I 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 |
jimX11 | scrottie: yea, I'm using WebGUI 7. | 01:42 |
jimX11 | scrottie: knowing where files are handled is over my head and won't help, I'd guess. | 01:43 |
@scrottie | well, it contains an example of sending a file. | 01:43 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 01:45 | |
SquOnk | Greetings. | 01:46 |
@scrottie | hey SquOnk | 01:46 |
SquOnk | I'm trying to change Visitor's default language, but seems impossible | 01:46 |
SquOnk | As Admin I go to Visitor's profile, choose Spanish, Save... back to English. What gives? | 01:46 |
SquOnk | scrottie: Hey there. | 01:46 |
@scrottie | jimX11: 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 |
@scrottie | hrm. | 01:46 |
SquOnk | I'm doing that so anonymous users work in Spanish by default. | 01:47 |
jimX11 | scrottie: 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 |
@scrottie | does it have to be fake? or is fake just adequate? | 01:49 |
jimX11 | scrottie: it doesn't have to be fake. | 01:50 |
SquOnk | I can change Admin's language, but not Visitor's. | 01:52 |
SquOnk | Is that intended behaviour? | 01:52 |
@scrottie | don't know. looking at the code now. | 01:52 |
@preaction | that is not intended behavior, no | 01:53 |
@scrottie | wondering if it isn't just the old page cache problem with layouts. | 01:54 |
@scrottie | not seeing anything in the code about preventing this profile field change. | 01:55 |
SquOnk | preaction: Just created a demo.webgui.org and was able to reproduce the problem there. | 01:56 |
SquOnk | preaction: Fresh demo, login as Admin, Users, click on Visitor, Profile, choose Spanish, Save, back to English. | 01:56 |
@preaction | you might have to change the default in the profile fields instead | 01:56 |
SquOnk | preaction: In fact, it will keep *no* changes made to Visitor's profile. I tried adding e-mail, name, etc. to no avail | 01:56 |
@scrottie | er, visitor can't change its own profile field settings, but admin should be able to. | 01:57 |
@preaction | i think we changed that so the default in the profile fields takes precedence | 01:57 |
SquOnk | scrottie: Working as Admin | 01:57 |
* scrottie nods at SquOnk | 01:57 | |
SquOnk | After changing the default value for Language in User Profiling, Visitor's language is stuck in Spanish now :) | 01:58 |
@preaction | so that's the change | 01:59 |
@preaction | so in other words, Visitor has no Profile and we should disallow editing of it | 01:59 |
@scrottie | jimX11: 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 |
@preaction | OR have changes to visitor's profile change the default in the profile fields | 01:59 |
SquOnk | preaction: I'm not comfortable with either :) | 01:59 |
@preaction | well, in the past, Visitor's profile was just assumed as the default for all fields | 02:00 |
@preaction | so the default in the profile field manager did nothing | 02:00 |
@preaction | now, changing visitor's profile does nothing | 02:00 |
SquOnk | preaction: Then I guess Visitor's profile should be "invisible" | 02:00 |
jimX11 | scrottie: 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 |
@preaction | both doing something could work, if we got our field defaults from the field defaults and visitors could have different values | 02:01 |
jimX11 | scrottie: Maybe Test::Session has what I'm looking for... I'm reading perldoc /data/WebGUI/t/lib/WebGUI/PseudoRequest.pm ... | 02:02 |
@scrottie | jimX11: okay, so in a test, you're posting data to this asset you've created? | 02:03 |
@preaction | 7 didn't make it easy to test file uploads, if it was possible at all. i never tried | 02:03 |
@preaction | we just refactored and unit-tested around the upload part | 02:03 |
@scrottie | jimX11: poking at the GalleryFile table in my almost-stock WebGUI install here, I see various assetIds that might work, including mikh3pNdQAO_KPEv87Nsyg | 02:04 |
@scrottie | ... yeah. ifyou're simulating a file upload, you don't need the assetId... you need data to send. | 02:04 |
@scrottie | you 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 | |
@scrottie | then the file data is just data, like any other. | 02:06 |
@scrottie | still not clear on what you're trying to do exactly. | 02:07 |
jimX11 | scrottie: 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 |
jimX11 | preaction: so I'll just cut the image stuff out of the test. Simple solution. | 02:10 |
@scrottie | jimX11: or else use WWW::Mechanize. | 02:11 |
@preaction | mech won't work without a running server, which may or may not be desirable | 02:12 |
jimX11 | Skipping automated tests, I see my code doesn't store the image using human testing (me). Hmm. | 02:14 |
jimX11 | well, 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 #webgui | 02:40 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 03: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 #webgui | 04:15 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04: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 #webgui | 04:44 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 06:03 | |
@scrottie | http://slowass.net/~scott/tmp/webguikinda.gif | 06:46 |
@scrottie | I might have done something very silly. | 06:46 |
@scrottie | Sadly, 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 #webgui | 09:04 | |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 09:06 | |
-!- _Getty is now known as Getty | 09: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 #webgui | 10:47 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:47 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11: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 #webgui | 13: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 #webgui | 16:33 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui | 16: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 #webgui | 17:59 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:59 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 18:23 | |
-!- perlDreamer [~colink@c-67-189-17-211.hsd1.or.comcast.net] has joined #webgui | 18:25 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:25 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 18: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 #webgui | 19:01 | |
qwebirc17138 | hello | 19:04 |
qwebirc17138 | I 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 |
+perlDreamer | there are separate buttons on the console to stop it, vs modperl and modproxy | 19:07 |
+perlDreamer | you're saying you leave the other ones up, and they still shut down? | 19:07 |
qwebirc17138 | Yes. I stop the Wre Console! | 19:08 |
+perlDreamer | are there any error messages logged to the screen when you shut it down? | 19:11 |
qwebirc17138 | None 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 |
+perlDreamer | how about in the modperl and modproxy error logs? | 19:18 |
* perlDreamer needs to drop out and go to the gym, I'll be back later | 19: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 #webgui | 19:57 | |
-!- carogray [~Caroline@64.134.152.162] has joined #webgui | 20: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 #webgui | 20:27 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 20:33 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:33 | |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui | 20:54 | |
-!- kaare__ [~kaare@79.138.162.18.bredband.oister.dk] has joined #webgui | 20: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 #webgui | 21:02 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 21: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 #webgui | 21: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 issues | 21:17 |
+perlDreamer | issues aside from the one mentioned this morning? | 21:18 |
qwebirc17138 | Yes. Both Apache Modperl & Apache Modproxy stops on their own shortly after a restart while the console continues to to run. | 21:19 |
+perlDreamer | what's in the error logs? | 21:19 |
qwebirc17138 | modproxy 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 (*) failed | 21:19 |
+perlDreamer | if Feodra 15 and Scientific Linux are based on RHEL 6, the WRE is only released for RHEL5-like operating systems | 21:20 |
+perlDreamer | that are 32-bit | 21:20 |
+perlDreamer | did you download one, or compile it by hand from source? | 21:20 |
qwebirc17138 | Downloaded | 21:21 |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 21:21 | |
+perlDreamer | how about the modperl error log? | 21:22 |
qwebirc17138 | modperl 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 |
+perlDreamer | that's all that's in the modperl error log? | 21:29 |
qwebirc17138 | ...repeat | 21:29 |
+perlDreamer | the 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 dead | 21:31 |
+perlDreamer | like, a shutdown, an error, or something | 21:31 |
+perlDreamer | the error could be in the webgui.log, but not likely | 21:32 |
qwebirc17138 | modperl 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 -- Un | 21:32 |
qwebirc17138 | webgui log == empty | 21:33 |
+perlDreamer | qwebirc17138, when you paste very long line, IRC cuts them off | 21:37 |
+perlDreamer | so it would be better to use a "paste" site, like webgui.pastebin.com | 21:37 |
+perlDreamer | paste your content there, and then paste the little URL into the channel | 21:37 |
qwebirc17138 | thank you. modperl log link - http://pastebin.com/p5qq14QU | 21:39 |
+perlDreamer | okay, nothing in there either | 21:40 |
+perlDreamer | how about /data/wre/var/logs/wremonitor.log? | 21:40 |
qwebirc17138 | modproxy log link - http://pastebin.com/S9zL2F83 | 21:40 |
+perlDreamer | nothing in there either | 21:41 |
+perlDreamer | it's really starting to sound like a RHEL5 vs RHEL6 issue | 21:41 |
qwebirc17138 | wremonitor log link - http://pastebin.com/ad02mNR7 | 21:41 |
+perlDreamer | that's interesting, it says the wremonitor killed 13 processes | 21:42 |
+perlDreamer | there is memory limiting code for the WRE in two places | 21:43 |
+perlDreamer | 1) /data/wre/etc/wre.conf - do not paste this file unless you change usernames and passwords in it | 21:43 |
+perlDreamer | 2) /data/wre/etc/modperl.pl | 21:43 |
+perlDreamer | you may need to adjust both of those | 21:43 |
jigou | When 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 |
jigou | BUT the logs were telling me that it was killing the processes due to size limits. | 21:53 |
qwebirc17138 | I doubled the memory in both places and it hasn't failed. Wre console is currently running. | 21:59 |
@preaction | maxMemory in the wre.conf is where the wremonitor.pl decides when to kill things | 22:00 |
@preaction | modperl.pl is a friendly kill | 22:00 |
-!- pbcj [~pbcj@71.90.6.215] has joined #webgui | 22:01 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 22:01 | |
jigou | preaction: 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 |
@preaction | the modperl.pl should be adjusted to what you want the max process size to be. so "Available Memory" / "MaxChild" = "max memory" | 22:03 |
@preaction | the maxMemory should be about double that, because it's a runaway process monitor | 22:03 |
jigou | Perfect - thank you! | 22:04 |
@preaction | available memory is "total memory" - "memory used by all other processes" - 10% for good measure | 22:04 |
+perlDreamer | the default memory limits in the WRE are for pre-WebGUI7.9, where we didn't include 3 translations along with WebGUI. | 22:06 |
+perlDreamer | it's pretty common now for a default install to trigger those limits | 22:07 |
@preaction | or Moose, or a bunch of other memory hogs | 22:08 |
+perlDreamer | yeah, although I remember the problem first happening before we added CHI or Net::Twitter | 22:08 |
+perlDreamer | Moose definitely didn't help though | 22:08 |
+perlDreamer | preaction, word to the wise, before taking your cell phone to Verizon claiming that it's broken, try cleaning the battery contacts first. | 22:09 |
+perlDreamer | it will save you much embarassment | 22:09 |
@preaction | i'll keep that in mind, though i think i may have also had that experience | 22:09 |
jigou | if you had an iphone, you wouldn't have to worry about that....because you wouldn't be able to ACCESS the battery contacts. :D | 22:10 |
+perlDreamer | good point! | 22:11 |
qwebirc17138 | Thank you! It seems that it was a memory issue. I will continue to monitor and hope its not rhel6 vs rhel5. | 22:14 |
+perlDreamer | that reminds me, I need to check if ssh clients for the Android support PKI | 22:17 |
jigou | I use this for SSH on Android: http://code.google.com/p/connectbot/ | 22:25 |
jigou | Don't know if PKI is an option, though. | 22:25 |
* scrottie needs a good, stiff drink | 22:30 | |
+perlDreamer | jigou, from what I'm reading, it is | 22:30 |
* scrottie should also note that he's clocked out and was doing something other than $work, re: the drink comment | 22:30 | |
+perlDreamer | I'm tired of hauling my laptop around while I'm on call | 22:30 |
+perlDreamer | in most cases to fix stuff you really just have to ssh in, check some log files and then do a restart | 22:30 |
jigou | I hear you! | 22:31 |
+perlDreamer | Androids have full keyboards and they're lighter than laptops | 22:31 |
ckotil | yeah, smartphones have allowed me to go out on friday nights during oncall weeks | 22:32 |
-!- dreamersgirl [~chatzilla@137.53.249.129] has joined #webgui | 22:43 | |
-!- dreamersgirl [~chatzilla@137.53.249.129] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]] | 23:02 | |
@scrottie | I 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 |
@scrottie | rather than a slightly larger phone, a slightly smaller laptop seems like a good idea. | 23:24 |
@scrottie | oh yeah, the OQO too. those rock. | 23:25 |
@scrottie | the 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 |
kthakore | hi scrottie | 23:40 |
@scrottie | heeey kthakore | 23: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!