*** jhauser has quit IRC | 00:04 | |
*** greenman has joined #zope3-dev | 00:08 | |
*** lurker has quit IRC | 00:09 | |
*** ignas has quit IRC | 00:16 | |
*** norro has quit IRC | 00:19 | |
*** Jell-O-Fishi has joined #zope3-dev | 00:28 | |
*** schwendinger_ has quit IRC | 00:29 | |
*** rocky is now known as rocky|away | 00:30 | |
*** nerdalert has quit IRC | 00:39 | |
*** Jell-O-Fishi has quit IRC | 00:42 | |
*** alga has quit IRC | 00:46 | |
*** bigkevmcd has quit IRC | 00:52 | |
*** philiKON has joined #zope3-dev | 00:52 | |
*** benji has joined #zope3-dev | 00:54 | |
*** philiKON_ has quit IRC | 00:59 | |
*** J1m has quit IRC | 01:01 | |
*** lucielejard has quit IRC | 01:03 | |
*** d2m has quit IRC | 01:06 | |
*** s2 has joined #zope3-dev | 01:10 | |
*** s2 is now known as sm | 01:12 | |
*** s2 has joined #zope3-dev | 01:12 | |
*** s2 has left #zope3-dev | 01:13 | |
*** sm has quit IRC | 01:13 | |
*** sm has joined #zope3-dev | 01:14 | |
*** sm has joined #zope3-dev | 01:15 | |
*** sm has quit IRC | 01:19 | |
*** elro has joined #zope3-dev | 01:19 | |
*** benji has quit IRC | 01:27 | |
*** elro has quit IRC | 01:50 | |
*** salfield_ has quit IRC | 02:12 | |
*** salfield_ has joined #zope3-dev | 02:23 | |
*** whit has quit IRC | 02:28 | |
*** tom__ has joined #zope3-dev | 02:38 | |
*** dennis__ has joined #zope3-dev | 02:41 | |
*** CrippsFX has quit IRC | 02:41 | |
*** afd has quit IRC | 02:41 | |
*** dennis_ has quit IRC | 02:41 | |
*** jkakar has quit IRC | 02:41 | |
*** afd has joined #zope3-dev | 02:41 | |
*** dennis_ has joined #zope3-dev | 02:43 | |
*** CrippsFX has joined #zope3-dev | 02:43 | |
*** jkakar has joined #zope3-dev | 02:43 | |
*** whit has joined #zope3-dev | 02:45 | |
*** salfield_ has quit IRC | 02:46 | |
*** dennis_ has quit IRC | 02:57 | |
*** greenman has quit IRC | 03:06 | |
*** whitmo has joined #zope3-dev | 03:07 | |
*** whit has quit IRC | 03:07 | |
*** whitmo has quit IRC | 03:14 | |
*** yota has quit IRC | 03:24 | |
*** rocky|away has quit IRC | 03:28 | |
*** rocky has joined #zope3-dev | 03:30 | |
*** jkakar has quit IRC | 03:30 | |
*** CrippsFX has quit IRC | 03:30 | |
*** CrippsFX has joined #zope3-dev | 03:35 | |
*** jkakar has joined #zope3-dev | 03:35 | |
*** wrobel has quit IRC | 03:41 | |
*** salfield_ has joined #zope3-dev | 03:58 | |
*** tom__ has quit IRC | 04:18 | |
*** jkakar has quit IRC | 04:22 | |
*** CrippsFX has quit IRC | 04:22 | |
*** CrippsFX has joined #zope3-dev | 04:23 | |
*** jkakar has joined #zope3-dev | 04:23 | |
*** greenman has joined #zope3-dev | 04:35 | |
*** pbugni has quit IRC | 04:38 | |
*** pbugni has joined #zope3-dev | 04:45 | |
*** salfield_ has quit IRC | 04:56 | |
*** alecm has quit IRC | 05:17 | |
*** philiKON_ has joined #zope3-dev | 05:19 | |
*** benji has joined #zope3-dev | 05:25 | |
*** benji has quit IRC | 05:32 | |
*** philiKON has quit IRC | 05:36 | |
*** greenman has quit IRC | 05:37 | |
*** greenman has joined #zope3-dev | 05:38 | |
*** RaFromBRC has quit IRC | 05:50 | |
*** natea has quit IRC | 06:22 | |
*** deo has quit IRC | 06:55 | |
*** WebMaven__ has quit IRC | 06:58 | |
*** WebMaven has joined #zope3-dev | 07:00 | |
*** niemeyer has quit IRC | 07:06 | |
*** pcardune has joined #zope3-dev | 07:32 | |
*** baijum has joined #zope3-dev | 07:34 | |
*** whit has joined #zope3-dev | 07:40 | |
*** zagy has joined #zope3-dev | 07:48 | |
*** zagy has quit IRC | 07:49 | |
*** pcardune has quit IRC | 07:55 | |
*** dobee has joined #zope3-dev | 07:57 | |
*** jukart has joined #zope3-dev | 07:59 | |
*** afd_ has joined #zope3-dev | 08:09 | |
*** d2m has joined #zope3-dev | 08:15 | |
*** zagy has joined #zope3-dev | 08:18 | |
*** jukart has quit IRC | 08:19 | |
*** naro has joined #zope3-dev | 08:24 | |
*** zagy_ has joined #zope3-dev | 08:28 | |
*** greenman has quit IRC | 08:30 | |
*** zagy has quit IRC | 08:31 | |
*** dobee has quit IRC | 08:33 | |
*** zagy has joined #zope3-dev | 08:48 | |
*** zagy_ has quit IRC | 08:48 | |
*** ka-jod has joined #zope3-dev | 08:53 | |
*** dobee has joined #zope3-dev | 08:54 | |
*** pelle_ has joined #zope3-dev | 09:10 | |
*** timte has joined #zope3-dev | 09:12 | |
*** pbugni has quit IRC | 09:17 | |
*** wrobel has joined #zope3-dev | 09:18 | |
*** romanofski has joined #zope3-dev | 09:26 | |
romanofski | moin | 09:29 |
---|---|---|
*** jukart has joined #zope3-dev | 09:31 | |
timte | does an adapter know which interface it provides if it's specified in zcml? | 09:32 |
*** alecm has joined #zope3-dev | 09:32 | |
*** dunny has quit IRC | 09:33 | |
*** yota has joined #zope3-dev | 09:45 | |
*** projekt01 has joined #zope3-dev | 09:47 | |
*** ka-jod has quit IRC | 09:50 | |
*** sorindregan has joined #zope3-dev | 09:57 | |
*** stub has joined #zope3-dev | 09:57 | |
*** torkel_ has quit IRC | 10:00 | |
*** Jell-O-Fishi has joined #zope3-dev | 10:07 | |
*** goschtl has joined #zope3-dev | 10:11 | |
*** alecm has quit IRC | 10:27 | |
*** tarek has joined #zope3-dev | 10:28 | |
*** dunny has joined #zope3-dev | 10:36 | |
*** lzdych has joined #zope3-dev | 10:40 | |
*** bigkevmcd has joined #zope3-dev | 10:49 | |
*** greenman has joined #zope3-dev | 10:59 | |
*** yvl has joined #zope3-dev | 11:02 | |
*** BjornT_ has joined #zope3-dev | 11:04 | |
*** lurker has joined #zope3-dev | 11:09 | |
*** schwendinger has joined #zope3-dev | 11:10 | |
*** greenman has quit IRC | 11:13 | |
*** BjornT has quit IRC | 11:17 | |
*** ghendi has joined #zope3-dev | 11:47 | |
*** zagy has quit IRC | 11:50 | |
*** ktwilight_ has joined #zope3-dev | 12:05 | |
*** schwendinger has quit IRC | 12:16 | |
*** ktwilight has quit IRC | 12:21 | |
*** ktwilight has joined #zope3-dev | 12:21 | |
*** schwendinger has joined #zope3-dev | 12:25 | |
*** ktwilight_ has quit IRC | 12:26 | |
*** schwendinger has quit IRC | 12:27 | |
*** jfroche_ has joined #zope3-dev | 12:53 | |
*** ignas has joined #zope3-dev | 12:55 | |
*** jfroche has quit IRC | 13:07 | |
*** dunny has quit IRC | 13:12 | |
*** mgedmin has joined #zope3-dev | 13:23 | |
*** yvl has quit IRC | 13:30 | |
*** alga has joined #zope3-dev | 13:32 | |
*** mkerrin has joined #zope3-dev | 13:33 | |
*** greenman has joined #zope3-dev | 13:33 | |
*** salfield has joined #zope3-dev | 13:57 | |
*** b52GM has quit IRC | 13:58 | |
*** b52laptop has quit IRC | 13:58 | |
*** b52GM has joined #zope3-dev | 13:59 | |
*** Jell-O-Fishi has quit IRC | 14:04 | |
CrippsFX | hm ... I keep getting this error message as part of a traceback when I try to view a component: <security proxied zope.app.publisher.browser.viewmeta.ViewComputer instance at 0xb5d925ec> ... ViewComputer is a class located in ship.computer.browser.computer (in my app) ... It's a view class which I have registered under the ship.computer.browser configure.zcml (as part of the <browser:page .../> directive) does anybody have any ideas why it's | 14:12 |
CrippsFX | doing that, or what information could I provide to give a better clue? | 14:12 |
CrippsFX | timte: it should. | 14:13 |
dennis__ | paste the whole backtrace on one of the sites in the topic? | 14:15 |
CrippsFX | dennis__: kk. I'll be a moment. | 14:15 |
*** b52laptop has joined #zope3-dev | 14:16 | |
CrippsFX | http://www.pastebin.ca/502127 | 14:16 |
CrippsFX | dennis__: oh, for frig's sake ... hahaha ... key error "user" ... It looks like I forgot to convert one of my var names. | 14:18 |
CrippsFX | dennis__: thank's for looking at that for me ;) | 14:18 |
timte | it often helps just to explain the problem to someone else :) | 14:20 |
CrippsFX | true that :). | 14:20 |
CrippsFX | now I've got another error ... I'm *great* at writing bug-free code ;) | 14:21 |
dennis__ | hehe | 14:21 |
CrippsFX | Imma try to sift through this one by myself before I ask for more help ... again. | 14:21 |
CrippsFX | ah ... this one has something to do with my list widget :) | 14:22 |
mgedmin | that sounds painful | 14:30 |
mgedmin | list widgets traumatised my childhood | 14:31 |
*** tonico has joined #zope3-dev | 14:32 | |
*** norro has joined #zope3-dev | 14:38 | |
*** salfield has quit IRC | 14:38 | |
dennis__ | one observation of migrating from 3.3.1 to 3.4.0a1, though I don't know what it means: in 3.3 it was OK to create a new site following the WC Zope book (programmatically), but in 3.4 you must have your own PrincipalAnnotationUtility registered in your local site manager or you will get weird backtraces when IAnnotation( user ) fails (f.e. in the rotterdam skin trying to view the ++etc++site of your new site, if it does not have its own | 14:39 |
dennis__ | PrincipalAnnotationsUtility) | 14:39 |
*** salfield has joined #zope3-dev | 14:46 | |
CrippsFX | mgedmin: yeah ... I'm following the WorldCookery book on this stuff, so I don't see why it isn't working ... but, meh ... it can all be figured out with enough patience :) | 14:47 |
CrippsFX | from the zope debug shell transaction.commit() will commit component (object) changes to the ZODB, what command would I use to "check out" objects from ZODB ... i.e. I want to pull out an existing object, modify it, and re-commit it to see if one of my views is working. | 14:51 |
lurker | none of it, CrippsFX, just modify the object and commit | 14:51 |
CrippsFX | lurker: so the existing ZODB objects are loaded when the debug shell starts? | 14:52 |
lurker | they are loaded when you access them | 14:52 |
*** zagy has joined #zope3-dev | 14:52 | |
lurker | ZODB is transparent for the most part | 14:52 |
CrippsFX | mgedmin: oddly enough, my list View widget is working, it's the list input widget that's b0rked. | 14:52 |
CrippsFX | lurker: right. Thanks. (God bless Transparency!) | 14:53 |
CrippsFX | weird ... from the debug prompt I made a Computer object (as per my app specs), and ran transaction.commit(), and the object isn't available via http://zopeserver/contents.html :/ | 14:59 |
dennis__ | root['computer'] = Computer() | 15:01 |
CrippsFX | ahhh. | 15:02 |
CrippsFX | thanks :) | 15:02 |
CrippsFX | forgot about that whole ZODB is Container thing. | 15:02 |
*** schwendinger has joined #zope3-dev | 15:03 | |
CrippsFX | thanks dennis__ :) | 15:05 |
dennis__ | have fun :) | 15:05 |
CrippsFX | done and done :D | 15:07 |
*** goschtl_ has joined #zope3-dev | 15:08 | |
*** stub has quit IRC | 15:12 | |
*** benji has joined #zope3-dev | 15:17 | |
*** goschtl has quit IRC | 15:25 | |
*** niemeyer has joined #zope3-dev | 15:29 | |
*** elro has joined #zope3-dev | 15:34 | |
CrippsFX | okay, here is my browser view module, configure.zcml and the traceback from trying to access the edit view for my computer object ... I can't figure out exactly what's wrong, so I was hoping for a handy pointer to help me out: http://www.pastebin.ca/502229 | 15:35 |
CrippsFX | in the traceback, CompObj = pf ... pf is just a random name that I used for the Computer Object. | 15:37 |
*** mgedmin has quit IRC | 15:39 | |
CrippsFX | from what I gather, zope is having trouble with the List Input widget ... but I don't know how to go about fixing that ... | 15:40 |
dennis__ | can you add IComputer definition? | 15:41 |
CrippsFX | I used (almost verbatem) the simple edit view example from WC chapter 8 to make this view. | 15:41 |
CrippsFX | dennis__: yep ... another moment. | 15:41 |
CrippsFX | dennis__: http://www.pastebin.ca/502235 .... everything in the previous post, + IComputer for your reading pleasure :) | 15:42 |
CrippsFX | oops ... missing a few lines ... just another moment | 15:43 |
CrippsFX | dennis__: there we go -> http://www.pastebin.ca/502236 | 15:44 |
dennis__ | why no value_type for users? (i admit i havent used lists) | 15:45 |
CrippsFX | I thought List itself was a value_type ... else, everything in the list *should* be a TextLine by default (users = list of strings) | 15:46 |
CrippsFX | yeah, neither have I :/ ... and mgedmin has timed out. | 15:48 |
dennis__ | like i said i havent tried lists, but my first try would be to add that and follow the example closely | 15:48 |
CrippsFX | kk. I'll try giving that a shot. | 15:48 |
CrippsFX | dennis__: heh ... going back and following the example closely + value_type = good idea. | 15:51 |
CrippsFX | dennis__: as soon as I went back to the schema section, I noticed the value_type=TextLine() ... for the list thing ... | 15:51 |
CrippsFX | my fingers must've been moving faster than the brain when I wrote my schema definition for that object :) | 15:52 |
dennis__ | its a very good book | 15:52 |
*** greenman has quit IRC | 15:53 | |
*** redir has joined #zope3-dev | 15:54 | |
CrippsFX | dennis__: I do agree. I like pretty much everything about it; very well organized | 15:54 |
dennis__ | does it work? | 15:57 |
*** ghendi has quit IRC | 15:58 | |
*** harobed has joined #zope3-dev | 16:02 | |
*** zagy has quit IRC | 16:03 | |
srichter | how do I upload an egg to download.zope.org/distribution again? | 16:08 |
lurker | scp | 16:09 |
srichter | lurker: so I have to download the egg from pipy first? | 16:09 |
lurker | er | 16:10 |
lurker | you made that egg or what? | 16:10 |
srichter | yes | 16:10 |
lurker | why is it on pipy at all if you want it on download.zope.org? | 16:10 |
srichter | both locations, in case pypi is not available | 16:11 |
CrippsFX | dennis__: sorry, yeah, it works :) | 16:11 |
*** oferw has joined #zope3-dev | 16:14 | |
dennis__ | heh good cripps! | 16:15 |
CrippsFX | :) | 16:16 |
lurker | srichter: well, all I know is to scp to download.zope.org using your svn account | 16:17 |
lurker | there is no "pull from pypi" afaik | 16:17 |
srichter | ok, but I have to get the egg first | 16:18 |
srichter | I thought that buildout helped me out here, but I guess it does not | 16:18 |
timte | it can only help you with develop eggs as far as I know | 16:28 |
*** reco has joined #zope3-dev | 16:29 | |
timte | making an egg is something like "python setup.py bdist_egg" or similar | 16:30 |
baijum | srichter, to create a source egg: buildout setup . sdist | 16:33 |
srichter | ok, did that | 16:34 |
srichter | where will it be located? | 16:35 |
baijum | ./dist folder | 16:35 |
srichter | ah, ok | 16:35 |
srichter | thanks | 16:35 |
baijum | np | 16:35 |
baijum | btw, scp to download.zope.org:/distribution folder | 16:35 |
srichter | yeah, did that already :-) | 16:36 |
baijum | cool :) | 16:36 |
Theuni | remember to set your permissions correctly ;) | 16:36 |
srichter | mmh, for some reason z3c.template (which I was working on first) does not seem to get picked up as a dependency | 16:37 |
*** sorindregan has quit IRC | 16:37 | |
srichter | how can I inspect this? | 16:37 |
srichter | I am getting a second package ready for distribution | 16:38 |
srichter | and the z3c.template package is a dependency of the test part | 16:38 |
srichter | I specified it in extras_require | 16:38 |
*** foxmjay has joined #zope3-dev | 16:42 | |
Theuni | did you specify that the testrunner should use the extra? | 16:48 |
Theuni | the buildout would be eggs = mypackage [test] | 16:49 |
srichter | oh, nope :-) | 16:49 |
Theuni | if "test" is the name of your extra | 16:49 |
srichter | ok, that's what it is for | 16:49 |
srichter | ok, that makes sense | 16:49 |
Theuni | :) | 16:49 |
*** nerdalert has joined #zope3-dev | 16:50 | |
srichter | Theuni: hold on, here is the latest error now | 16:50 |
srichter | zc.buildout.easy_install: Getting required z3c.template | 16:50 |
srichter | zc.buildout.easy_install: We have no distributions for z3c.template that satisfies z3c.template. | 16:50 |
srichter | While: | 16:50 |
srichter | Installing test | 16:50 |
srichter | Getting distribution for z3c.template | 16:50 |
srichter | Error: Download error: unknown url type: svn | 16:50 |
srichter | where could that come from? | 16:50 |
*** elro has quit IRC | 16:51 | |
Theuni | eek | 16:51 |
Theuni | that might be pypi | 16:52 |
srichter | did I do something wrong with my z3c.template package? | 16:52 |
srichter | maybe I declared the wrong URL? | 16:52 |
srichter | oh yes, I did | 16:52 |
srichter | I point it to the repos, instad of PyPI; I thought th eURL is informational | 16:53 |
Theuni | no, the homepage is set to svn:// | 16:53 |
Theuni | easy_install tries to go there and fails | 16:53 |
srichter | I see | 16:53 |
Theuni | we typically put the homepage to the viewcvs of the repository if we don't have anything else | 16:53 |
srichter | that's what I thought | 16:53 |
srichter | ok, I will do that instead | 16:54 |
Theuni | (also, we use http as the svn transport protocol so that doesn't happen very often to us) | 16:54 |
srichter | who is we? | 16:54 |
srichter | I thought we (as in Z3 community) are using svn and svn+ssh | 16:54 |
*** baijum has quit IRC | 16:57 | |
srichter | okay, so I start to get this | 16:58 |
srichter | the only reason I do this buildout step is to run the tests and make sure that I got all the dependencies right | 16:58 |
* Theuni as gocept ;) | 16:58 | |
*** benji_ has joined #zope3-dev | 16:59 | |
Theuni | right | 16:59 |
Theuni | the dependency thing and testing is what i do for the individual zope.* eggs too | 16:59 |
*** benji has quit IRC | 16:59 | |
srichter | Theuni: right, I really hope I can contribute a test coverage recipe soon, which is another step that we commonly do before a release | 17:00 |
*** pelle_ has quit IRC | 17:01 | |
srichter | yipee now I got the z3c.tempalte dependency | 17:01 |
Theuni | *grats | 17:01 |
srichter | and no failures | 17:02 |
srichter | yipee | 17:02 |
*** xxbeanxx has joined #zope3-dev | 17:02 | |
srichter | Theuni: we really need to improve finddeps to deal with doctests | 17:02 |
srichter | Theuni: so in "dependency_links" I could specify my private egg distribution server, right? | 17:03 |
xxbeanxx | On page 107 of the worldcookery book, the author has a tal expression of the form <tal:content="context/name/title"> where name is a TextLine schema...... Why did he use "context/name/title" instead of just "context/name" as is done for other TextLine fields? | 17:04 |
Theuni | srichter: i guess so, I didn't use that yet | 17:05 |
srichter | ok | 17:05 |
*** foxmjay has quit IRC | 17:05 | |
srichter | Theuni: What do I do, if I do not want the SVN revision number on the release? | 17:06 |
Theuni | you do the sdist differently | 17:06 |
Theuni | what was your sdist call? | 17:06 |
srichter | bin/buildout setup . sdist register upload | 17:07 |
srichter | Theuni: basically copied from Jim's tutorial | 17:07 |
*** xxbeanxx has quit IRC | 17:10 | |
*** zagy has joined #zope3-dev | 17:11 | |
srichter | Theuni: why don't we use classifiers more? | 17:14 |
*** J1m has joined #zope3-dev | 17:14 | |
Theuni | dunno, don't we? | 17:15 |
srichter | no, all the packages I looked at did not have classifiers | 17:15 |
Theuni | might be lazyness | 17:15 |
srichter | the reason I ask is because there is a PyPI overview page that uses the classifiers to do package categories | 17:16 |
srichter | and it would look really cool, if Zope 3 had the most | 17:16 |
srichter | :-) | 17:16 |
srichter | Zope 2 -> 50, Zope 3 -> 42, Turbo Gears -> 62 | 17:17 |
srichter | Imagine we would add the classifiers to all our packages, we probably have liek 200-300 | 17:18 |
Theuni | right | 17:19 |
*** philiKON has joined #zope3-dev | 17:19 | |
*** zagy_ has joined #zope3-dev | 17:23 | |
*** philiKON_ has quit IRC | 17:23 | |
*** b52GM has quit IRC | 17:25 | |
srichter | so how do I get rid of the revision number in the release? | 17:26 |
srichter | I tried the -V option, but it did not seem to work | 17:26 |
*** zagy has quit IRC | 17:28 | |
*** zagy has joined #zope3-dev | 17:30 | |
srichter | J1m: what option do you use to not have the revision number be part of the released filename? | 17:31 |
*** yvl has joined #zope3-dev | 17:31 | |
*** whit has quit IRC | 17:34 | |
*** alecm has joined #zope3-dev | 17:36 | |
*** zagy_ has quit IRC | 17:36 | |
*** timte has quit IRC | 17:38 | |
*** zagy_ has joined #zope3-dev | 17:38 | |
*** mgedmin has joined #zope3-dev | 17:38 | |
*** zagy has quit IRC | 17:41 | |
*** faassen has joined #zope3-dev | 17:43 | |
CrippsFX | hm ... when doing a preview view, the main view page has to be called index.html, is it possible to have the main view called something different (i.e. CompIndex.html) and still work with the preview using the zope.app.preview package? | 17:43 |
faassen | J1m: is there a way to find out using buildout where a dependency is coming from? I'm having a lot of problems with Zope 3.4 eggs polluting my Zope 3.3 development buildout and I don't know where they come from. | 17:44 |
faassen | J1m: that is, my Zope 3.3-based development buildout | 17:45 |
J1m | srichter, I think setup.conf is an abomination. So I don't need an option to disable a revision number. :) See the setuptools docs for ways to inhibit the revision #. | 17:46 |
J1m | faassen, the latest buildout will tell you who is responsible for a missing dependency or a version conflict. | 17:46 |
J1m | There is a bug in how it does this that can make this take a long time. | 17:47 |
J1m | I suppose you want to know where a met dependency is among from. | 17:47 |
faassen | J1m: yes. I just licked it, but it was quite frustrating. | 17:47 |
faassen | J1m: anyway, it'd be nice what in the buildout is requiring something. | 17:48 |
J1m | ick. How did it taste? | 17:48 |
faassen | J1m: that is, it'd be nice to find out. | 17:48 |
faassen | J1m: also one thing that mystifies me is that I can put a package under 'develop' | 17:48 |
faassen | J1m: or alternatively just check it out under the buildout dir | 17:48 |
srichter | J1m: okay, I will try | 17:48 |
faassen | J1m: and in both cases it's somehow picked up, but in the second case its setup.py seems to be ignored. | 17:48 |
faassen | J1m: or maybe not ignored, but..something different is happening. | 17:49 |
* srichter starts to dig setuptools, eggs and buidout | 17:49 | |
faassen | J1m: it can't be the setup.py is ignored, as it's actually using its dependencies. so I'm not quite sure what's happening, but there's a difference. | 17:49 |
J1m | faassen, I'm not sure I follow you. | 17:49 |
faassen | J1m: okay, imagine I have a buildout | 17:49 |
faassen | J1m: and I check out zc.sourcefactory into it. | 17:49 |
faassen | J1m: and then I reference zc.sourcefactory in the dependencies of my setup.py | 17:49 |
faassen | J1m: and I *don't* list it under the 'develop' entries in [buildout] | 17:50 |
*** whit has joined #zope3-dev | 17:50 | |
faassen | J1m: something happens. | 17:50 |
faassen | J1m: and if I do list it under develop, something else happens. | 17:50 |
faassen | J1m: i.e. there is a difference in how dependency informaiton is built up, it seems. | 17:50 |
J1m | If you *just* check it out, there will be no effect on the buildout/ | 17:50 |
faassen | J1m: possibly it's picking up zc.sourcefactory from another location, is that possible? like a subdirectory which contains a setup.py which in turn contains a zc.sourcefactory? | 17:51 |
J1m | Some version will be downloaded. | 17:51 |
*** b52GM has joined #zope3-dev | 17:51 | |
faassen | J1m: yeah, but I didn't think there was such a version anywhere. | 17:51 |
J1m | You must be wrong. | 17:51 |
J1m | buildout never implicitly runs setup scripts. | 17:51 |
faassen | J1m: well, I will verify this. | 17:51 |
J1m | It will only run setup scripts listed in develop. | 17:52 |
J1m | Double check your eggs and develop-eggs directories. | 17:52 |
faassen | J1m: you're right, there is one in the eggs dir. | 17:52 |
J1m | Perhaps in verbose verbose mode, buildout should prnt *why* it is downloading dependencies. | 17:53 |
J1m | Perhaps in verbose verbose mode, buildout should print *why* it is downloading dependencies. | 17:53 |
faassen | J1m: that would be nice. | 17:53 |
J1m | *maybe* I can do that today. | 17:53 |
faassen | J1m: or even a mode all by itself, as I'm not too interested in the other stuff when i'm scratching my head over dependencies. | 17:53 |
faassen | J1m: that'd be great, but no rush on my end now that I have this under control again. it was just really frustrating for a while. | 17:54 |
J1m | Although, so far, my velocity is pretty low this morning. Everybody wants to talk to me. :) | 17:54 |
faassen | J1m: the transition from zope 3.3 and zope 3.4 is a little bit frustrating due to all these eggs coming in from places. | 17:54 |
faassen | J1m: though granted I'm actually using zc.sourcefactory with Zope 3.3 which possibly isn't supported. I'm not sure. :) | 17:55 |
faassen | J1m: I'll stop babbling now. | 17:55 |
J1m | faassen, we are in labor. (A weird labor that produces eggs, not babies.) Our eggs are all scrambled. :) Our dependencies are insane. It will be a painful mess for a while until we sort it out. | 17:59 |
faassen | J1m: yeah, I know. | 17:59 |
faassen | J1m: we're a giant platypus | 18:00 |
* J1m tries to think of more metaphors to mix in, but stops. | 18:00 | |
J1m | faassen, nice :) | 18:00 |
faassen | :) | 18:00 |
ignas | laying eggs 1 by 1 would be a lot easier ;) but with the mesh of dependencies, you'll have to do it like Zopes | 18:01 |
Theuni | i just got a new wok. i can try to produce some fried eggs now. | 18:02 |
faassen | Theuni: :) | 18:03 |
*** zagy_ has quit IRC | 18:04 | |
CrippsFX | in Zope3, which is preferable: to make a <page ...> with a class that extends AddForm and use the <page> directive to register that, or to straight up use the <addform> directive ? | 18:06 |
srichter | J1m: is there anywhere an example on using your new Zope app/instance recipe? | 18:07 |
*** oferw has quit IRC | 18:07 | |
mgedmin | CrippsFX: the first one, and also provided that you use the AddForm from zope.formlib.form, and not the one in zope.app.form.whatever | 18:07 |
J1m | srichter, http://www.python.org/pypi/zc.zope3recipes/0.4 | 18:08 |
srichter | thanks | 18:08 |
CrippsFX | mgedmin: okay, thanks. I am using the one from zope.formlib.form .... That being said, how would I properly use the configuration to get "Add this object" in the zmi menu? | 18:09 |
CrippsFX | because I'm *used to* using AddMenuItem and the <addform> directive ... | 18:10 |
mgedmin | register the view on the zope.container.interfaces.IAdding with the same name you have in your <browser:addMenuItem> directive | 18:10 |
mgedmin | iirc | 18:10 |
CrippsFX | kk. thanks. | 18:11 |
J1m | srichter, also zc.zodbactivitymonitor/dev | 18:11 |
J1m | and zc.zervertracelog | 18:13 |
*** ignas has quit IRC | 18:16 | |
*** pcardune has joined #zope3-dev | 18:26 | |
*** goschtl_ has quit IRC | 18:29 | |
*** salfield has quit IRC | 18:30 | |
srichter | J1m: thanks, but the doctest is really nice, so I am following that and it makes a lot of sense | 18:33 |
J1m | cool | 18:33 |
srichter | I really start to like that, but I have not yet developed this way, so we will see how that goes | 18:33 |
srichter | J1m: so basically you switch to develop eggs by changing buildout.cfg? | 18:34 |
*** norro has quit IRC | 18:35 | |
*** b52Centos has joined #zope3-dev | 18:36 | |
*** b52lap has joined #zope3-dev | 18:36 | |
J1m | yes | 18:37 |
* mgedmin ponders a way to create a obj.__grandparent__ == obj.__parent__.__parent__ alias for all Contained objects | 18:37 | |
* mgedmin is, of course, not serious | 18:37 | |
*** ChrisW has joined #zope3-dev | 18:38 | |
ChrisW | where's the five channel live again? | 18:38 |
lurker | #z3-base | 18:38 |
ChrisW | heh, that'd explain it | 18:38 |
*** sm has joined #zope3-dev | 18:38 | |
*** sm has quit IRC | 18:40 | |
*** sm has joined #zope3-dev | 18:41 | |
*** sm has quit IRC | 18:45 | |
*** tonico has quit IRC | 18:51 | |
*** jodok has quit IRC | 18:52 | |
*** afd_ has quit IRC | 18:53 | |
*** b52GM has quit IRC | 18:53 | |
*** b52laptop has quit IRC | 18:54 | |
*** mkerrin has quit IRC | 18:59 | |
*** pbugni has joined #zope3-dev | 19:00 | |
*** elro has joined #zope3-dev | 19:00 | |
*** lurker has quit IRC | 19:01 | |
*** zagy has joined #zope3-dev | 19:01 | |
*** jukart has quit IRC | 19:02 | |
*** harobed has quit IRC | 19:03 | |
*** projekt01 has quit IRC | 19:17 | |
*** mkerrin has joined #zope3-dev | 19:18 | |
*** schwendinger has quit IRC | 19:18 | |
*** wrobel has quit IRC | 19:19 | |
*** dobee has quit IRC | 19:21 | |
*** redir has quit IRC | 19:28 | |
*** pcardune is now known as pcardune_dentist | 19:28 | |
*** jbb666 has joined #zope3-dev | 19:32 | |
*** zagy has quit IRC | 19:36 | |
CrippsFX | hm ... where is createObject(u'string') defined? | 19:38 |
*** RaFromBRC has joined #zope3-dev | 19:38 | |
*** rocky is now known as rocky|away | 19:38 | |
bigkevmcd | CrippsFX: zope.app.component.ComponentArchitecture IIRC | 19:39 |
CrippsFX | alright, I'll give that a shot. | 19:39 |
CrippsFX | nope, not there :/ | 19:41 |
bigkevmcd | oops...that is zope.app.component.interfaces.ComponentArchitecture | 19:41 |
CrippsFX | it's in zapi | 19:42 |
CrippsFX | grep -r ....I love it :) | 19:42 |
bigkevmcd | that's imported tho' | 19:42 |
bigkevmcd | the definition is in zope.app.component.interfaces | 19:43 |
CrippsFX | self.assertEqual(zapi.createObject('foo.bar').__class__, X) ... | 19:43 |
* mgedmin pimps ctags | 19:43 | |
mgedmin | isn't zapi unofficially deprecated? | 19:44 |
CrippsFX | mgedmin: I think so .... | 19:44 |
CrippsFX | you know what else is deprecated (officially)? ... zope.app.component.interface.py | 19:44 |
mgedmin | look in zope.component | 19:45 |
mgedmin | I think that's the new place | 19:45 |
CrippsFX | yeah ... a lot of stuff is being moved out of zope.app ... which is good. | 19:45 |
mgedmin | yup, from zope.component import createObject | 19:45 |
* mgedmin discovers zope.deferredimport | 19:46 | |
CrippsFX | deferredimport? | 19:47 |
CrippsFX | interesting ... | 19:48 |
* mgedmin fixes some typos | 19:49 | |
CrippsFX | typos in deferredimport? | 19:51 |
mgedmin | in README.txt | 19:51 |
CrippsFX | ah. | 19:51 |
srichter | Theuni: could it be that the current Zope3 externals are not setup correctly? David Johnson just reported the sqlscript package and the "connection names" vocab not to be there anymore. | 19:54 |
*** timte has joined #zope3-dev | 20:07 | |
*** zagy has joined #zope3-dev | 20:11 | |
*** lurker has joined #zope3-dev | 20:11 | |
*** romanofski has quit IRC | 20:15 | |
CrippsFX | when using the addMenuItem directive, can I use a view="something" option where "something" is the name of a view under the <page> directive? | 20:20 |
CrippsFX | ... because I'm trying to do that, but it's telling me that "view name something not found" even though "something" is in the same config file ... or, is the configuration trying to look up a view adapter? | 20:21 |
*** wrobel has joined #zope3-dev | 20:22 | |
*** xenru has joined #zope3-dev | 20:27 | |
xenru | hello! | 20:28 |
xenru | we launch our big zope3 project to public access | 20:28 |
xenru | please checkout http://sportbox.ru/ | 20:28 |
lurker | xenru: we == enfold? | 20:29 |
xenru | no Key Solutions | 20:29 |
lurker | oops, mistook you for leo then ;) | 20:29 |
xenru | it's ok ;) | 20:30 |
d2m | poor boy, 90 requests to get the whole page | 20:30 |
mgedmin | 86 | 20:31 |
* lurker grins | 20:31 | |
mgedmin | although maybe my adblock had something to do with the missing 4 | 20:31 |
xenru | yep, but after that site is cool | 20:32 |
xenru | because it is big and client is TV Channel | 20:32 |
xenru | russian ESPN | 20:32 |
xenru | some day, couse | 20:32 |
CrippsFX | nice. | 20:33 |
mgedmin | it's pretty fast as well | 20:33 |
CrippsFX | yeah, very snappy. I like that. | 20:33 |
xenru | checkout our press-release http://keysolutions.ru/News/sportboxru-en/ | 20:34 |
xenru | in english | 20:34 |
CrippsFX | ...snappy for the most part. | 20:34 |
CrippsFX | the four links in the top slot take awhile to load, but other than that, everything's pretty fast. | 20:35 |
*** Henri__ has joined #zope3-dev | 20:35 | |
xenru | 20 servers under that project | 20:35 |
xenru | It must be fast | 20:35 |
*** zagy has quit IRC | 20:36 | |
CrippsFX | wow. | 20:36 |
CrippsFX | so is it running distributed, or is each server responsible for a section of the site? | 20:36 |
xenru | there is many way to optimize loading, several servers for each domain | 20:37 |
xenru | front-end on httpd, back-end zope3 cluster | 20:37 |
CrippsFX | ahh. | 20:38 |
xenru | but it just lanuched | 20:38 |
xenru | we havn't any statistics | 20:38 |
xenru | we planing more than 100 000 active users per day | 20:39 |
xenru | there is many parts | 20:39 |
benji_ | looks cool, xenru | 20:39 |
*** benji_ is now known as benji | 20:39 | |
xenru | first and easy is news line, second - "youtube like site" video-on-demand, but with realtime streaming from satellite | 20:40 |
xenru | also chat server (will be released very soon) on twisted | 20:41 |
*** BjornT has joined #zope3-dev | 20:41 | |
xenru | soon we add full featured blog platform | 20:41 |
xenru | and we want to release most parts as ready framework under ZPL | 20:42 |
xenru | is it good idea to put news on zope.org | 20:43 |
dennis__ | keysolutions.ru tells me i am not logged in, in dutch :) | 20:44 |
xenru | I think it is good use case for zope3 developers | 20:44 |
xenru | dennis__: 1 sec ;) I'll check it | 20:44 |
xenru | old school site under plone ;) | 20:45 |
*** Jell-O-Fishi has joined #zope3-dev | 20:47 | |
xenru | huh, I'ts ok | 20:47 |
xenru | I'm little nervous after release about bugs on every our site | 20:48 |
xenru | inside we have Work Flow, ORM | 20:49 |
xenru | full featured system | 20:50 |
dennis__ | xenru the standard elements give me dutch if my browser asks for it, so just looks funny between the russian | 20:50 |
xenru | I it understand now ;) | 20:51 |
xenru | I understand it now, sorry | 20:51 |
dennis__ | its ok :) nice job i have to say | 20:51 |
faassen | xenru: yes would be good to put this on zope.org | 20:51 |
*** mgedmin has quit IRC | 20:52 | |
dennis__ | faassen: if it survives the first week :) | 20:52 |
faassen | xenru: and if you want to write a description of the site to zope3-users or put it on the zope wiki that would be nice too. | 20:52 |
*** Jell-O-Fishi has quit IRC | 20:52 | |
xenru | Martijn, thanks for blessing | 20:53 |
* benji hands faassen the holy water. | 20:57 | |
*** norro has joined #zope3-dev | 20:58 | |
faassen | benji: thanks, I just ran out. :) | 20:59 |
benji | heh | 20:59 |
faassen | benji: anyway, I thought I was only an ambassador of zope. for cardinals and popes you need to be elsewhere. | 20:59 |
faassen | benji: what does this make you, I wonder? official zope holy wander minder? | 20:59 |
benji | Deacon | 20:59 |
faassen | benji: ah, yeah. :) | 21:00 |
*** RedDevils has joined #zope3-dev | 21:02 | |
benji | thanks | 21:11 |
benji | oops, wrong chan | 21:11 |
faassen | benji: heh. :) this keeps happening. | 21:11 |
faassen | I should do this too | 21:11 |
faassen | yeah, I'll ask benji | 21:11 |
benji | yeah; it's a disease | 21:11 |
faassen | I think benji is crazy too | 21:11 |
benji | I think it's terminal. | 21:11 |
faassen | no, I know you think so too, Jim | 21:12 |
faassen | :) | 21:12 |
* faassen talks on the wrong channel. :) | 21:12 | |
*** rocky|away is now known as rocky | 21:13 | |
*** alga has quit IRC | 21:15 | |
*** RedDevils has quit IRC | 21:16 | |
*** schwendinger has joined #zope3-dev | 21:19 | |
*** pcardune_dentist has quit IRC | 21:24 | |
*** jodok has joined #zope3-dev | 21:25 | |
*** BjornT_ has quit IRC | 21:30 | |
*** whit is now known as whit|out | 21:32 | |
*** pcardune_dentist has joined #zope3-dev | 21:38 | |
srichter | J1m: I am getting the following error now; does that ring a bell? | 21:43 |
srichter | No handlers could be found for logger "ZODB.FileStorage" | 21:43 |
J1m | That isn't an error. | 21:43 |
J1m | The logging module is a bit stupid. | 21:43 |
srichter | ok | 21:43 |
J1m | It prints that the first time you log something and there are no log handlers defined. | 21:44 |
J1m | It's annoying. | 21:44 |
srichter | how can I start an instance without the deamon? | 21:44 |
srichter | I see | 21:44 |
J1m | Use the fg command. | 21:44 |
J1m | bin/instance fg | 21:44 |
srichter | ah, thanks | 21:44 |
srichter | mmh, the default server is HTTP, which seems not to be defined; should be HTTP-WSGI I think | 21:45 |
srichter | (as you can tell, I am getting pretty close of getting the server to run ;-) | 21:45 |
J1m | Um, I suspect some sort of missconfiguration. | 21:46 |
J1m | Did you zcml include the appropriate package to define the server? | 21:46 |
srichter | oh, good point! :-) | 21:46 |
J1m | The recipe doesn't do this for you. | 21:46 |
J1m | Maybe it should. | 21:46 |
srichter | I was hoping zope.app.zcmlfiles had it | 21:46 |
J1m | I would hope it doesn't. | 21:46 |
srichter | obviously not | 21:47 |
J1m | Ideally, we'd only include the server code for the server we're using. | 21:47 |
J1m | Then again, ideally, we'd be using something more wsgi-onic, like PasteDeploy. | 21:47 |
srichter | success! | 21:47 |
srichter | ok, so I am pretty convinced of eggs and buildout as a deployment tool | 21:48 |
srichter | I am still unsure about development, because all packages are flat | 21:48 |
srichter | causing a lot of directory changing between changing packages | 21:48 |
srichter | btw, I agreethe SVN tag option is stupid; I deleted setup.cfg in all the packages I touched today | 21:49 |
*** mkerrin has quit IRC | 21:50 | |
J1m | The things is, IMO, you should only be working one a small # of projects at a time. | 21:51 |
J1m | So you should mostly be in one (or 2 or 3) source tree. | 21:51 |
srichter | mmh, ok | 21:51 |
srichter | I guess I should get to know bookmarks well | 21:52 |
J1m | If you find yourself editing lots of source trees at the same time, maybe the source trees should be combined. | 21:52 |
srichter | mmh, okay, I keep that in mind when trying the new method | 21:53 |
*** sm has joined #zope3-dev | 21:53 | |
srichter | this is certainly different from what we have been doing | 21:55 |
srichter | J1m: in our projects we will need a lot more scripts, such as i18nextract, i18nmerge, coverage report, etc | 21:58 |
srichter | J1m: what would be the ideal method of providing them? | 21:58 |
srichter | help develop zc.recipes.zope3instance | 21:58 |
srichter | or write independent recipes? | 21:58 |
srichter | zc.recipes.zope3instance -> zc.zope3recipes | 21:59 |
*** schwendinger has quit IRC | 22:04 | |
*** dunny has joined #zope3-dev | 22:04 | |
*** schwendinger has joined #zope3-dev | 22:05 | |
J1m | srichter, Those script should probably be packages into their own egg(s) | 22:05 |
J1m | Every script should be an entry point in a module. | 22:05 |
J1m | You don't need custom recipes to install scripts. | 22:06 |
* J1m intends to package runurl this way. | 22:06 | |
*** ignas has joined #zope3-dev | 22:06 | |
srichter | J1m: ok | 22:10 |
srichter | J1m: what about coverage report, which is effectively just a script on top of the testrunner? | 22:10 |
srichter | I basically need the zope.recipe.testrunner to go first and then rely on that script to do my work | 22:11 |
*** fcorrea has joined #zope3-dev | 22:13 | |
fcorrea | Hey, I just wondering if python expressions like python: test or python: DateTime were disabled in the ZPT implementation of zope3 (Five). | 22:14 |
CrippsFX | I'm useless right now, so I'm heading home. I'll see you guys in the morning ;) | 22:14 |
dennis__ | ciau cripps | 22:14 |
*** MrTopf has joined #zope3-dev | 22:14 | |
fcorrea | wow, zope3 implementation of ZPT to be correct. Too difficult to implement zope3 in ZPTs ;) | 22:15 |
*** schwendinger has quit IRC | 22:15 | |
*** pelle_ has joined #zope3-dev | 22:21 | |
*** schwendinger has joined #zope3-dev | 22:23 | |
J1m | srichter, I would treat the coverage report the same way. Alternatively, it might be added as a script provided by zope.testing. | 22:31 |
srichter | same as any other script? | 22:31 |
*** schwendinger_ has joined #zope3-dev | 22:31 | |
J1m | yes | 22:31 |
*** Henri__ has quit IRC | 22:32 | |
srichter | ok | 22:32 |
srichter | whee, this is tough | 22:35 |
srichter | I now cannot get to my resources and I do not know why | 22:35 |
srichter | rotterdam comes up as usual | 22:35 |
srichter | have you seen something liek this? | 22:38 |
srichter | NotFound: Object: <zope.traversing.browser.absoluteurl.SiteAbsoluteURL object at 0xb5bb0bec>, name: u'calculator.css' | 22:38 |
J1m | no | 22:38 |
* J1m uses slide rules | 22:38 | |
srichter | I am probably missing some adapter | 22:39 |
*** afd has quit IRC | 22:39 | |
srichter | ok, I got it; I missed another include | 22:41 |
srichter | I hope I never have to do this again, now that I have a good subset of ZCML to load | 22:41 |
*** naro has quit IRC | 22:48 | |
*** schwendinger has quit IRC | 22:48 | |
*** lzdych has quit IRC | 22:53 | |
srichter | J1m: thanks for all your help! It's working well, now I just have to get rid of zope.app.zcmlfiles | 23:01 |
*** rocky is now known as rocky|away | 23:08 | |
*** schwendinger_ is now known as schwendinger | 23:13 | |
*** jbb666 has quit IRC | 23:14 | |
dennis__ | can i easily tell a schema I want a List( ) of a a TextLine AND a Bytes type? (i.e. to attach a list of images to some content, but per image also a name attribute?) | 23:19 |
*** xenru has quit IRC | 23:26 | |
*** schwendinger has quit IRC | 23:26 | |
*** lisppaste6 has quit IRC | 23:28 | |
*** lisppaste6 has joined #zope3-dev | 23:37 | |
*** RaFromBRC has quit IRC | 23:41 | |
*** RaFromBRC has joined #zope3-dev | 23:46 | |
*** afd_ has joined #zope3-dev | 23:46 | |
*** d2m has quit IRC | 23:47 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:51 | |
srichter | how do I get all errors reported to STDERR? | 23:55 |
*** dunny has quit IRC | 23:56 | |
dennis__ | edit zope.conf | 23:58 |
dennis__ | it's in the comments somewhere | 23:58 |
dennis__ | yourinstance/etc/zope.conf | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!