*** menesis has quit IRC | 00:30 | |
*** menesis has joined #schooltool | 00:44 | |
*** replaceafill_ has joined #schooltool | 00:51 | |
*** replaceafill_ has joined #schooltool | 00:51 | |
*** replaceafill has quit IRC | 00:51 | |
*** replaceafill_ is now known as replaceafill | 00:51 | |
th1a | I'm going to set up my computer after dinner, replaceafill. | 00:52 |
---|---|---|
replaceafill | cool | 00:53 |
replaceafill | i'm going to go get some groceries | 00:53 |
replaceafill | and will test tonight too | 00:53 |
replaceafill | i'm downloading the ACC latest db | 00:53 |
*** replaceafill has quit IRC | 01:11 | |
*** menesis has quit IRC | 01:38 | |
*** th1a has quit IRC | 05:08 | |
*** replaceafill has joined #schooltool | 05:16 | |
*** th1a has joined #schooltool | 05:50 | |
*** th1a_ has joined #schooltool | 06:10 | |
*** th1a has quit IRC | 06:53 | |
*** th1a has joined #schooltool | 06:55 | |
*** yvl has joined #schooltool | 08:40 | |
*** menesis has joined #schooltool | 09:39 | |
*** menesis has quit IRC | 09:42 | |
*** menesis has joined #schooltool | 09:43 | |
*** menesis has quit IRC | 09:45 | |
*** menesis has joined #schooltool | 10:11 | |
*** menesis has quit IRC | 12:57 | |
*** nedosa has joined #schooltool | 13:29 | |
*** menesis has joined #schooltool | 13:39 | |
*** nedosa has quit IRC | 14:33 | |
*** nedosa has joined #schooltool | 14:40 | |
*** th1a_ has quit IRC | 14:59 | |
*** th1a has quit IRC | 15:31 | |
*** th1a_ has joined #schooltool | 15:33 | |
*** th1a_ has quit IRC | 16:09 | |
*** th1a_ has joined #schooltool | 16:10 | |
*** th1a has joined #schooltool | 16:24 | |
th1a | menesis: ayt? | 16:49 |
*** replaceafill has joined #schooltool | 16:51 | |
th1a | hi replaceafill. | 16:53 |
replaceafill | hey th1a | 16:53 |
th1a | So... we seem to have a problem. :-( | 16:53 |
replaceafill | indeed | 16:54 |
th1a | ? | 16:54 |
replaceafill | evolution "works" | 16:54 |
th1a | Do you have one other than the CanDo one? | 16:54 |
replaceafill | i mean, you don't get an evolution error with the ACC db | 16:54 |
replaceafill | jelkner's? | 16:54 |
th1a | Starting over, I found a new issue apparently with packaging. | 16:55 |
th1a | First tell me what your issue is. | 16:55 |
replaceafill | oh | 16:55 |
replaceafill | ok | 16:55 |
replaceafill | so, in order to prevent Glenda's bug (a key error issue when you have deleted terms/years), we delete unused group containers | 16:55 |
replaceafill | i'm starting to wonder if the delete part is even necessary | 16:56 |
replaceafill | in the ACC database | 16:56 |
replaceafill | they've created the 2014-2015 year already | 16:56 |
replaceafill | but the query the evolution script makes | 16:57 |
replaceafill | to get a term returns nothing | 16:57 |
replaceafill | which is the strange part | 16:57 |
replaceafill | i can see the data in 2.6 | 16:57 |
replaceafill | but the script just delete the container | 16:57 |
replaceafill | making groups "innaccessible?" for that year | 16:58 |
replaceafill | fortunately, last night i was able to come up with a small selenium IDE test to reproduce | 16:58 |
replaceafill | instead of waiting 2 hours each time you want to test the ACC db | 16:58 |
replaceafill | which is ~1.4 GB currently | 16:59 |
replaceafill | and grows to 2.1 GB after evolution | 16:59 |
replaceafill | so i'll pdb into the problem this morning | 16:59 |
th1a | OK. | 16:59 |
replaceafill | done | 16:59 |
th1a | Doesnt sound too bad. | 16:59 |
replaceafill | what's your issue? | 16:59 |
replaceafill | yeah | 16:59 |
replaceafill | we can just remove the delete part | 17:00 |
replaceafill | i guess | 17:00 |
replaceafill | and just ignore | 17:00 |
replaceafill | i'll let you know | 17:00 |
th1a | Yes, that sounds fine. | 17:00 |
th1a | So, I got this last night while upgrading my 14.04 laptop, but it was so weird I figured it was my screwed up peas setup. | 17:01 |
th1a | I fixed it by basically purging the whole setup and reinstalling. | 17:01 |
th1a | Then I had my desktop upgraded to 14.04 by this morning, schooltool worked, and I switched to your ppa. | 17:02 |
th1a | Now schooltool doesn't work and for status I just get: | 17:02 |
th1a | error: <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib/python2.7/xmlrpclib.py line: 793 | 17:02 |
th1a | Informative! | 17:02 |
replaceafill | :) | 17:02 |
replaceafill | you had 2.8 already? | 17:03 |
replaceafill | i mean, in your desktop | 17:03 |
th1a | Yes. With PEAS. | 17:04 |
th1a | It doesn't appear to be a database related issue. | 17:04 |
th1a | (that is, I deleted my Data.fs and it still is broken) | 17:04 |
th1a | Here is some relevant info from the supervisor log: | 17:04 |
th1a | 2014-08-26 09:45:53,636 INFO supervisord started with pid 7175 | 17:04 |
th1a | 2014-08-26 09:45:54,638 INFO spawned: 'redis' with pid 7203 | 17:04 |
th1a | 2014-08-26 09:45:54,639 INFO spawned: 'zeo' with pid 7204 | 17:04 |
th1a | 2014-08-26 09:45:54,639 INFO spawned: 'celery_report' with pid 7205 | 17:04 |
th1a | 2014-08-26 09:45:54,640 INFO spawned: 'schooltool' with pid 7206 | 17:04 |
th1a | 2014-08-26 09:45:55,232 INFO success: redis entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) | 17:04 |
th1a | 2014-08-26 09:45:55,233 INFO waiting for redis, zeo, celery_report, schooltool to die | 17:04 |
th1a | 2014-08-26 09:45:55,238 WARN received SIGTERM indicating exit request | 17:05 |
th1a | 2014-08-26 09:45:55,338 INFO stopped: schooltool (terminated by SIGQUIT (core dumped)) | 17:05 |
th1a | 2014-08-26 09:45:55,438 INFO stopped: zeo (terminated by SIGQUIT (core dumped)) | 17:05 |
th1a | 2014-08-26 09:45:55,441 INFO stopped: redis (terminated by SIGQUIT (core dumped)) | 17:05 |
th1a | 2014-08-26 09:45:58,448 INFO waiting for celery_report to die | 17:05 |
th1a | 2014-08-26 09:46:01,452 INFO waiting for celery_report to die | 17:05 |
th1a | 2014-08-26 09:46:04,456 INFO waiting for celery_report to die | 17:05 |
th1a | 2014-08-26 09:46:07,459 INFO waiting for celery_report to die | 17:05 |
th1a | 2014-08-26 09:46:10,463 INFO waiting for celery_report to die | 17:05 |
th1a | 2014-08-26 09:46:14,053 INFO waiting for celery_report to d | 17:05 |
replaceafill | could you paste error.log in pastebin.com? | 17:05 |
th1a | http://pastebin.com/Mb8m337P | 17:07 |
replaceafill | paste.log? | 17:08 |
replaceafill | i don't see anything drastic in error.log | 17:09 |
replaceafill | except the database conflict | 17:09 |
replaceafill | but that shouldn't stop the service from starting i guess | 17:09 |
th1a | This is from the celery log: | 17:09 |
th1a | http://pastebin.com/CQcyrHbY | 17:09 |
th1a | The paste log is completely blank. | 17:10 |
th1a | Could this be because we've got other versions of something in the regular 2.8 ppa? | 17:11 |
th1a | Do I need them both!? | 17:12 |
th1a | That's probably it. | 17:12 |
replaceafill | indeed | 17:12 |
th1a | ok adding. | 17:12 |
replaceafill | and you don't want to purge peas? | 17:13 |
th1a | I already did that on the laptop. | 17:13 |
replaceafill | you want to find "the issue"? | 17:13 |
th1a | That is not on the desktop (what I'm doing now). | 17:13 |
th1a | If this fixes it we're done. | 17:13 |
replaceafill | it's like, you can't use the 2.8.1 test ppa without the standard 2.8 ppa | 17:14 |
th1a | Yes. | 17:15 |
th1a | Bingo. | 17:15 |
th1a | OK, done. | 17:15 |
replaceafill | :) | 17:15 |
th1a | All right. | 17:15 |
th1a | whew | 17:15 |
th1a | Also, schooltool starts way faster on this box. ;-) | 17:16 |
replaceafill | that's your big tv like mac in your living room? | 17:16 |
th1a | This is my home-brew double monitor pc. | 17:16 |
replaceafill | ah | 17:16 |
th1a | Nice to be back on it. | 17:17 |
replaceafill | i recommend you to set a couple of 12.04/14.04 VMs | 17:17 |
th1a | I have space now! | 17:17 |
replaceafill | just default installation | 17:17 |
replaceafill | and start cloning those | 17:17 |
replaceafill | every time you want to test something | 17:17 |
th1a | No more maxed out mini-SSD. | 17:17 |
th1a | Yes. | 17:17 |
replaceafill | :D | 17:17 |
th1a | I should jack up the memory too for that reason. | 17:18 |
replaceafill | ok, i'll go get something quick to eat | 17:18 |
replaceafill | and start with this | 17:18 |
th1a | OK. I have to take the girls for some last minute school shopping, | 17:19 |
replaceafill | ok | 17:19 |
th1a | but starting tomorrow I should be unburdened from 9:00 to 3:00, every day! | 17:19 |
th1a | No mid-day pickups or babysitting! | 17:19 |
th1a | Crazy! | 17:19 |
replaceafill | :D | 17:19 |
th1a | You will have my undivided attention (nearly), replaceafill. | 17:20 |
replaceafill | good to know :P | 17:20 |
replaceafill | btw | 17:20 |
replaceafill | what's next after 2.8.1? | 17:20 |
replaceafill | back to ARK? | 17:21 |
replaceafill | i guess we still don't have any feedback, right? | 17:21 |
th1a | No. | 17:22 |
th1a | Cleanup, testing. | 17:22 |
nedosa | good work on the 2.8.1 guys | 17:22 |
th1a | Take a breath. | 17:22 |
replaceafill | ah ok | 17:22 |
th1a | Thanks nedosa. | 17:22 |
th1a | Tidy up. | 17:22 |
replaceafill | nedosa, still unstable :) | 17:22 |
nedosa | replaceafill, i think I may have found a bug with Profile report :( | 17:22 |
nedosa | I can elaborate after you guys finish your plans/scrum :) | 17:23 |
replaceafill | i think we're done nedosa | 17:25 |
replaceafill | go ahead | 17:25 |
nedosa | The Profile report doesn't seem to bode well with non-latin characters | 17:26 |
nedosa | and if a person has a picture attached, it doesn't appear at all | 17:26 |
nedosa | i think the html that z3c-widget-table-row.pt spits out doesn't get converted to rml | 17:26 |
replaceafill | give me a sec, checking that code | 17:28 |
replaceafill | nedosa, hhmm | 17:31 |
replaceafill | http://s22.postimg.org/vbl6pcdm9/Captura_de_pantalla_de_2014_08_26_08_30_16.png | 17:31 |
nedosa | if you enter some non-latin language, say russian, bulgairan, greek, etc. in one of the person fields, and then generate the Profile report | 17:31 |
nedosa | cry | 17:31 |
replaceafill | like this right? http://s29.postimg.org/3qhih783b/Captura_de_pantalla_de_2014_08_26_08_35_32.png | 17:36 |
nedosa | yep | 17:36 |
replaceafill | i can see the photo though | 17:37 |
nedosa | yeah, that's weird, I get a html snippet instead of the photo | 17:38 |
th1a | replaceafill: I'm taking off. | 17:49 |
replaceafill | th1a, kk | 17:49 |
replaceafill | i'm checking nedosa issue | 17:49 |
replaceafill | i just want to find out what's the problem | 17:49 |
replaceafill | i think i have | 17:49 |
nedosa | thanks replaceafill | 17:49 |
replaceafill | nedosa, it's about the paragraph style not being set | 17:49 |
nedosa | i think so, yeah | 17:50 |
replaceafill | for text widgets, when we use just @@rml | 17:50 |
replaceafill | a simple <para>...</para> is set | 17:50 |
replaceafill | but text2rml is capable of setting a para_class | 17:50 |
nedosa | yeah, i saw that | 17:51 |
replaceafill | we should just tell the paragraph to use a specific style with Ubuntu_Regular set | 17:51 |
replaceafill | hacking a quick fix... just to make sure... | 17:51 |
replaceafill | nedosa, http://s15.postimg.org/5gyrcau97/Captura_de_pantalla_de_2014_08_26_08_56_43.png | 17:57 |
replaceafill | nedosa, thanks for reporting this | 17:58 |
replaceafill | i'll file a bug | 17:58 |
nedosa | fantastic replaceafill, thanks a lot for the fix | 18:00 |
nedosa | will it make it to 2.8.1 you think ? | 18:00 |
replaceafill | not sure nedosa | 18:01 |
replaceafill | i'll try :) | 18:01 |
nedosa | :) | 18:01 |
*** th1a_ has quit IRC | 18:43 | |
replaceafill | th1a, found the issue | 19:32 |
replaceafill | th1a, since i don't want to mess with ubuntu versions/suffixes, i just created a different ppa to test the fix | 19:57 |
replaceafill | ppa:replaceafill/2.8.1 | 19:57 |
replaceafill | sorry for the inconvenience | 19:57 |
nedosa | replaceafill, are there any instructions somewhere on how you build debs ? | 20:01 |
* replaceafill has started to fall in love with LP... | 20:01 | |
replaceafill | nedosa, ubuntu packaging guide? | 20:01 |
replaceafill | launchpad packaging docs | 20:01 |
nedosa | sure, but I meant schooltool specific :) | 20:02 |
replaceafill | ah | 20:02 |
replaceafill | no :( | 20:02 |
nedosa | so it's still a dark art :) | 20:02 |
replaceafill | i've learned from menesis explanations | 20:02 |
replaceafill | yeah | 20:02 |
replaceafill | i hope we can document it at some point | 20:02 |
nedosa | it seems you guys keep a separate repo you use for builds | 20:03 |
nedosa | and on each minor release you merge to the build repo the commits ? | 20:03 |
replaceafill | if by build repo you mean PPA, i think yes | 20:04 |
* replaceafill is not very skilled at packaging :) | 20:04 | |
nedosa | np :) | 20:05 |
replaceafill | just enough to get it done :P | 20:05 |
nedosa | i wonder why the separate ppa though ? | 20:05 |
replaceafill | to avoid ubuntu packaging strictness i guess | 20:06 |
replaceafill | or wait time | 20:06 |
replaceafill | i mean, it gives us a little more flexibility | 20:06 |
nedosa | is that some LP rule, that if there's packaging in a repo, it'll always build debs ? | 20:08 |
replaceafill | yes, i think you can build debs automatically from recipes | 20:08 |
replaceafill | you just specify which branch | 20:09 |
replaceafill | trunk debs are generated that way | 20:09 |
replaceafill | iirc | 20:09 |
nedosa | I see, in the universe outside canonical, the repo and build services are typically separate beasts :) | 20:11 |
replaceafill | debian? | 20:11 |
nedosa | no, i mean [github,bitbucket] + [circleci, jenkins, whatever] | 20:12 |
replaceafill | ah | 20:12 |
replaceafill | got it | 20:12 |
replaceafill | th1a, packages are ready | 20:14 |
replaceafill | will test with the ACC db again | 20:14 |
*** nedosa has left #schooltool | 20:54 | |
*** menesis has quit IRC | 21:27 | |
*** nedosa has joined #schooltool | 22:05 | |
nedosa | @replaceafill think I found a bit more about the image issue on the Profile report | 22:10 |
nedosa | when quiz is enabled I think it triggers the issue | 22:11 |
nedosa | the widget configuration in fee overrides the default configuration me thinks | 22:11 |
nedosa | It'd be interesting to see if you can reproduce it also | 22:12 |
*** nedosa has left #schooltool | 22:12 | |
*** nedosa has joined #schooltool | 22:13 | |
replaceafill | nedosa, ah, nice finding | 22:15 |
replaceafill | could you please file a bug? | 22:15 |
nedosa | will do | 22:16 |
replaceafill | thanks, i was able to confirm your i18n issue | 22:16 |
replaceafill | with inline templates | 22:16 |
nedosa | good stuff | 22:16 |
replaceafill | not so good :D | 22:16 |
nedosa | oh ? :) | 22:17 |
nedosa | difficult fix ? | 22:17 |
replaceafill | those issues | 22:17 |
replaceafill | i think we'll need to evaluate our use of inline | 22:17 |
nedosa | ah | 22:17 |
nedosa | i have a bunch of those fixes sitting somewhere | 22:17 |
nedosa | all i18n issues based on inline templates :) | 22:18 |
replaceafill | yeah | 22:18 |
nedosa | i didn't realise the report issue was also caused by inline template | 22:18 |
nedosa | *templates | 22:18 |
nedosa | basically, avoid them would be my suggestion | 22:18 |
nedosa | it means littering the template dir with a lot of small .pt files, but so be it | 22:19 |
replaceafill | well, we could use a different approach when i18n is needed | 22:19 |
replaceafill | like using translate() on the class directly | 22:19 |
nedosa | ah ok | 22:19 |
replaceafill | we do some of that for the dialog title translation | 22:19 |
replaceafill | for jquery | 22:19 |
nedosa | my knowledge of zope 3 is v. basic :) | 22:20 |
nedosa | yeah, i've seen that | 22:20 |
replaceafill | i don't think is that basic! | 22:20 |
replaceafill | do you work on zope 3? | 22:20 |
nedosa | ok, i'll file an issue later on and maybe we can discuss tomorrow | 22:20 |
replaceafill | ah sure | 22:20 |
replaceafill | thanks! | 22:20 |
nedosa | not really, this is something for a small contract | 22:21 |
replaceafill | ah | 22:21 |
* th1a is back from many back-to-school errands. | 22:21 | |
replaceafill | hey th1a | 22:22 |
replaceafill | evolution is still running | 22:22 |
replaceafill | but i tested with my small sample selenium IDE | 22:22 |
replaceafill | and the fix works | 22:22 |
*** nedosa has left #schooltool | 22:22 | |
replaceafill | the issue was that we were using schoolyears for boolean decision | 22:23 |
replaceafill | and schoolyears are containers | 22:23 |
replaceafill | so, if they're empty (no terms inside) | 22:23 |
replaceafill | the thing blew | 22:23 |
*** nedosa has joined #schooltool | 22:26 | |
th1a | Ah. OK. | 22:34 |
*** hotwebmatter has joined #schooltool | 22:42 | |
th1a | hi hotwebmatter. | 22:45 |
hotwebmatter | hi th1a. | 22:46 |
th1a | We should have a bugfix release out tonight. | 22:47 |
th1a | Which will require a few changes to the docs. | 22:48 |
hotwebmatter | Ah, cool. It might take me a little while to get back up to speed. | 22:48 |
th1a | Yeah. | 22:48 |
th1a | Do you want to get together tomorrow? | 22:49 |
hotwebmatter | Sure! Louis' closes at 3:00 pm, so I'm free after that. | 22:49 |
hotwebmatter | You can either meet me there at 3:00, or arrive at 2:30 and have a cheeseburger special first. ;) | 22:50 |
th1a | Hm... | 22:50 |
th1a | I have to pick up the girls at school. | 22:51 |
hotwebmatter | Or take this to /msg for further planning ... | 22:51 |
nedosa | replaceafill https://bugs.launchpad.net/schooltool/+bug/1361852 | 23:00 |
replaceafill | great! thanks nedosa | 23:00 |
replaceafill | i thought you said quiz was the issue? | 23:01 |
replaceafill | ah ok, i see where the problem is | 23:05 |
nedosa | oh balls, did I say fee in the issue | 23:06 |
nedosa | apologies, will update | 23:06 |
nedosa | updated | 23:07 |
replaceafill | lol i updated it too | 23:07 |
replaceafill | :D | 23:08 |
nedosa | :) | 23:10 |
nedosa | so, some rml specific rendering needs to be constructed | 23:12 |
replaceafill | for the image issue? | 23:12 |
nedosa | yeah | 23:17 |
replaceafill | not really, that part of quiz needs to be more specific | 23:19 |
replaceafill | or the inline/download logic changed for images | 23:19 |
nedosa | or that, indeed, it's type specific lookup | 23:19 |
*** nedosa has left #schooltool | 23:28 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!