IRC log of #zope for Monday, 2012-02-06

*** ccomb has quit IRC00:03
*** ccomb has joined #zope00:06
*** AnneGilles has quit IRC00:10
*** ccomb has quit IRC00:19
*** thetet has joined #zope00:42
*** alecm has quit IRC00:47
*** J1m has quit IRC01:19
*** J1m has joined #zope01:24
*** J1m has quit IRC01:26
*** benji has quit IRC01:28
*** J1m has joined #zope01:28
*** benji has joined #zope01:30
*** J1m has quit IRC01:31
*** J1m has joined #zope01:33
*** J1m has quit IRC01:37
*** J1m has joined #zope01:39
*** J1m has quit IRC01:49
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:00
*** tiwula has joined #zope02:19
*** J1m has joined #zope02:20
*** tiwula has quit IRC02:24
*** tiwula has joined #zope02:25
drobbinshiya02:47
drobbinsanyone know how to do the equivalent of IContentType ZCML stuff in Zope2 + Five?02:47
drobbinsok, I guess zope 2 has meta type and portal type02:52
* kosh wonders what IContentType ZCML stuff is03:01
drobbinsI am learning zope 2 + five from scratch03:11
drobbinsvery tricky as I wasn't around during the whole development of 2->303:11
drobbinsso I have to grab a zope 3 book and figure out what's different.03:11
koshI never made the 3 transition03:12
koshand I have not used any of the 3 stuff stuck in 2 pretty much03:13
drobbinsthat is what most people seem to have done03:13
drobbinshow did you learn zope 2 then?03:13
drobbinsthere were a bunch of zope 3 books that came out in 2005ish03:13
drobbinsweb resources are a bit lite on docs.03:13
koshI learned zope 2 about 12 or so years ago and have just kept up with it pretty much03:14
drobbinsmore than a bit lite03:14
drobbinsyep03:14
drobbinsfigured :)03:14
drobbinshttp://www.funtoo.org/wiki/Zope_HOWTO03:14
drobbins^^^ I am putting my notes here.03:14
drobbinsright now I am trying to get something like a TODO to display in plain text in the browser.03:15
drobbinsI am following the worldcookery book, trying to make stuff work in zope2.03:15
drobbinsI may be trying to use zope 3 ZCML03:15
koshzope won't actually run as a the root user, if you try to run it as root it binds to the port and drops privelages03:15
drobbinsyep03:16
drobbinsand it will complain that you need to pick a user in the config file03:16
drobbinsso I just said "run as a non-root user"03:16
koshwhat I do is run nginx in front of zope03:16
koshand take apache out back and shoot it03:16
drobbinsheheh03:17
drobbinszope actually seems pretty nice with working docs03:17
drobbinsI have added a "browser" sub-package and am trying to use it to display stuff in browser03:17
drobbinsdoes zope 2 have a <browser:page > directive in ZCML?03:18
drobbinsIContentType is the zope 3 way of doing meta_type portal_type03:18
koshI have never used ZCML with zope 203:18
drobbinsah03:19
drobbinswell let me ask you this03:19
drobbinsif 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
koshI have no idea what a browser subpackage is03:20
koshI just write zope 2 style products and so just define methods and security on the method for it to display03:20
drobbinsok03:20
drobbinsyou mean on the class?03:20
koshyes on the persistent class03:20
drobbinsok03:20
drobbinshow do you do that? :)03:21
koshit looksl ike the website I had bookmarked on how to do that no longer exists03:22
drobbinsyep03:23
drobbinsI am running into that problem.03:23
drobbinsmaybe you could give me the link and I could try wayback machine on it03:23
drobbinsI also have another question :)03:24
drobbinswhen you "zopectl start", is there a ZODB that is created automatically?03:24
koshhttp://zope.org/Members/maxm/HowTo/minimal_01   http://www.zope.org/Members/maxm/HowTo/minimal_0203:25
drobbinsI created a flat file ZODB thru zopectl debug03:25
koshflat 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.fs03:25
drobbinsok03:25
drobbinsand that is a FileStorage?03:26
drobbinsI'd imagine so03:26
drobbinskosh: have you used views and viewlets?03:29
koshthat would be FileStorage and it is not a flat file db03:29
koshnope I have not used those03:29
drobbinsok03:31
*** thetet has left #zope03:49
drobbinsin zopectl debug, what is the easiest way to get to the default ZODB?04:06
drobbinscan I get to it via the app object?04:06
koshsee if app.getPhysicalRoot() works04:09
koshI wish I could help more but I am pretty busy working on fluid mechanics stuff :)04:09
drobbinsok :)04:11
drobbinsa.getPhysicalRoot() returns an Application04:11
drobbinsapp.getPhysicalRoot == app04:12
drobbinsTrue04:12
drobbinsI see Control Panel and index_html in object_ids04:12
koshthat is already the root of your db then04:12
drobbinsok04:16
drobbinsI get a traceback when trying to add something04:16
drobbinsand I don't get the traceback when I add to a custom FileStorage that I create04:16
drobbinsAttributeError: type object 'Recipe' has no attribute 'manage_fixupOwnershipAfterAdd'04:16
drobbins^^^ that is the issue.04:17
drobbinsdo I need another mix-in?04:17
drobbinsright now the object is a subclass of Persistent only04:17
drobbinsdo I need to add "Item" ?04:18
drobbinsmaybe so?04:18
drobbinsthat appeared to fix it :)04:19
drobbinscool, now it is showing up in the UI04:20
drobbinsit won't render. I imagine if I implement an index_html() method, that might fix that?04:20
drobbinsnope, seems like I need something else.04:22
drobbinsI am gettin raw HTML saying "resource not found"04:22
drobbinsjust a render issue, I can get to it from zopectl debug.04:23
*** alga has quit IRC05:01
*** tiwula has quit IRC06:50
*** zagy has joined #zope09:09
*** eperez has quit IRC09:11
*** tisto has joined #zope09:12
*** RiverRat has quit IRC09:13
*** m8 has joined #zope09:22
*** sweh has joined #zope09:29
*** supton has quit IRC09:31
*** __mac__ has joined #zope09:46
*** Wu has joined #zope09:55
*** menesis has quit IRC10:03
*** menesis has joined #zope10:05
*** avoinea has joined #zope10:19
*** AnneGilles has joined #zope10:20
*** __mac__ has quit IRC10:34
*** eperez has joined #zope10:42
*** sunew has joined #zope10:50
*** sunew has quit IRC10:50
*** agroszer has joined #zope11:10
*** AnneGilles has quit IRC11:19
*** __mac__ has joined #zope11:27
*** TomBlockley has joined #zope11:36
*** mitchell`off is now known as mitchell`11:45
*** sunew has joined #zope11:48
*** do3cc has joined #zope11:54
*** goschtl has joined #zope11:58
*** RiverRat has joined #zope12:03
*** ccomb has joined #zope12:12
*** alga has joined #zope12:17
*** evilbungle has joined #zope12:25
*** fredvd has joined #zope12:34
*** __mac__1 has joined #zope12:39
*** __mac__ has quit IRC12:43
*** teix has joined #zope13:02
*** J1m has joined #zope13:02
*** Wu has quit IRC13:10
*** benji has quit IRC13:18
*** eperez has quit IRC13:33
*** eperez has joined #zope13:34
*** AnneGilles has joined #zope14:07
*** J1m has quit IRC14:22
*** ccomb has quit IRC14:24
*** ericof has joined #zope14:40
*** Wu has joined #zope14:41
*** River_Rat has joined #zope14:50
*** RiverRat has quit IRC14:51
*** tisto is now known as tisto|away14:52
*** benji has joined #zope15:04
*** fredvd has quit IRC15:07
*** fredvd has joined #zope15:07
*** zagy has quit IRC15:11
*** zagy has joined #zope15:12
*** sweh has quit IRC15:13
*** __mac__1 has quit IRC15:14
*** __mac__ has joined #zope15:17
*** sweh has joined #zope15:20
*** Wu has quit IRC15:35
*** eperez has quit IRC15:41
*** eperez has joined #zope15:44
*** mr_jolly has joined #zope15:50
*** mr_jolly has left #zope15:50
*** zagy has quit IRC15:51
*** zagy has joined #zope15:51
*** __mac__ has quit IRC15:52
*** __mac__ has joined #zope15:52
*** tisto|away is now known as tisto15:52
*** J1m has joined #zope15:56
*** AnneGilles has quit IRC15:59
*** fredvd|dinner has joined #zope16:00
*** fredvd has quit IRC16:04
*** menesis has quit IRC16:10
*** fredvd|dinner has quit IRC16:24
*** sp0cksbeard has joined #zope16:24
*** zagy1 has joined #zope16:25
*** zagy has quit IRC16:25
*** __mac__ has quit IRC16:25
*** sweh has quit IRC16:26
*** __mac__ has joined #zope16:26
*** sweh has joined #zope16:26
*** ccomb has joined #zope17:02
*** yvl has joined #zope17:03
*** Wu has joined #zope17:05
*** dayne has quit IRC17:28
*** dvschramm has joined #zope17:42
*** daMaestro has joined #zope18:08
*** Brace has left #zope18:10
*** zagy1 has quit IRC18:28
*** sunew has quit IRC18:34
*** __mac__ has quit IRC18:45
*** agroszer has quit IRC18:57
*** avoinea has quit IRC19:00
*** mcdonc_ has quit IRC19:08
*** avoinea has joined #zope19:13
*** goschtl has quit IRC19:26
*** alecm has joined #zope19:33
*** tiwula has joined #zope19:40
*** AnneGilles has joined #zope19:45
*** tisto has quit IRC19:48
*** TomBlockley has quit IRC19:57
*** Wu has quit IRC19:59
*** mcdonc has joined #zope20:03
*** agroszer has joined #zope20:06
*** RichyB has joined #zope20:10
*** alecm has quit IRC20:10
*** alecm has joined #zope20:10
*** alecm has joined #zope20:10
*** __mac__ has joined #zope20:13
*** agroszer has quit IRC20:21
*** evilbungle has quit IRC20:46
*** sweh has quit IRC21:02
*** mitchell` has quit IRC21:02
*** sweh has joined #zope21:02
*** mitchell` has joined #zope21:02
*** supton has joined #zope21:08
*** do3cc has left #zope21:13
*** do3cc has joined #zope21:14
*** avn has quit IRC21:18
*** avn has joined #zope21:25
*** fredvd has joined #zope21:44
*** ericof has quit IRC21:47
*** avoinea has quit IRC21:49
*** fredvd has quit IRC22:20
*** evilbungle has joined #zope22:25
*** teix has quit IRC23:01
*** yvl has quit IRC23:16
*** nebo has joined #zope23:35
*** __mac__1 has joined #zope23:38
*** sashav has quit IRC23:40
*** sashav has joined #zope23:40
*** __mac__ has quit IRC23:41
*** nebo has quit IRC23:47
*** nebo has joined #zope23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!