bskahan | since teachers are often known by Mr/Ms/Mrs LastName | 00:00 |
---|---|---|
th1a | bskahan: +1 | 00:00 |
bskahan | remember I was talking about pagelets, the apidocs say "TODO: write documentation." | 00:13 |
bskahan | ;) | 00:13 |
*** GaryPoster has quit IRC | 00:30 | |
*** bskahan has quit IRC | 01:14 | |
*** GaryPoster has joined #schooltool | 03:21 | |
*** SteveA has joined #schooltool | 03:35 | |
*** SteveA has quit IRC | 05:35 | |
*** SteveA has joined #schooltool | 05:35 | |
*** jagordon_ has joined #schooltool | 06:41 | |
*** SteveA has quit IRC | 06:47 | |
*** bskahan has joined #schooltool | 07:48 | |
*** jagordon_ has quit IRC | 07:48 | |
*** GaryPoster has quit IRC | 07:48 | |
*** SteveA has joined #schooltool | 07:50 | |
bskahan | http://faassen.n--tree.net/blog/view/weblog/2005/04/28/1 | 08:21 |
th1a | mgedmin posted the same thing this afternoon. | 08:23 |
th1a | Maybe we can use it. | 08:24 |
bskahan | worth investigating | 08:25 |
th1a | I've really avoided learning too much about the nuts and bolts of iCalendar :-) | 08:25 |
bskahan | its lgpl not BSD though | 08:25 |
bskahan | heh | 08:25 |
th1a | Oh yeah. | 08:26 |
th1a | That's right. | 08:26 |
*** bskahan has quit IRC | 10:39 | |
*** jhauser has joined #schooltool | 10:48 | |
*** thisfred has joined #schooltool | 13:02 | |
*** SteveA has quit IRC | 13:05 | |
*** SteveA has joined #schooltool | 13:08 | |
*** mgedmin has joined #schooltool | 13:09 | |
*** alga has joined #SchoolTool | 13:34 | |
*** SteveA has quit IRC | 13:44 | |
*** bskahan has joined #schooltool | 14:15 | |
*** bska|mobile has joined #schooltool | 14:15 | |
*** bskahan has quit IRC | 14:15 | |
*** bska|mobile is now known as bskahan | 14:16 | |
mgedmin | http://udu.wiki.ubuntu.com/CalendaringSynchronisation doesn't even mention SchoolBell :( | 14:21 |
bskahan | that's pretty harsh | 14:39 |
bskahan | mentions hula | 14:40 |
bskahan | clearly we need better marketing | 14:40 |
bskahan | particularly considering we have all but one of the Use Cases covered | 14:43 |
*** Aiste has quit IRC | 14:46 | |
*** alga has quit IRC | 14:48 | |
*** Aiste has joined #schooltool | 15:02 | |
*** ignas has joined #schooltool | 15:10 | |
*** jagordon has joined #schooltool | 15:21 | |
jagordon | the IT guys at my school are trying to install schoolbell for us... | 15:21 |
jagordon | they can successfully install it on our local server, but when they try to install it remotely on our main server, which is not on location, they get the following error: | 15:22 |
*** jagordon has quit IRC | 15:24 | |
*** jagordon has joined #schooltool | 15:25 | |
jagordon | hmm... got cut off... | 15:25 |
jagordon | they get this error: | 15:25 |
jagordon | Traceback (most recent call last): | 15:26 |
jagordon | File "schoolbell-server.py", line 28, in ? | 15:26 |
jagordon | import schoolbell.app.main | 15:26 |
jagordon | File "/opt/files-schoolbell-all/schoolbell-1.0/src/schoolbell/app/main.py", line 58, in ? | 15:26 |
jagordon | locale_charset = locale.getpreferredencoding() | 15:26 |
jagordon | File "/usr/lib/python2.3/locale.py", line 417, in getpreferredencoding | 15:26 |
jagordon | setlocale(LC_CTYPE, "") | 15:26 |
jagordon | File "/usr/lib/python2.3/locale.py", line 381, in setlocale | 15:26 |
jagordon | return _setlocale(category, locale) | 15:26 |
jagordon | locale.Error: unsupported locale setting | 15:26 |
jagordon | make: *** [run] Error 1 | 15:26 |
mgedmin | oh? | 15:26 |
jagordon | any ideas what might be going on? | 15:26 |
mgedmin | that looks interesting | 15:26 |
mgedmin | broken locale configuration on the server | 15:27 |
mgedmin | one of LC_CTYPE, LC_ALL, LANG environment variables refer to a locale that is not supported by the system | 15:27 |
jagordon | i think that they had trouble compiling it because some of the dependencies weren't there (?) | 15:27 |
mgedmin | what sort of system is it -- Linux? BSD? Windows? Mac OS X? | 15:27 |
jagordon | so they had to install some of the packages manually | 15:27 |
jagordon | when they installed it on the local machine, the packages were installed automatically, but the remote machine for some reason didn't do that | 15:28 |
jagordon | Linux, should be | 15:28 |
mgedmin | do you know which distribution? | 15:28 |
jagordon | i'll check | 15:28 |
jagordon | we're in beijing, china | 15:29 |
jagordon | don't know if that means we might have an unusual distribution | 15:29 |
mgedmin | it doesn't really matter that much | 15:30 |
mgedmin | some distributions have some scripts that let you generate locales in an easier way | 15:30 |
mgedmin | one workaround is to start the SchoolBell server with this command line: | 15:31 |
mgedmin | LC_ALL=C ./schoolbell-server.py | 15:31 |
mgedmin | the correct solution is to fix the locale configuration on the server | 15:31 |
mgedmin | to verify that this is not just Python/SchoolBell problem you can run perl -- it complains when the system locale is not supported by the C library | 15:32 |
jagordon | haven't gotten an answer yet about which distribution | 15:32 |
jagordon | gotcha | 15:33 |
jagordon | i'll get them to try to LC_ALL=C workaround you've suggested | 15:33 |
jagordon | and get them to try perl | 15:33 |
jagordon | if perl runs without a problem, would that suggest a Python/SchoolBell issue that I should report somewhere? | 15:34 |
mgedmin | it would probably suggest that something is wrong with the Python locale module | 15:34 |
mgedmin | but I think that's very unlikely | 15:34 |
mgedmin | it is very easy to accidentally set LANG or LC_xxx to a locale name and then forget to actually compile the locale definition files with localedef | 15:35 |
mgedmin | I think that's what happened here | 15:35 |
jagordon | thanks | 15:36 |
jagordon | it's 8:30 pm here, so we'll give it a try tomorrow morning | 15:37 |
mgedmin | good luck | 15:41 |
*** faassen has joined #schooltool | 15:46 | |
* faassen waves hi. | 15:46 | |
* mgedmin waves back | 15:48 | |
faassen | hey. | 15:48 |
faassen | I did a drive-by shooting on your mailing list today. :) | 15:48 |
mgedmin | I noticed your yesterday's blog post | 15:50 |
faassen | ah, good. :) | 15:50 |
mgedmin | out of curiosity, have you looked at vobject (Chandler's iCalendar library) when you were looking for Python iCalendar libs? | 15:51 |
faassen | a blog is a very useful propaganda tool. | 15:51 |
faassen | no, I didn't run into that one. the vobject guy posted a comment on my blog. | 15:51 |
mgedmin | we had an email discussion a while ago, about collaborating towards a single Python iCalendar library | 15:52 |
mgedmin | SchoolBell's iCalendar code is GPLed, which prevents more liberally licenced iCal projects from using our code | 15:53 |
mgedmin | Mark didn't want to relicence bits of SchoolBell under a different licence just now | 15:53 |
mgedmin | and the discussion petered out | 15:53 |
faassen | anyway, just glanced at vobject. it seems at first glance a bit lightweight on the tests. | 15:54 |
mgedmin | (the discussion was with the vobject guys -- I forgot to mention this) | 15:54 |
faassen | iCalendar has extensive doctests. | 15:54 |
mgedmin | I looked at the usage examples on the iCalendar web page | 15:54 |
mgedmin | it looks like it would be a very simple matter to use iCalendar (not a very good name BTW) instead of our own iCal parser in SchoolBell | 15:54 |
faassen | yeah, I realize the package name is confusing. | 15:54 |
faassen | yeah, I don't think it'd be hard to adjust schoolbell. | 15:55 |
faassen | I mean, it's good as a package name. | 15:55 |
faassen | it's not good as a project name. | 15:55 |
faassen | darn, seems to be a bug in the code I forgot to adjust, that readme doesn't get doctests. | 15:55 |
faassen | fixed it. | 16:00 |
faassen | small bug in example code. :) | 16:00 |
faassen | should get the readme doctested but that's something for later. | 16:00 |
mgedmin | do you have viewcvs on codespeak.net? | 16:01 |
faassen | nope, codespeak unfortunately doesn't have that. | 16:07 |
faassen | I need to bug the maintainers. :) | 16:07 |
faassen | but you can check the sources through raw svn. | 16:07 |
mgedmin | raw svn doesn't highlight syntax ;) | 16:09 |
mgedmin | I'm spoiled | 16:10 |
*** GaryPoster has joined #schooltool | 16:22 | |
*** auxesis has quit IRC | 17:01 | |
*** auxesis has joined #schooltool | 17:04 | |
mgedmin | http://udu.wiki.ubuntu.com/ZopePackaging mentions schoolbell | 17:49 |
bskahan | if Zope 3.1 makes it into main then school[tool|bell] should be able to as well | 17:54 |
*** alga has joined #SchoolTool | 18:58 | |
*** tvon|desk has quit IRC | 18:58 | |
*** tvon has quit IRC | 18:59 | |
ignas | th1a, ping | 19:06 |
th1a | pong | 19:06 |
ignas | freshmeat page for schooltool is very outdated ... | 19:07 |
th1a | OK. | 19:07 |
ignas | even if only a small amount of users find schooltool through there i think ST 0.8 is a bit too old ;) | 19:08 |
*** FarcePest has quit IRC | 19:10 | |
*** FarcePest has joined #schooltool | 19:13 | |
*** tvon|desk has joined #schooltool | 19:38 | |
*** tvon has joined #schooltool | 19:38 | |
*** thisfred has quit IRC | 19:44 | |
*** faassen has quit IRC | 19:58 | |
bskahan | in schooltool I created an ISchoolToolGroupContainer as a subclass of IGroupContainer to add ISection and ICourse to the contains constraint | 20:09 |
bskahan | damn, have to run | 20:10 |
bskahan | bbiab | 20:10 |
*** ignas has quit IRC | 20:19 | |
*** bskahan has quit IRC | 20:20 | |
*** bskahan has joined #schooltool | 21:06 | |
* bskahan cheers 3531 | 21:08 | |
bskahan | back to the question I started to ask earlier | 21:44 |
bskahan | what's the appropriate way to provide multiple types of FileFactories for IGroupContainer | 21:45 |
alga | file factories? | 21:46 |
bskahan | ApplicationObjectFileFactory subclasses | 21:46 |
mgedmin | bskahan, are you talking about creating different sorts of thingies from the REST interface? | 21:47 |
mgedmin | groups, sections, courses -- that sort of thing? | 21:47 |
bskahan | yes, creating multiple types of objects in one container | 21:47 |
th1a | bskahan: just pinged Tollef at UBU about SchoolBell & calendar sync. | 21:47 |
bskahan | th1a: cool | 21:47 |
mgedmin | bskahan, just use one factory | 21:49 |
mgedmin | make it look at the XML it received | 21:49 |
bskahan | specify the type in XML | 21:49 |
mgedmin | and then return different kinds of objects | 21:49 |
bskahan | ok | 21:49 |
bskahan | just wanted to make sure that was the right way (tm) | 21:50 |
alga | what should the type depend on? | 21:50 |
mgedmin | maybe the top-level element? | 21:50 |
mgedmin | <group title="..." /> | 21:50 |
mgedmin | <course title="..."> extra data whatever ... </course> | 21:51 |
alga | yeah, looks fine | 21:51 |
*** hazmat has joined #schooltool | 21:51 | |
alga | the course will also have to be added to the courses group, won't it? | 21:52 |
bskahan | alga: I'm not sure about that yet | 21:52 |
bskahan | I think the courses group can go away in favor of filtering for ICourse | 21:53 |
*** mgedmin has quit IRC | 21:56 | |
*** Aiste has quit IRC | 22:07 | |
bskahan | <element name="object"><group><attribute name="title"><text/></attribute></group></element> | 22:07 |
bskahan | alga: something like that? | 22:07 |
bskahan | have to run again, ttyl | 22:10 |
*** bskahan has quit IRC | 22:10 | |
alga | yep | 22:34 |
alga | you'll want to use <choice> for a list of different tags accepted there | 22:34 |
*** alga has quit IRC | 22:34 | |
*** tvon has quit IRC | 22:53 | |
*** tvon has joined #schooltool | 22:54 | |
*** GaryPoster has quit IRC | 23:01 | |
*** Aiste has joined #schooltool | 23:23 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!