| *** menesis has quit IRC | 04:21 | |
| *** aks has joined #schooltool | 06:27 | |
| *** th1a has quit IRC | 07:33 | |
| *** aks has quit IRC | 10:18 | |
| *** aks has joined #schooltool | 10:21 | |
| *** aks has joined #schooltool | 10:21 | |
| *** menesis has joined #schooltool | 10:28 | |
| *** menesis has quit IRC | 11:43 | |
| *** ignas has joined #schooltool | 12:22 | |
| *** menesis has joined #schooltool | 13:12 | |
| *** menesis has quit IRC | 13:14 | |
| *** menesis1 has joined #schooltool | 13:14 | |
| *** aks has quit IRC | 14:16 | |
| *** menesis1 has quit IRC | 17:23 | |
| *** th1a has joined #schooltool | 17:51 | |
| *** replaceafill has joined #schooltool | 17:52 | |
| *** menesis has joined #schooltool | 19:02 | |
| *** menesis has quit IRC | 20:02 | |
| *** ignas has quit IRC | 20:47 | |
| *** fsufitch has joined #schooltool | 21:08 | |
| fsufitch | aelkner: ping! | 21:08 |
|---|---|---|
| aelkner | hey fsufitch | 21:09 |
| aelkner | how's it going? | 21:09 |
| aelkner | are you home? | 21:09 |
| fsufitch | at gmu, it's too hard to focus on work at home | 21:09 |
| fsufitch | (what with having a gaming PC next to me and all) | 21:09 |
| aelkner | good thinking, create a work environment | 21:10 |
| fsufitch | mhm | 21:10 |
| aelkner | so how' the connectivitiy | 21:10 |
| fsufitch | it's good, i might drop now and then because it needs me to authenticate again, but other than that it shouldnt cause problems | 21:10 |
| aelkner | cool | 21:11 |
| aelkner | so where did you leave off? | 21:11 |
| fsufitch | uhmm, after the small commit last time | 21:11 |
| fsufitch | i had to go urgently... | 21:11 |
| aelkner | do you remember what you're doing next? | 21:12 |
| * fsufitch is looking up chat logs | 21:13 | |
| fsufitch | views! | 21:14 |
| aelkner | well, we have to pick one to start with | 21:18 |
| aelkner | what was it, proposed courses container view? | 21:18 |
| aelkner | and you needed to create a test-only view to put some courses in it | 21:18 |
| fsufitch | proposed and current courses, and a dummy test-only view that adds courseinfos | 21:18 |
| fsufitch | yes | 21:18 |
| aelkner | well, let's just go with proposed for now | 21:19 |
| aelkner | but yes | 21:19 |
| aelkner | do you have any questions before you start | 21:19 |
| fsufitch | nope, i can look at the logs from last time, and what i need to do is pretty clear | 21:19 |
| aelkner | cool | 21:20 |
| aelkner | as always, if i don't respond to ping, please call me | 21:20 |
| aelkner | i don't want to waste any of your limited time here | 21:20 |
| fsufitch | ok :) | 21:23 |
| *** menesis has joined #schooltool | 21:27 | |
| *** replaceafill has quit IRC | 22:13 | |
| *** replaceafill has joined #schooltool | 22:25 | |
| replaceafill | th1a let me know when you're done with the new schooltool.org so i can translate it to spanish :) | 22:26 |
| fsufitch | aelkner: ping | 22:52 |
| aelkner | fsufitch, tsup? | 22:52 |
| fsufitch | is there a way to count how many nodes an xpath got a hit on? (i'm writing the ftest for this and that would be really useful) | 22:53 |
| aelkner | we have two methods that are useful | 22:53 |
| aelkner | you are probably using printQuery which does not help you for what you're asking | 22:54 |
| fsufitch | yeah i was using printQuery | 22:54 |
| aelkner | queryHTML returns a list | 22:54 |
| fsufitch | ooh | 22:54 |
| aelkner | that's the one you want for that specific purpose | 22:54 |
| fsufitch | same syntax as printQuery? | 22:54 |
| aelkner | printQuery is the one we use 98% of the time | 22:54 |
| aelkner | yes | 22:54 |
| fsufitch | awesome! | 22:54 |
| aelkner | i also have used queryHTML in the rare case where i want to extract values from the page | 22:55 |
| aelkner | like link urls | 22:55 |
| aelkner | but again, it's the exception, not the rule | 22:56 |
| fsufitch | okay | 22:56 |
| fsufitch | wait so i can't use printQuery to get the href of an <a> tag? | 23:07 |
| replaceafill | fsufitch, if you want an attribute, like href, finish your expression with .../@href | 23:12 |
| fsufitch | okay, cool | 23:13 |
| aelkner | yeah, that's what i meant by extracting a link | 23:24 |
| fsufitch | aelkner: ping | 23:42 |
| fsufitch | im getting a strange error when i try to run the test-only view | 23:42 |
| fsufitch | ForbiddenAttribute: ('__getitem__', <schooltool.courseinfo.courseinfo.ProposedCourseInfoContainer object at 0xe562eac>) | 23:43 |
| replaceafill | fsufitch do you have a <class ...> declaration in you zcml for that container? | 23:48 |
| fsufitch | whoops, i do not | 23:49 |
| fsufitch | :) | 23:49 |
| replaceafill | you can check any container for an example | 23:50 |
| replaceafill | schoolyear, course, section, etc | 23:50 |
| fsufitch | ok | 23:54 |
| fsufitch | i did, trying it now | 23:54 |
| fsufitch | forgot containers have to be defined in zcml | 23:54 |
| replaceafill | :) | 23:55 |
| fsufitch | replaceafill: what does teh <require> directive do? | 23:57 |
| replaceafill | defines the permission needed to access whatever you specify with it | 23:58 |
| replaceafill | requires this permission to access this on this | 23:58 |
| replaceafill | :D | 23:58 |
| fsufitch | er... i meant in the context of embedding it within <class> | 23:58 |
| replaceafill | http://apidoc.zope.org/++apidoc++/ | 23:58 |
| replaceafill | ZCML Reference | 23:58 |
| replaceafill | "Indicate that the a specified list of names or the names in a given Interface require a given permission for access." | 23:59 |
| fsufitch | ah | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!