Hi,

Here is the log of the chatroom at http://community.hackit.cx/chat/ for the 
04/02/2011.


02:29:12 <da> Xavier quit (timeout)
07:55:30 <da> Xavier quit (timeout)
08:53:11 <> vlad joins Farsides
08:57:35 <Xavier> hi Vlad!
08:57:47 <vlad> Hi Xavier
08:58:36 <Xavier> Congratz for finishing the work on admin views yesterday - I 
didn't merge it yet, but I can't wait to see what it gives :D
09:00:09 <vlad> thanks :) yup, it went well :)
09:00:30 <Xavier> : )
09:01:10 <Xavier> I'll let you settle before discussing today - let me know 
when you had time to drink your coffee :)
09:02:02 <vlad> i'm good, just give me 5 mins to start the debian install. i'll 
exit this chat and login again from there
09:02:10 <Xavier> ok
09:05:20 <da> vlad quit (timeout)
09:08:36 <> vlad joins Farsides
09:08:56 <vlad> ok, i'm back. how do we aproach this?
09:12:50 <Xavier> Good question - the first setps depend on me, I'll need to 
merge the latest code (probably on a new beta instance to be able to work on 
the latest codebase)
09:13:06 <Xavier> To see if the issue is still there
09:13:34 <Xavier> maybe we could try to have the same version of PHP, too - 
what do you have on your debian?
09:14:07 <Xavier> I have 5.3.3-0.dotdeb.1 on hpo.com
09:14:29 <vlad> i have 5.3.2-2
09:16:13 <Xavier> We could both upgrade to the latest version on 
php53.dotdeb.org, which is 5.3.5-0.dotdeb.0
09:16:34 <Xavier> At least we would know this doesn't come from a version 
difference - what do you think?
09:16:51 <vlad> yup. let's do that
09:20:10 <> Xavier joins Farsides
09:20:36 <Xavier> done - the game seems to be still running, which is good 
already ;p
09:20:52 <Xavier> I'll start installing the beta instance
09:55:11 <> vlad joins Farsides
09:55:21 <vlad> i'm having trouble upgrading. seems i need libicu38 > 3.8.5 and 
it's not installable and the only version i find on the net is 3.8.1 any ideas?
09:56:07 <> Xavier joins Farsides
09:56:31 <Xavier> uh, it seems I was disconnected - I was writing to you 
without you seeing it : )
09:56:45 <Xavier> let me see for the dependency
09:57:36 <vlad> ok, thanks
09:58:35 <Xavier> weird, I have 3.8.1-3+lenny2 and it installed without issue
09:58:55 <Xavier> what do you have in your apt.sources?
09:59:26 <vlad> deb http://http.us.debian.org/debian squeeze main contrib 
non-free  deb http://ppa.launchpad.net/bzr/ppa/ubuntu jaunty main deb-src 
http://ppa.launchpad.net/bzr/ppa/ubuntu jaunty main  deb 
http://security.debian.org/ squeeze/updates main deb-src 
http://security.debian.org/ squeeze/updates main  deb 
http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable 
all  deb http://php5
10:00:58 <Xavier> ah, you're in testing... It's likely that one of the packages 
in squeeze has a dependency that is newer than the packages in stable
10:00:59 <vlad> deb http://php53.dotdeb.org stable all deb-src 
http://php53.dotdeb.org stable all
10:01:34 <vlad> ok, how do i fix it? :)
10:02:01 <Xavier> I'm thinking - it can come from a variety of reasons : )
10:03:01 <vlad> hmm actually it seems i need 3.8-5 can this be smaller than 
3.8.1-3?
10:03:43 <Xavier> nope, it's higher : )
10:03:56 <Xavier> try http://www.dotdeb.org/2011/01/11/php-5-3-5-now-for-squeeze
10:04:16 <Xavier> they have specific packages for your version
10:06:53 <vlad> it didn't work it still sais libicu38 has no installation 
candidate
10:08:25 <Xavier> try to remove the ppa entries from ubuntu/bzr and run a make 
dist-upgrade to check that this is not coming from the distrib itself
10:09:01 <Xavier> (also remove the php stuff while you do it, otherwise it will 
try to upgrade php too)
10:12:00 <Xavier> err... s/make/apt-get/
10:13:45 <vlad> ok, it worked. i forgot to do apt update after i included the 
dotdeb squeeze packages
10:13:59 <Xavier> ok, cool
10:14:23 <vlad> now i have php 5.3.5-0.dotdeb.1
10:14:38 <vlad> i used the defaults php.ini for both cli and apache
10:14:55 <Xavier> perfect - while I try to figure out this db connection error 
on my side, try to see if the php test run fine on your side
10:16:03 <vlad> yup i'll do that
10:23:19 <Xavier> I've fixed the issue and merged your phpunit test branch
10:23:38 <Xavier> It runs without error, but there are still the exceptions for 
undefined indexes
10:26:26 <vlad> hmm, it doesn't give me any exceptions
10:26:38 <Xavier> Updating simpletest, to check 
10:26:45 <Xavier> Grumpf
10:27:21 <Xavier> Can you try a svn update in your simpletest install, to have 
the same version?
10:27:47 <vlad> ok
10:34:39 <vlad> done, updated to rev 2007
10:34:46 <vlad> let me try again
10:34:50 <> da2 joins Farsides
10:35:05 <da2> hi Xav&Vlad
10:35:11 <Xavier> hi!
10:35:38 <vlad> hi David, how are you?
10:35:48 <Xavier> I'm looking at the php.ini to see if there is any difference 
that could cause that
10:35:50 <da2> all fine, thanks !
10:36:19 <Xavier> I didn't put the default php.ini file - can you send me 
yours? I'll try to put that one instead of the one I currently have, to see if 
it comes from there
10:38:31 <vlad> the cli one?
10:38:41 <Xavier> yep
10:38:45 <vlad> can i send files over this chat?
10:38:56 <Xavier> No - can you send by email?
10:39:19 <vlad> yup, just a sec
10:39:27 <Xavier> thx
10:40:18 <Xavier> but looking at the php.ini, I didn't see anything that could 
cause this...
10:40:24 <Xavier> hmmm
10:47:03 <vlad> did you get my email?
10:48:02 <Xavier> not yet, but it was probably delayed by my greylisting spam 
filter
10:48:27 <vlad> i sent it to [email protected]
10:48:34 <Xavier> I'm looking at the exceptions I get to see if it can help to 
find the source of the problem
10:48:37 <Xavier> ok, perfect
10:49:09 <da2> vlad quit (timeout)
10:50:19 <Xavier> For example this one:
10:50:22 <Xavier> Unexpected PHP error [Undefined index: email] severity [8] in 
[/var/www/beta.humanityprojectonline.com/classes/actions/class_login_action.php 
line 50]  in testObserverPattern  in HackitGameSessionClass
10:50:39 <Xavier> in testObserverPattern
10:51:40 <Xavier> Does it point out a real issue or not? As far as I can tell, 
the unit tests don't define $_POST['email'], right?
10:56:48 <vlad> yup, seems the notice is legit. the problem is how come i don't 
see it?
10:57:09 <Xavier> yes, that's really strange
10:57:21 <vlad> how many anotices you get total?
10:57:38 <vlad> if you run the tests in the browser, do you still get them?
10:57:40 <Xavier> 27, including the OWA ones
10:57:48 <Xavier> let me see
11:00:55 <Xavier> I do - and I get more actually because of "Cannot modify 
header information - headers already sent by"
11:01:56 <vlad> do you still have this in your htaccess? php_value 
error_reporting 22527 
11:02:11 <Xavier> yes
11:03:34 <vlad> and this line in hackit_all_tests error_reporting(E_ALL & 
~E_DEPRECATED);?
11:03:37 <Xavier> Do you have "error_reporting(E_ALL & ~E_DEPRECATED);" in 
tests/php/hackit_all_tests.php ?
11:03:41 <Xavier> yes
11:03:43 <Xavier> : )
11:03:49 <vlad> :)
11:04:20 <vlad> those are the only instances i have in the whole code, coupled 
with the same setting in php.ini
11:04:31 <vlad> i really don't get it
11:04:37 <Xavier> me neither
11:05:31 <Xavier> your email has just arrived - I'll try to replace it to see 
if it changes something
11:06:31 <Xavier> Do you run your tests using the browser or the command line?
11:06:52 <vlad> both, and no notices
11:07:17 <vlad> i'll try to force some and errors and see if they get picked up
11:07:34 <Xavier> ok
11:10:57 <vlad> i'm goign to do a restart on the machine. be back in 2 mins
11:11:06 <Xavier> ok
11:11:20 <Xavier> I still get the issues with your php.ini
11:11:38 <da2> vlad quit (timeout)
11:16:05 <Xavier> For when you come back - what php extensions do you have?
11:16:29 <Xavier> ls /etc/php5/conf.d/ adodb.ini  gd.ini   imap.ini    
mysqli.ini  pdo.ini        pdo_pgsql.ini   pgsql.ini  sqlite.ini   xdebug.ini 
curl.ini   gmp.ini  mcrypt.ini  mysql.ini   pdo_mysql.ini  pdo_sqlite.ini  
snmp.ini   suhosin.ini
11:18:35 <> vlad joins Farsides
11:20:14 <vlad> curl.ini    memcache.ini  pdo.ini   sqlite3.ini  xdebug.ini 
gd.ini     mysqli.ini   pdo_mysql.ini   sqlite.ini mcrypt.ini  mysql.ini   
pdo_sqlite.ini  suhosin.ini
11:20:29 <Xavier> ahhh - may be an interesting lead
11:20:38 <Xavier> try to install xdebug and suhosin
11:21:07 <vlad> i have them :) i couldn't paste all of them yet
11:21:16 <Xavier> argh ahahah
11:21:26 <Xavier> damn
11:22:07 <Xavier> What are the contents?
11:22:21 <vlad> so i have curl.ini memcache.ini pdo.ini sqlite3.ini xdebug.ini 
gd.ini mysqli.ini pdo_mysql.ini sqlite.ini mcrypt.ini mysql.ini pdo_sqlite.ini 
suhosin.ini
11:22:56 <Xavier> and what do you have in xdebug.ini and suhosin.ini ?
11:23:24 <Xavier> cat xdebug.ini ; configuration for php xdebug module 
;extension=xdebug.so zend_extension = "/usr/lib/php5/20090626+lfs/xdebug.so" 
;xdebug.auto_trace=On ;xdebug.trace_output_dir=/var/www/hackit.cx/log
11:23:30 <Xavier> cat suhosin.ini  ; configuration for php suhosin module 
extension=suhosin.so
11:27:18 <vlad> cat xdebug.ini 
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
11:29:45 <vlad> the suhosin cat is huge, but i don't see any error settings
11:35:09 <vlad> does your php parse files that don't have the correct <?php 
beginning? because mine doesn't at least in cli mode, i see that it outputs the 
contents of files that begin with just <?
11:36:11 <Xavier> yes - it's the short_open_tag = On setting in php.ini
11:37:15 <vlad> a ok
11:40:44 <Xavier> currently browsing google for clues - I have no idea what 
could be causing this
11:50:31 <Xavier> When you run "php --version" what do you get?
11:50:37 <Xavier> PHP 5.3.5-0.dotdeb.0 with Suhosin-Patch (cli) (built: Jan  7 
2011 01:47:26)  Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, 
Copyright (c) 1998-2010 Zend Technologies     with Xdebug v2.1.0, Copyright (c) 
2002-2010, by Derick Rethans     with Suhosin v0.9.32.1, Copyright (c) 
2007-2010, by SektionEins GmbH
11:51:48 <vlad> HP 5.3.5-0.dotdeb.1 with Suhosin-Patch (cli) (built: Jan 11 
2011 10:40:15) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, 
Copyright (c) 1998-2010 Zend Technologies     with Xdebug v2.1.0, Copyright (c) 
2002-2010, by Derick Rethans     with Suhosin v0.9.32.1, Copyright (c) 
2007-2010, by SektionEins GmbH
11:52:38 <Xavier> the differences probably come from the difference 
testing/stable
11:52:55 <Xavier> hmm
11:53:27 <Xavier> were you able to get a notice for an undefined index added on 
purpose?
11:55:01 <vlad> yes, i get them.
11:55:15 <Xavier> hmm
12:00:40 <Xavier> Can you send a tgz of your local install on 
http://farsides.com/files/ ? I'll try to compare the files and see if anything 
differs
12:08:33 <vlad> are all the notices related to global arrays like POST, GET etc?
12:09:33 <Xavier> I haven't checked them all, but they seem to be yes
12:10:09 <Xavier> Except for that one: 
12:10:11 <Xavier> Unexpected PHP error [Object of class Site could not be 
converted to int] severity [8] in [/usr/src/simpletest/expectation.php line 
245]  in testHackitSuccessHomepage  in HackitGameSessionClass Exception 11!
12:10:23 <Xavier> in testHackitSuccessHomepage
12:51:59 <Xavier> Vlad, did you see my request for the tgz?
12:53:27 <vlad> ah, sorry i forgot, i'll do it right now, but i'll exclude the 
image folders, cause they are too big
12:53:43 <Xavier> ok!
12:58:51 <vlad> seems that i need a login to be able to upload
13:00:10 <vlad> can you give me one?
13:00:37 <Xavier> I think you have one - let me check
13:00:56 <Xavier> da2 quit (timeout)
13:02:37 <Xavier> Yep
13:02:48 <Xavier> I resent your login/pass
13:03:26 <Xavier> let me know if it doesn't work
13:03:43 <vlad> ok, thanks
13:04:44 <vlad> so, i commented out all text code, except that one function 
that deals with the error you first mentioned. And now i can see it
13:12:22 <vlad> can you send me a list with all notices you see?
13:12:42 <Xavier> sure
13:13:48 <Xavier> sent
13:29:36 <vlad> i uploaded the archive hackit.tar.gz in files
13:36:35 <Xavier> thanks, downloaded
13:54:02 <vlad> i'm getting closer, the function testPbserverPattern was messed 
up somehow, rpobably because i kept reseting and initialising the game_session 
singleton
13:54:38 <vlad> i split each test in the function in a separate function and i 
can see the finaly see those notices
13:54:56 <vlad> let me include all the tests again and see if i can see them all
14:02:36 <vlad> whats /stats/web/modules/base/notifyNewSession.php ?
14:02:47 <Xavier> damn, I was disconnected again
14:03:14 <Xavier> let me have a look
14:03:35 <Xavier> it's OWA
14:06:39 <vlad> a ok
14:07:46 <Xavier> good that you are able to see the errors this way - still 
weird that it shows only on one side though, any clues as to what could cause 
the difference?
14:07:56 <vlad> so, the only ones remaining are the "Object of site class could 
not be converted to int" and the mistery of why i don't see them
14:08:14 <Xavier> yup
14:12:28 <Xavier> I've run the tests on the tgz you sent, and I'm seeing some 
of the errors, such as 
14:12:32 <Xavier> Unexpected PHP error [Undefined index: email] severity [8] in 
[/var/www/hackit/classes/actions/class_login_action.php line 52]  in 
testObserverPattern  in HackitGameSessionClass Exception 17!
14:12:56 <Xavier> Did you see them when before sending me the tgz?
14:13:20 <Xavier> Would show that this is likely to be a system difference
14:14:47 <vlad> can you look into tests/php/hackit_game_session_class and tell 
me how much of the code is comented? it it's a lot, than yes, it was the point 
where i could see the error
14:15:34 <Xavier> yes, there is a lot of commented stuff
14:17:30 <vlad> yup, basically i left uncomente should hav triggered the notice 
and indeed it whoed on my system also
14:18:31 <Xavier> not sure I get you : )
14:19:06 <Xavier> I tried to uncomment the section, and it still shows the 
errors - but I don't know how much changes you had made at that point
14:20:18 <vlad> sorry :) in that file there is only one test active, the on 
that should trigger the notice. and with those settings i could see the notice 
myself
14:21:04 <vlad> the problem lied with the testObserverPattern function, in 
which i test all action listeners
14:21:29 <vlad> i now spli that function to test each listener individually and 
i can see thenotices for it
14:22:19 <Xavier> ok I see - still weird though!
14:23:35 <vlad> i know, its probably something on my system, i think its time i 
do a reinstall from scratch :)
14:23:54 <Xavier> damned : )
14:24:51 <Xavier> if you do that, maybe try to stick with stable - testing can 
be a bit unreliable at times
14:25:45 <Xavier> the drawback is to have to use old versions of softs though :/
14:26:22 <vlad> tell you the truth, it wasn't my intention to go with testing, 
but i did it with Proppy when we tried to have the node.js working
14:26:53 <Xavier> I see - I'll slap him next time I see him ;p
14:27:20 <Xavier> He just had a baby btw
14:27:57 <vlad> really? i didn't know. then, please don't slap him :)
14:28:45 <Xavier> ahaha, ok : )
14:28:57 <Xavier> But he's also being hired by Google, so he deserves it ;p
14:32:34 <Xavier> I'm going to have lunch soon - I guess you'll dedicate the 
whole day to try to finish resolving this? Or do you have something else in 
mind?
14:34:55 <vlad> no, i'm goign to finish this
14:37:23 <Xavier> perfect
14:51:56 <Xavier> da quit (timeout)
15:35:27 <vlad> i pushed to phpunittests2. you should only get the OWA notices 
which i can't correct. please let me know if it's ok
15:35:55 <Xavier> ok, I'll try that out
15:36:21 <Xavier> did you solve the mystery of where the differences are coming 
from?
16:22:05 <vlad> no, i didn't. it's possible the differences are coming from the 
difference in os version
16:22:42 <Xavier> could be yep
18:27:22 <Xavier> vlad quit (timeout)
_______________________________________________
Farsides mailing list - [email protected]

Wiki:  http://farsides.com/
List:  http://farsides.com/ml/
Forum: http://farsides.com/forum/
Ideas: http://farsides.com/ideas/
Chat:  http://farsides.com/chat/

Reply via email to