IRC log of #zope for Saturday, 2011-11-12

*** gloin has joined #zope00:19
*** Spanktar has joined #zope00:22
*** Spanktar has quit IRC00:23
gloinHi, I've got Zope 2.12.1 running as part of a ZenOss install, and the Z2.log is highly verbose, often growing faster than a standard logrotation.  Is there any way to set it to something like "error" instead of "info"00:32
* gloin has poked around the wiki but without success00:32
*** gloin has quit IRC00:46
*** J1m has quit IRC00:57
*** morphex has quit IRC01:00
*** do3cc has quit IRC01:22
*** alga has quit IRC01:26
*** supton has quit IRC01:34
*** ajkaanbal has quit IRC01:50
*** TomBlockley has joined #zope01:53
*** TomBlockley_ has joined #zope01:59
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:00
*** TomBlockley has quit IRC02:02
*** TomBlockley_ is now known as TomBlockley02:02
*** m8 has quit IRC02:03
*** avoinea has joined #zope02:20
*** Arfrever has quit IRC02:26
*** TomBlockley has quit IRC02:31
*** tiwula has quit IRC02:36
*** avoinea has quit IRC03:12
*** avoinea has joined #zope03:32
*** supton has joined #zope03:43
*** evilbungle has quit IRC03:53
*** daMaestro has quit IRC04:28
*** TomBlockley has joined #zope05:07
*** TomBlockley_ has joined #zope05:29
*** TomBlockley has quit IRC05:29
*** TomBlockley_ is now known as TomBlockley05:29
*** TomBlockley has quit IRC05:35
*** TomBlockley has joined #zope05:38
*** TomBlockley has quit IRC05:42
*** avoinea has quit IRC05:52
*** ccomb has quit IRC06:11
*** Rakshith has joined #zope08:19
*** MrSmile has joined #zope08:57
MrSmileHi people! I am woring on grok, I am a beginner.08:57
MrSmileI am reading this book, so far I understand anything but there are missing issues for me logically.08:57
MrSmileif I have: <li tal:repeat="weapon python:view.weapons" tal:content="weapon">Weapon</li> where must I define the dictionary weapons?!08:58
*** MrSmile has left #zope09:18
*** MrSmile has joined #zope09:30
*** MrSmile has quit IRC09:37
*** AnneGilles has joined #zope10:29
*** morphex has joined #zope10:54
*** morphex has quit IRC11:08
*** River_Rat has joined #zope12:12
*** RiverRat has quit IRC12:14
*** goschtl has joined #zope12:27
*** m8 has joined #zope12:28
*** goschtl has quit IRC13:07
*** zagy has joined #zope13:46
*** zagy has quit IRC15:00
*** Rakshith has quit IRC15:01
*** RixiM has joined #zope15:10
RixiMi am using ZODB and get this error: ERROR:ZODB.Connection:Couldn't load state for 0x3315:11
RixiMit seems to be a caching issue because after that error i get this error: TypeError: Cache values must be persistent objects.15:12
RixiMi am using my own objects, which I am sure has something to do with it. I have googled for both errors and have yet to find anything that relates to my problem.15:13
*** zagy has joined #zope15:13
mgedminho idea, honestly, but a wild guess would be: some persistent class that was stored in the ZODB is no longer persistent in your code base15:15
*** J1m has joined #zope15:15
*** m8 has quit IRC15:18
*** mr_jolly has joined #zope15:36
*** do3cc has joined #zope15:41
*** hever has joined #zope15:43
*** m8 has joined #zope15:48
*** do3cc has quit IRC15:48
*** fmj has joined #zope15:50
*** benji has quit IRC15:50
*** m8 has quit IRC15:50
*** m8 has joined #zope15:51
*** benji has joined #zope16:00
*** alexpilz has joined #zope16:11
*** J1m has quit IRC16:16
*** kiorky has quit IRC16:25
*** kiorky has joined #zope16:34
*** J1m has joined #zope16:38
*** kiorky has quit IRC16:45
*** evilbungle has joined #zope16:49
*** menesis has joined #zope16:49
*** m8 has quit IRC16:56
*** hever has quit IRC17:04
*** kiorky has joined #zope17:04
*** m8 has joined #zope17:26
*** dayne has joined #zope18:02
*** fredvd has joined #zope18:12
*** fredvd has quit IRC18:16
*** goschtl has joined #zope18:17
*** TomBlockley has joined #zope18:36
*** mcdonc has joined #zope18:49
*** mcdonc has quit IRC18:56
*** goschtl has quit IRC19:01
*** TomBlockley has quit IRC19:02
*** dayne has quit IRC19:06
*** evilbungle has quit IRC19:20
*** dayne has joined #zope19:30
*** tiwula has joined #zope19:41
*** fredvd has joined #zope20:16
*** fredvd has quit IRC20:20
*** goschtl has joined #zope20:22
RixiMmgedmin: thanks i think that's it, actually.20:27
RixiMmgedmin: yeah, that fixed it, thanks again. I forgot to monkey patch.20:50
*** goschtl has quit IRC21:00
*** goschtl has joined #zope21:04
*** goschtl has quit IRC21:04
*** evilbungle has joined #zope21:04
*** evilbungle has quit IRC21:07
*** morphex has joined #zope21:29
*** evilbungle has joined #zope21:35
*** smcmurray has joined #zope21:41
smcmurrayhello21:41
*** menesis has quit IRC21:45
smcmurrayI am trying to restore a v2.9 instance to v2.1021:47
smcmurraybut it doesn't seem to work21:47
betabugwhat problem do you get?21:47
smcmurraybetabug: Unable to connect21:52
smcmurraynothing shows up in /var/log/zope/*21:52
betabugdid you start it with zopectl fg?21:55
smcmurraybetabug: no22:00
smcmurrayjust zopecftl start22:00
smcmurray*zopectl22:00
betabugwell, try it with fg then and see what output you get on the console22:01
smcmurrayk22:01
smcmurraybetabug: thx. that was helpful22:03
smcmurraypermission errors22:03
smcmurrayhopefully fixed now22:03
betabuggood22:03
*** J1m has quit IRC22:08
*** J1m has joined #zope22:10
smcmurrayIs there a way to reset/recover the management password?22:11
*** fmj has quit IRC22:12
mgedmindoesn't zopectl have subcommand for that?22:14
morphexsmcmurray: to the zope root?  use zopectl yeah22:14
morphexcan't recover, but reset the password from there22:15
*** goschtl has joined #zope22:15
smcmurrayis there a way to dump everything in /content out to the fielsystem?22:21
mgedminI've written a limited script to do that for a subset of content types, for my own use22:22
mgedminI could dig it up, if you're interested22:22
smcmurrayZMI has an import/export, I see22:24
smcmurraybut it looks like it exports to a single .zexp file22:24
*** mcdonc has joined #zope22:25
smcmurrayit that a tgz in diguise, or something else useful?22:25
smcmurrayor some custome packaging to be imported back in with ZMI tools only?22:25
mgedminit's a python pickle22:29
mgedmin(with some custom hooks for persistent object references, so don't expect cPickle.load() to work with those)22:30
*** evilbungle has quit IRC22:30
mgedminso, you could say it's option B: custom stuff for import with ZMI22:30
mgedminincidentally, that's what my script I mentioned before does: extract a .zexp into a bunch of files and folders, lossily (only some content types, no properties, no permission info)22:31
smcmurrayWhat's the easiest way to get a TTW instance out of zope and into straight html/js/etc?22:31
mgedminZODB is an object database, there's no clear way of representing everything  it can contain as files22:32
smcmurrayI'm just looking for the files, not all the other object stuff22:32
smcmurrayok. I'll back off that statement. I don't know zope well enough to know what I want.22:35
mgedmin:)22:35
*** menesis has joined #zope22:37
betabugit mostly depends on what you have in there22:40
*** goschtl has quit IRC22:41
*** mcdonc has quit IRC22:41
*** evilbungle has joined #zope22:48
*** goschtl has joined #zope22:53
*** mr_jolly has quit IRC22:54
smcmurraybetabug: thx22:54
smcmurrayit looks like it would be easier to scrape the whole site22:54
betabugcould be, depending on what you need22:55
smcmurrayI just want an archive of the site that is not trapped in zope22:55
mgedminrecursive wget22:56
betabugwell, if a static site can encompass that, then ok - the question is if there are functional elements22:56
*** J1m has quit IRC22:56
smcmurrayit is all static-able22:57
betabugcool then22:57
smcmurraythere isn't any real dynamic content22:57
smcmurrayand scripting something like mgedmin's recurvice wget seems to be easier than any tool zope provides22:58
mgedminyes, zope is not a tool for exporting static websites22:58
mgedminbut I built myself a script to do that :)22:59
mgedminsibling to that other script I was pimping above22:59
mgedminone to extract the page templates, the other one to render them into HTMLs22:59
mgedminso that I could do version-controlled development of a mostly-static zope website and preview it on my local machine22:59
mgedminwithout having to set up zope22:59
smcmurrayexactly23:00
smcmurraythanks for your help all23:01
smcmurrayat least I have the instance back up enough to poke at it23:02
betabugyou're welcome23:02
smcmurrayI should be able to scrape it from here23:02
*** smcmurray has quit IRC23:02
* mgedmin is trying to remember why he couldn't just set up a local zope instance...23:03
mgedminoh, I just wanted to find syntax errors by running a single command, instead of packing-up-zexp, copying it to the import directory, switching to a web browser and clickety-click importing it, then refreshing a page23:05
*** supton has quit IRC23:07
betabugsyntax errors on a static site?23:09
*** J1m has joined #zope23:12
mgedminsurely you don't expect me to copy and paste the same header/footer to each page by hand?23:35
mgedmintemplates render them23:35
mgedminand tal syntax errors exist23:35
*** morphex has quit IRC23:40
*** RixiM has left #zope23:42
*** morphex has joined #zope23:43
*** mcdonc has joined #zope23:48
*** AnneGilles_ has joined #zope23:53
*** AnneGilles has quit IRC23:55
*** AnneGilles_ is now known as AnneGilles23:55

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