*** gumpa-away has left #zope3-dev | 00:01 | |
*** TresEquis has quit IRC | 00:01 | |
*** mcdonc has quit IRC | 00:01 | |
*** TresEquis has joined #zope3-dev | 00:01 | |
*** mcdonc has joined #zope3-dev | 00:01 | |
*** timte has quit IRC | 00:05 | |
*** tiredbones has quit IRC | 00:16 | |
*** tiredbones has joined #zope3-dev | 00:17 | |
*** flox has quit IRC | 00:40 | |
*** Londo_ has joined #zope3-dev | 00:46 | |
*** flox has joined #zope3-dev | 00:52 | |
*** TresEquis has quit IRC | 00:56 | |
*** batlogg has quit IRC | 01:04 | |
*** hazmat has joined #zope3-dev | 01:06 | |
*** ChanServ sets mode: +o hazmat | 01:06 | |
*** oferw has joined #zope3-dev | 01:26 | |
*** J1m has quit IRC | 01:28 | |
*** yota has quit IRC | 01:36 | |
*** benji has quit IRC | 01:36 | |
*** oferw has quit IRC | 01:40 | |
*** flox has quit IRC | 01:45 | |
*** flox has joined #zope3-dev | 01:45 | |
*** flox is now known as flox|away | 01:47 | |
*** dobee has quit IRC | 01:55 | |
*** projekt01 has left #zope3-dev | 02:18 | |
*** romanofski has quit IRC | 02:35 | |
*** romanofski has joined #zope3-dev | 02:35 | |
*** rocky is now known as rocky|Zzz | 02:37 | |
*** flox|away has quit IRC | 02:47 | |
*** flox has joined #zope3-dev | 02:47 | |
*** flox is now known as flox|away | 02:47 | |
*** philiKON has quit IRC | 03:13 | |
*** oferw has joined #zope3-dev | 03:25 | |
*** flox|away has quit IRC | 03:47 | |
*** flox has joined #zope3-dev | 03:47 | |
*** flox is now known as flox|away | 03:48 | |
*** flox|away has quit IRC | 03:51 | |
*** flox has joined #zope3-dev | 03:51 | |
*** flox is now known as flox|away | 03:52 | |
*** flox|away has quit IRC | 03:53 | |
*** flox has joined #zope3-dev | 03:55 | |
*** flox is now known as flox|away | 03:55 | |
*** oferw has quit IRC | 04:10 | |
*** RaFromBRC has quit IRC | 04:27 | |
febb | hi all | 04:31 |
---|---|---|
febb | anyone alive here ? | 04:31 |
*** flox|away has quit IRC | 04:34 | |
SmokeyD | not really febb | 04:35 |
SmokeyD | and I'm going to sleep as well :) | 04:35 |
SmokeyD | But if I wasn't I wouldn't be much help to you probably anyway | 04:35 |
SmokeyD | :) | 04:36 |
SmokeyD | nn | 04:36 |
febb | well, thanks for answering... I just wanted to know if someone here will be going to the Zope3 training in Copenhagen next October ? | 04:36 |
*** hazmat has quit IRC | 04:42 | |
*** flox has joined #zope3-dev | 05:34 | |
*** flox is now known as flox|away | 05:34 | |
*** flox has joined #zope3-dev | 05:46 | |
*** flox|away has quit IRC | 05:47 | |
*** flox has quit IRC | 06:46 | |
*** flox has joined #zope3-dev | 06:52 | |
*** flox is now known as flox|away | 06:52 | |
*** alecm has joined #zope3-dev | 07:01 | |
*** hazmat has joined #zope3-dev | 07:08 | |
*** ChanServ sets mode: +o hazmat | 07:08 | |
*** flox|away has quit IRC | 07:12 | |
*** jnair has joined #zope3-dev | 07:14 | |
*** jnair has left #zope3-dev | 07:14 | |
*** ignas has joined #zope3-dev | 07:36 | |
*** baijum has joined #zope3-dev | 07:48 | |
*** jukart has joined #zope3-dev | 08:09 | |
*** eins has joined #zope3-dev | 08:16 | |
*** batlogg has joined #zope3-dev | 08:19 | |
*** romanofski has quit IRC | 08:27 | |
*** flox has joined #zope3-dev | 08:34 | |
*** flox is now known as flox|away | 08:34 | |
*** hazmat has quit IRC | 08:37 | |
*** ignas has quit IRC | 08:40 | |
*** hazmat has joined #zope3-dev | 08:43 | |
*** ChanServ sets mode: +o hazmat | 08:43 | |
*** zagy has joined #zope3-dev | 08:54 | |
*** flox|away has quit IRC | 09:04 | |
*** hdima has joined #zope3-dev | 09:08 | |
*** timte has joined #zope3-dev | 09:23 | |
*** romanofski has joined #zope3-dev | 09:28 | |
*** ignas has joined #zope3-dev | 09:36 | |
*** BjornT has quit IRC | 09:42 | |
romanofski | moin | 09:42 |
*** BjornT has joined #zope3-dev | 09:45 | |
febb | hi | 09:56 |
*** hazmat has quit IRC | 10:00 | |
*** febb has quit IRC | 10:07 | |
*** batlogg has quit IRC | 10:17 | |
*** flox has joined #zope3-dev | 10:18 | |
*** flox is now known as flox|away | 10:18 | |
*** niemeyer has joined #zope3-dev | 11:12 | |
*** dobee has joined #zope3-dev | 11:18 | |
*** dobee has quit IRC | 11:20 | |
*** dobee has joined #zope3-dev | 11:21 | |
*** dobee has quit IRC | 11:21 | |
*** dobee has joined #zope3-dev | 11:21 | |
SmokeyD | mornin' | 11:31 |
baijum | few months back I had written this example app: http://codespeak.net/svn/z3/zopeweb/trunk/content/documentation/z3tut/collector/ | 11:34 |
baijum | but now in 3.3 I cannot add Ticket objects. | 11:34 |
baijum | it is working fine in 3.2 | 11:34 |
baijum | " The page that you are trying to access is not available" | 11:34 |
baijum | the url is http://localhost:8080/++skin++tuto/Collector/@@+/AddTicket.html | 11:34 |
baijum | any pointers? | 11:34 |
baijum | if I remove the container constraint from interface I can add this object to top container | 11:34 |
*** ktwilight has quit IRC | 11:35 | |
*** ktwilight has joined #zope3-dev | 11:37 | |
SmokeyD | Hi all, how can I test if an object implements an certain interface? | 11:37 |
baijum | use verifyClass, from zope.interface.verify import verifyClass | 11:41 |
baijum | http://codespeak.net/svn/z3/zopeweb/trunk/content/documentation/z3tut/collector/ticket.py | 11:41 |
*** stub has joined #zope3-dev | 11:43 | |
*** batlogg has joined #zope3-dev | 11:53 | |
SmokeyD | hi, how can I test if a class implements an interface? | 11:54 |
mcdonc | SmokeyD: as opposed to testing if an instance of the class provides the interface you mean? | 12:08 |
SmokeyD | nouri, that is what I mean. But I found it <interface>.providedBy(<instance>) | 12:10 |
SmokeyD | sorry, meant mcdonc, not nouri | 12:11 |
SmokeyD | :) | 12:11 |
SmokeyD | Found it in richter's book | 12:11 |
mcdonc | ok... | 12:11 |
*** mkerrin has joined #zope3-dev | 12:23 | |
*** flox|away is now known as flox | 12:29 | |
SmokeyD | hi, is it possible to define a local utility in the actual code (for in unit tests) instead of through the zmi? | 12:35 |
*** jukart has quit IRC | 12:44 | |
flox | SMokeyD: yes | 12:50 |
flox | (this is done when you start zope for the first time: the Site Manager is automatically created and some local utilities are registered) | 12:51 |
flox | i guess there's some method within 'zope.app.component' package | 12:51 |
SmokeyD | yeah, but I want to use it in unit tests | 12:52 |
SmokeyD | so you don't actually start zope itself | 12:52 |
SmokeyD | or should I start the zope.app.debug.Debugger | 12:53 |
SmokeyD | But then all the things I would do to the objects would be stored in the ZODB | 12:54 |
SmokeyD | and I don't want to do that | 12:54 |
SmokeyD | :) | 12:54 |
flox | this doctest should be relevant.... /++apidoc++/Code/zope/app/component/README.txt | 12:55 |
flox | ;-) | 12:58 |
SmokeyD | ok thanks | 12:58 |
SmokeyD | I wouldn't have looked there | 12:58 |
SmokeyD | I was looking for debug and test packages | 12:59 |
SmokeyD | :) | 12:59 |
SmokeyD | thanks | 12:59 |
flox | since they need to do test for Local Component Architecture... this is the good place to find it ;-) | 12:59 |
*** dobee has quit IRC | 13:00 | |
*** dobee has joined #zope3-dev | 13:13 | |
*** dunny has quit IRC | 13:30 | |
*** jukart has joined #zope3-dev | 13:36 | |
SmokeyD | Where should I look for solving adapter errors? | 13:37 |
SmokeyD | when I do self.root=setup.buildSampleFolderTree() | 13:37 |
SmokeyD | self.root_sm = setup.createSiteManager(self.root) | 13:37 |
SmokeyD | I get TypeError: ('Could not adapt', <zope.app.folder.folder.Folder object at 0xa6f00eec>, <InterfaceClass zope.app.traversing.interfaces.ITraverser>) | 13:37 |
SmokeyD | This comes straight from the ++apidoc++ though | 13:37 |
*** jukart has quit IRC | 13:48 | |
*** oferw has joined #zope3-dev | 13:49 | |
*** romanofski has quit IRC | 13:49 | |
*** Londo_ has quit IRC | 13:49 | |
*** romanofski has joined #zope3-dev | 13:49 | |
*** Londo_ has joined #zope3-dev | 13:49 | |
*** mgedmin has joined #zope3-dev | 13:50 | |
*** jukart has joined #zope3-dev | 13:51 | |
*** jukart has quit IRC | 13:56 | |
*** Londo_ has quit IRC | 13:59 | |
*** romanofski has quit IRC | 13:59 | |
*** romanofski has joined #zope3-dev | 14:00 | |
*** Londo_ has joined #zope3-dev | 14:00 | |
flox | SMokeyD: you do these commands in the interactive Python shell? | 14:02 |
*** Londo_ has quit IRC | 14:03 | |
*** romanofski has quit IRC | 14:03 | |
*** romanofski has joined #zope3-dev | 14:03 | |
*** Londo_ has joined #zope3-dev | 14:03 | |
*** alga has joined #zope3-dev | 14:08 | |
SmokeyD | nope, in a unit test suite | 14:08 |
*** volvox has joined #zope3-dev | 14:10 | |
SmokeyD | Ok, let's redo the question :) | 14:13 |
*** Londo_ has quit IRC | 14:13 | |
*** romanofski has quit IRC | 14:13 | |
SmokeyD | With unittests, do you normally create the site root, objects, etc in the setUp method? | 14:13 |
*** romanofski has joined #zope3-dev | 14:13 | |
*** Londo_ has joined #zope3-dev | 14:13 | |
SmokeyD | Or do you use the debugger with the normal ZODB and use these objects/siteroot/etc | 14:14 |
SmokeyD | or do you make a copy of the database and use that with the debugger? | 14:14 |
SmokeyD | the first option takes a lot of code in the setUp since you have to recreate stuff in the code that is normally stored in the ZODB (local utilities, folders, contained objects, etc) | 14:15 |
SmokeyD | the second option is dangerous since it can bork the ZODB when you modify the objects from the ZODB (or are objects loaded from ZODB through the zope.app.debug.Debugger not stored in the ZODB when modified?) | 14:16 |
*** Londo_ has quit IRC | 14:19 | |
*** romanofski has quit IRC | 14:19 | |
*** nathany has joined #zope3-dev | 14:20 | |
*** romanofski has joined #zope3-dev | 14:20 | |
*** Londo_ has joined #zope3-dev | 14:20 | |
SmokeyD | Hmm, it seems that the zope.app.debug package doesn't even exist anymore (it is mentioned in Richters book from 2005) | 14:20 |
mgedmin | it was probably moved | 14:21 |
mgedmin | eh, I see zope.app.debug in my Z3 checkout | 14:22 |
*** oferw has quit IRC | 14:26 | |
*** jukart has joined #zope3-dev | 14:39 | |
*** rocky|Zzz has quit IRC | 14:47 | |
*** rocky has joined #zope3-dev | 14:57 | |
*** benji has joined #zope3-dev | 15:04 | |
*** tiredbones has quit IRC | 15:09 | |
*** tiredbones has joined #zope3-dev | 15:10 | |
*** srichter has joined #zope3-dev | 15:28 | |
*** ChanServ sets mode: +o srichter | 15:28 | |
SmokeyD | mgedmin, nopt in zope3.2.1 | 15:44 |
SmokeyD | just a quicky, the zope.app.schema.Object field is meant to add other objects as properties to objects? | 15:44 |
SmokeyD | sorry, zope.schema.Object I mean | 15:45 |
mgedmin | yes | 15:45 |
SmokeyD | ok, thnx | 15:45 |
SmokeyD | but I don't suppose you can use expressions to set default values in a schema defining it (since the object is not instantiated yet when you open an add form, so does not have a context and stuff) | 15:47 |
SmokeyD | something like default=__parent__.getCurrentPeriod() | 15:47 |
*** niemeyer has quit IRC | 15:49 | |
*** SteveA has quit IRC | 15:53 | |
*** stub has quit IRC | 16:03 | |
*** pcardune has joined #zope3-dev | 16:05 | |
*** baijum has left #zope3-dev | 16:11 | |
eins | Subdino you are wrong. result = context.yourquery() will definately return a resultset | 16:11 |
eins | oops | 16:11 |
mgedmin | SmokeyD: nope | 16:17 |
mgedmin | but if you use an Object field, then you must use a custom ObjectWidget, and you specify a factory ... I think | 16:17 |
*** J1m has joined #zope3-dev | 16:21 | |
*** eins has quit IRC | 16:34 | |
*** volvox has quit IRC | 16:47 | |
SmokeyD | ok thanks mgedmin. I think I'm going to store the object separately in the ZODB in the hierarchy and just reference it from the other object | 16:55 |
*** batlogg has quit IRC | 17:00 | |
*** gumpa has joined #zope3-dev | 17:00 | |
*** batlogg has joined #zope3-dev | 17:00 | |
*** niemeyer has joined #zope3-dev | 17:03 | |
*** volvox has joined #zope3-dev | 17:05 | |
*** stub has joined #zope3-dev | 17:09 | |
*** hdima has quit IRC | 17:14 | |
*** SteveA has joined #zope3-dev | 17:15 | |
*** batlogg has quit IRC | 17:35 | |
*** bradb has joined #zope3-dev | 17:50 | |
*** henri_ has joined #zope3-dev | 17:51 | |
*** SmokeyD has quit IRC | 17:53 | |
*** SmokeyD has joined #zope3-dev | 17:54 | |
*** flox_ has joined #zope3-dev | 18:03 | |
*** flox has quit IRC | 18:03 | |
*** flox_ is now known as flox | 18:04 | |
*** hazmat has joined #zope3-dev | 18:18 | |
*** ChanServ sets mode: +o hazmat | 18:18 | |
*** zagy has quit IRC | 18:30 | |
*** jukart has quit IRC | 18:43 | |
*** zagy has joined #zope3-dev | 18:48 | |
*** henri_ has quit IRC | 18:54 | |
*** batlogg has joined #zope3-dev | 19:08 | |
*** febb has joined #zope3-dev | 19:12 | |
SmokeyD | hey, is it possible to redirect someone in zope to another page? I guess it's simple, but I have no clue where to look in the ++apidoc++ or source | 19:15 |
*** flox has quit IRC | 19:16 | |
pcardune | SmokeyD: depending on what you mean by redirect, you can always use request.response.redirect on any request object | 19:17 |
SmokeyD | ok,, I just want to put them to the url of the __parent__ object | 19:18 |
pcardune | then in the view that is doing the redirecting you might try something like return self.request.redirect(zapi.absoluteURL(self.context.__parent__, self.request)) | 19:20 |
*** ignas has quit IRC | 19:20 | |
pcardune | although I think it is now bad practice to use zapi | 19:20 |
pcardune | you just have to hunt out where the absoluteURL function is defined | 19:21 |
SmokeyD | ok thanks | 19:22 |
SmokeyD | That helps a lot | 19:22 |
SmokeyD | :) | 19:22 |
*** romanofski has quit IRC | 19:22 | |
*** hazmat has quit IRC | 19:25 | |
*** philiKON has joined #zope3-dev | 19:28 | |
*** batlogg has quit IRC | 19:42 | |
*** zagy has quit IRC | 19:49 | |
*** zagy has joined #zope3-dev | 19:49 | |
*** RaFromBRC has joined #zope3-dev | 19:55 | |
*** ignas has joined #zope3-dev | 20:08 | |
benji | pcardune and SmokeyD: absoluteURL is in zope.traversing.browser | 20:13 |
SmokeyD | ok, it is in zapi as well. | 20:14 |
SmokeyD | But I guess I should use zope.traversing.browser | 20:14 |
febb | hi all | 20:14 |
febb | hi philiKON como estas? | 20:14 |
SmokeyD | hi febb | 20:14 |
febb | hi SmokeyD how are you today ? | 20:15 |
SmokeyD | No se si philiKON esta | 20:15 |
SmokeyD | ;) | 20:15 |
SmokeyD | no le he viste desde mucho tiempo | 20:15 |
febb | ;) ah. ok, gracias.. I wanted to ask him a few things.... | 20:15 |
SmokeyD | :) | 20:15 |
febb | smokeyd where are you from ? | 20:15 |
*** dobee has quit IRC | 20:15 | |
SmokeyD | Netherlands | 20:15 |
SmokeyD | but I've spent sopme time in central and south america | 20:16 |
SmokeyD | where are you from | 20:16 |
febb | oh, great. been to Mexico ? I am from Mexico City., Mexico | 20:16 |
SmokeyD | Cool. A friend of mine as well. But haven't further north then Guatemala | 20:16 |
SmokeyD | I was in Honduras for half a year two months ago | 20:16 |
febb | working there ? | 20:17 |
SmokeyD | studies, internship actually | 20:17 |
SmokeyD | I want to go working there though, some somwhere else in Latin America | 20:17 |
febb | I see... how do you like it, latinamerica, i mean ? | 20:17 |
SmokeyD | let's take this off topic ;) | 20:17 |
febb | sure ;) | 20:18 |
febb | so, SmokeyD are you involved with Zope3 ? | 20:20 |
pcardune | does anyone know where I might find good resources for understanding zpkg? | 20:21 |
*** volvox has quit IRC | 20:32 | |
febb | anyone here will be attending to the Zope3 training in Copenhage in October ? | 20:34 |
febb | (besides the teacher, of course) | 20:35 |
*** romanofski has joined #zope3-dev | 20:35 | |
febb | hi romanofski. | 20:36 |
romanofski | hey febb | 20:36 |
*** flox_ has joined #zope3-dev | 20:37 | |
*** flox_ is now known as flox | 20:38 | |
*** oferw has joined #zope3-dev | 20:55 | |
SmokeyD | febb, see my personal messages | 20:58 |
SmokeyD | andrew_m, no I'm not involved with zope | 20:58 |
SmokeyD | I wish I was that good | 20:58 |
SmokeyD | :) | 20:58 |
SmokeyD | but I'm off again | 20:58 |
SmokeyD | febb I mean, not andrew_m | 20:58 |
andrew_m | hi and cu SmokeyD | 20:59 |
SmokeyD | :) | 21:05 |
SmokeyD | hi andrew_m | 21:06 |
SmokeyD | I'm indeed off again | 21:06 |
SmokeyD | But I'm making progress | 21:06 |
*** romanofski has quit IRC | 21:06 | |
andrew_m | ok.. good to hear! | 21:06 |
SmokeyD | I've figured Zope out as far as I need it and the basis is there | 21:06 |
SmokeyD | so now the functionality will come | 21:06 |
SmokeyD | bye | 21:08 |
andrew_m | cu SmokeyD | 21:08 |
*** jukart has joined #zope3-dev | 21:11 | |
*** srichter has quit IRC | 21:12 | |
*** batlogg has joined #zope3-dev | 21:16 | |
*** romanofski has joined #zope3-dev | 21:16 | |
*** MiUlEr has joined #zope3-dev | 21:20 | |
*** jukart_ has joined #zope3-dev | 21:27 | |
*** jukart has quit IRC | 21:29 | |
*** xenru has quit IRC | 21:35 | |
*** batlogg has quit IRC | 21:35 | |
*** philiKON has quit IRC | 21:35 | |
*** philiKON has joined #zope3-dev | 21:37 | |
*** yota has joined #zope3-dev | 21:39 | |
*** jukart has joined #zope3-dev | 21:41 | |
*** dunny has joined #zope3-dev | 21:43 | |
*** ignas has quit IRC | 21:49 | |
*** ignas has joined #zope3-dev | 21:50 | |
*** jukart_ has quit IRC | 21:50 | |
*** jukart_ has joined #zope3-dev | 21:50 | |
*** jukart_ has left #zope3-dev | 21:53 | |
*** jukart has quit IRC | 22:03 | |
*** niemeyer has quit IRC | 22:03 | |
*** stub has quit IRC | 22:09 | |
*** mkerrin has quit IRC | 22:11 | |
*** hazmat has joined #zope3-dev | 22:25 | |
*** ChanServ sets mode: +o hazmat | 22:25 | |
*** nathany has quit IRC | 22:30 | |
*** alga has quit IRC | 22:38 | |
*** hazmat has quit IRC | 22:46 | |
*** febb has quit IRC | 22:47 | |
*** mgedmin has quit IRC | 22:49 | |
*** fcorrea has joined #zope3-dev | 22:55 | |
*** philiKON has quit IRC | 23:07 | |
*** zagy has quit IRC | 23:12 | |
*** niemeyer has joined #zope3-dev | 23:13 | |
*** oferw has quit IRC | 23:17 | |
*** pcardune has quit IRC | 23:37 | |
*** batlogg has joined #zope3-dev | 23:41 | |
*** hazmat has joined #zope3-dev | 23:44 | |
*** ChanServ sets mode: +o hazmat | 23:44 | |
*** timte has quit IRC | 23:44 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!