IRC log of #schooltool for Thursday, 2005-06-02

povbot/svn/commits: * jinty committed revision 4033:01:04
povbot/svn/commits: Reject translation downloaded from rosetta by default if the number of lines they contain is less than 50% of the old file.01:04
povbot/svn/commits: Also some cleanups.01:04
povbot/svn/commits: * jinty committed revision 4034:01:07
povbot/svn/commits: Back-ported 403201:07
povbot/svn/commits: * jinty committed revision 4035:01:08
povbot/svn/commits: Documentation fix01:08
povbot/svn/commits: * jinty committed revision 4036:01:13
povbot/svn/commits: add some usage01:13
povbot/svn/commits: * jinty committed revision 4037:01:44
povbot/svn/commits: Fix schoolbell translations.01:44
povbot/svn/commits: * jinty committed revision 4038:01:46
povbot/svn/commits: Make update-translations fail properly.01:46
*** bskahan has joined #schooltool02:35
*** bskahan has quit IRC02:51
povbot/svn/commits: * bskahan committed revision 4039:05:04
povbot/svn/commits: fix for issue265, marking done-cbb since the the __parent__ reference should view code not in tal.  Jinty, this probably should considered for backporting.05:04
*** SteveA|afk is now known as SteveA09:32
*** Aiste has joined #schooltool10:43
*** erchache has joined #schooltool10:54
*** th1a has quit IRC10:54
*** erchache has quit IRC10:54
*** thisfred has joined #schooltool11:37
*** Aiste has quit IRC12:33
*** Aiste has joined #schooltool12:48
*** ignas has joined #schooltool13:11
*** alga has joined #SchoolTool13:16
povbot/svn/commits: * gintas committed revision 4040:13:46
povbot/svn/commits: Added missing security declaration.13:46
povbot/svn/commits: * gintas committed revision 4041:13:48
povbot/svn/commits: Brown paper bag commit.13:48
*** srichter has quit IRC14:10
*** srichter has joined #schooltool15:24
*** bskahan has joined #schooltool15:36
povbot/svn/commits: * jinty committed revision 4042:15:59
povbot/svn/commits: Shut up make get-rosetta-translations.15:59
povbot/svn/commits: * jinty committed revision 4043:16:20
povbot/svn/commits: Cruft cleanup day for schoolbell/debian - remove the database compatibility code.16:20
povbot/svn/commits: * ignas committed revision 4044:17:17
povbot/svn/commits: A fix for Issue266 (removing events that book resources). Must be backported.17:18
*** ParadingLunatic has joined #schooltool17:19
ParadingLunaticI'm trying to get some info on upgrading my schooltool 1.0 installation to 1.1 without loosing my previous set up.  I'm currently running on a windows setup (although that might change) and I just extracted the new version on top of the old version and it reset everything but my config file17:22
bskahanParadingLunatic: make a backup copy of your Data.fs file, that's where all your information is stored17:25
bskahanthe new version should upgrade automatically on first run17:25
ParadingLunaticok...I'll give that a try17:27
bskahando make a backup though, none of the developers use windows so you may be in slightly uncharted territory ;)17:28
bskahanI have to go out for about 45 minutes, but I'll be happy to help you with it when I get back17:28
ParadingLunatichehe..yeah I figured as much.  First thing I did was make a backup of my schoobell 1.0 directoyr17:29
bskahanthe Data.fs is the crucial part17:29
bskahanI'll be back in a bit, if you run into problems, please file them at issues.schooltool.org17:30
ParadingLunaticwill do17:32
*** th1a has joined #schooltool18:23
*** alga has quit IRC18:32
bskahanParadingLunatic: how's it going?18:39
ParadingLunaticwell I copied the data.fs file from my backup to the 1.1 directory, then started up schoolbell and it still was set to default.  so just in case I started up schoolbell from the backup directory and it ran like normal18:41
bskahanthe upgraded copy doesn't have your old data?18:45
ParadingLunaticit did have my old data.  basically I made a duplicate of the 1.0 folder, then extracted the 1.1 files to the new folder..then ran the server and it seemed to reset the database.  So I shut the server down and overwrote the data.fs file and then restarted and it came up as a freshly initialized db again18:48
ParadingLunaticso just in case, I went to my old 1.0 folder and started schoolbell there to make sure it's database was ok, and it was18:48
th1aOh yeah, we should have some upgrading instructions.18:49
ignasth1a, could you look at Issu266 ?18:58
ignasi am not sure what should be the proper behaviour of events that book resources ...18:58
ignasif one removes an event from a resource calendar what should happen ?18:59
ignasthe resource should be unbooked18:59
ignasor the whole event should be deleted18:59
th1aIf you delete the event, the booking should be deleted too.19:00
ignasyes that's clear19:00
th1aI mean, if you delete the original event.19:00
ignasbut the event is shown in multiple calendars19:00
ignasif you dleete it in persons calendar - the event gets zaped19:00
ignasbut what about deleting it from the calendar of the resource ? should it be treated differently ?19:00
th1aI would say that if you delete it from the calendar of the resource, then just the booking should be cancelled.19:01
th1aHowever, if that is a huge headache, I don't know...19:01
ignaswell, it's like 70% done, and 30% not done ...19:02
ParadingLunaticahh...I kinda got it now.  I started over from scratch and changed my schoolbell.conf file and added the line "create no" for the database.  only problem is now, it seems like my own calendar is lost.  When I try to view my own calendar I get "A system error has occured.19:02
ParadingLunatic"  but all other calendars seem to work19:02
th1aGo ahead and do that.19:02
bskahanmaybe you shouldn't be able to delete it from the calendar of the resource19:02
th1aWell, if you have "delete" permission for the resource, you should be able to.19:03
ignasbskahan, well the more complexside (i am not thinking about yet) is - what if you got a permission to delete something from a calendar of a resource yet you haven't got the permission to delete events from the bookers calendar ...19:03
th1aParadingLunatic:  So you can't just copy Data.fs into the 1.1 directory?19:03
th1aIf you have delete permission for the resource, the assumption is that you're allowed to override other bookings.19:04
th1aBut you can't cancel other events.19:04
ParadingLunaticth1a: it didn't work the first time.  The second time I deleted my 1.1 directory, then made a new copy of my 1.0 directory and just renamed it to schoolbell1.1.  Then extracted the 1.1 files to the new 1.1 directory and changed the schoolbell.conf file.  The first time I just extracted and ran the server and it seemed to reinitialize the data.fs file each time19:05
bskahanwhat's the error report URL, I just deleted my .firefox directory so its not in my history any more19:06
bskahanignas: thanks19:06
bskahanParadingLunatic: can you hit that URL and tell us what the error says19:07
ParadingLunaticodd.  when I first put it in it says I don't have access to the page..even though my account has full access.  Then when I put in my login info, it says the page can't be found19:11
bskahanthat's annoying19:11
th1aIs it the 'manager' page or your personal one?19:11
ParadingLunaticI just tried it with the manager the page is not accessible error19:12
ParadingLunaticit looks like it's only my calendar thats botched though.19:12
ParadingLunaticall the other accounts seem to be in good shape19:13
bskahanthat's frustrating19:13
bskahanare you using the 1.1 final release or the RC?19:14
ParadingLunaticnow this is running on a windows box with python 2.3...not sure if that makes a big difference or not19:14
ParadingLunaticthe final19:14
bskahanParadingLunatic: you can hit: http://localhost:7080/19:18
bskahanas the front page of your schoolbell instance?19:18
bskahancan you hit http://localhost:7080/++etc++site/default/19:19
bskahan /++etc++site/default/ErrorReporting19:20
bskahanthat should be it19:20
ParadingLunaticok..thats odd.  logged in as the manager I can view the calendar to my account19:25
th1aI had a feeling that might be the case.19:25
th1aCan you change your password?19:26
ParadingLunaticchange the password on my account while logged in as manager?19:27
ParadingLunaticyup.  I was able to19:28
th1aSee if your account works as it should now.19:29
ParadingLunaticnope.  same problem19:30
ParadingLunaticnow I just tried logging in with one of the other accounts and they worked fine.  so it definitly seems like it's only my account being strange19:32
bskahanOSX tiger users should use the tarball that say (Linux)?19:35
th1aThey can... although they have to install the libxml2 bindings, I believe.19:36
th1aFor libxml 2.6.16, I believe.19:36
bskahanwhich one should they use?19:36
bskahanto use that one they'll have to have the developer packages from Xcode, correct?19:38
bskahanor does the make/gcc toolchain install by default?19:38
th1aNo... they just need to do 'python'19:38
th1aFrom the Python directory.19:39
bskahanis a bit confusing19:40
bskahan"You don't need to do this step if you're using the Mac OS X package for Jaguar (which you can also use with Tiger, if you feel like it)."19:40
th1aWell, you can use it with Tiger, if you feel like it.19:41
th1aI need to get libxml into a tarball.19:41
th1afor Tiger.19:41
bskahanthere's no jaguar package19:42
bskahanthere's a panther package19:42
th1aOh, wrong cat.19:42
th1aI'll fix that.19:42
th1aCan't keep the damn cats straight.19:43
bskahanso I can get that package for tiger and I won't have to install libxml?19:43
th1aThe problem is that Tiger comes with libxml and Python, but not the bindings, as far as I know, and installing the bindings, as you see, is terribly fucking confusing.19:43
bskahan(if it was my laptop I would just install things untill it worked)19:44
bskahansince I'm under explicit instruction not to change anything ...19:44
th1aSo I'd like to have a Tiger package which just included the bindings but not a whole Python like the Panther package.19:44
bskahanI get it19:45
th1aThe only reason not to use the Panther package is that it is big.19:45
th1aBut maybe I should just get over it and tell people to use it for simplicity's sake.19:45
th1aOr spend an hour figuring out how to put the libxml package in the right place.19:45
th1aI suppose it is sitting in my site-packages folder right now, and I could just pull it out of there.19:46
th1aLet me see...19:46
bskahanI think ease of install trumps download size19:48
th1aYou're probably right.19:48
bskahanbut, if you find the libxml bindings package, it wouldn't be hard to add a mac-install rule to the Makefile19:49
th1aYes, if you knew how to do that kind of thing, which I don't.19:50
th1aThe bindings are included in the libxml tarball.19:50
th1aThat is probably ultimately the right answer.19:51
bskahanah, I was also confused because I followed the link on our download page19:52
bskahanand I couldn't find the "Python bindings are here, you dummy" link19:52
th1aWell, dealing with installing libxml2 is a pain in the ass all around, which is why I was bummed by its return.19:53
th1aWe really don't want people dealing with that website.19:53
bskahanwe're confident that the c libs are installed in tiger by default?19:55
bskahanso we just need to pull the python bindings out and get them into an installable state19:55
bskahanthen I think its worth offering our own pylibxml tarball for tiger users19:55
th1aFor libxml 2.6.1619:56
th1aYeah.  I just don't know how to do it myself.  Especially when I'm tired and I have a cold.19:56
bskahanI just got the package, I'll see what I can do19:57
bskahanone nice way to release for mac/win is to release the "Personal Calendar" package20:03
bskahanthat will install on your computer and run at on port 8020:04
bskahan(and auto start)20:04
bskahans/is/might be/20:04
th1aWell, I wouldn't use it for that.20:05
bskahanstupid ical20:05
bskahanth1a: based on the readme in libxml2/python it looks like that directory may be standalone installable20:09
th1aI was puzzled about that.20:09
bskahanprobably, python build, then distribute that folder20:10
bskahanfor persons without GCC installed20:10
bskahani got the tarball, did, % configure; make; cd python; python build; python install20:11
th1aOh, yeah, build but not install.20:11
bskahanand now schooltool works20:12
bskahanif you run the "build" command, that should compile all the libs, people can run the install step without the GCC toolchain I suspect20:12
th1aCan I just put the module under src in the tarball?20:13
th1aWon't it be in the path then?20:13
bskahanit will the way I run it20:14
bskahanwhat happens after % make install20:14
bskahanis the question20:14
th1aso now I have a build directory with ", and"20:16
th1aBut I can't just copy those into the ST tarball?20:18
bskahanif you put them in src, and people run schooltool from the unpacked directory, everything will probably work20:19
bskahanbut if people do make install, then it won't20:19
bskahanbecause those files will remain in the package directory20:20
th1aUnless we update the makefile.20:20
bskahanI'm going to run out of time today, but I think we could get this together tomorrow20:21
th1aOK.  Thanks.20:21
bskahanand have it ready for the final release20:21
th1aWhatever makes most sense.20:21
*** ParadingLunatic has quit IRC20:22
*** thisfred has quit IRC20:32
bskahanyou can't just click on in finder to start it20:38
*** bskahan has quit IRC20:40
th1aWell, there's much, much more that could be done to make it truly mac-like.20:40
*** Aiste has quit IRC21:56
*** ignas has quit IRC21:56
*** Aiste has joined #schooltool22:12
*** Aiste has quit IRC22:39
*** tvon has joined #schooltool22:55

Generated by 2.15.1 by Marius Gedminas - find it at!