IRC log of #schooltool for Wednesday, 2006-03-15

*** carljm has quit IRC00:09
tiredbonessrichter, when I run pdb in testrunner it show the path to my instance to be correct,['--tests-pattern', '^f?tests$', '--test-path', '/usr/local/Zope-3.2/zope3/stephanInstance/lib/python']. What other reason would I get ImportError?00:12
srichterwhat are the details of the import error?00:13
srichterit might be a circular import00:13
tiredboneswould the last few lines of the tracback show that?00:15
tiredbonesFile "/usr/local/Zope-3.2/zope3/src/zope/testing/", line 1094, in import_name00:16
tiredbones    __import__(name)00:16
tiredbonesImportError: No module named
srichterlib.python shoudl not be part of you import statement00:17
srichterit shoudl be from book import messageboard00:17
tiredbonesshould that be an import in one of the example modules?00:21
tiredbonesI just compared my code with that in the book and I don't see that import in the code. Would you off the top of your remember the module it should me in?00:30
srichterI dunno00:32
srichtersomewhere you import book.messageboard, but it looks for the wrong thing00:33
srichterI would try setting the Python path, though you should not need it00:33
th1atiredbones:  You have installed python-dev, right?00:34
tiredbonesth1a, I installed breezy. Does that install python-dev?00:35
th1aThat looks like a typical error if you haven't installed that package.00:35
*** carljm has joined #schooltool00:36
tiredbonesShit! All day on this error.00:36
tiredbonesth1a, If the test ran for timeclock should that also run for Stephan's book example?00:37
th1aWell, I don't know why one would work and the other wouldn't.00:38
tiredbonesany I'll check to see if I have that package.00:38
th1aIt seems like you wouldn't have even gotten started without that package.00:39
tiredbonesI just did dpkg -l *python* and it shows no python-dev. Is that the correct name/00:45
tiredbonesHow about python2.4-dev?00:47
tiredbonesIf I set PYTHONPATH to point to /instance/ should that allow test to run?00:53
tiredbonessrichter, the command in the book, python bin/test -vpu --dir lib/python//book/messageborad, is a typo. the two slashes should only be one/01:04
srichterthe PYTHONPATH must be set to instance/lib/python01:08
tiredbonesThanks for your time, none of that works and my PYTHONPATH is set instances/lib/python. I leave you guys alone now, I know your busy.01:14
srichterit si hard to debug the error remotely01:15
srichterdo you have my book on hand?01:15
tiredbonesright in front of me01:15
srichterbecause it disucsses this in detail01:15
srichteranother option would be to use a checkout01:15
srichterits easier there01:15
srichterno path setup required01:15
tiredbonesright in front of me!!! I read it everyother day.01:16
tiredbonesI'll do the checkout tomorrow. thanks01:17
tiredbonesby the way. I follow your book instruction to a "T".01:17
*** jinty has joined #schooltool01:18
*** alga has quit IRC01:25
*** jinty has quit IRC01:32
*** ffsnoopy has joined #schooltool03:30
*** ffsnoopy has left #schooltool03:30
*** newpers has left #schooltool04:56
*** newpers has joined #schooltool06:55
*** dobee has joined #schooltool08:35
*** th1a has quit IRC09:26
*** th1a has joined #schooltool09:29
*** th1a has quit IRC09:32
*** th1a has joined #schooltool09:34
*** carljm has quit IRC10:00
*** th1a_ has joined #schooltool10:12
*** th1a has quit IRC10:22
*** th1a has joined #schooltool10:44
*** th1a has quit IRC10:47
*** th1a_ has quit IRC10:48
*** th1a has joined #schooltool10:49
*** th1a has quit IRC10:55
*** th1a has joined #schooltool10:57
*** jinty has joined #schooltool11:26
povbot`/svn/commits: * jinty committed revision 5800:11:36
povbot`/svn/commits: Shut up message-merge so that the nightly tarball e-mails are not so verbose.11:36
povbot`/svn/commits: * jinty committed revision 5801:11:52
povbot`/svn/commits: Tell zpkg where the schoolbell module is, it was warning that it could not find the schoolbell resource. If this was intentional, let me know.11:52
*** alga has joined #SchoolTool12:07
*** didymo has quit IRC12:24
*** dobee has quit IRC12:29
*** ignas has joined #schooltool13:10
*** th1a has quit IRC13:10
*** Aiste has quit IRC13:38
*** Aiste has joined #schooltool14:05
*** faassen has joined #schooltool14:14
tiredbonesfaassen, I'm trying to learn a little more about X-Chat. Would you mind if I try to send you a private message?15:04
faassentiredbones: sure.15:07
faassentiredbones: just send one.15:07
tiredbonesI guess you didn't get.15:09
faassendidn't get it.15:09
tiredbonesfaassen,I guess you didn't get.15:09
srichtertiredbones: you have to be a registered IRC user15:10
tiredbonessrichter, Iam15:10
tiredbonesIs there a way to verify ones registry?15:11
*** jinty has quit IRC15:11
* tiredbones looks at notes15:11
tiredbonesscrewed that up!15:14
* tiredbones testing15:25
tiredbones/me testing15:25
tiredbones/me 04testing15:25
tiredbonesshould be red15:26
tiredbonesI notice alot of irc commands don't work. Is that because they been turn off my ops. I tired who with no results.15:38
srichterwhois works well15:39
srichterfor example: /whois tiredbones15:39
tiredboneswell i just tried /whois srichter. no respones.15:41
tiredbonesI'm using xchat. I know I can get that information if I click on your name and then ask whois.15:41
tiredbonesbut I can't get it from typing it in.15:42
tiredbonesI hope you folks are not see the output from my testing. If so, I apologize for it. let me know an I'll stop15:58
tiredbonesdo you folks use Direc Client Connection("DCC")?16:02
*** jinty has joined #schooltool16:04
povbot`/svn/commits: * srichter committed revision 5802:16:09
povbot`/svn/commits: Changed strategy for managing terms:16:09
povbot`/svn/commits: - We still have term types which are interfaces to identify terms. Added a16:09
povbot`/svn/commits: term types vocabulary though.16:09
povbot`/svn/commits: - Introduced Term Template components, which provide a blueprint for the16:09
povbot`/svn/commits: term tree. This abstraction was necessary to provide sane APIs for courses, sections and gradebooks.16:09
povbot`/svn/commits: - Enforced connecting terms in a sequence and factored out common16:09
povbot`/svn/commits: functionality.16:09
povbot`/svn/commits: Overall I am much happier with this approach since it moves some complexity from user space into programmer space. This means that integrety errors are less likely to occur.16:09
*** jinty has quit IRC16:52
*** jinty has joined #schooltool16:54
*** erchache has joined #schooltool18:44
erchachejinty....and tom?18:46
jintyer yeah18:47
erchachewhere is tom?18:48
*** erchache has quit IRC18:57
*** erchache has joined #schooltool18:58
*** pcardune has joined #schooltool19:09
pcardunejinty: are you the one handling system administration of the svn repositories?19:10
erchacheanybody knows when tom will connect?19:10
*** jinty has quit IRC19:11
*** jinty has joined #schooltool19:12
*** newpers has left #schooltool19:28
*** pcardune has quit IRC20:05
*** jinty has quit IRC20:06
*** Aiste has quit IRC20:07
*** jinty has joined #schooltool20:07
*** newpers has joined #schooltool20:22
*** erchache has quit IRC20:25
*** newpers has left #schooltool20:30
*** jinty has quit IRC20:38
*** jinty has joined #schooltool20:40
*** jinty has quit IRC20:58
*** jinty has joined #schooltool20:59
*** faassen has quit IRC21:02
*** pcardune has joined #schooltool21:04
*** _pcardune has joined #schooltool21:50
_pcardunesrichter: do you know if schooltool supports having different skins?  I'm trying to use the zwiki product with the wiki skin, but it comes up with component lookup errors no matter what skin i try to use22:00
*** pcardune has quit IRC22:02
srichter_pcardune: I don't think it does22:03
*** _pcardune is now known as pcardune22:03
srichterbecause the skin is specifically set when traversing to the SchoolTool application object22:03
srichteryou would basically have to implement this feature22:04
pcarduneso, would I have to make a new traverser for the wiki objects and apply that skin?22:04
pcarduneis the reason for that to get rid of having the ++skin++schooltool in the URL 24/7?22:05
srichterI would suggest writing new views for ZWiki22:05
srichterwell, there are some other reasons22:05
pcarduneoh no... not new views... that would be really time consuming and I think the zwiki ones are just fine22:05
srichterbut it is the major one22:05
pcarduneit seems like that traverser could use some extending (for purposes of having add on packages)22:06
srichterbut the ZWiki views are written for the rotterdam skin or an extension thereof and I am not sure whether they are compatible with SchoolTool's skin22:06
srichterI mean you can hook in ZWiki's skin by means of a traverser, but what's the point?22:07
srichterit will be totally disintegrated with SchoolTool22:07
pcardunei suppose your right22:07
pcarduneintegration is a pretty large benefit22:08
pcardunewell, i guess I will just rewrite the views then - you've convinced me22:08
srichternote that you can reuse the Python classes22:09
srichterall you have to redo are some of the forms22:09
srichterand you won't even need them all22:09
pcarduneright, so would i just create a package in cando with a browser configure file and a bunch of templates/view classes?22:10
pcarduneand add zwiki as a dependency22:10
pcarduneonce you get past the trough... zope's flexibility is mind bending22:10
*** pcardune has quit IRC22:16
*** jinty has quit IRC22:24
*** jinty has joined #schooltool22:26
*** ignas has quit IRC22:34
*** didymo has joined #schooltool22:41
*** Aiste has joined #schooltool23:08
*** jinty has quit IRC23:08
*** jinty has joined #schooltool23:09
*** alga has quit IRC23:10
*** pcardune has joined #schooltool23:27
*** _pcardune has joined #schooltool23:39
_pcarduneok srichter, I've patched up the zwiki stuff pretty well.  In fact, the page templates work perfectly as do the view classes, The only problem is with the breadcrumbs23:40
_pcardunenevermind, I got it, although now the breadcrumbs don't reflect the fake hierarchie23:53
*** pcardune has quit IRC23:53
*** _pcardune is now known as pcardune23:54
srichterpcardune: cool23:55

Generated by 2.15.1 by Marius Gedminas - find it at!