*** aethyr has quit IRC | 01:02 | |
*** aethyr has joined #schooltool | 01:04 | |
*** aethyr has quit IRC | 01:07 | |
*** aethyr has joined #schooltool | 01:09 | |
*** aethyr has joined #schooltool | 03:12 | |
*** bskahan has quit IRC | 04:26 | |
th1a | God, it's snowing again. | 04:37 |
---|---|---|
th1a | What do I need to do to have a case of beer delivered to jinty in Spain? | 04:55 |
*** aethyr has left #schooltool | 05:15 | |
*** SteveA has joined #schooltool | 10:21 | |
*** Aiste has joined #schooltool | 10:43 | |
*** thisfred has joined #schooltool | 11:07 | |
*** d2m has quit IRC | 11:10 | |
*** d2m has joined #schooltool | 12:06 | |
*** pips has joined #schooltool | 13:35 | |
pips | hi, i just tried to have a look at schoolbell 1.0rc1 but unfortunately i didn't get very far... i ran into an error with make test | 13:37 |
pips | ImportError: /home/philipp/download/schoolbell-1.0rc1/Zope3/src/zope/proxy/_zope_proxy _proxy.so: undefined symbol: PyUnicodeUCS4_AsEncodedString | 13:38 |
pips | that's all the feedback i can offer for now :-/ | 13:40 |
pips | bye | 13:40 |
*** pips has left #schooltool | 13:40 | |
*** mgedmin has joined #schooltool | 15:09 | |
*** alga has joined #SchoolTool | 15:22 | |
*** mgedmin has quit IRC | 15:50 | |
*** gintas has joined #schooltool | 16:27 | |
*** mgedmin has joined #schooltool | 16:39 | |
*** gintas has quit IRC | 16:50 | |
* mgedmin trying out schoolbell-1.0rc1 tarball | 17:17 | |
*** gintas has joined #schooltool | 17:31 | |
*** mgedmin has quit IRC | 17:33 | |
*** alga has quit IRC | 18:15 | |
*** tvon has quit IRC | 18:23 | |
*** jinty has joined #schooltool | 18:38 | |
jinty | oops! we seem to have .so files in our tarballs. | 18:42 |
*** tvon has joined #schooltool | 19:22 | |
*** Aiste has quit IRC | 19:26 | |
*** Aiste has joined #schooltool | 19:28 | |
*** mgedmin has joined #schooltool | 19:29 | |
*** alga has joined #SchoolTool | 19:40 | |
th1a | mgedmin: What I'm trying to do is set up multiple SchoolBell instances in one Zope 3 install. | 20:08 |
mgedmin | ok | 20:11 |
th1a | At this point, I can't just run Zope 3 from our tarball, because we've stripped it down, right? | 20:11 |
*** Aiste has quit IRC | 20:13 | |
mgedmin | I don't know, I haven't tried it | 20:16 |
mgedmin | probably you're right | 20:16 |
th1a | Is it better technique to move src/schoolbell to into my Zope's src directory, or to change Zope's path? | 20:16 |
mgedmin | I'd change Zope's path | 20:16 |
th1a | OK. | 20:16 |
mgedmin | it's just a matter of adding 'path /path/to/somewhere' to zope.conf iirc | 20:17 |
th1a | I think so. | 20:17 |
jinty | btw, I want to make another tarball today, rc2, without *.so files | 20:20 |
jinty | thoughts? | 20:20 |
mgedmin | one moment | 20:20 |
mgedmin | I'm not sure about half of gintas's logging related changes | 20:21 |
mgedmin | also, I'm going to take a look at the contents of rc1 and give you feedback | 20:21 |
mgedmin | I started doing this, but was interruped by some university business | 20:22 |
jinty | ok then, perhaps we should wait one ot two days if there is anything else. | 20:23 |
jinty | Thanks. | 20:24 |
th1a | I think waiting a day or two is a good idea. | 20:24 |
mgedmin | I think one day would be enough | 20:24 |
th1a | Does anyone have any idea of what pips might have been referring to above? | 20:24 |
* jinty is ashame about letting nasty things it tarballs | 20:24 | |
mgedmin | I want to set up sb 1.0 rc1 on the same host where calendar.pov.lt runs now | 20:24 |
mgedmin | and try importing current data | 20:25 |
jinty | pehaps pips is using windows | 20:25 |
mgedmin | .so files are not used on windows | 20:25 |
jinty | well there goes that theory then | 20:25 |
mgedmin | jinty, where do you want my comments on the contents of the tarball? | 20:25 |
mgedmin | mail to schoolbell-dev? | 20:25 |
mgedmin | pips's error indicates that the .so file does not match his python version | 20:26 |
jinty | yep, or here. I read the logs. | 20:26 |
th1a | Which is why they need to be removed, I guess. | 20:26 |
jinty | ah. | 20:26 |
* th1a doesn't remember what .so files do. | 20:27 | |
mgedmin | compiled extension modules | 20:27 |
jinty | mgedmin: you going to try the packages? <wink> | 20:28 |
th1a | Ah. | 20:28 |
*** jinty has quit IRC | 20:31 | |
gintas | mgedmin, I'll revert that part of my logging changes then | 20:41 |
mgedmin | gintas, have you noticed my uncertainity? | 20:41 |
gintas | well, yeah, but you're usually right | 20:42 |
*** bskahan has joined #schooltool | 20:42 | |
gintas | in Marius I trust ;) | 20:42 |
mgedmin | I *think* the changes in question are bogus, I haven't actually tried to prove that | 20:42 |
gintas | well, you better make up your mind then | 20:42 |
mgedmin | I'm working on something else | 20:43 |
mgedmin | can't you test it somehow? | 20:43 |
gintas | ok | 20:43 |
gintas | not sure how | 20:43 |
mgedmin | remove those lines, look for warnings | 20:43 |
mgedmin | cause a transaction to fail or something | 20:43 |
gintas | how do I do that? | 20:44 |
mgedmin | ok, I will do that | 20:46 |
mgedmin | but not now | 20:46 |
gintas | ok | 20:46 |
gintas | just wanted to make sure that this doesn't get accidentally dropped off the stack | 20:46 |
mgedmin | roundup is, obviously, inconvenient | 20:47 |
mgedmin | or we would just file bugs for issues that we don't want to accidentally forget | 20:47 |
gintas | I expected this problem to be quickly solvable | 20:48 |
mgedmin | I hoped to hear that you had actually solved it ;) | 20:49 |
mgedmin | something "yeah, I did this and saw the warning, but when I added those extra lines, the warning disappeared" | 20:49 |
mgedmin | oh, jinty left already... | 20:52 |
tvon | mgedmin: the povbot makes the plaintext irc logs, right? | 20:54 |
mgedmin | yes | 20:54 |
tvon | whats the bot? | 20:54 |
mgedmin | supybot | 20:54 |
tvon | ah, thanks | 20:54 |
*** alga has quit IRC | 20:56 | |
tvon | mgedmin: typo in irclog2html.py, says its a python port of irclog2html.py (as opposed to .pl) | 21:29 |
mgedmin | interesting: http://trevp.net/tlslite/ | 21:29 |
mgedmin | a pure python TLS/SSL implementation | 21:31 |
mgedmin | it integrates with twisted, but not with zope 3, though | 21:31 |
mgedmin | tvon, thanks | 21:31 |
*** mgedmin has quit IRC | 21:46 | |
*** mgedmin has joined #schooltool | 21:46 | |
* mgedmin found a bug in db export script | 22:02 | |
mgedmin | UnicodeEncodeError: 'ascii' codec can't encode character u'\u017e' in position 659: ordinal not in range(128) | 22:02 |
tvon | ew | 22:02 |
tvon | when? | 22:02 |
bskahan | an xml entity issue | 22:03 |
tvon | passwords maybe | 22:03 |
tvon | probably | 22:03 |
mgedmin | calendar actually | 22:04 |
mgedmin | line 170 of schoolbell-export.py | 22:04 |
*** Voblia is now known as Homeblia | 22:04 | |
mgedmin | I'll just commit the fix to the trunk | 22:04 |
tvon | cool, thanks | 22:05 |
mgedmin | I know have a schoolbell-export.xml file! | 22:09 |
*** Aiste has joined #schooltool | 22:09 | |
mgedmin | it's just two lines | 22:09 |
mgedmin | the second line is 3409 characters wide ;) | 22:09 |
bskahan | where we're going we won't need <CR> | 22:10 |
mgedmin | heh, file *.ics identifies all ical files as "awk script text" | 22:11 |
mgedmin | jikes, svn commit spawned mcedit for some reason | 22:12 |
* mgedmin hates mcedit | 22:12 | |
mgedmin | update-alternatives --config editor | 22:13 |
* mgedmin commits schoolbell-export.py fix (one-liner) | 22:14 | |
tvon | I almost used PrettyPrinter so the xml would be readable | 22:15 |
mgedmin | revision 3126. | 22:15 |
mgedmin | btw, run-export.sh says this about DUMPDIR | 22:16 |
mgedmin | "Usually leaving it alone is fine unless you don't have write permissions to /tmp." | 22:16 |
mgedmin | however the default DUMPDIR is /var/schooltool | 22:16 |
mgedmin | (and I'd like it to be /var/schooltool/dump or something like that) | 22:16 |
tvon | okay | 22:17 |
mgedmin | actually, doesn't schoolbell 0.9 keep its data in /var/schoolbell? | 22:18 |
mgedmin | not /var/schooltool? | 22:18 |
mgedmin | or is it /var/lib/schoolbell? | 22:19 |
tvon | is jinty still sans-irc? | 22:19 |
Aiste | I saw Jinty about 3 hours ago here | 22:21 |
th1a | tvon: pretty printing is advisable. | 22:24 |
mgedmin | yippee, the import was successful! | 22:24 |
tvon | th1a: of the xml? it's never really intended to be looked at | 22:26 |
tvon | :%s/>/>^M/g helps though | 22:26 |
tvon | if you need too | 22:26 |
* mgedmin found the first bug | 22:27 | |
th1a | If there is a problem you'll be happy it is readable. | 22:27 |
tvon | true | 22:27 |
th1a | I just sent a bug do the dev list. | 22:27 |
tvon | I'll see what it would take to use prettyprinter | 22:27 |
mgedmin | I have a calendar event that starts at 00:00 with duration of 0 minutes | 22:27 |
mgedmin | this event is not shown in the daily view | 22:27 |
mgedmin | jinty, if you're reading irc logs, please merge 3126 to the release branch | 22:31 |
mgedmin | there were some subsequent typo fixes, but they are not critical as such | 22:31 |
tvon | k, DUMPDIR=/var/schoolbell/dump | 22:38 |
mgedmin | bug fixed in revision 3131 | 22:56 |
Voblia_ | and apparently i forgot to commit the default start_date fix, before release (fortunately because it broke like 6 tests i fixed only today) | 23:03 |
Voblia_ | guess the feature will have to wait for the next release | 23:04 |
th1a | What is the best technique for making local customizations to the interface. Specifically, I want to add something to the footer to acknowledge the company giving me hosting to use for testing in the US. | 23:08 |
mgedmin | th1a, edit src/schoolbell/app/browser/templates/view_macros.pt | 23:10 |
th1a | OK, but that'll break whenever I upgrade, right? | 23:10 |
mgedmin | if you do svn up, svn will merge your changes | 23:11 |
mgedmin | if you work from a tarball, you will have to do merging manually... | 23:11 |
th1a | Well, let's assume here that I'm a regular user who will be using regular releases. | 23:11 |
th1a | What is the proper method? | 23:12 |
th1a | Creating a new skin? | 23:12 |
th1a | In Plone I'd edit the custom skin. | 23:12 |
mgedmin | zcml overrides, I suppose | 23:12 |
th1a | So just break out my Zope 3 book and create a new skin? | 23:13 |
mgedmin | no skins | 23:13 |
mgedmin | in your zope 3 site.zcml file add something like <includeOverride file="my-schoolbell-customizations.zcml" /> | 23:13 |
mgedmin | then in my-schoolbell-customizations include just the <browser:page /> directive that defines the view_macros view | 23:13 |
mgedmin | specify a different page template | 23:13 |
mgedmin | that's it | 23:14 |
mgedmin | of course, then you will have to keep your alternative view_macros synchronized with the upstream version... | 23:14 |
mgedmin | e.g. if upstream adds a new macro, and your overriden view_macros doesn't have it, things will break | 23:14 |
tvon | bbiab | 23:15 |
*** tvon has quit IRC | 23:15 | |
th1a | I have to override all the macros? | 23:16 |
*** Voblia_ is now known as Voblia | 23:18 | |
th1a | Hm. Well, we'll have to make that a little more flexible at some point. | 23:21 |
th1a | At least for the footer. | 23:22 |
* mgedmin nods | 23:23 | |
mgedmin | the index page text should be flexible, I think | 23:23 |
mgedmin | instead of just linking to persons/groups/resources, we should let the admin place arbitrary text there | 23:23 |
* mgedmin hmms | 23:24 | |
mgedmin | the empty calendar placeholder in schoolbell-export.py does not have DTEND or DURATION | 23:24 |
mgedmin | I think one of those is mandatory for iCalendar files | 23:24 |
mgedmin | however db export/import succeeded despite that | 23:25 |
mgedmin | and there were 9 empty calendars in my data set | 23:25 |
th1a | The biggest overall usability issue I see is too many active links to places the user isn't authorized to go. | 23:28 |
bskahan | too many links in general | 23:30 |
th1a | ? | 23:30 |
bskahan | the interface feels cramped for some reason | 23:30 |
* mgedmin has an .ics file on disk and wonders how to import it into schoolbell | 23:31 | |
* mgedmin has accidentally detached the xchat channel tab into a new window and wonders how to attach it back | 23:31 | |
*** mgedmin has left #schooltool | 23:32 | |
*** mgedmin has joined #schooltool | 23:32 | |
th1a | mgedmin: I suppose we should add an upload form at some point for .ics files. | 23:33 |
gintas | th1a, that should be quite easy to do, I think | 23:36 |
mgedmin | curl -T file.ics http://user:pwd@localhost:7080/persons/user/calendar.ics | 23:36 |
* mgedmin winks | 23:36 | |
th1a | Step 1) install Cygwin. | 23:37 |
th1a | 2) curl blah blah blah | 23:37 |
th1a | 3) There is no step 3! | 23:37 |
th1a | See Mom, it's easy! | 23:37 |
bskahan | 3) ???? | 23:38 |
bskahan | 4) Profit | 23:38 |
th1a | Can we use ZPT to deactivate the link to, say, the resources index if the user doesn't have permission to view it? | 23:39 |
gintas | sure | 23:41 |
gintas | I think we have something similar in the templates already, though I did not work on that | 23:41 |
gintas | we should ask alga or mgedmin | 23:41 |
th1a | It would be good to clean that up before 1.0 final. | 23:42 |
th1a | Lots of links that don't get you anywhere aren't too friendly. | 23:42 |
mgedmin | I've just whipped up an experimental script to export gtimelog (http://mg.pov.lt/gtimelog/) data into an icalendar file | 23:42 |
th1a | Let's get those slacking numbers down, mgedmin! | 23:44 |
mgedmin | uh oh, incriminating evidence | 23:45 |
* mgedmin prepares to do some photoshopping | 23:45 | |
mgedmin | hmm, our daily view does not deal very well with lots of small events | 23:48 |
th1a | Your timelog is a good test. | 23:48 |
bskahan | interesting app marius | 23:50 |
* bskahan installs | 23:50 | |
mgedmin | hm if I have an event with a long title but no description | 23:54 |
mgedmin | it feels kinda wasteful to show just the first 15 chars in the event "title bar" and have a big empty rectangle below | 23:54 |
mgedmin | I added | 23:55 |
mgedmin | <div class="description" tal:content="ev/title" tal:condition="python: ev.title != ev.shortTitle" /> | 23:55 |
mgedmin | to an appropriate place in cal_daily.pt | 23:55 |
mgedmin | and things became better | 23:55 |
mgedmin | more experimenting: I made DailyCalendarView.snapToGrid return floating point values instead of rounding to the nearest 15 minutes | 23:57 |
mgedmin | now events that actually touch each look better in the view | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!