IRC log of #schooltool for Wednesday, 2013-08-28

*** menesis has quit IRC00:28
*** replaceafill has quit IRC01:57
*** th1a has quit IRC02:50
*** menesis has joined #schooltool13:04
*** khildin has joined #schooltool13:38
*** th1a has joined #schooltool13:39
*** menesis has quit IRC14:01
*** replaceafill has joined #schooltool16:27
th1aAh, where's yvl?16:31
th1ahi replaceafill.16:32
th1aOr menesis...16:32
replaceafillhey th1a16:32
replaceafillholiday in .lt?16:32
th1aNo...16:35
th1areplaceafill:  So what was the status of reports in the packages you tested yesterday?16:35
th1aDid they work?16:35
replaceafilli didn't test the reports using glenda's spreadsheets16:36
replaceafilli tested them before that16:36
replaceafilland they worked16:36
replaceafilli can set up the instance again and check16:37
th1aMight as well.16:37
th1aI'm going to have to document what to do with the new report error messages.16:38
replaceafillthey're kind of "obscure?"16:38
replaceafilli mean, for average users16:38
th1aWell, like in Glenda's email.16:40
th1aI assume with this system you can't guarantee that the error will get back to SchoolTool.16:40
replaceafillwell, you can see the traceback under Server16:41
th1aAh.16:41
replaceafillServer -> Server information -> Scheduled Tasks16:41
* replaceafill starts importing glenda's spreadsheets16:42
th1aOK, well in that case, I guess I should tell Glenda to look there.16:42
replaceafillright, the traceback *there* is useful for us16:43
th1aWe should probably put it back where it usually goes.16:44
th1aEven though it is kind of scary.16:44
*** yvl has joined #schooltool16:47
yvlgood morning guys16:47
th1aAh, yvl.16:47
th1aHi.16:47
replaceafillgood afternoon yvl16:47
th1aGlenda is now into report bugs, so you're needed.16:48
yvlok16:48
th1aI guess she should dredge up tracebacks for us from the Scheduled Tasks page?16:48
* yvl is on EDGE GSM btw, so network is somewhat sluggish16:49
yvlthat would be best16:49
yvlalso, logs16:49
yvlcelery_report.log would be most valuable16:49
th1aWhen she goes into the Scheduled Tasks page, she should click on the links for the failed events?16:50
th1aAnd then there'll be a traceback?16:50
yvlyes16:51
th1aOK.16:51
yvlthey should have red TRACEBACK status16:51
th1aI'm also having a problem where on my Saucy install absolutely nothing happens when I click on a report link (no dialog, no nothing).16:51
th1aOK.16:51
yvlyes16:51
yvlso those would be most detailed16:52
yvlbut some info can be dug out from celery_report.log16:52
yvlthat one is weird16:53
yvlI guess menesis would know more about it16:54
th1aI guess we should see if replaceafill can reproduce it.16:54
th1aI suspect I have some kind of jquery problem.16:54
replaceafilli can set up a Saucy vm and try16:55
replaceafillit doesnt happen in Raring for me16:55
th1aSorry... I meant Glenda's bug.16:55
th1aSwitching context.16:56
replaceafill:D16:56
th1aWe can make menesis check out the saucy issue.16:56
replaceafillah yes, i'm importing skills now16:56
th1ayvl:  Do you know where menesis is?16:56
yvlcalling him...16:57
yvlshould be right with us16:57
*** menesis has joined #schooltool16:58
yvlreturning to Glenda's bug16:58
yvlticked id does not say much16:58
yvlmaybe we should add downloadable tracebacks16:58
th1aYes.16:59
yvlusers get tracebacks anyway when stuff breaks16:59
yvlok, will do then16:59
th1aGlenda is being tolerant at this point as long as we keep things going forward.17:00
th1aI had to make replaceafill skip French yesterday though.17:00
th1aWhy don't you go ahead with your report while we wait for replaceafill's test instance to come together.17:01
th1ayvl.17:01
yvlok17:01
yvlreally little to report17:01
yvldecided to go to work from our summer house17:02
yvlso half a day lost traveling17:02
yvlI fixed some bugs, will flag which ones and upload them17:02
yvlonce I get my internet more stable17:02
th1aAh, you're in the country now.17:03
yvlyes :)17:03
yvlstill internets, should have 3G, but not stable at the moment17:03
th1aOK.  Getting Glenda's reports going will be priority #1.17:03
yvlof course17:05
yvlif you do find how to reproduce them, please share17:05
yvlI do expect there will be either weird simple security flaws17:05
yvlor some case of mishandled empty report somewhere17:05
th1areplaceafill: You're doing this from your PPA instance, right?17:06
replaceafillth1a, ehh, no, sandbox17:06
replaceafillalthough, i can move the database17:06
th1aI should probably fire up virtualbox...17:07
replaceafillok, everything set up... trying the report17:09
replaceafillouch, login form in request dialog!17:11
replaceafillhttp://imagebin.org/index.php?mode=image&id=26900317:11
replaceafilltrying as clerk17:11
th1aYeah, that's always an ugly one.17:12
yvlsigh, another loose end that's not a low hanging fruit17:12
replaceafillok, system failure as a clerk17:13
replaceafillchecking the logs17:13
replaceafillhhmm17:14
yvlexcellent17:14
replaceafillcan't set attribute17:14
replaceafill  student_gradebook.__parent__ = gradebook17:14
yvlfull logs please17:14
yvlstudent gradebook's __parent__ was changed to a property recently17:14
yvlAFAIK all places that set it explicitily were deleted17:15
replaceafilli'll try just removing that line, ok?17:15
yvlfrom where?17:15
replaceafillsince it's a property now17:15
replaceafillfrom the cando task17:15
replaceafillCanDoStudentGradebookReportTask has the line17:16
yvllooking at code..17:17
yvlyes please17:17
yvlfrom both places in that file17:17
replaceafilldone17:18
th1aDid you get the same kind of error message as Glenda?17:19
replaceafillyes17:20
replaceafillit's a generic error message though17:20
replaceafillyvl, if i remove both .__parent__ lines:17:21
replaceafill'Section' object has no attribute 'values'17:21
replaceafillfor worksheet in worksheets.values()17:21
replaceafilllet me paste the full traceback17:21
replaceafillhttp://pastebin.com/KyrbSs1V17:22
yvlwell the self.context.__parent__.__parent__.__parent__ is wrong :D17:24
replaceafillon it17:25
th1aWhen I relied on self.context.__parent__.__parent__.__parent__ in my old Zope 2 application, I thought it was pretty hacky.17:26
yvlit was :)17:26
th1aYet surprisingly reliable.17:26
th1aUntil you tried to change something...17:26
yvland when anything in the chain changes... difficult to track down17:27
yvlright17:27
yvlit should be either self.context.__parent__17:27
yvlor self.context.__parent__.__parent__ :)17:27
replaceafillwow, you guys are good!17:27
replaceafillreport successfully generated ;)17:28
replaceafillpushing the fix17:28
yvl:D17:28
yvlremote debugging FTW17:28
yvlteamwork! :D17:29
replaceafillhhmm17:29
replaceafillone problem though :(17:30
replaceafillthat's in a baseclass17:30
replaceafilland the __parent__ change affects the Score student view17:30
replaceafillTypeError: ('Could not adapt', <Skill u'Demonstrate positive work ethic.'>, <InterfaceClass schooltool.cando.interfaces.ISkillsGradebook>)17:30
replaceafill17:30
yvlok17:31
yvlI guess just change to a property17:31
yvl@prop17:31
yvldef worksheets(self):17:31
yvl   return self.context.___.___.___17:31
yvland change it in children17:31
replaceafillkk17:31
yvlfor worksheet in self.worksheets is more readable anyway17:32
replaceafillfixing17:32
replaceafillsuccess17:35
replaceafill:)17:35
replaceafillthis OOP thing seems powerful :P17:35
replaceafillchecking the other reports as clerk before pushing...17:36
th1aOh, OK, yvl.17:37
th1aIt isn't the top priority probably, but I did put in a bug for an auto-deprecate form.17:37
yvlit does look useful17:38
yvlvery useful17:38
th1aOnly in a system as insane as VA CTE is it necessary.17:38
yvltrue17:39
th1aAnyhow, does that make sense to you?17:39
yvlwell17:39
yvlyes17:39
yvlI would implement one thing differently though17:39
yvladd checkboxes in the results table17:39
yvlcalled deprecated17:40
yvland a button at the end of the table called Save17:40
yvlor Apply17:40
yvlor something17:40
th1aOK17:40
yvland a checkbox to select/deselect all of course17:40
yvlso in case of batched results17:40
yvlusers would only change displayed ones17:41
yvlbut when they click show all17:41
yvlthey can change everything17:41
yvlI hope this makes sense17:41
th1aYes.17:41
yvlkk17:41
th1aOK, might as well excuse yvl then.17:42
yvlthanks :)17:43
yvlI'll stick around just in case17:43
th1aHave a good week/end guys.  Enjoy the country... productively.  ;-)17:43
* th1a drops the bag of gravel.17:43
yvlthanks!17:43
replaceafillth1a, i still need to fix the forbidden in the request dialog17:53
replaceafillbut i have to go now17:54
th1aSure.  There is no rush, she won't get the fixes until tomorrow.17:54
replaceafillah right17:54
replaceafillok, will continue when i come back then17:54
replaceafillsee you guys later17:54
*** replaceafill has quit IRC17:59
*** yvl has quit IRC18:25
*** khildin has quit IRC20:11
*** menesis has quit IRC20:59
*** replaceafill has joined #schooltool21:24
*** khildin has joined #schooltool22:15
*** khildin has quit IRC22:16
th1areplaceafill:  Would you mind zipping up and sending Glenda's spreadsheets to me?23:28
*** replaceafill has quit IRC23:42
*** replaceafill has joined #schooltool23:43
replaceafillth1a, sure23:43
th1aThanks.23:44
replaceafillth1a, sent23:53

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