*** carljm has quit IRC | 00:09 | |
tiredbones | srichter, 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 |
---|---|---|
srichter | what are the details of the import error? | 00:13 |
srichter | it might be a circular import | 00:13 |
tiredbones | would the last few lines of the tracback show that? | 00:15 |
tiredbones | File "/usr/local/Zope-3.2/zope3/src/zope/testing/testrunner.py", line 1094, in import_name | 00:16 |
tiredbones | __import__(name) | 00:16 |
tiredbones | ImportError: No module named lib.python.book.messageboard | 00:16 |
srichter | lib.python shoudl not be part of you import statement | 00:17 |
srichter | it shoudl be from book import messageboard | 00:17 |
tiredbones | should that be an import in one of the example modules? | 00:21 |
srichter | yes | 00:23 |
tiredbones | I 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 |
srichter | I dunno | 00:32 |
srichter | somewhere you import book.messageboard, but it looks for the wrong thing | 00:33 |
srichter | I would try setting the Python path, though you should not need it | 00:33 |
th1a | tiredbones: You have installed python-dev, right? | 00:34 |
tiredbones | th1a, I installed breezy. Does that install python-dev? | 00:35 |
th1a | No. | 00:35 |
th1a | That looks like a typical error if you haven't installed that package. | 00:35 |
*** carljm has joined #schooltool | 00:36 | |
tiredbones | Shit! All day on this error. | 00:36 |
tiredbones | th1a, If the test ran for timeclock should that also run for Stephan's book example? | 00:37 |
th1a | Well, I don't know why one would work and the other wouldn't. | 00:38 |
tiredbones | any I'll check to see if I have that package. | 00:38 |
th1a | It seems like you wouldn't have even gotten started without that package. | 00:39 |
tiredbones | I just did dpkg -l *python* and it shows no python-dev. Is that the correct name/ | 00:45 |
tiredbones | How about python2.4-dev? | 00:47 |
tiredbones | If I set PYTHONPATH to point to /instance/ should that allow test to run? | 00:53 |
tiredbones | srichter, 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 |
srichter | the PYTHONPATH must be set to instance/lib/python | 01:08 |
tiredbones | Thanks 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 |
srichter | it si hard to debug the error remotely | 01:15 |
srichter | do you have my book on hand? | 01:15 |
tiredbones | right in front of me | 01:15 |
srichter | because it disucsses this in detail | 01:15 |
srichter | another option would be to use a checkout | 01:15 |
srichter | its easier there | 01:15 |
srichter | no path setup required | 01:15 |
tiredbones | right in front of me!!! I read it everyother day. | 01:16 |
tiredbones | I'll do the checkout tomorrow. thanks | 01:17 |
tiredbones | by the way. I follow your book instruction to a "T". | 01:17 |
*** jinty has joined #schooltool | 01:18 | |
*** alga has quit IRC | 01:25 | |
*** jinty has quit IRC | 01:32 | |
*** ffsnoopy has joined #schooltool | 03:30 | |
*** ffsnoopy has left #schooltool | 03:30 | |
*** newpers has left #schooltool | 04:56 | |
*** newpers has joined #schooltool | 06:55 | |
*** dobee has joined #schooltool | 08:35 | |
*** th1a has quit IRC | 09:26 | |
*** th1a has joined #schooltool | 09:29 | |
*** th1a has quit IRC | 09:32 | |
*** th1a has joined #schooltool | 09:34 | |
*** carljm has quit IRC | 10:00 | |
*** th1a_ has joined #schooltool | 10:12 | |
*** th1a has quit IRC | 10:22 | |
*** th1a has joined #schooltool | 10:44 | |
*** th1a has quit IRC | 10:47 | |
*** th1a_ has quit IRC | 10:48 | |
*** th1a has joined #schooltool | 10:49 | |
*** th1a has quit IRC | 10:55 | |
*** th1a has joined #schooltool | 10:57 | |
*** jinty has joined #schooltool | 11: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 #SchoolTool | 12:07 | |
*** didymo has quit IRC | 12:24 | |
*** dobee has quit IRC | 12:29 | |
*** ignas has joined #schooltool | 13:10 | |
*** th1a has quit IRC | 13:10 | |
*** Aiste has quit IRC | 13:38 | |
*** Aiste has joined #schooltool | 14:05 | |
*** faassen has joined #schooltool | 14:14 | |
tiredbones | faassen, 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 |
faassen | tiredbones: sure. | 15:07 |
faassen | tiredbones: just send one. | 15:07 |
tiredbones | I guess you didn't get. | 15:09 |
faassen | didn't get it. | 15:09 |
tiredbones | faassen,I guess you didn't get. | 15:09 |
srichter | tiredbones: you have to be a registered IRC user | 15:10 |
tiredbones | srichter, Iam | 15:10 |
tiredbones | Is there a way to verify ones registry? | 15:11 |
*** jinty has quit IRC | 15:11 | |
* tiredbones looks at notes | 15:11 | |
tiredbones | screwed that up! | 15:14 |
tiredbones | ! | 15:16 |
* tiredbones testing | 15:25 | |
tiredbones | /me testing | 15:25 |
tiredbones | /me 04testing | 15:25 |
tiredbones | should be red | 15:26 |
tiredbones | I 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 |
srichter | whois works well | 15:39 |
srichter | for example: /whois tiredbones | 15:39 |
tiredbones | well i just tried /whois srichter. no respones. | 15:41 |
tiredbones | I'm using xchat. I know I can get that information if I click on your name and then ask whois. | 15:41 |
tiredbones | but I can't get it from typing it in. | 15:42 |
tiredbones | I hope you folks are not see the output from my testing. If so, I apologize for it. let me know an I'll stop | 15:58 |
tiredbones | do you folks use Direc Client Connection("DCC")? | 16:02 |
*** jinty has joined #schooltool | 16: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 a | 16:09 |
povbot` | /svn/commits: term types vocabulary though. | 16:09 |
povbot` | /svn/commits: - Introduced Term Template components, which provide a blueprint for the | 16: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 common | 16: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 IRC | 16:52 | |
*** jinty has joined #schooltool | 16:54 | |
*** erchache has joined #schooltool | 18:44 | |
erchache | jinty....and tom? | 18:46 |
jinty | er yeah | 18:47 |
erchache | where is tom? | 18:48 |
erchache | jinty | 18:54 |
*** erchache has quit IRC | 18:57 | |
*** erchache has joined #schooltool | 18:58 | |
*** pcardune has joined #schooltool | 19:09 | |
pcardune | jinty: are you the one handling system administration of the svn repositories? | 19:10 |
erchache | anybody knows when tom will connect? | 19:10 |
*** jinty has quit IRC | 19:11 | |
*** jinty has joined #schooltool | 19:12 | |
*** newpers has left #schooltool | 19:28 | |
*** pcardune has quit IRC | 20:05 | |
*** jinty has quit IRC | 20:06 | |
*** Aiste has quit IRC | 20:07 | |
*** jinty has joined #schooltool | 20:07 | |
*** newpers has joined #schooltool | 20:22 | |
*** erchache has quit IRC | 20:25 | |
*** newpers has left #schooltool | 20:30 | |
*** jinty has quit IRC | 20:38 | |
*** jinty has joined #schooltool | 20:40 | |
*** jinty has quit IRC | 20:58 | |
*** jinty has joined #schooltool | 20:59 | |
*** faassen has quit IRC | 21:02 | |
*** pcardune has joined #schooltool | 21:04 | |
*** _pcardune has joined #schooltool | 21:50 | |
_pcardune | srichter: 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 use | 22:00 |
*** pcardune has quit IRC | 22:02 | |
srichter | _pcardune: I don't think it does | 22:03 |
*** _pcardune is now known as pcardune | 22:03 | |
srichter | because the skin is specifically set when traversing to the SchoolTool application object | 22:03 |
srichter | you would basically have to implement this feature | 22:04 |
pcardune | so, would I have to make a new traverser for the wiki objects and apply that skin? | 22:04 |
pcardune | is the reason for that to get rid of having the ++skin++schooltool in the URL 24/7? | 22:05 |
srichter | I would suggest writing new views for ZWiki | 22:05 |
srichter | well, there are some other reasons | 22:05 |
pcardune | oh no... not new views... that would be really time consuming and I think the zwiki ones are just fine | 22:05 |
srichter | but it is the major one | 22:05 |
pcardune | it seems like that traverser could use some extending (for purposes of having add on packages) | 22:06 |
srichter | but 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 skin | 22:06 |
srichter | I mean you can hook in ZWiki's skin by means of a traverser, but what's the point? | 22:07 |
srichter | it will be totally disintegrated with SchoolTool | 22:07 |
pcardune | i suppose your right | 22:07 |
pcardune | integration is a pretty large benefit | 22:08 |
pcardune | well, i guess I will just rewrite the views then - you've convinced me | 22:08 |
srichter | note that you can reuse the Python classes | 22:09 |
srichter | all you have to redo are some of the forms | 22:09 |
srichter | and you won't even need them all | 22:09 |
pcardune | right, so would i just create a package in cando with a browser configure file and a bunch of templates/view classes? | 22:10 |
srichter | yep | 22:10 |
pcardune | and add zwiki as a dependency | 22:10 |
pcardune | cool | 22:10 |
pcardune | once you get past the trough... zope's flexibility is mind bending | 22:10 |
srichter | :-) | 22:11 |
*** pcardune has quit IRC | 22:16 | |
*** jinty has quit IRC | 22:24 | |
*** jinty has joined #schooltool | 22:26 | |
*** ignas has quit IRC | 22:34 | |
*** didymo has joined #schooltool | 22:41 | |
*** Aiste has joined #schooltool | 23:08 | |
*** jinty has quit IRC | 23:08 | |
*** jinty has joined #schooltool | 23:09 | |
*** alga has quit IRC | 23:10 | |
*** pcardune has joined #schooltool | 23:27 | |
*** _pcardune has joined #schooltool | 23:39 | |
_pcardune | ok 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 breadcrumbs | 23:40 |
_pcardune | nevermind, I got it, although now the breadcrumbs don't reflect the fake hierarchie | 23:53 |
*** pcardune has quit IRC | 23:53 | |
*** _pcardune is now known as pcardune | 23:54 | |
srichter | pcardune: cool | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!