#foswiki 2013-02-06,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
SvenDowideitmmm, yes, the stats script - another ancient thing :) [00:46]
..... (idle for 23mn)
gac410I opened Item12384 [01:09]
FoswikiBothttp://foswiki.org/Tasks/Item12384 [ Item12384: Logger issues causes statistics crash. ] [01:09]
gac410eachEventSince should probably sanitize the record a bit more rather than making statistics try to struggle with it. And if it can't find a user, log UnknownUser
eachEventSince should reliably return the expected fields in the array, consistently.
[01:11]
..... (idle for 23mn)
SvenDowideitna
kill the array method >:}
[01:35]
gac410Already did. But Statistics needs to work with old loggers that return old style data. So maybe not. :(
eachEventSince can ask for a hash or defaults to array. Though I have some cleanup yet.
But if someone has their own logger, the stats script still needs to work.
[01:36]
SvenDowideiti'd be surprised
cdot and i have played around with that pluggability, but almost no-one noticed it
[01:39]
gac410yeah, but that's not our deprecation policy :) [01:39]
SvenDowideittrue
the benefits of working on pre-1.0 code >:}
[01:39]
pharveypharvey wanders off for a bit [01:48]
why didn't I write this plugin earlier
build a CSV file per dataform in use in the wiki
I should really write a proper CSV serializer thingy
[01:57]
SvenDowideitargh! [01:57]
pharvey:P [01:58]
SvenDowideitjust like excel import export
but if you use AnyData cpan moduls
[01:58]
pharveyI only started 30mins ago [01:58]
SvenDowideitthen you can use Data::Foswiki to do instant transformations [01:58]
pharveysounds good [01:58]
SvenDowideitand added to that, you get to use DBD::AnyData and query using SQL [01:58]
pharveythis will run from a nightly cron
just so peeps can suck out their datas
[01:59]
SvenDowideity - and can thus not use foswiki core [01:59]
pharveyit's a ./rest [01:59]
SvenDowideitsilly [01:59]
pharveypff
it kind of assumes mongo or mongo-like QuerySearch performance :)
[01:59]
SvenDowideitwhich data::Foswiki actually has something of [02:00]
pharveyoh? [02:00]
SvenDowideitmmm, maybe not this version, the last did tho [02:00]
pharveyCPAN:Data::Foswiki
silly FoswikiBot
[02:00]
SvenDowideitwe have an incompetence in our treatment of META:
where the non-spec allows it to be anywhere in the doc
so you have to parse every line of the file
[02:01]
pharveyoh, yeah. [02:01]
SvenDowideitwhereas the previous version i published was faster - just looked at top 2 and from end until it hit a non META line
and that's hella faster
really need to add a {dont_be_stupid=>1} option
or is that {stupid=>1}
darn, i dont' think i can add plack debugging to padre - it'll be too much work for my interest
i wonder if the perl debugger can attch to fcgi etc
[02:01]
.......... (idle for 45mn)
gac410I just bumped the expires out to 17 days on foswiki.org and reloaded apache. [02:48]
.... (idle for 18mn)
SvenDowideitokay! configure 1.1.7 running ok using psgi and plackup [03:06]
gac410cool [03:06]
SvenDowideittalk about a bizzareness
http://0.0.0.0:5000/bin/configure
and so foswiki guesses:
http://localhost:5080
oh, this isn't guessing
i myusta commited the cfg
[03:07]
gac4100.0.0.0 why on earth. That's defined as a "source host on this network" [03:09]
SvenDowideitand ...
view /edit/save works
and given that WebChanges works, so does search
and as its default - thats forking search
all i did, was put configure into its own psgi file - thus avoiding the messyness
i'll work more on it next week, including windows
[03:10]
gac410Ah... I meant to ask you... trying to understand your 1.1.2 windows package. You install the unix tools on windows (grep, etc). I've never had to install that. [03:12]
SvenDowideitand then update foswiki on a usb stick to not use apache either [03:12]
gac410Is that so you can use forking instead of pure perl [03:12]
SvenDowideityup
though i'm not 100% sure it still does
it used to work, but over time windows hasn't been maintained to fork well
so i think i switched it to default to pureperl stuff
(i'm not sure atm tbh)
[03:12]
gac410Any chance you could update your 1.1.2 package? Esp/ given the CVEs? [03:13]
SvenDowideitthe problem is essentially that i don't ave a windows setup
but i plan on looking at 1.1.7 next week
deb, rpm, usb, and then ....
[03:14]
gac410We probably ought to remove it then. It's really getting too old. BTW ssl email is badly broken,. :( [03:14]
SvenDowideiti use ssmtp [03:14]
gac410on windows? [03:14]
SvenDowideitso never notice - i prefer to outsource
on windows there's something like blat.exe
one of my clients used it
but i've moved them onto a real OS :)
fun. i can run and manage my foswiki.psgi and configure.psgi from inside my Padre perl edit session
[03:15]
gac410I'm waiting for Timothe to get back. To verify my fix to his object foo magic that he did for SSL. I think it's a simple fix, and works for me ... but.
I've been trying to fix 1.2 unit tests. TableParserTest Looks like you and CDot added sub end_of_input on the same day, in different places
[03:17]
SvenDowideityeah, i suggested to CDot that he remove what we did and start again
plus, i'm wondering if we should replace ERP's js with a real grid
as the demo i did was remarkably easy and functional
[03:23]
gac410The whole table mess really needs reworking.
I'll fix the double update to TableParserTests
[03:24]
SvenDowideitmind you
if i did it all again
i'd use the new table parser code in F::Render
and that then makes me think hard about writing the remainder of a topic parser
and adds addressable tables - thus queryable ones
[03:26]
gac410Grrrr Doesn't anyone test. :( I removed the double subroutine so TableParserTests will at least compile, and now all 8 tests fail. [03:27]
SvenDowideiti'm shocked i didn't think to do this before
i can't think of any reason for configure to be on the same port as foswiki
[03:30]
gac410yeah... well, it will sure break the guessing for the defaultUrlHost
Looks like the table tests all expect "EOI" and the end of the table, but get "EOF" ...
Yup... they all pass if testing for EOF. But I have no idea if that's right or not.
Done... One more passing
[03:31]
SvenDowideitoh i feel dumb
i've known that padre has a refactor tool called 'extract to function'
but today's the first time i've used it
guess what i just spent a few hours doing yesterday >:}
[03:40]
gac410extracting to function? [03:41]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/4-todQ
foswiki/master ef10fbb GeorgeClark: Item12363: Parser tests still broken...
[03:41]
***GithubBot has left [03:41]
FoswikiBothttp://foswiki.org/Tasks/Item12363 [ Item12363: TableParser unit test failures ] [03:41]
SvenDowideitsometimes its useful to play with your tools
y, select a (huge) bit of code
and it extracts it to a new function and fixes params for you
seems to get refs and types right oo
so the @result is converted to @$result inside the new func
(not surprising, it uses PPI to do the work
[03:41]
gac410gac410 doesn't know anything about anything here. You could be writing in German :) [03:43]
....... (idle for 30mn)
pharveyah, gac410 already fixed TableParser tests. [04:13]
gac410Just did it. Sven and Crawford checked in similar non-conflicting fixes at the same time [04:14]
pharveyI guess I'll work on something easy, HTMLValidation then. [04:14]
gac410Fixed
:P
[04:14]
pharveyanything left for me then? :P [04:14]
gac410On...no never mind
I fixed the SemiAuto tests not validation.
actually html validation tests are passing here,
MailerContrib, QueryTests, LoadedRevTests, RenameTests, RCSHandlerTests, EditRowPluginTests and VCStoreTests all still fail here.
[04:14]
pharveyQueryTests, ouch.
I think I'll do the auto-bisect script after I fix HTMLValidation
[04:18]
gac410Strange HTMLValidation passes here for me. [04:19]
pharvey"<div> not allowed here" error [04:19]
gac410Just one Query tests: QueryTests::verify_string_uops_BruteForceQuery [04:19]
pharveymight be differences in libhtml-tidy-perl
version
I get two QueryTest failures :/
QueryTests::verify_numeric_uops_BruteForceQuery & QueryTests::verify_string_uops_BruteForceQuery
[04:19]
gac410hm. Ah... <div> not allowed here can happen if another failure causes an error in the heading iirc or something like that. [04:20]
pharveyI have libhtml-tidy-perl version: 1.50-1+b2
"Error: no such plugin TinyMCE" - aha.
[04:20]
gac410Yeah. That will do it. [04:21]
pharveypharvey blames SvenDowideit [04:21]
gac410I'm running 1.54 of HTML::Tidy
I don't remember now why I had that exact same issue. Or what fixed it. I think I cleaned and re-pseudo-installed with -A -force
[04:22]
.... (idle for 17mn)
pharveyargh, the full Config.spec isn't applied
I thought I fixed this.
[04:40]
gac410Hm You did, didn't you? It seems to be working for me.
Foswikirev:16026
[04:40]
FoswikiBothttp://trac.foswiki.org/changeset/16026 [ Changeset 16026 – Foswiki ] [04:41]
pharvey... re-running -A seems to have worked
I'm just confused about the sometimes-not, sometimes nature of it
I have a branch here somewhere which uses Foswiki::Configure more
[04:41]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Configure [04:41]
pharveybut I'm afraid of committing it until I've tested with Foswiki 1.1.0, Foswiki 1.0.0 [04:42]
gac410I have not touched 1.0 in ages and ages.
Other than a tarball install'd vhost.
[04:42]
pharveynow I get fails in statistics script
probably because stats doesn't emit html
[04:43]
gac410Nope... Loging bug [04:43]
pharvey*** Use of uninitialized value $w in pattern match (m//) at /usr/local/src/github.com/foswiki/core/lib/Foswiki/UI/Statistics.pm line 356, <$fh> line 23258. [04:43]
gac410Yes. I have a fix [04:44]
pharveyah, cool [04:44]
gac410But waiting for feedback on Item12384 ... asked Crawford for some input. [04:44]
FoswikiBothttp://foswiki.org/Tasks/Item12384 [ Item12384: Logger issues causes statistics crash. ] [04:44]
pharveywhat do you know about RenameTests::test_renameTopic_new_web_same_topic_name ? [04:45]
gac410Have not looked at it yet at all. [04:45]
pharveyand is Fn_MAKETEXT::test_escaping under control? [04:45]
gac410Have not looked at that either. That one doesn't fail for me [04:45]
pharveyok [04:49]
gac410RegisterTests and ManageDotPm tests were breaking Statistics in the UIFnComplie tests Checking in a fix now.
Done
[04:49]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/Cys16w
foswiki/master e1b87f5 GeorgeClark: Item12384: Statistics failures...
[04:55]
***GithubBot has left [04:55]
........ (idle for 35mn)
gac410g'night all [05:30]
***gac410 has left [05:30]
..................................................................................... (idle for 7h3mn)
ChanServ sets mode: +o MichaelDaum [12:33]
..... (idle for 23mn)
ChanServ sets mode: +o MichaelDaum
MichaelDaum has left
[12:56]
........... (idle for 53mn)
lechuckshi
i have a problem with kinosearch addon
im using twiki, kinosearch doesnt create logs
[13:51]
gac410lechucks: have patience.. It appears it's been quiet here today. You could search the irc logs for kinosearch discussions. I don't use it, so I can't really help [14:04]
lechucksthanks gac410 [14:04]
gac410CDot: Did you see my question on Item12384: About some ancient code in Statistics.pm? I need an old-timer's eyes :) [14:05]
FoswikiBothttp://foswiki.org/Tasks/Item12384 [ Item12384: Logger issues causes statistics crash. ] [14:05]
............ (idle for 55mn)
***andreli has left [15:00]
.... (idle for 17mn)
CDotgac410: dunno; you'd have to ask Sven, for it is code wot he rote
though looking at the history, I'd be amazed if he could remember (and he didn't comment it :-( )
[15:17]
gac410Yeah. I'm not sure how that code (shifting out fields until a cUID is returned) works as I think if it's an unknown user, you'll end up getting WikiGuest cUID returned anyway.
If the loggers and eachEvent are doing the right thing, then statistics should be getting valid records anyway.
[15:21]
jastgah... you'd think it's easy to load a form definition, and yet it only works about every 20th invocation in my little plugin [15:33]
..... (idle for 20mn)
CDotjast: are you trying to use the core Form code? Or doing your own parsing? [15:53]
jastcore Form code
I'm doing a "new Foswiki::Form($session, $web, $formName)" and 95% of the time it apparently returns undef; the rest of the time it does return the form
[15:54]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Form [15:56]
jastI can't see any difference to other code that's been working for ages [15:57]
CDotstrange. Have you disabled all caches? [16:07]
jastthere are no caches... and it works locally (AFAICT) but doesn't work in our FastCGI production env
other things that read forms do work, though
[16:09]
CDotinteresting. I don't know what to suggest, other than you isolate a testcase and determine exactly where it is failing [16:16]
...................................... (idle for 3h6mn)
harlanIs there an easy way to say "Give me a bullet list of topics that are direct children of me"?
I suspect there is - I'll see if I can find an example.
Hmmm, I think I might also want to make this a table or something, as it would be nice to be able to sort the list either alphabetically or by newest/oldest date of most recent modification.
[19:22]
....................... (idle for 1h54mn)
***ChanServ sets mode: +o Babar [21:17]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)