J1m | srichter, look at the documentation I gave you a link for earlier. :) | 00:02 |
---|---|---|
J1m | dennis__, srichter has moved to a higher plane. | 00:03 |
dennis__ | oh, yeah i thought it was a bit too easy :) | 00:03 |
srichter | J1m: I am getting better :-) I almost have everything without zcmlfiles back up | 00:04 |
srichter | J1m: btw, I think that we should not include the browser configure in the base one | 00:04 |
srichter | I have a bunch of dependencies just because of browser code that I do not want | 00:04 |
J1m | yeah, you may remember way back when that I wanted to put browser code in peer, rather than in sub-packages. | 00:06 |
srichter | yep | 00:06 |
srichter | also, Steve always complained about it | 00:06 |
srichter | for many years | 00:06 |
J1m | dennis__, it is actually easier, because we can now put everything in a single one-stop-shoppiing config file. | 00:06 |
srichter | I think by simply not loading the browser ZCML within the main configure would help a lot | 00:07 |
srichter | with zcmlfiles I had 100 eggs, without 84 | 00:10 |
srichter | not as much improvement as I had hoped for, but better than nothing | 00:10 |
*** lurker has quit IRC | 00:28 | |
*** projekt01 has joined #zope3-dev | 00:29 | |
*** TresEquis has joined #zope3-dev | 00:30 | |
*** pcardune_dentist is now known as pcardune_moving | 00:36 | |
*** derek|coffeeshop has joined #zope3-dev | 00:39 | |
*** RaFromBRC|lunch has quit IRC | 00:42 | |
*** fcorrea has quit IRC | 00:45 | |
*** nerdalert has quit IRC | 00:48 | |
*** arroda has joined #zope3-dev | 00:49 | |
*** bigkevmcd has quit IRC | 00:52 | |
*** RaFromBRC has joined #zope3-dev | 00:56 | |
*** TresEquis has quit IRC | 00:57 | |
*** yota has quit IRC | 00:59 | |
*** J1m has quit IRC | 00:59 | |
*** benji has quit IRC | 01:00 | |
*** RaFromBRC has quit IRC | 01:05 | |
*** timte has quit IRC | 01:05 | |
*** RaFromBRC has joined #zope3-dev | 01:05 | |
*** MrTopf has quit IRC | 01:08 | |
*** pbugni has quit IRC | 01:10 | |
*** ChrisW has left #zope3-dev | 01:33 | |
dennis__ | ah figured out how to use the schema Object and nest schemas inside schemas to answer my own question :) (thank you ope3demos.googlecode.com for the example) | 01:46 |
dennis__ | zope3demos.googlecode.co even | 01:46 |
*** elro has quit IRC | 01:50 | |
*** norro has quit IRC | 02:01 | |
derek|coffeeshop | I've written a unit doctest that does a lot of setup. Unfortunately, it's not enough - IAbsoluteURL is now complaining that it doesn't have enough context to get URL info. I am wondering if this is a sign that I should switch from a unit test to a ftest? | 02:15 |
*** dunny has joined #zope3-dev | 03:01 | |
*** derek|coffeeshop has quit IRC | 03:04 | |
*** ignas has quit IRC | 03:11 | |
*** faassen has quit IRC | 03:22 | |
*** benji has joined #zope3-dev | 03:32 | |
*** wrobel has quit IRC | 03:40 | |
*** RaFromBRC has quit IRC | 04:04 | |
*** pcardune_moving has quit IRC | 04:45 | |
*** afd_ has quit IRC | 05:16 | |
*** whit|out has quit IRC | 05:27 | |
*** stub has joined #zope3-dev | 06:29 | |
*** projekt01 has quit IRC | 06:38 | |
*** baijum has joined #zope3-dev | 06:44 | |
*** pbugni has joined #zope3-dev | 06:46 | |
*** niemeyer has quit IRC | 06:59 | |
*** dunny has quit IRC | 07:54 | |
*** iam-vivek has joined #zope3-dev | 08:04 | |
*** iam-vivek has left #zope3-dev | 08:04 | |
*** afd_ has joined #zope3-dev | 08:22 | |
*** naro has joined #zope3-dev | 08:22 | |
*** jukart has joined #zope3-dev | 08:27 | |
*** pbugni has quit IRC | 08:34 | |
*** afd_ has quit IRC | 08:48 | |
*** zagy has joined #zope3-dev | 08:55 | |
*** afd_ has joined #zope3-dev | 08:56 | |
*** arroda has left #zope3-dev | 08:56 | |
*** d2m has joined #zope3-dev | 08:57 | |
*** sorin has joined #zope3-dev | 08:57 | |
*** sorin is now known as sorindregan | 08:57 | |
*** jodok has quit IRC | 09:00 | |
*** dobee has joined #zope3-dev | 09:09 | |
*** schwendinger has joined #zope3-dev | 09:10 | |
*** stu1 has joined #zope3-dev | 09:18 | |
*** pelle_ has joined #zope3-dev | 09:20 | |
*** baijum has quit IRC | 09:23 | |
*** lzdych has joined #zope3-dev | 09:25 | |
dennis__ | ps xenru might want to disable things like http://news.sportbox.ru/++skin++Debug/ on a live site? | 09:28 |
*** stub has quit IRC | 09:35 | |
*** deo has joined #zope3-dev | 09:37 | |
*** schwendinger has quit IRC | 09:44 | |
*** jfroche_ has quit IRC | 09:45 | |
*** jodok has joined #zope3-dev | 09:46 | |
*** schwendinger has joined #zope3-dev | 09:47 | |
*** timte has joined #zope3-dev | 09:49 | |
*** wrobel has joined #zope3-dev | 09:49 | |
*** romanofski has joined #zope3-dev | 09:51 | |
romanofski | morjens :) | 09:55 |
*** harobed has joined #zope3-dev | 09:56 | |
*** wreutz has joined #zope3-dev | 09:57 | |
*** schwendinger has quit IRC | 09:58 | |
*** schwendinger has joined #zope3-dev | 09:58 | |
*** schwendinger has quit IRC | 10:11 | |
*** schwendinger has joined #zope3-dev | 10:11 | |
*** yota has joined #zope3-dev | 10:16 | |
*** alecm has quit IRC | 10:18 | |
*** lurker has joined #zope3-dev | 10:21 | |
*** harobed_ has joined #zope3-dev | 10:29 | |
*** bigkevmcd has joined #zope3-dev | 10:43 | |
*** BjornT has quit IRC | 10:48 | |
*** jfroche has joined #zope3-dev | 10:51 | |
*** BjornT has joined #zope3-dev | 10:53 | |
*** BjornT_ has joined #zope3-dev | 10:53 | |
*** BjornT has quit IRC | 10:54 | |
*** BjornT_ has quit IRC | 10:54 | |
*** BjornT has joined #zope3-dev | 10:54 | |
*** schwendinger has quit IRC | 10:59 | |
*** henri_ has joined #zope3-dev | 11:02 | |
*** schwendinger has joined #zope3-dev | 11:03 | |
*** projekt01 has joined #zope3-dev | 11:06 | |
*** BjornT_ has joined #zope3-dev | 11:06 | |
*** goschtl has joined #zope3-dev | 11:07 | |
*** BjornT has quit IRC | 11:09 | |
*** harobed_ has quit IRC | 11:28 | |
*** ghendi has joined #zope3-dev | 11:38 | |
*** xenru has joined #zope3-dev | 11:50 | |
*** zagy_ has joined #zope3-dev | 11:58 | |
*** zagy has quit IRC | 11:58 | |
*** baijum has joined #zope3-dev | 12:19 | |
jfroche | hello, is there a way to include the .svn folder in an egg ? | 12:28 |
*** mkerrin has joined #zope3-dev | 12:30 | |
*** iam-vivek has joined #zope3-dev | 12:44 | |
*** dunny has joined #zope3-dev | 12:52 | |
*** stu1 is now known as stub | 12:55 | |
*** iam-vivek has quit IRC | 12:57 | |
*** ghendi has quit IRC | 12:57 | |
*** henri_ has quit IRC | 12:57 | |
*** romanofski has quit IRC | 12:57 | |
*** lzdych has quit IRC | 12:57 | |
*** sorindregan has quit IRC | 12:57 | |
*** afd_ has quit IRC | 12:57 | |
*** benji has quit IRC | 12:57 | |
*** lisppaste6 has quit IRC | 12:57 | |
*** dokai has quit IRC | 12:57 | |
*** SteveA has quit IRC | 12:57 | |
*** Theuni has quit IRC | 12:57 | |
*** pghoratiu has joined #zope3-dev | 12:57 | |
*** ghendi has joined #zope3-dev | 12:58 | |
*** henri_ has joined #zope3-dev | 12:58 | |
*** romanofski has joined #zope3-dev | 12:58 | |
*** lzdych has joined #zope3-dev | 12:58 | |
*** sorindregan has joined #zope3-dev | 12:58 | |
*** afd_ has joined #zope3-dev | 12:58 | |
*** benji has joined #zope3-dev | 12:58 | |
*** lisppaste6 has joined #zope3-dev | 12:58 | |
*** Theuni has joined #zope3-dev | 12:58 | |
*** SteveA has joined #zope3-dev | 12:58 | |
*** dokai has joined #zope3-dev | 12:58 | |
*** BjornT has joined #zope3-dev | 13:11 | |
*** lurker is now known as lurker|lunch | 13:20 | |
*** dunny has quit IRC | 13:20 | |
*** alga has joined #zope3-dev | 13:20 | |
*** ignas has joined #zope3-dev | 13:22 | |
*** iam-vivek has joined #zope3-dev | 13:28 | |
*** lurker|lunch is now known as lurker | 14:07 | |
*** BjornT has quit IRC | 14:12 | |
*** iam-vivek is now known as nikhil | 14:18 | |
*** pelle_ has quit IRC | 14:19 | |
*** pelle_ has joined #zope3-dev | 14:21 | |
*** elro has joined #zope3-dev | 14:22 | |
*** benji has quit IRC | 14:23 | |
lisppaste6 | vivek pasted "python2.5 " at http://paste.lisp.org/display/41643 | 14:23 |
*** afd_ has quit IRC | 14:27 | |
*** nikhils has joined #zope3-dev | 14:32 | |
*** pelle_ has joined #zope3-dev | 14:33 | |
*** nikhils has joined #zope3-dev | 14:45 | |
*** nikhil has quit IRC | 14:47 | |
*** rocky|away is now known as rocky | 14:50 | |
*** zagy_ is now known as zagy | 14:51 | |
*** jodok has quit IRC | 14:51 | |
*** benji has joined #zope3-dev | 15:12 | |
*** nikhils has quit IRC | 15:23 | |
*** reco has quit IRC | 15:31 | |
*** niemeyer has joined #zope3-dev | 15:35 | |
*** benji has quit IRC | 15:37 | |
*** derek|coffeeshop has joined #zope3-dev | 15:39 | |
*** derek|coffeeshop is now known as derek_richardson | 15:40 | |
*** nathany has joined #zope3-dev | 15:47 | |
*** benji has joined #zope3-dev | 15:47 | |
*** mkerrin has quit IRC | 15:52 | |
*** jodok has joined #zope3-dev | 15:56 | |
*** nikhils has joined #zope3-dev | 15:57 | |
nikhils | ls | 16:00 |
Theuni | No such file or directory. | 16:01 |
CrippsFX | hahaha | 16:02 |
*** nikhils has left #zope3-dev | 16:02 | |
CrippsFX | wrong window ... I do that all the time :P | 16:02 |
CrippsFX | morning Theuni | 16:02 |
*** nikhils has joined #zope3-dev | 16:03 | |
CrippsFX | nikhils: just in case you weren't aware, using IRC as root is a REALLY REALLY bad idea. | 16:04 |
*** nikhils has quit IRC | 16:06 | |
derek_richardson | is there any reusable test data for zope 3.3 that exists in a easily loadable form? All I really need is a bunch of folders and files and I don't want to handcraft it if I can steal.... | 16:14 |
*** elro has quit IRC | 16:19 | |
*** J1m has joined #zope3-dev | 16:29 | |
*** reco has joined #zope3-dev | 16:30 | |
*** reco has quit IRC | 16:33 | |
CrippsFX | grr ... there's only one thing I don't like about the WC book right now ... I find that it's not very clear when it comes to using AddForms. | 16:33 |
CrippsFX | yesterday I started looking at addforms and how to use them with the <addMenuItem> directive, and went full circle (I was right back where I started by the end of the day) ... there is confusion with NamedTemplates, applying them to forms and then using those forms for different things (add /edit) ... I'm going to paste the code I have, and ask if someone can give me a hand to figure this out because I'm starting to get pretty frustrated :( | 16:35 |
*** hazmat has joined #zope3-dev | 16:41 | |
*** ChanServ sets mode: +o hazmat | 16:41 | |
CrippsFX | my current ship.computer.browser view module and configure.zcml are pasted here: http://www.pastebin.ca/505201 ... the issue that I'm having right now is that my objects are still being created via their factories, but NOT giving me the AddForm so that I can specify initial data, I have to use my CompEdit.html view to do that :/ | 16:41 |
*** whit|out has joined #zope3-dev | 16:44 | |
*** whit|out is now known as whit | 16:45 | |
*** whit has joined #zope3-dev | 16:46 | |
CrippsFX | slight edit: changed template=NamedTemplate('computer.form') to template=NamedTemplate('computer.addform') to reflect the adapter name ... same results though ... no AddForm on object creation :( | 16:48 |
CrippsFX | http://www.pastebin.ca/505205 | 16:48 |
*** dennis__ has quit IRC | 16:57 | |
*** BjornT_ is now known as BjornT | 17:00 | |
*** pghoratiu has left #zope3-dev | 17:01 | |
*** BjornT_ has joined #zope3-dev | 17:01 | |
*** timte has quit IRC | 17:03 | |
*** salfield has joined #zope3-dev | 17:04 | |
*** baijum has quit IRC | 17:05 | |
*** dennis_ has joined #zope3-dev | 17:06 | |
*** stub has quit IRC | 17:14 | |
*** whit has quit IRC | 17:15 | |
*** iam-vivek has joined #zope3-dev | 17:16 | |
*** philiKON has quit IRC | 17:16 | |
srichter | J1m: is there already an example out there showing how to do a simple script package? | 17:20 |
*** pelle_ has quit IRC | 17:25 | |
*** iam-vivek has quit IRC | 17:29 | |
*** timte has joined #zope3-dev | 17:32 | |
*** timte has joined #zope3-dev | 17:33 | |
J1m | srichter, there are lots of examples of packages that provide scripts. | 17:38 |
J1m | buildout, setuptools, zodb, .... | 17:38 |
*** alecm has joined #zope3-dev | 17:38 | |
*** sorindregan has quit IRC | 17:38 | |
J1m | Entry points are very simple. | 17:38 |
srichter | ok, thanks I look at those | 17:39 |
srichter | so what are "entry points"? I did not quiet understand that yet | 17:39 |
J1m | Did you read about them in the setuptools docs? | 17:39 |
srichter | no | 17:40 |
J1m | http://peak.telecommunity.com/DevCenter/setuptools#extensible-applications-and-frameworks | 17:40 |
J1m | http://peak.telecommunity.com/DevCenter/setuptools#automatic-script-creation | 17:41 |
srichter | thanks | 17:41 |
*** whit has joined #zope3-dev | 17:41 | |
*** afd__ has joined #zope3-dev | 17:42 | |
*** mgedmin has joined #zope3-dev | 17:46 | |
* CrippsFX beats his head against the wall | 17:48 | |
*** pcardune_moving has joined #zope3-dev | 17:53 | |
*** alecm has quit IRC | 17:54 | |
zagy | hm. the zope.testing has some problem with unicode | 17:55 |
CrippsFX | since all the old pros are now here ... can somebody take a look at my view class/NamedTemplate/Configuration and help me to figure out why I'm not getting an Addform when I try to create a new Object through the ZMI? my code is all located here: http://www.pastebin.ca/505368 ... I've been following the WC book, and I've read, re-read, re-reread and re-re-reread Chapter 8, but I'm still stuck, and it's getting really frustrating. | 17:55 |
CrippsFX | zagy: what do you mean? | 17:55 |
zagy | ah... the reporting of failing tests break if the result of a test was a unicode with non us-ascii chars in it | 17:56 |
CrippsFX | oh. That's strange. | 17:57 |
zagy | CrippsFX: what's your problem with the addform? | 17:57 |
zagy | get an error or what? | 17:57 |
CrippsFX | zagy: no, I've been told that it's preferrable to use the <page> directive over the <addform> directive. | 17:58 |
zagy | jup | 17:58 |
zagy | hm | 17:58 |
zagy | i've never registered anything for IAdding | 17:58 |
zagy | but for the target container type | 17:58 |
zagy | s/type/interface/ | 17:58 |
zagy | also i have my own menus, so not using addMenuItem | 17:59 |
CrippsFX | IAdding is the way I've been told to do it ... I'm not *entirely* sure why though. I'll also be making a custom menu/skin after I get this component working. | 18:00 |
zagy | IAdding is the foobar/+/ thingy... i don't quite like it :) | 18:02 |
*** goschtl has quit IRC | 18:02 | |
*** yvl has quit IRC | 18:02 | |
*** yvl has joined #zope3-dev | 18:03 | |
CrippsFX | yep. | 18:04 |
*** elro has joined #zope3-dev | 18:04 | |
CrippsFX | so by using IAdding, even if path/+/Object is entered instead of doing work through the menus,I'll still get my Form. | 18:05 |
* zagy writes a doctest do test doctest | 18:05 | |
zagy | i don't understand.. what? | 18:06 |
CrippsFX | in my case: http://zopeserver/+/Computer *should* give my my AddForm just like clicking on SHIP Computer in the ZMI menu *should* do. | 18:07 |
CrippsFX | *give me my | 18:07 |
zagy | so does it give your form? | 18:07 |
CrippsFX | nope. | 18:08 |
zagy | you called it ship.Copmputer | 18:08 |
CrippsFX | what? where? | 18:08 |
zagy | line 57 of the paste | 18:09 |
CrippsFX | nope ... it's ship.Computer, in the paste @ http://www.pastebin.ca/505368 and in my local source files. | 18:10 |
zagy | yeah ship.Computer | 18:11 |
zagy | so | 18:11 |
zagy | .../+/ship.Computer | 18:11 |
CrippsFX | ah. kk. | 18:11 |
CrippsFX | okay, I have the default form ... hmm. with only 2 input widgets ... | 18:12 |
CrippsFX | ... but if it works through URL transversal, how come it doesn't work through the menu based on my present code/configuration? | 18:13 |
zagy | I don't know what addMenuItem does exactly | 18:14 |
dennis_ | cripps which url does the menu link to? | 18:15 |
CrippsFX | dennis_: http://sparky:8080/%40%40contents.html?type_name=ship.Computer ... according to my computer/browser/config.zcml it *should* link to: http://sparky:8080/+/ship.Computer | 18:16 |
dennis_ | the add menu links to contents.html ? | 18:16 |
CrippsFX | that's what it says. | 18:17 |
*** nerdalert has joined #zope3-dev | 18:17 | |
CrippsFX | dennis_: it's using the default "add item" behaviour. "give me a name and I'll create an object with that name" | 18:17 |
dennis_ | doesn't that work? | 18:18 |
CrippsFX | oh yeah, it creates a new object with the given name ... but I want it to bring up the AddForm so that I can specify initial data. | 18:18 |
mgedmin | http://mg.pov.lt/blog/formlib-adding.html | 18:19 |
mgedmin | I once figured out how to use add forms | 18:20 |
mgedmin | and blogged about it | 18:20 |
CrippsFX | thanks mgedmin ... Imma read that like it's nobody's business ;0 | 18:20 |
CrippsFX | * ;) | 18:20 |
mgedmin | because otherwise I can never remember how to do that | 18:20 |
dennis_ | ah thats your page, found it earlier already :) | 18:20 |
CrippsFX | yeah ... I think it should be added in the next revision to the WC book, because currently it's not very clear on the subject. | 18:21 |
mgedmin | I wonder what's the difference between <addMenuItem class="..."> and <addMenuItem factory="..."> | 18:21 |
dennis_ | but correct me if i am wrong: this also gives you first the input for the name, and then the rest | 18:21 |
mgedmin | I honestly don't remember | 18:22 |
CrippsFX | mgedmin: factory doesn't have to be a class, so it can call a factory "method" instead of specifying the implementing class ... makes things more general and allows fgor working without being bound to a specific implementation :) | 18:22 |
mgedmin | I don't think so | 18:22 |
*** pbugni has joined #zope3-dev | 18:22 | |
mgedmin | no, I'm sure of it | 18:22 |
mgedmin | I remember adding a special field to specify the object ID in my add forms | 18:22 |
CrippsFX | ...so it's the more "Zope 3" way :) | 18:23 |
mgedmin | so when you have a custom view, the default inline container box doesn't appear | 18:23 |
dennis_ | your example doesn't have a custom view though? | 18:24 |
*** wreutz has quit IRC | 18:24 | |
*** alecm has joined #zope3-dev | 18:24 | |
mgedmin | FruitAdd is the custom view | 18:24 |
mgedmin | that example doesn't have a custom page template | 18:25 |
dennis_ | ah oops sorry | 18:25 |
dennis_ | see it now :) | 18:25 |
mgedmin | ok, now I know what's the diff between class="" and factory="" | 18:25 |
CrippsFX | mgedmin: oh for frig's sake ... check this out: | 18:25 |
CrippsFX | 28 <utility | 18:25 |
CrippsFX | 29 component=".computer.computerFactory" | 18:25 |
CrippsFX | 30 name="ship.Computer" | 18:25 |
CrippsFX | 31 permission="zope.ManageContent" | 18:25 |
CrippsFX | 32 /> | 18:25 |
mgedmin | if you specify class="" the addMenuItem directive creates and registers a factory for that class | 18:25 |
mgedmin | with a made-up name | 18:25 |
CrippsFX | that's in my computer/configure.zcml | 18:25 |
CrippsFX | no wonder it didn't like the view name ship.Computer | 18:26 |
mgedmin | why? | 18:26 |
mgedmin | different namespaces | 18:26 |
CrippsFX | you sure? | 18:27 |
CrippsFX | ah, yeah. | 18:27 |
CrippsFX | hm. Maybe I'll just make all my factories classes instead of having factory methods .... | 18:28 |
*** pcardune_moving has quit IRC | 18:30 | |
*** srichter has quit IRC | 18:32 | |
*** srichter has joined #zope3-dev | 18:32 | |
*** ChanServ sets mode: +o srichter | 18:32 | |
*** pcardune_moving has joined #zope3-dev | 18:36 | |
*** nathany has quit IRC | 18:37 | |
*** philiKON has joined #zope3-dev | 18:38 | |
*** henri_ has quit IRC | 18:41 | |
*** zagy has quit IRC | 18:48 | |
*** jodok has quit IRC | 18:56 | |
*** harobed has quit IRC | 19:01 | |
*** jukart has quit IRC | 19:01 | |
*** nerdalert has quit IRC | 19:11 | |
*** philiKON has quit IRC | 19:17 | |
*** ignas has quit IRC | 19:20 | |
*** zagy has joined #zope3-dev | 19:21 | |
*** salfield_ has joined #zope3-dev | 19:29 | |
*** dobee has quit IRC | 19:29 | |
*** xxbeanxx has joined #zope3-dev | 19:32 | |
*** mkerrin has joined #zope3-dev | 19:34 | |
*** projekt01 has quit IRC | 19:35 | |
*** RaFromBRC has joined #zope3-dev | 19:35 | |
*** lurker has quit IRC | 19:38 | |
*** philiKON has joined #zope3-dev | 19:39 | |
*** deo has quit IRC | 19:42 | |
*** salfield has quit IRC | 19:46 | |
*** jfroche has quit IRC | 19:52 | |
derek_richardson | if I have a package (plone.syndication) with an ftests directory and I run ./test -fs plone.syndication and there's a test file called test_atom.py in the ftests directory, what's the likely cause (for a newbie to ftests) of no tests running? | 19:54 |
J1m | derek_richardson, That depends on what ./test does. :) | 19:55 |
J1m | I'm not familiar with a test script of quite that name. | 19:55 |
derek_richardson | this is the test script in $ZOPE_HOME/bin | 19:55 |
J1m | Is this Zope 2 or Zope 3? | 19:56 |
CrippsFX | mgedmin: thanks for that link. My addform now works, although, I had to switch a factory from a function to a Class, and change some other configuration stuff. | 19:56 |
derek_richardson | J1m: 3.3 | 19:56 |
J1m | where is plone syndication installed? | 19:57 |
J1m | I'm not familiar with $ZOPE_HOME. Is that where the sw is installed? Ir is it the instance? | 19:57 |
J1m | I'm not familiar with $ZOPE_HOME. Is that where the sw is installed? Or is it the instance? | 19:57 |
derek_richardson | ah, it's the instance | 19:57 |
*** schwendinger has quit IRC | 20:02 | |
lisppaste6 | derek_richardson pasted "test script in zope 3.3.1" at http://paste.lisp.org/display/41657 | 20:02 |
*** ignas has joined #zope3-dev | 20:03 | |
derek_richardson | plone.syndication is in [instance]/lib/python via a symlink | 20:06 |
*** romanofski has quit IRC | 20:07 | |
J1m | I don't think a symlink should matter, but I'm not 100% sure. | 20:07 |
*** wreutz has joined #zope3-dev | 20:07 | |
J1m | What is the output of the test runner? | 20:08 |
derek_richardson | Total: 0 tests, 0 failures, 0 errors | 20:08 |
*** philiKON has quit IRC | 20:08 | |
J1m | ah, do the tests in test_atom use any layers? | 20:08 |
* derek_richardson does a cp to test the symlink hypothesis | 20:09 | |
J1m | Or are they straight unit tests? | 20:09 |
*** wreutz has quit IRC | 20:09 | |
derek_richardson | J1m: not explicitly, but they are ftests, derived from BrowserTestCase | 20:09 |
J1m | Hm, weird. | 20:10 |
lisppaste6 | derek_richardson pasted "test_atom.py" at http://paste.lisp.org/display/41658 | 20:10 |
J1m | I don't see anything you are doing incorrectly. | 20:13 |
J1m | Maybe someone else can see something. | 20:13 |
derek_richardson | replacing symlink with cp'ed packages didn't change output | 20:13 |
derek_richardson | I wish I could at least provoke an error message, that would give me something to go on... :( | 20:14 |
J1m | Do the tests run if you don't give any arguments (other than verbosity) to the test runner? (e.g. bin/test -vvv) | 20:14 |
derek_richardson | yes, that runs my unit tests | 20:15 |
J1m | Does it run the test in test_atom.py? | 20:15 |
J1m | Does ftests have an __init__.py? | 20:15 |
*** lurker has joined #zope3-dev | 20:16 | |
derek_richardson | I do have one failing unit test, but I'm guessing that wouldn't stop it from running the ftests. No, it doesn't run test_atom.py | 20:16 |
J1m | Does ftests have an __init__.py? | 20:16 |
derek_richardson | :( bingo. thanks. got the hard stuff, missed the easy. | 20:16 |
J1m | Perhaps the test runner should warn about non-package directories that look suspiciously like test directories. | 20:18 |
*** pcardune_moving has quit IRC | 20:18 | |
derek_richardson | heh, that would be nice. but I take full responsibility for missing something easy. and, yes, it does find the test now that I added __init__.py | 20:18 |
derek_richardson | thanks, J1m! I'll put a patch for the test runner on my list of things to look at when I have a breather. | 20:19 |
J1m | cool | 20:19 |
*** elro has quit IRC | 20:28 | |
zagy | yey | 20:31 |
zagy | another unicode bug in zope.testing =) | 20:31 |
zagy | fg | 20:31 |
*** timte has quit IRC | 20:38 | |
*** timte has joined #zope3-dev | 20:48 | |
*** samimi has joined #zope3-dev | 20:53 | |
samimi | salut tt l monde!!! | 20:53 |
samimi | est-ce que il y'a des aquariophilie??? | 20:54 |
*** samimi has left #zope3-dev | 20:54 | |
zagy | lol | 20:58 |
*** derek_richardson is now known as derek|home | 20:59 | |
CrippsFX | all I got from that was "Hello World" | 21:01 |
CrippsFX | :P | 21:01 |
zagy | i think he was asking if we had anything todo with fish... | 21:02 |
zagy | for instance the zope fish :) | 21:02 |
CrippsFX | oh. I knew zope was named after something, but I didn't know that it was a fish ... | 21:02 |
zagy | no, it wan't named after the fish (afaik) | 21:04 |
zagy | just a coincidence | 21:04 |
benji | yep, just a wonderful coincidence | 21:04 |
CrippsFX | hehehe: http://earth.leeds.ac.uk/~earaj/shoal/z.html | 21:05 |
CrippsFX | ... sounds like a delicious coincidence ... | 21:05 |
*** whit is now known as whit|bank | 21:07 | |
*** oferw has joined #zope3-dev | 21:10 | |
*** pcardune has joined #zope3-dev | 21:18 | |
*** alecm has quit IRC | 21:18 | |
*** philiKON has joined #zope3-dev | 21:20 | |
CrippsFX | typo in the WorldCookery book ... pg 170 near the top: "... we are using a yet another subpackage ..." should be: "... we are using yet another subpackage ..." | 21:21 |
CrippsFX | damn .. he's gone. | 21:22 |
*** jodok has joined #zope3-dev | 21:25 | |
*** foxmjay has joined #zope3-dev | 21:27 | |
*** mkerrin has quit IRC | 21:28 | |
*** alga has quit IRC | 21:33 | |
*** Jell-O-Fishi has joined #zope3-dev | 21:40 | |
*** redir has joined #zope3-dev | 21:43 | |
*** CrippsFX has quit IRC | 21:45 | |
*** CrippsFX has joined #zope3-dev | 21:45 | |
*** timte has quit IRC | 21:47 | |
*** oferw has quit IRC | 21:49 | |
*** jodok has quit IRC | 21:50 | |
CrippsFX | I registered a (basic) skin in mypackage/skin/configure.zcml and in the interface directive I used name="ShipDev" ... but on the debugzope shell when I run >>> getUtility(IBrowserSkinType, name=u'ShipDev') I get the following traceback: | 21:54 |
CrippsFX | Traceback (most recent call last): | 21:54 |
CrippsFX | File "<stdin>", line 1, in ? | 21:54 |
CrippsFX | File "/opt/Zope-3.1.1/lib/python/zope/component/_api.py", line 207, in getUtility | 21:54 |
CrippsFX | raise ComponentLookupError(interface, name) | 21:54 |
CrippsFX | zope.component.interfaces.ComponentLookupError: (<InterfaceClass zope.publisher.interfaces.browser.IBrowserSkinType>, u'ShipDev') | 21:54 |
CrippsFX | this makes no sense to me since I should be *manually specifiying* everything here ... what does this traceback say to someone more experienced than me? | 21:55 |
*** jfroche has joined #zope3-dev | 21:55 | |
*** schwendinger has joined #zope3-dev | 21:55 | |
*** Jell-O-Fishi has quit IRC | 21:55 | |
CrippsFX | I'm also getting this traceback on bin/debugzope or bin/runzope : http://www.pastebin.ca/505764 ... which also doesn't make any sense to me since I'm following the directions in the WC book, and there's not even a place for me to deviate yet. | 21:57 |
mgedmin | it would appear that you have not defined a skin named shipDev | 21:58 |
mgedmin | or at least you are trying to use it before it is defined | 21:58 |
CrippsFX | mgedmin: that's what I'm gathering too ... oh .. snap ... | 21:59 |
CrippsFX | mgedmin: I forgot the <include package=".skin" /> in my ship/configure.zcml | 21:59 |
CrippsFX | ... I really need a nap ;) | 21:59 |
CrippsFX | mgedmin: precisely. Thanks for pointing that out to me. Man am I glad that the workday is almost over. | 22:01 |
CrippsFX | ... and I've needed a smoke since about 10 am ... | 22:01 |
*** schwendinger_ has joined #zope3-dev | 22:01 | |
mgedmin | neeed foooood... | 22:02 |
*** SteveA has quit IRC | 22:02 | |
CrippsFX | nah, I'm good for food ;) | 22:02 |
CrippsFX | ...until after naptime anyways. | 22:02 |
*** dunny has joined #zope3-dev | 22:03 | |
*** dobee has joined #zope3-dev | 22:07 | |
*** nerdalert has joined #zope3-dev | 22:13 | |
*** ksmith99 has joined #zope3-dev | 22:16 | |
*** schwendinger has quit IRC | 22:19 | |
*** BjornT has quit IRC | 22:22 | |
*** BjornT_ is now known as BjornT | 22:22 | |
*** timte has joined #zope3-dev | 22:29 | |
*** naro has quit IRC | 22:32 | |
*** whit|bank has quit IRC | 22:33 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 22:34 | |
*** xenru has quit IRC | 22:39 | |
*** jfroche has quit IRC | 22:39 | |
*** lzdych has quit IRC | 22:44 | |
*** schwendinger_ has quit IRC | 22:46 | |
*** rocky is now known as rocky|away | 22:48 | |
*** xxbeanxx has quit IRC | 22:54 | |
*** ignas has quit IRC | 22:58 | |
*** afd__ has quit IRC | 22:59 | |
*** elro has joined #zope3-dev | 23:02 | |
*** yvl has quit IRC | 23:10 | |
*** yvl has joined #zope3-dev | 23:10 | |
*** mgedmin has quit IRC | 23:11 | |
*** d2m has quit IRC | 23:11 | |
*** greenman has joined #zope3-dev | 23:13 | |
*** pcardune has quit IRC | 23:14 | |
*** yvl has quit IRC | 23:19 | |
*** ksmith99 has joined #zope3-dev | 23:27 | |
*** WebMaven_ has joined #zope3-dev | 23:31 | |
*** pcardune has joined #zope3-dev | 23:35 | |
*** ksmith99 has quit IRC | 23:37 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 23:43 | |
*** alga has joined #zope3-dev | 23:45 | |
*** WebMaven has quit IRC | 23:46 | |
*** whit|bank has joined #zope3-dev | 23:47 | |
*** whit|bank is now known as whit | 23:49 | |
*** dobee has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!