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 4032 | 01:07 |
povbot | /svn/commits: * jinty committed revision 4035: | 01:08 |
povbot | /svn/commits: Documentation fix | 01:08 |
povbot | /svn/commits: * jinty committed revision 4036: | 01:13 |
povbot | /svn/commits: add some usage | 01: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 #schooltool | 02:35 | |
*** bskahan has quit IRC | 02: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 SteveA | 09:32 | |
*** Aiste has joined #schooltool | 10:43 | |
*** erchache has joined #schooltool | 10:54 | |
erchache | hi | 10:54 |
*** th1a has quit IRC | 10:54 | |
*** erchache has quit IRC | 10:54 | |
*** thisfred has joined #schooltool | 11:37 | |
*** Aiste has quit IRC | 12:33 | |
*** Aiste has joined #schooltool | 12:48 | |
*** ignas has joined #schooltool | 13:11 | |
*** alga has joined #SchoolTool | 13: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 IRC | 14:10 | |
*** srichter has joined #schooltool | 15:24 | |
*** bskahan has joined #schooltool | 15: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 #schooltool | 17:19 | |
ParadingLunatic | I'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 file | 17:22 |
ParadingLunatic | err...schoolbell...sorry | 17:22 |
bskahan | ParadingLunatic: make a backup copy of your Data.fs file, that's where all your information is stored | 17:25 |
bskahan | the new version should upgrade automatically on first run | 17:25 |
ParadingLunatic | ok...I'll give that a try | 17:27 |
bskahan | do make a backup though, none of the developers use windows so you may be in slightly uncharted territory ;) | 17:28 |
bskahan | I have to go out for about 45 minutes, but I'll be happy to help you with it when I get back | 17:28 |
ParadingLunatic | hehe..yeah I figured as much. First thing I did was make a backup of my schoobell 1.0 directoyr | 17:29 |
bskahan | the Data.fs is the crucial part | 17:29 |
bskahan | I'll be back in a bit, if you run into problems, please file them at issues.schooltool.org | 17:30 |
ParadingLunatic | will do | 17:32 |
*** th1a has joined #schooltool | 18:23 | |
*** alga has quit IRC | 18:32 | |
bskahan | ParadingLunatic: how's it going? | 18:39 |
ParadingLunatic | well 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 normal | 18:41 |
bskahan | the upgraded copy doesn't have your old data? | 18:45 |
ParadingLunatic | it 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 again | 18:48 |
ParadingLunatic | so 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 was | 18:48 |
th1a | Oh yeah, we should have some upgrading instructions. | 18:49 |
ignas | th1a, could you look at Issu266 ? | 18:58 |
ignas | i am not sure what should be the proper behaviour of events that book resources ... | 18:58 |
ignas | if one removes an event from a resource calendar what should happen ? | 18:59 |
ignas | the resource should be unbooked | 18:59 |
ignas | or the whole event should be deleted | 18:59 |
th1a | If you delete the event, the booking should be deleted too. | 19:00 |
ignas | yes that's clear | 19:00 |
th1a | I mean, if you delete the original event. | 19:00 |
ignas | but the event is shown in multiple calendars | 19:00 |
ignas | if you dleete it in persons calendar - the event gets zaped | 19:00 |
ignas | but what about deleting it from the calendar of the resource ? should it be treated differently ? | 19:00 |
th1a | I would say that if you delete it from the calendar of the resource, then just the booking should be cancelled. | 19:01 |
th1a | However, if that is a huge headache, I don't know... | 19:01 |
ignas | well, it's like 70% done, and 30% not done ... | 19:02 |
ParadingLunatic | ahh...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 work | 19:02 |
th1a | Go ahead and do that. | 19:02 |
bskahan | maybe you shouldn't be able to delete it from the calendar of the resource | 19:02 |
th1a | Well, if you have "delete" permission for the resource, you should be able to. | 19:03 |
ignas | bskahan, 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 |
th1a | ParadingLunatic: So you can't just copy Data.fs into the 1.1 directory? | 19:03 |
th1a | If you have delete permission for the resource, the assumption is that you're allowed to override other bookings. | 19:04 |
th1a | But you can't cancel other events. | 19:04 |
ParadingLunatic | th1a: 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 time | 19:05 |
bskahan | what's the error report URL, I just deleted my .firefox directory so its not in my history any more | 19:06 |
ignas | http://localhost:7080/++etc++site/default/RootErrorReportingUtility | 19:06 |
bskahan | ignas: thanks | 19:06 |
bskahan | ParadingLunatic: can you hit that URL and tell us what the error says | 19:07 |
ParadingLunatic | odd. 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 found | 19:11 |
bskahan | that's annoying | 19:11 |
th1a | Is it the 'manager' page or your personal one? | 19:11 |
ParadingLunatic | I just tried it with the manager account..got the page is not accessible error | 19:12 |
ParadingLunatic | it looks like it's only my calendar thats botched though. | 19:12 |
ParadingLunatic | all the other accounts seem to be in good shape | 19:13 |
bskahan | that's frustrating | 19:13 |
bskahan | are you using the 1.1 final release or the RC? | 19:14 |
ParadingLunatic | now this is running on a windows box with python 2.3...not sure if that makes a big difference or not | 19:14 |
ParadingLunatic | the final | 19:14 |
bskahan | ParadingLunatic: you can hit: http://localhost:7080/ | 19:18 |
bskahan | as the front page of your schoolbell instance? | 19:18 |
ParadingLunatic | yup | 19:19 |
bskahan | can you hit http://localhost:7080/++etc++site/default/ | 19:19 |
bskahan | /++etc++site/default/ErrorReporting | 19:20 |
bskahan | that should be it | 19:20 |
ParadingLunatic | ok..thats odd. logged in as the manager I can view the calendar to my account | 19:25 |
th1a | I had a feeling that might be the case. | 19:25 |
th1a | Can you change your password? | 19:26 |
ParadingLunatic | change the password on my account while logged in as manager? | 19:27 |
th1a | Yeah. | 19:28 |
ParadingLunatic | yup. I was able to | 19:28 |
th1a | See if your account works as it should now. | 19:29 |
ParadingLunatic | nope. same problem | 19:30 |
th1a | Hm. | 19:30 |
ParadingLunatic | now 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 strange | 19:32 |
bskahan | th1a: http://www.schooltool.org/releases/schooltool0.10/rc1/ | 19:35 |
bskahan | OSX tiger users should use the tarball that say (Linux)? | 19:35 |
th1a | They can... although they have to install the libxml2 bindings, I believe. | 19:36 |
th1a | For libxml 2.6.16, I believe. | 19:36 |
bskahan | which one should they use? | 19:36 |
bskahan | to use that one they'll have to have the developer packages from Xcode, correct? | 19:38 |
bskahan | or does the make/gcc toolchain install by default? | 19:38 |
th1a | No... they just need to do 'python setup.py' | 19:38 |
th1a | From the Python directory. | 19:39 |
bskahan | http://www.schooltool.org/releases/schooltool0.10/ | 19:40 |
bskahan | is a bit confusing | 19: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 |
th1a | Well, you can use it with Tiger, if you feel like it. | 19:41 |
th1a | I need to get libxml into a tarball. | 19:41 |
th1a | for Tiger. | 19:41 |
bskahan | there's no jaguar package | 19:42 |
bskahan | there's a panther package | 19:42 |
th1a | Oh, wrong cat. | 19:42 |
th1a | I'll fix that. | 19:42 |
bskahan | :) | 19:42 |
th1a | Can't keep the damn cats straight. | 19:43 |
bskahan | so I can get that package for tiger and I won't have to install libxml? | 19:43 |
th1a | The 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 |
bskahan | since I'm under explicit instruction not to change anything ... | 19:44 |
th1a | So I'd like to have a Tiger package which just included the bindings but not a whole Python like the Panther package. | 19:44 |
bskahan | ah | 19:45 |
bskahan | I get it | 19:45 |
th1a | The only reason not to use the Panther package is that it is big. | 19:45 |
th1a | But maybe I should just get over it and tell people to use it for simplicity's sake. | 19:45 |
th1a | Or spend an hour figuring out how to put the libxml package in the right place. | 19:45 |
th1a | I suppose it is sitting in my site-packages folder right now, and I could just pull it out of there. | 19:46 |
th1a | Let me see... | 19:46 |
bskahan | I think ease of install trumps download size | 19:48 |
th1a | You're probably right. | 19:48 |
bskahan | but, if you find the libxml bindings package, it wouldn't be hard to add a mac-install rule to the Makefile | 19:49 |
th1a | Yes, if you knew how to do that kind of thing, which I don't. | 19:50 |
th1a | The bindings are included in the libxml tarball. | 19:50 |
th1a | That is probably ultimately the right answer. | 19:51 |
bskahan | ah, I was also confused because I followed the link on our download page | 19:52 |
bskahan | and I couldn't find the "Python bindings are here, you dummy" link | 19:52 |
th1a | Well, dealing with installing libxml2 is a pain in the ass all around, which is why I was bummed by its return. | 19:53 |
th1a | We really don't want people dealing with that website. | 19:53 |
bskahan | we're confident that the c libs are installed in tiger by default? | 19:55 |
th1a | Yeah. | 19:55 |
bskahan | so we just need to pull the python bindings out and get them into an installable state | 19:55 |
th1a | Yeah. | 19:55 |
bskahan | then I think its worth offering our own pylibxml tarball for tiger users | 19:55 |
th1a | For libxml 2.6.16 | 19:56 |
bskahan | ok | 19:56 |
th1a | Yeah. I just don't know how to do it myself. Especially when I'm tired and I have a cold. | 19:56 |
bskahan | :) | 19:56 |
bskahan | I just got the package, I'll see what I can do | 19:57 |
bskahan | one nice way to release for mac/win is to release the "Personal Calendar" package | 20:03 |
bskahan | that will install on your computer and run at http://127.0.0.1 on port 80 | 20:04 |
bskahan | (and auto start) | 20:04 |
bskahan | s/is/might be/ | 20:04 |
th1a | Well, I wouldn't use it for that. | 20:05 |
bskahan | stupid ical | 20:05 |
bskahan | th1a: based on the readme in libxml2/python it looks like that directory may be standalone installable | 20:09 |
th1a | I was puzzled about that. | 20:09 |
bskahan | probably, python setup.py build, then distribute that folder | 20:10 |
bskahan | for persons without GCC installed | 20:10 |
bskahan | i got the tarball, did, % configure; make; cd python; python setup.py build; python setup.py install | 20:11 |
th1a | Oh, yeah, build but not install. | 20:11 |
bskahan | and now schooltool works | 20:12 |
th1a | Duh! | 20:12 |
bskahan | if you run the "build" command, that should compile all the libs, people can run the install step without the GCC toolchain I suspect | 20:12 |
th1a | Can I just put the module under src in the tarball? | 20:13 |
th1a | Won't it be in the path then? | 20:13 |
bskahan | heh | 20:14 |
bskahan | it will the way I run it | 20:14 |
bskahan | what happens after % make install | 20:14 |
bskahan | is the question | 20:14 |
th1a | so now I have a build directory with "libxml2.py, drv_libxml2.py and libxml2mod.so" | 20:16 |
th1a | But I can't just copy those into the ST tarball? | 20:18 |
bskahan | if you put them in src, and people run schooltool from the unpacked directory, everything will probably work | 20:19 |
bskahan | but if people do make install, then it won't | 20:19 |
bskahan | because those files will remain in the package directory | 20:20 |
th1a | Unless we update the makefile. | 20:20 |
bskahan | right | 20:20 |
bskahan | I'm going to run out of time today, but I think we could get this together tomorrow | 20:21 |
th1a | OK. Thanks. | 20:21 |
bskahan | and have it ready for the final release | 20:21 |
th1a | Whatever makes most sense. | 20:21 |
*** ParadingLunatic has quit IRC | 20:22 | |
*** thisfred has quit IRC | 20:32 | |
bskahan | you can't just click on schooltool-server.py in finder to start it | 20:38 |
*** bskahan has quit IRC | 20:40 | |
th1a | Well, there's much, much more that could be done to make it truly mac-like. | 20:40 |
*** Aiste has quit IRC | 21:56 | |
*** ignas has quit IRC | 21:56 | |
*** Aiste has joined #schooltool | 22:12 | |
*** Aiste has quit IRC | 22:39 | |
*** tvon has joined #schooltool | 22:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!