| *** ccomb has quit IRC | 00:03 | |
| *** ccomb has joined #zope | 00:06 | |
| *** AnneGilles has quit IRC | 00:10 | |
| *** ccomb has quit IRC | 00:19 | |
| *** thetet has joined #zope | 00:42 | |
| *** alecm has quit IRC | 00:47 | |
| *** J1m has quit IRC | 01:19 | |
| *** J1m has joined #zope | 01:24 | |
| *** J1m has quit IRC | 01:26 | |
| *** benji has quit IRC | 01:28 | |
| *** J1m has joined #zope | 01:28 | |
| *** benji has joined #zope | 01:30 | |
| *** J1m has quit IRC | 01:31 | |
| *** J1m has joined #zope | 01:33 | |
| *** J1m has quit IRC | 01:37 | |
| *** J1m has joined #zope | 01:39 | |
| *** J1m has quit IRC | 01:49 | |
| *** _mup_ has quit IRC | 02:00 | |
| *** _mup_ has joined #zope | 02:00 | |
| *** tiwula has joined #zope | 02:19 | |
| *** J1m has joined #zope | 02:20 | |
| *** tiwula has quit IRC | 02:24 | |
| *** tiwula has joined #zope | 02:25 | |
| drobbins | hiya | 02:47 |
|---|---|---|
| drobbins | anyone know how to do the equivalent of IContentType ZCML stuff in Zope2 + Five? | 02:47 |
| drobbins | ok, I guess zope 2 has meta type and portal type | 02:52 |
| * kosh wonders what IContentType ZCML stuff is | 03:01 | |
| drobbins | I am learning zope 2 + five from scratch | 03:11 |
| drobbins | very tricky as I wasn't around during the whole development of 2->3 | 03:11 |
| drobbins | so I have to grab a zope 3 book and figure out what's different. | 03:11 |
| kosh | I never made the 3 transition | 03:12 |
| kosh | and I have not used any of the 3 stuff stuck in 2 pretty much | 03:13 |
| drobbins | that is what most people seem to have done | 03:13 |
| drobbins | how did you learn zope 2 then? | 03:13 |
| drobbins | there were a bunch of zope 3 books that came out in 2005ish | 03:13 |
| drobbins | web resources are a bit lite on docs. | 03:13 |
| kosh | I learned zope 2 about 12 or so years ago and have just kept up with it pretty much | 03:14 |
| drobbins | more than a bit lite | 03:14 |
| drobbins | yep | 03:14 |
| drobbins | figured :) | 03:14 |
| drobbins | http://www.funtoo.org/wiki/Zope_HOWTO | 03:14 |
| drobbins | ^^^ I am putting my notes here. | 03:14 |
| drobbins | right now I am trying to get something like a TODO to display in plain text in the browser. | 03:15 |
| drobbins | I am following the worldcookery book, trying to make stuff work in zope2. | 03:15 |
| drobbins | I may be trying to use zope 3 ZCML | 03:15 |
| kosh | zope won't actually run as a the root user, if you try to run it as root it binds to the port and drops privelages | 03:15 |
| drobbins | yep | 03:16 |
| drobbins | and it will complain that you need to pick a user in the config file | 03:16 |
| drobbins | so I just said "run as a non-root user" | 03:16 |
| kosh | what I do is run nginx in front of zope | 03:16 |
| kosh | and take apache out back and shoot it | 03:16 |
| drobbins | heheh | 03:17 |
| drobbins | zope actually seems pretty nice with working docs | 03:17 |
| drobbins | I have added a "browser" sub-package and am trying to use it to display stuff in browser | 03:17 |
| drobbins | does zope 2 have a <browser:page > directive in ZCML? | 03:18 |
| drobbins | IContentType is the zope 3 way of doing meta_type portal_type | 03:18 |
| kosh | I have never used ZCML with zope 2 | 03:18 |
| drobbins | ah | 03:19 |
| drobbins | well let me ask you this | 03:19 |
| drobbins | if you had a persistent object, and wanted to write some basic skeleton code to display the object's name in a browser using a "browser" sub-package, how would you do it? | 03:19 |
| kosh | I have no idea what a browser subpackage is | 03:20 |
| kosh | I just write zope 2 style products and so just define methods and security on the method for it to display | 03:20 |
| drobbins | ok | 03:20 |
| drobbins | you mean on the class? | 03:20 |
| kosh | yes on the persistent class | 03:20 |
| drobbins | ok | 03:20 |
| drobbins | how do you do that? :) | 03:21 |
| kosh | it looksl ike the website I had bookmarked on how to do that no longer exists | 03:22 |
| drobbins | yep | 03:23 |
| drobbins | I am running into that problem. | 03:23 |
| drobbins | maybe you could give me the link and I could try wayback machine on it | 03:23 |
| drobbins | I also have another question :) | 03:24 |
| drobbins | when you "zopectl start", is there a ZODB that is created automatically? | 03:24 |
| kosh | http://zope.org/Members/maxm/HowTo/minimal_01 http://www.zope.org/Members/maxm/HowTo/minimal_02 | 03:25 |
| drobbins | I created a flat file ZODB thru zopectl debug | 03:25 |
| kosh | flat file ZODB? when you create a zope instance it is supposed to use this skel dir somewhere and create a basic instance including a default Data.fs | 03:25 |
| drobbins | ok | 03:25 |
| drobbins | and that is a FileStorage? | 03:26 |
| drobbins | I'd imagine so | 03:26 |
| drobbins | kosh: have you used views and viewlets? | 03:29 |
| kosh | that would be FileStorage and it is not a flat file db | 03:29 |
| kosh | nope I have not used those | 03:29 |
| drobbins | ok | 03:31 |
| *** thetet has left #zope | 03:49 | |
| drobbins | in zopectl debug, what is the easiest way to get to the default ZODB? | 04:06 |
| drobbins | can I get to it via the app object? | 04:06 |
| kosh | see if app.getPhysicalRoot() works | 04:09 |
| kosh | I wish I could help more but I am pretty busy working on fluid mechanics stuff :) | 04:09 |
| drobbins | ok :) | 04:11 |
| drobbins | a.getPhysicalRoot() returns an Application | 04:11 |
| drobbins | app.getPhysicalRoot == app | 04:12 |
| drobbins | True | 04:12 |
| drobbins | I see Control Panel and index_html in object_ids | 04:12 |
| kosh | that is already the root of your db then | 04:12 |
| drobbins | ok | 04:16 |
| drobbins | I get a traceback when trying to add something | 04:16 |
| drobbins | and I don't get the traceback when I add to a custom FileStorage that I create | 04:16 |
| drobbins | AttributeError: type object 'Recipe' has no attribute 'manage_fixupOwnershipAfterAdd' | 04:16 |
| drobbins | ^^^ that is the issue. | 04:17 |
| drobbins | do I need another mix-in? | 04:17 |
| drobbins | right now the object is a subclass of Persistent only | 04:17 |
| drobbins | do I need to add "Item" ? | 04:18 |
| drobbins | maybe so? | 04:18 |
| drobbins | that appeared to fix it :) | 04:19 |
| drobbins | cool, now it is showing up in the UI | 04:20 |
| drobbins | it won't render. I imagine if I implement an index_html() method, that might fix that? | 04:20 |
| drobbins | nope, seems like I need something else. | 04:22 |
| drobbins | I am gettin raw HTML saying "resource not found" | 04:22 |
| drobbins | just a render issue, I can get to it from zopectl debug. | 04:23 |
| *** alga has quit IRC | 05:01 | |
| *** tiwula has quit IRC | 06:50 | |
| *** zagy has joined #zope | 09:09 | |
| *** eperez has quit IRC | 09:11 | |
| *** tisto has joined #zope | 09:12 | |
| *** RiverRat has quit IRC | 09:13 | |
| *** m8 has joined #zope | 09:22 | |
| *** sweh has joined #zope | 09:29 | |
| *** supton has quit IRC | 09:31 | |
| *** __mac__ has joined #zope | 09:46 | |
| *** Wu has joined #zope | 09:55 | |
| *** menesis has quit IRC | 10:03 | |
| *** menesis has joined #zope | 10:05 | |
| *** avoinea has joined #zope | 10:19 | |
| *** AnneGilles has joined #zope | 10:20 | |
| *** __mac__ has quit IRC | 10:34 | |
| *** eperez has joined #zope | 10:42 | |
| *** sunew has joined #zope | 10:50 | |
| *** sunew has quit IRC | 10:50 | |
| *** agroszer has joined #zope | 11:10 | |
| *** AnneGilles has quit IRC | 11:19 | |
| *** __mac__ has joined #zope | 11:27 | |
| *** TomBlockley has joined #zope | 11:36 | |
| *** mitchell`off is now known as mitchell` | 11:45 | |
| *** sunew has joined #zope | 11:48 | |
| *** do3cc has joined #zope | 11:54 | |
| *** goschtl has joined #zope | 11:58 | |
| *** RiverRat has joined #zope | 12:03 | |
| *** ccomb has joined #zope | 12:12 | |
| *** alga has joined #zope | 12:17 | |
| *** evilbungle has joined #zope | 12:25 | |
| *** fredvd has joined #zope | 12:34 | |
| *** __mac__1 has joined #zope | 12:39 | |
| *** __mac__ has quit IRC | 12:43 | |
| *** teix has joined #zope | 13:02 | |
| *** J1m has joined #zope | 13:02 | |
| *** Wu has quit IRC | 13:10 | |
| *** benji has quit IRC | 13:18 | |
| *** eperez has quit IRC | 13:33 | |
| *** eperez has joined #zope | 13:34 | |
| *** AnneGilles has joined #zope | 14:07 | |
| *** J1m has quit IRC | 14:22 | |
| *** ccomb has quit IRC | 14:24 | |
| *** ericof has joined #zope | 14:40 | |
| *** Wu has joined #zope | 14:41 | |
| *** River_Rat has joined #zope | 14:50 | |
| *** RiverRat has quit IRC | 14:51 | |
| *** tisto is now known as tisto|away | 14:52 | |
| *** benji has joined #zope | 15:04 | |
| *** fredvd has quit IRC | 15:07 | |
| *** fredvd has joined #zope | 15:07 | |
| *** zagy has quit IRC | 15:11 | |
| *** zagy has joined #zope | 15:12 | |
| *** sweh has quit IRC | 15:13 | |
| *** __mac__1 has quit IRC | 15:14 | |
| *** __mac__ has joined #zope | 15:17 | |
| *** sweh has joined #zope | 15:20 | |
| *** Wu has quit IRC | 15:35 | |
| *** eperez has quit IRC | 15:41 | |
| *** eperez has joined #zope | 15:44 | |
| *** mr_jolly has joined #zope | 15:50 | |
| *** mr_jolly has left #zope | 15:50 | |
| *** zagy has quit IRC | 15:51 | |
| *** zagy has joined #zope | 15:51 | |
| *** __mac__ has quit IRC | 15:52 | |
| *** __mac__ has joined #zope | 15:52 | |
| *** tisto|away is now known as tisto | 15:52 | |
| *** J1m has joined #zope | 15:56 | |
| *** AnneGilles has quit IRC | 15:59 | |
| *** fredvd|dinner has joined #zope | 16:00 | |
| *** fredvd has quit IRC | 16:04 | |
| *** menesis has quit IRC | 16:10 | |
| *** fredvd|dinner has quit IRC | 16:24 | |
| *** sp0cksbeard has joined #zope | 16:24 | |
| *** zagy1 has joined #zope | 16:25 | |
| *** zagy has quit IRC | 16:25 | |
| *** __mac__ has quit IRC | 16:25 | |
| *** sweh has quit IRC | 16:26 | |
| *** __mac__ has joined #zope | 16:26 | |
| *** sweh has joined #zope | 16:26 | |
| *** ccomb has joined #zope | 17:02 | |
| *** yvl has joined #zope | 17:03 | |
| *** Wu has joined #zope | 17:05 | |
| *** dayne has quit IRC | 17:28 | |
| *** dvschramm has joined #zope | 17:42 | |
| *** daMaestro has joined #zope | 18:08 | |
| *** Brace has left #zope | 18:10 | |
| *** zagy1 has quit IRC | 18:28 | |
| *** sunew has quit IRC | 18:34 | |
| *** __mac__ has quit IRC | 18:45 | |
| *** agroszer has quit IRC | 18:57 | |
| *** avoinea has quit IRC | 19:00 | |
| *** mcdonc_ has quit IRC | 19:08 | |
| *** avoinea has joined #zope | 19:13 | |
| *** goschtl has quit IRC | 19:26 | |
| *** alecm has joined #zope | 19:33 | |
| *** tiwula has joined #zope | 19:40 | |
| *** AnneGilles has joined #zope | 19:45 | |
| *** tisto has quit IRC | 19:48 | |
| *** TomBlockley has quit IRC | 19:57 | |
| *** Wu has quit IRC | 19:59 | |
| *** mcdonc has joined #zope | 20:03 | |
| *** agroszer has joined #zope | 20:06 | |
| *** RichyB has joined #zope | 20:10 | |
| *** alecm has quit IRC | 20:10 | |
| *** alecm has joined #zope | 20:10 | |
| *** alecm has joined #zope | 20:10 | |
| *** __mac__ has joined #zope | 20:13 | |
| *** agroszer has quit IRC | 20:21 | |
| *** evilbungle has quit IRC | 20:46 | |
| *** sweh has quit IRC | 21:02 | |
| *** mitchell` has quit IRC | 21:02 | |
| *** sweh has joined #zope | 21:02 | |
| *** mitchell` has joined #zope | 21:02 | |
| *** supton has joined #zope | 21:08 | |
| *** do3cc has left #zope | 21:13 | |
| *** do3cc has joined #zope | 21:14 | |
| *** avn has quit IRC | 21:18 | |
| *** avn has joined #zope | 21:25 | |
| *** fredvd has joined #zope | 21:44 | |
| *** ericof has quit IRC | 21:47 | |
| *** avoinea has quit IRC | 21:49 | |
| *** fredvd has quit IRC | 22:20 | |
| *** evilbungle has joined #zope | 22:25 | |
| *** teix has quit IRC | 23:01 | |
| *** yvl has quit IRC | 23:16 | |
| *** nebo has joined #zope | 23:35 | |
| *** __mac__1 has joined #zope | 23:38 | |
| *** sashav has quit IRC | 23:40 | |
| *** sashav has joined #zope | 23:40 | |
| *** __mac__ has quit IRC | 23:41 | |
| *** nebo has quit IRC | 23:47 | |
| *** nebo has joined #zope | 23:59 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!