*** whit has joined #zope3-dev | 00:07 | |
*** ktwilight has joined #zope3-dev | 00:18 | |
*** ktwilight_ has quit IRC | 00:31 | |
*** malthe|away is now known as malthe | 00:34 | |
*** zagy has quit IRC | 00:47 | |
*** yota has quit IRC | 00:49 | |
*** greenman_ has joined #zope3-dev | 00:50 | |
*** fairwinds has quit IRC | 00:55 | |
*** Jell-O-Fishi has quit IRC | 00:56 | |
*** vipod has quit IRC | 01:02 | |
*** aclark|away is now known as aclark | 01:07 | |
*** malthe is now known as malthe|Zzz | 01:24 | |
*** rocky is now known as rocky|away | 01:33 | |
*** junkafarian has quit IRC | 01:53 | |
*** aclark is now known as aclark|dinner | 01:58 | |
*** oggers has quit IRC | 02:00 | |
*** reco has quit IRC | 02:02 | |
*** whit has quit IRC | 02:11 | |
*** ignas has quit IRC | 02:23 | |
*** quodt has quit IRC | 02:29 | |
*** b52laptop has quit IRC | 02:47 | |
*** fairwinds has joined #zope3-dev | 02:52 | |
*** jsadjohnson has joined #zope3-dev | 02:59 | |
*** aclark|dinner is now known as aclark | 03:04 | |
*** jsadjohnson has left #zope3-dev | 03:09 | |
*** flox has left #zope3-dev | 03:17 | |
*** whit has joined #zope3-dev | 03:22 | |
*** lurkymclurkleton has joined #zope3-dev | 04:15 | |
*** wolfe_ is now known as wolfe | 04:33 | |
*** lurkymclurkleton has quit IRC | 04:42 | |
*** sm has quit IRC | 04:49 | |
*** lurkymclurkleton has joined #zope3-dev | 04:57 | |
*** sm has joined #zope3-dev | 05:06 | |
*** lurkymclurkleton has quit IRC | 05:29 | |
*** stub has joined #zope3-dev | 05:39 | |
*** whit has quit IRC | 06:09 | |
*** redir has joined #zope3-dev | 06:33 | |
*** binseer has joined #zope3-dev | 07:02 | |
*** sm has quit IRC | 07:24 | |
*** sm has joined #zope3-dev | 07:28 | |
*** philiKON_ has joined #zope3-dev | 07:53 | |
*** philiKON has quit IRC | 08:02 | |
*** afd_ has joined #zope3-dev | 08:44 | |
*** philiKON_ has quit IRC | 08:47 | |
*** zagy has joined #zope3-dev | 08:54 | |
*** __mac__ has joined #zope3-dev | 09:07 | |
*** binseer has quit IRC | 09:12 | |
*** binseer has joined #zope3-dev | 09:13 | |
*** philiKON has joined #zope3-dev | 09:14 | |
*** greenman_ has quit IRC | 09:17 | |
*** zagy has quit IRC | 09:19 | |
*** markusleist has quit IRC | 09:22 | |
*** zagy has joined #zope3-dev | 09:26 | |
*** Theuni has joined #zope3-dev | 09:39 | |
*** fairwinds has quit IRC | 09:41 | |
*** quodt has joined #zope3-dev | 09:44 | |
*** __mac___ has joined #zope3-dev | 09:48 | |
*** redir has quit IRC | 09:50 | |
*** __mac____ has joined #zope3-dev | 09:51 | |
*** junkafarian has joined #zope3-dev | 10:00 | |
*** __mac__ has quit IRC | 10:05 | |
*** __mac___ has quit IRC | 10:08 | |
*** jodok has joined #zope3-dev | 10:19 | |
*** zagy has quit IRC | 10:34 | |
*** yotaff has joined #zope3-dev | 10:50 | |
Theuni | wiki.zope.org is down | 10:56 |
---|---|---|
Theuni | Who can I poke? | 10:56 |
Theuni | It makes buildout fail to install zope.interface currently. | 10:56 |
*** stub has quit IRC | 11:01 | |
*** stub has joined #zope3-dev | 11:01 | |
*** junkafarian has quit IRC | 11:04 | |
*** malthe|Zzz is now known as malthe | 11:04 | |
*** yotaff_ has joined #zope3-dev | 11:06 | |
*** yotaff has quit IRC | 11:11 | |
*** goschtl has joined #zope3-dev | 11:21 | |
*** yotaff_ has quit IRC | 11:22 | |
*** afd__ has joined #zope3-dev | 11:27 | |
*** zagy has joined #zope3-dev | 11:31 | |
philiKON | Theuni: shrug? | 11:32 |
philiKON | is wiki.zope.org z.i's homepage? | 11:32 |
*** malthe has quit IRC | 11:33 | |
philiKON | wasn't sm our wiki guy? :) | 11:33 |
philiKON | sm: ping? | 11:33 |
*** mustap has joined #zope3-dev | 11:37 | |
*** agroszer has joined #zope3-dev | 11:39 | |
*** maurits has joined #zope3-dev | 11:40 | |
*** afd_ has quit IRC | 11:43 | |
mcdonc | Theuni: i used ppix and it didnt give me problems | 11:43 |
mcdonc | (a few hours ago)... dunno what the deal is there | 11:44 |
Theuni | ppix for buildout? | 11:44 |
Theuni | easyinstall worked for me too | 11:44 |
mcdonc | yeah.. | 11:44 |
Theuni | that's why I guessed a buildout/setuptools integration issue | 11:44 |
mcdonc | i kept getting "Bad Header Line" or somesuch with pypi | 11:44 |
mcdonc | (when zope.interface was being gotten) | 11:45 |
Theuni | what's ppix again? | 11:45 |
Theuni | we use pypi/simple AFAIK | 11:45 |
philiKON | a mirror | 11:45 |
Theuni | ah | 11:45 |
philiKON | it's a pypi/simple mirror | 11:45 |
Theuni | so it doesn't mirror the homepage links | 11:45 |
Theuni | pypi/simple had the link to the homepage | 11:45 |
philiKON | http://twitpic.com/6yyk | 11:45 |
philiKON | err | 11:45 |
philiKON | http://download.zope.org/ppix/ | 11:45 |
philiKON | copy'n'paste error :) | 11:46 |
philiKON | http://download.zope.org/ppix/zope.interface/ | 11:46 |
Theuni | hard to say now | 11:50 |
Theuni | because i removed that link from pypi and the mirror is probably updated already | 11:51 |
*** charith_para has joined #zope3-dev | 11:51 | |
philiKON | i think ppix only mirrors the package links | 11:51 |
philiKON | i think it uses the xmlrpc api to pypi | 11:51 |
philiKON | to find out the package links | 11:51 |
philiKON | not sure | 11:51 |
philiKON | not sure what's actually running ppix these days | 11:52 |
philiKON | maybe it's http://svn.zope.org/zc.mirrorcheeseshopslashsimple/trunk/ | 11:52 |
philiKON | but that actually mirrors pypi/simple | 11:52 |
philiKON | hmm. or not. /me sees code using xmlrpclib | 11:53 |
*** yvl has joined #zope3-dev | 11:57 | |
Theuni | philiKON: do you know anything about five.localsitemanager? | 11:58 |
philiKON | little | 11:58 |
philiKON | it does horrible wrapping | 11:58 |
Theuni | do you know why it removes the requestcontainer from the acquisition chain? | 11:58 |
Theuni | indeed it does | 11:58 |
philiKON | no | 11:59 |
Theuni | and it breaks lots of assumptions from zope 2 | 11:59 |
philiKON | hm | 11:59 |
Theuni | e.g. you can't lookup views using @@foo from those objects | 11:59 |
philiKON | i thought it was invented to actually make local utilities work with zope 2 assumptions | 11:59 |
philiKON | shrug | 11:59 |
Theuni | shreek | 11:59 |
philiKON | i'd say, feel free to fix it | 12:00 |
Theuni | looking at the pypi entry, i probably need to write a list post | 12:00 |
*** markusleist has joined #zope3-dev | 12:02 | |
*** malthe has joined #zope3-dev | 12:03 | |
*** jodok has quit IRC | 12:07 | |
*** tarek has joined #zope3-dev | 12:17 | |
*** greenman has joined #zope3-dev | 12:17 | |
*** ccomb_ has joined #zope3-dev | 12:23 | |
*** flox has joined #zope3-dev | 12:25 | |
*** jodok has joined #zope3-dev | 12:40 | |
*** hazmat has joined #zope3-dev | 12:44 | |
*** ChanServ sets mode: +o hazmat | 12:44 | |
*** rocky|away is now known as rocky | 12:47 | |
*** charith_para has quit IRC | 13:03 | |
*** stub has quit IRC | 13:15 | |
*** tarek has quit IRC | 13:15 | |
markusleist | hi, i want to send back my "Zope Contributor Agreement". It is signed but the field "Zope.org username" is still empty. What is the best e-mail address to send the signed agreement and the join-request for zope.org? | 13:22 |
agroszer | markusleist, my best guess for zope.org is webmaster at zope.org, for the agreement Jim himself | 13:25 |
*** jodok has quit IRC | 13:25 | |
markusleist | agroszer: k | 13:26 |
*** b52laptop has joined #zope3-dev | 13:32 | |
*** zagy has quit IRC | 13:44 | |
*** yotaff has joined #zope3-dev | 14:04 | |
*** fcorrea has joined #zope3-dev | 14:11 | |
*** jsadjohnson has joined #zope3-dev | 14:20 | |
*** tarek has joined #zope3-dev | 14:40 | |
*** projekt01 has joined #zope3-dev | 14:40 | |
*** andres has quit IRC | 14:50 | |
*** andres has joined #zope3-dev | 14:50 | |
*** redir has joined #zope3-dev | 14:50 | |
*** benji has joined #zope3-dev | 14:51 | |
*** benji is now known as Guest42075 | 14:51 | |
*** Guest42075 is now known as benji | 14:53 | |
*** ignas has joined #zope3-dev | 15:06 | |
*** alga has joined #zope3-dev | 15:06 | |
*** fairwinds has joined #zope3-dev | 15:10 | |
*** stub has joined #zope3-dev | 15:14 | |
*** Aiste has quit IRC | 15:15 | |
*** redir has quit IRC | 15:22 | |
*** redir has joined #zope3-dev | 15:23 | |
*** redir has quit IRC | 15:24 | |
*** jodok has joined #zope3-dev | 15:24 | |
*** Aiste has joined #zope3-dev | 15:32 | |
*** greenman has quit IRC | 15:47 | |
*** dunny has quit IRC | 15:51 | |
*** stub has quit IRC | 15:59 | |
*** jamur2 has joined #zope3-dev | 16:00 | |
*** lurkymclurkleton has joined #zope3-dev | 16:00 | |
*** jamur2 has quit IRC | 16:01 | |
*** jamur2 has joined #zope3-dev | 16:01 | |
*** jamur2 has quit IRC | 16:02 | |
*** jamur2 has joined #zope3-dev | 16:02 | |
*** sp0cksbeard has joined #zope3-dev | 16:08 | |
*** J1m has joined #zope3-dev | 16:11 | |
*** rcrafton has joined #zope3-dev | 16:14 | |
*** rcrafton has left #zope3-dev | 16:16 | |
*** redir has joined #zope3-dev | 16:22 | |
*** jamur2 has quit IRC | 16:25 | |
*** jamur2 has joined #zope3-dev | 16:26 | |
*** MJ has joined #zope3-dev | 16:26 | |
*** yvl is now known as justas | 16:29 | |
*** justas is now known as sjustas | 16:29 | |
*** MrTopf has joined #zope3-dev | 16:32 | |
*** aclark is now known as aclark|away | 16:35 | |
*** jodok has quit IRC | 16:40 | |
*** mintsauce has joined #zope3-dev | 16:41 | |
mintsauce | Hi all - getting the following when trying to view custom member data (constructed via philiKON's book) - whats the best way of troubleshooting this error? | 16:44 |
mintsauce | TypeError: ('Could not adapt', Principal(u'flatscone_jonh'), <InterfaceClass sandbox.interfaces.IMemberInfo>) | 16:44 |
philiKON | you're missing an adapter from the principal object to IMemberInfo | 16:44 |
mintsauce | missing it in code? | 16:45 |
philiKON | perhaps | 16:45 |
philiKON | definitely missing it in registration | 16:45 |
mintsauce | registration via zmi? | 16:46 |
afd__ | mintsauce: zcml | 16:46 |
mintsauce | ah | 16:46 |
afd__ | in zcml you usually register (or "configure") components | 16:46 |
philiKON | unless you're using grok | 16:47 |
philiKON | then the registration is done for you | 16:47 |
mintsauce | heh | 16:47 |
philiKON | if you use the right base classes | 16:47 |
mintsauce | Got it - was missing adapter factory in zcml - thanks guys | 16:50 |
*** jodok has joined #zope3-dev | 16:51 | |
mintsauce | Anyone done much with FOAF and Zope3? | 16:53 |
*** __mac____ has quit IRC | 16:57 | |
*** brandon_rhodes has joined #zope3-dev | 16:58 | |
*** MJ has quit IRC | 17:02 | |
*** MJ|nickcollision has joined #zope3-dev | 17:02 | |
afd__ | mintsauce: there's megrok.rdf... not sure that would help you | 17:04 |
*** lucielejard has joined #zope3-dev | 17:07 | |
mintsauce | afd__: worth a look, thanks. | 17:08 |
mintsauce | zope3 blog product? or does everyone roll their own? | 17:18 |
*** binseer has quit IRC | 17:19 | |
*** benji has quit IRC | 17:26 | |
*** MJ|nickcollision is now known as MJ | 17:27 | |
philiKON | mintsauce: we just use whatever works. e.g. wordpress. or textpress (written in python). | 17:30 |
philiKON | grokstar is a zope-based blogging software, though far from done | 17:30 |
*** rcrafton has joined #zope3-dev | 17:36 | |
*** kursor has joined #zope3-dev | 17:38 | |
*** afd__ has quit IRC | 17:40 | |
*** benji has joined #zope3-dev | 17:40 | |
*** benji is now known as Guest82820 | 17:40 | |
*** Guest82820 is now known as benji | 17:40 | |
*** rmarianski has joined #zope3-dev | 17:42 | |
mintsauce | textpress looks nice, thanks | 17:42 |
*** rcrafton has left #zope3-dev | 17:48 | |
*** aclark|away is now known as aclark | 17:52 | |
*** mustap has left #zope3-dev | 17:56 | |
*** malthe has quit IRC | 17:57 | |
*** philiKON has quit IRC | 17:59 | |
*** sp0cksbeard has quit IRC | 18:01 | |
*** alecm has joined #zope3-dev | 18:03 | |
*** aclark is now known as aclark|away | 18:03 | |
*** projekt01 has quit IRC | 18:09 | |
*** sp0cksbeard has joined #zope3-dev | 18:11 | |
*** pyqwer has joined #zope3-dev | 18:12 | |
*** pyqwer has left #zope3-dev | 18:14 | |
*** b52laptop has quit IRC | 18:19 | |
*** goschtl has left #zope3-dev | 18:26 | |
*** philiKON has joined #zope3-dev | 18:27 | |
*** srichter has quit IRC | 18:28 | |
mintsauce | Python FOAF Generator: http://leahculver.com/2008/02/01/python-foaf-generator/ | 18:32 |
*** jodok has quit IRC | 18:33 | |
*** b52laptop has joined #zope3-dev | 18:36 | |
*** lucielejard has quit IRC | 18:37 | |
*** fcorrea has quit IRC | 18:42 | |
*** fcorrea has joined #zope3-dev | 18:42 | |
*** jodok has joined #zope3-dev | 18:44 | |
*** faassen has joined #zope3-dev | 18:48 | |
*** jodok has quit IRC | 18:48 | |
*** redir has quit IRC | 18:50 | |
*** whit has joined #zope3-dev | 18:51 | |
*** lucielejard has joined #zope3-dev | 18:53 | |
*** nathany has joined #zope3-dev | 18:53 | |
*** malthe has joined #zope3-dev | 18:54 | |
*** tarek has quit IRC | 18:55 | |
ignas | what is the z3c way of displaying a date field with a javascript date time widget? | 18:57 |
*** ktwilight has quit IRC | 18:58 | |
*** ktwilight has joined #zope3-dev | 19:00 | |
benji | ignas: I don't know about a z3c way, but zc.datetimewidget does that | 19:02 |
ignas | except that zc.datetimewidget is using "2005-01-01" as the date format iirc, while z3c date fields are locale specific | 19:03 |
ignas | I think | 19:03 |
benji | hmm, could be | 19:03 |
*** srichter has joined #zope3-dev | 19:04 | |
*** lucielejard_ has joined #zope3-dev | 19:04 | |
ignas | srichter: hi, maybe you know if there is z3c date time widget somewhere? | 19:04 |
ignas | a javascript gadget for picking date for z3c.form... | 19:05 |
*** ChanServ sets mode: +o srichter | 19:05 | |
*** lucielejard has quit IRC | 19:05 | |
srichter | ignas: no, not for z3c.form I think :-( | 19:06 |
ignas | I see | 19:06 |
srichter | ignas: Roger (projekt01) might know | 19:06 |
ignas | it kind of makes UI look bad when half of your Date fields want Locale specific date format, and other date fields have the java script date picker gadget | 19:06 |
srichter | right | 19:07 |
srichter | I am very interested in such a widget (it is not very hard) | 19:07 |
ignas | hmm, not sure about it | 19:07 |
srichter | why not? | 19:07 |
ignas | especially the locale specific part | 19:07 |
ignas | unless you use ajax | 19:07 |
srichter | just insert the JS that puts a date into the text field | 19:07 |
ignas | in which format? | 19:08 |
srichter | no need to use ajax, only JS | 19:08 |
ignas | 01/05/2005 ? | 19:08 |
srichter | any format you want | 19:08 |
ignas | or 2005-05-01 | 19:08 |
ignas | because z3c.form will not accept one of them | 19:08 |
srichter | because you then write a custom data converter for that widget | 19:08 |
srichter | that knows how to parse the entered date | 19:08 |
ignas | oh, so you would have 2 z3c widgets that are doing it differently | 19:08 |
srichter | yep | 19:08 |
ignas | one - locale specific, and one with javascript... which still is crappy | 19:09 |
srichter | the data converter is specific to the field-widget-pair | 19:09 |
srichter | right ;-) | 19:09 |
ignas | I want to have both ;) i can have one of them already | 19:09 |
ignas | zc.datetimewidget does the javascript | 19:09 |
ignas | but uses 2005-01-01 format | 19:09 |
srichter | but zc.datetimewidget is zope.formlib, right? | 19:09 |
ignas | yes | 19:10 |
srichter | so there is a little bit of work involved | 19:10 |
ignas | unless I will try doing the locale specific javascript date picker thing | 19:10 |
*** mintsauce has quit IRC | 19:10 | |
srichter | ignas: if you get that going, you are my hero :-) | 19:11 |
srichter | the hard part is really to build a JS function that understands our ICU date formats | 19:12 |
srichter | we can even send over all the calendar information, such as month and weekday names | 19:12 |
ignas | nah, the hard part is making widgets register z3c.formjs handlers on views | 19:12 |
ignas | so I could use 2005-01-01 in javascript internaly, and convert it both ways using ajax | 19:13 |
srichter | oh, that's also an approach | 19:13 |
srichter | you culd do this by providing a date-localizer view on the site | 19:13 |
ignas | hmm, we do something like that for spellchecker | 19:14 |
srichter | btw, slightly OT, Paul has been working on his formjs branch and added some nice JSON functionality to AJAX handlers | 19:14 |
ignas | nice, maybe some day I will have some use out of it ;) | 19:14 |
srichter | oh, this is a great example :-) | 19:15 |
sm | Theuni, philiKON: looks like it's back | 19:15 |
ignas | hmm, widget gets site, and puts the date localizer into the widget java script code, then uses that url to convert date both ways, defaulting to today in serverside... | 19:16 |
ignas | date localizer url that is | 19:16 |
ignas | then I have to add schooltool specific code for getting today, and suddenly no one else can use it ;) | 19:17 |
srichter | why? | 19:17 |
srichter | just make getting today pluggable | 19:17 |
srichter | and make the default datetime.date.today() | 19:17 |
srichter | override it in ST, if you have to | 19:17 |
ignas | i'd rather get today in javascript then | 19:18 |
ignas | date.today() is always the wrong one | 19:18 |
srichter | ok, that's ok too :-) | 19:18 |
ignas | i mean - date of the browser is always better than date of the server | 19:18 |
srichter | right | 19:19 |
*** lucielejard_ is now known as lucielejard | 19:21 | |
*** zagy has joined #zope3-dev | 19:34 | |
*** regebro has joined #zope3-dev | 19:35 | |
*** srichter has quit IRC | 19:35 | |
*** srichter has joined #zope3-dev | 19:35 | |
*** lurkymclurkleton has quit IRC | 19:45 | |
*** srichter has quit IRC | 19:45 | |
*** MJ is now known as MJ|out | 19:48 | |
*** aclark|away is now known as aclark | 19:54 | |
*** srichter has joined #zope3-dev | 20:00 | |
*** lurkymclurkleton has joined #zope3-dev | 20:04 | |
*** whit has quit IRC | 20:04 | |
*** elro has joined #zope3-dev | 20:11 | |
elro | faassen, malthe: what do you think to making z3c.saconfig register a globally scoped session when an engine is registered through zcml? | 20:12 |
malthe | elro: it should do that | 20:13 |
elro | malthe: it already does? | 20:13 |
elro | or I should make it? | 20:13 |
faassen | elro: what else would it be doing for its ZCML? | 20:14 |
*** whit has joined #zope3-dev | 20:15 | |
faassen | ooh, you mean only a utility is registered. | 20:15 |
faassen | for the engine factory. | 20:15 |
elro | yep, I want both | 20:15 |
elro | and I think it may make the code in my sandbox for dealing with named engines/sessions simple | 20:15 |
elro | simpler | 20:15 |
faassen | elro: for ZCML, sounds reasonable. shouldn't even conflict with locally scoped sessions. | 20:17 |
elro | I also think we need some sort of after_registration hook for the zcml so that mappers can be registered | 20:18 |
*** tarek has joined #zope3-dev | 20:24 | |
*** quodt has quit IRC | 20:27 | |
fairwinds | elro: you can create a subscriber to database opened event - or is there no zodb? | 20:27 |
elro | fairwinds: this is for sqlalchemy databases, but I guess I could send an event instead. | 20:29 |
elro | but a simple callback could be simpler | 20:29 |
fairwinds | right, but do you still have zodb or not? | 20:29 |
elro | normally, but not necessarily | 20:30 |
elro | I mean we probably must for zcml, but I don't really want to make it a deep dependency | 20:30 |
fairwinds | its a simple question. if you have a zodb, you can use this event. If not there are other events that can be uses. For a purely no zodb wsgi app using something like ore.wsgi, there is another event you can subscribe to there. | 20:33 |
*** maurits has quit IRC | 20:33 | |
fairwinds | s/uses/used | 20:33 |
elro | well, I don't want to tie it to anything in particular | 20:34 |
malthe | elro: but you must :-) | 20:34 |
*** tarek has quit IRC | 20:40 | |
*** baijum has joined #zope3-dev | 20:41 | |
fairwinds | you are working with a framework, its already got the functionality you need, you just need to use it. its not a big deal to change your subscriber to a different event if you change the type of application. If you've got a zodb, create a handler to initialize your models and create subscriber zcml with for="zope.app.appsetup.interfaces.IDatabaseOpenedEvent" and handler pointing to your method. That will do the job for you. | 20:41 |
fairwinds | elro: this should be part of your app configure.zcml typically. | 20:43 |
fairwinds | anyways hth | 20:44 |
elro | fairwinds: but I won't know the name of the utility I've registered that way, it's possible (and plausible) to register multiple database engines and each needs it's own setup | 20:44 |
fairwinds | Your model initialization is different than defining your engines. | 20:46 |
elro | yes, but if you want to use table reflection then you must supply it with an engine | 20:46 |
fairwinds | you use utility and db directives to do that. | 20:47 |
fairwinds | in your site.zcml is where i put it | 20:47 |
fairwinds | ie. <db:engine url="sqlite:///var/mydatabase.db" /> | 20:49 |
fairwinds | <utility factory="z3c.saconfig.GloballyScopedSession" /> | 20:49 |
elro | yes, but that doesn't help me with my scenario of needing to do mapper setup using Table(name='foo', reflect=True, with_engine=myengine) | 20:50 |
elro | (or whatever the exact spelling is) | 20:50 |
elro | This discussion may be confused by the fact my sandbox has named scoped session support in it ;-) | 20:51 |
fairwinds | why not. you can get your engine passed in doing a getUtility(IEnginesomethingorother) | 20:52 |
elro | bear in mind I have multiple engines registered, e.g. <db:engine url="sqlite:///var/dbone.db" name="one"/> <db:engine url="sqlite:///var/dbtwo.db" name="two/> | 20:53 |
fairwinds | I have to confess I am not working with locally scoped engines though, i'd assume they are named | 20:54 |
elro | I need to associate the setup code with either one or two, and I'd rather not put the name into the python code, but rather put the setup in the engine registration | 20:54 |
elro | so something like engine1: url1: path.to.appA.setup, engine2: url2: path.to.appB.setup, engine3: url3, path.to.appA.setup | 20:56 |
fairwinds | can you not get the right one by passing name into getUtility. I am not sure how else you are going to get a handle on what you want. | 20:56 |
elro | but the python code would need to know the name then | 20:56 |
elro | so instead I propose <db:engine url="sqlite:///var/mydatabase.db" name="foo" setup="path.to.setup" /> | 20:57 |
elro | which will end up with a call to path.to.setup(engine) | 20:58 |
elro | I'll also make the <utility factory="z3c.saconfig.GloballyScopedSession" /> redundant | 20:59 |
* elro wanders if there are named events | 21:03 | |
fairwinds | Not sure I can help you here. Regardless of what you set up in zcml, its really only a way for zope to be aware of it generally (so you can get a handle on it afterwards). Think about the way you write test, you can do registration thru python as well. You are going to need to get and use the objects in you code at different points to do anything useful. You use zope's api's to do this. Anyway, hope this helps. I've got to get back to my | 21:05 |
*** alga has quit IRC | 21:07 | |
*** faassen has quit IRC | 21:16 | |
*** baijum has left #zope3-dev | 21:20 | |
*** MrTopf has quit IRC | 21:20 | |
*** mcdonc has quit IRC | 21:21 | |
*** ignas has quit IRC | 21:27 | |
*** whit is now known as whit|intransit | 21:29 | |
*** kursor has quit IRC | 21:32 | |
*** sjustas has quit IRC | 21:38 | |
*** whit has joined #zope3-dev | 21:45 | |
*** quodt has joined #zope3-dev | 21:49 | |
*** elro has quit IRC | 21:56 | |
*** mcdonc has joined #zope3-dev | 21:58 | |
*** srichter has quit IRC | 21:59 | |
*** srichter has joined #zope3-dev | 22:00 | |
*** srichter has quit IRC | 22:04 | |
*** nathany is now known as nathany_lunch | 22:07 | |
*** agroszer has quit IRC | 22:13 | |
*** Aiste has quit IRC | 22:18 | |
*** vipod has joined #zope3-dev | 22:25 | |
*** ignas has joined #zope3-dev | 22:32 | |
*** philiKON has quit IRC | 22:35 | |
*** alecm has quit IRC | 22:36 | |
*** philiKON has joined #zope3-dev | 22:36 | |
*** mcdonc has quit IRC | 22:36 | |
*** oggers has joined #zope3-dev | 22:38 | |
*** jodok has joined #zope3-dev | 22:41 | |
*** mcdonc has joined #zope3-dev | 22:41 | |
*** dunny has joined #zope3-dev | 22:45 | |
*** jodok has quit IRC | 22:48 | |
*** jodok has joined #zope3-dev | 22:52 | |
*** tarek has joined #zope3-dev | 22:54 | |
*** elro has joined #zope3-dev | 22:56 | |
*** oggers has quit IRC | 23:01 | |
*** oggers has joined #zope3-dev | 23:02 | |
*** oggers has quit IRC | 23:02 | |
*** tarek has quit IRC | 23:05 | |
*** oggers has joined #zope3-dev | 23:06 | |
*** srichter has joined #zope3-dev | 23:07 | |
*** whit has quit IRC | 23:12 | |
*** nathany_lunch is now known as nathany | 23:14 | |
*** oggers_ has joined #zope3-dev | 23:27 | |
*** andres_f has joined #zope3-dev | 23:29 | |
*** andres has quit IRC | 23:29 | |
*** andres_f is now known as andres | 23:29 | |
*** oggers__ has joined #zope3-dev | 23:30 | |
*** oggers_ has quit IRC | 23:31 | |
*** whitmo__ has joined #zope3-dev | 23:34 | |
*** oggers_ has joined #zope3-dev | 23:39 | |
*** oggers has quit IRC | 23:40 | |
*** regebro has quit IRC | 23:48 | |
*** srichter has quit IRC | 23:50 | |
*** srichter has joined #zope3-dev | 23:50 | |
markusleist | hi, i have to set a "value preselection" in a z3c.form-_Add_Form somewhere in the update-methode: | 23:52 |
*** greenman has joined #zope3-dev | 23:52 | |
markusleist | http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/snmpvalue/browser/snmpvalue.py#L291 | 23:52 |
markusleist | the value from templateData['oid1'] should go into the in the add-form-oid1-Value / see interface: | 23:53 |
markusleist | http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/snmpvalue/interfaces.py#L35 | 23:53 |
markusleist | i have no idea? | 23:53 |
*** ChanServ sets mode: +o srichter | 23:54 | |
*** oggers__ has quit IRC | 23:54 | |
*** oggers__ has joined #zope3-dev | 23:55 | |
*** greenman has quit IRC | 23:57 | |
*** oggers_ has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!