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

*** srichter has quit IRC00:12
*** povbot has joined #schooltool04:37
*** wrobel has quit IRC04:50
*** wrobel has joined #schooltool09:11
*** vidasp has joined #schooltool12:29
*** vidasp has quit IRC12:36
*** vidasp has joined #schooltool12:36
*** mgedmin has joined #schooltool12:45
*** thisfred has joined #schooltool13:45
*** srichter has joined #schooltool14:26
*** ignas has joined #schooltool14:31
*** vidasp has quit IRC15:27
*** mgedmin has quit IRC15:51
*** tiredbones has left #schooltool16:30
*** sbj1 has joined #schooltool17:13
*** sbj1 has quit IRC18:06
*** sbj3 has joined #schooltool18:18
*** tiredbones has joined #schooltool18:38
tiredbonessrichter, I'm read ch13 of the online Zope3 book, what's the name of the module from running
srichterI think pyskel is in utilities18:59
srichterso you have the paper copy; the path in there should be correct18:59
tiredbonessrichter, I can run pyskel, but what is the name of the output module?19:00
srichteryes, is in ZOPE3/utilities19:00
srichterthe output is printed on the screen19:00
tiredbonessrichter, oh! So what the purpose of sending it to the screen?19:01
tiredbonessrichter, don't I need it.19:01
srichterit is much easier to send it to the stdout than putting it into a module19:02
srichteryou can use: ... > modulename.py19:02
*** thisfred has left #schooltool19:02
tiredbonessrichter, all right, thanks19:03
tiredbonessrichter, when I run pyskel it prepends zopeproducts to the path name, thus I get a not found on the module name. The instruction do not say anything about this. Where am I messing up?19:20
*** faassen has quit IRC19:21
tiredbonessrichter, Yes, here the line - ImportError: No module named
srichterpython utilities/ zope.viewlet.interfaces.IViewlet19:24
srichterworks for me after setting the Python path19:24
*** jinty has joined #schooltool19:24
srichterin bash: export PYTHONPATH=/opt/zope/Zope3/Zope3-ZSCP/src/19:24
tiredbonessrichter, I do not have this path: /opt/zope/Zope3/Zope3-ZSCP/src/, I'm using Zope 3.2.19:27
srichterjust replace it with the one you have19:28
srichterits of course specific to my system19:28
tiredbonessrichter, sorry fo being a bother. ok I did this,  export PYTHONPATH=/usr/local/Zope-3.2/zope3/local/book/, this is at the top of thr tree where I'm doing book's examples. I then cd'ed into the utilities directory and ran the command, 'pyskel'. I'm still getting the error.19:38
tiredbonessrichter, here the command,   python ./ /usr/local/Zope-3.2/zope3/local/book/messageboard.interfzces.IMessageBoard19:42
srichternote that the argument to *must* be a Python path19:51
srichteri.e. a dotted name19:51
srichteralso, the PYTHONPATH you declared above is not correct19:52
srichterit needs to be ZOPE3ROOT/src19:52
tiredbonessricther, ZOPE3ROOT/src has some system stuff, BTree, ZODB, I thought I could keep my stuff separate the the system. So I can't do ZOPE3ROOT/local?19:59
srichternope, unless you add both directories to the Python path20:01
srichterit is usually a bad idea to place your package in an arbitrary directory20:01
srichterbecause you always need to specify the python path20:02
tiredbonessricther, yes, but wouldn't is keep thing cleaner/20:03
tiredbonessricther, yes, but wouldn't it keep thing cleaner?20:04
srichterwell, if you want to constantly specify the python path, feel free to do so20:05
srichterin the distribution you have the choice of placing the package in ZOPE3INSTANCE/lib/python or ZOPE3INSTALL/lib/python20:06
srichterfor the checkout, it is ZOPE3/src20:06
srichterif I want to reuse a Python package reularly (alomost never happens), then I use a symbolic link20:06
tiredbonessricther, ok I'll conform.20:07
tiredbonessricther,  I have a friend coming down to Tufts to check out the school. His daughter is in the looking stage.20:13
srichtercool :-20:14
srichtercool :-)20:14
*** alga has joined #SchoolTool20:21
tiredbonessricther, pyskel ran ok.20:37
*** sbj3 has quit IRC20:41
*** mgedmin has joined #schooltool21:28
*** flint has quit IRC22:26
*** ignas has quit IRC22:30
*** didymo has quit IRC23:05
*** didymo has joined #schooltool23:08
*** ignas has joined #schooltool23:25
*** alga has quit IRC23:37
*** mgedmin has quit IRC23:43

Generated by 2.15.1 by Marius Gedminas - find it at!