IRC log of #schooltool for Friday, 2007-05-11

*** wjohnsto has joined #schooltool00:11
*** th1a has quit IRC00:48
*** wjohnsto has quit IRC01:20
*** gpaci has quit IRC01:31
*** gpaci has joined #schooltool01:31
*** pcardune has joined #schooltool02:10
*** gpaci_ has joined #schooltool02:35
*** didymo has joined #schooltool02:44
*** gpaci_ has quit IRC02:52
*** gpaci has quit IRC02:52
*** pcardune has quit IRC03:27
*** jinty has quit IRC03:31
*** th1a has joined #schooltool03:54
*** filip101 has joined #schooltool04:06
*** filip101 has quit IRC04:07
*** th1a has quit IRC04:30
*** gpaci has joined #schooltool04:46
*** pcardune has joined #schooltool05:25
*** pcardune has quit IRC05:51
*** th1a has joined #schooltool05:54
*** gpaci has quit IRC05:58
*** pcardune has joined #schooltool06:08
*** gpaci has joined #schooltool06:24
*** gpaci has quit IRC08:12
*** kitblake has joined #schooltool08:16
*** pcardune has quit IRC08:32
*** lisppaste5 has quit IRC09:19
*** lisppaste5 has joined #schooltool09:31
*** wrobel has joined #schooltool09:34
*** jinty has joined #schooltool10:50
*** didymo has quit IRC11:00
*** jinty has quit IRC11:37
*** jinty has joined #schooltool11:41
*** jinty has quit IRC11:50
*** jinty has joined #schooltool12:07
*** jfroche_ has joined #schooltool12:31
*** jfroche has quit IRC12:34
*** alga has joined #SchoolTool13:24
*** ignas has joined #schooltool14:00
*** Newfie has joined #schooltool14:41
*** jinty has quit IRC16:21
*** jinty_ has joined #schooltool16:21
*** wjohnsto has joined #schooltool16:33
*** mgedmin has joined #schooltool17:30
*** gpaci has joined #schooltool18:42
*** gpaci has quit IRC19:10
*** gpaci has joined #schooltool19:42
ignasLumiere: ayt?19:53
*** jfroche_ has quit IRC20:20
*** pcardune has joined #schooltool20:54
*** ignas has quit IRC21:20
*** jfroche has joined #schooltool21:26
*** aelkner has joined #schooltool21:54
aelknerpcardune: I'm here.21:55
pcardunehi a21:55
pcardunehi aelkner21:55
aelknerOk, the test would be that students can no see those two menu items.21:56
pcarduneyes21:57
*** Newfie has left #schooltool22:20
aelknerpcardune: how does one test for something NOT being there?  I need the test to fail if Add/REmove Managers is available int he menu.22:21
pcardune>>> 'Add/Remove Managers' not in browser.contents22:22
pcarduneTrue22:22
aelknerpcardune: Remind me how to invoke the ftests22:26
pcardunethere is a test.py script in the SchoolTool directory22:26
pcarduneyou want to run that with the options:22:26
pcardune-1fm cando.journal22:26
pcardune1 for show only one error... f for functional tests and m for the cando.journal package22:27
aelknerI ran: python test.py -1fm cando.journal and got the following error:22:30
aelkner File "/home/aelkner/cando/SchoolTool/src/cando/virginia/interfaces.py", line 34, in ?22:30
aelkner    class IScoreSystemRequirement(requirement.interfaces.IRequirement):22:30
aelknerzope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/aelkner/cando/SchoolTool/src/cando/journal/browser/ftesting.zcml", line 10.2-10.3822:30
aelkner    ZopeXMLConfigurationError: File "/home/aelkner/cando/SchoolTool/src/cando/virginia/configure.zcml", line 7.2-12.622:30
aelkner    AttributeError: 'module' object has no attribute 'interfaces'22:30
aelknerI did an svn up before starting.22:30
aelknerIs there something else I should do?22:31
aelknerpcardune: ?22:32
pcardunethis is why you should have run the tests first to make sure nothing was failing already22:33
pcardunedebug it22:34
pcardunewith pdb22:34
aelknerI wouldn't have the slightest idea where to put the pdb.  The problem is with the configuration.  Are you able to run the same command on your machine?22:37
aelknerpcardune: is it a no-no to have schooltool running when truing to do functional tests?22:39
pcarduneno that is fine, it lives in an entirely separate environment22:39
aelknerpcardune: do I need to change my python path or something?  I know that schooltool_server.py adds schooltool's source to the python path itself, and it looks like test.py does as well.  The import error is still happening though.  Do you get this error?22:47
pcardunenope22:48
pcardunehave you done "make run"22:48
pcardunethat is, have you ever got it successfully running?22:48
aelknergood question.  I'll try that now.22:49
aelknerwait.  of course i got it ruinning using schooltool_server.py.22:49
aelknerpcardune:  so what do you suggest if that's the case?22:50
aelknermake run worked as well.22:50
aelknerso there's something different happening when running test.py.22:51
pcardunehave you tried using pdb?22:51
aelknerwhere?22:52
aelknerThe error is in trying to run the class statement mentioned above.  It's an import error.  How would one use pdb on that?22:53
*** mgedmin has quit IRC23:19
*** alga has quit IRC23:46
*** gpaci has quit IRC23:49
*** wrobel has quit IRC23:55

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