*** gloin has joined #zope | 00:19 | |
*** Spanktar has joined #zope | 00:22 | |
*** Spanktar has quit IRC | 00:23 | |
gloin | Hi, 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 success | 00:32 | |
*** gloin has quit IRC | 00:46 | |
*** J1m has quit IRC | 00:57 | |
*** morphex has quit IRC | 01:00 | |
*** do3cc has quit IRC | 01:22 | |
*** alga has quit IRC | 01:26 | |
*** supton has quit IRC | 01:34 | |
*** ajkaanbal has quit IRC | 01:50 | |
*** TomBlockley has joined #zope | 01:53 | |
*** TomBlockley_ has joined #zope | 01:59 | |
*** _mup_ has quit IRC | 02:00 | |
*** _mup_ has joined #zope | 02:00 | |
*** TomBlockley has quit IRC | 02:02 | |
*** TomBlockley_ is now known as TomBlockley | 02:02 | |
*** m8 has quit IRC | 02:03 | |
*** avoinea has joined #zope | 02:20 | |
*** Arfrever has quit IRC | 02:26 | |
*** TomBlockley has quit IRC | 02:31 | |
*** tiwula has quit IRC | 02:36 | |
*** avoinea has quit IRC | 03:12 | |
*** avoinea has joined #zope | 03:32 | |
*** supton has joined #zope | 03:43 | |
*** evilbungle has quit IRC | 03:53 | |
*** daMaestro has quit IRC | 04:28 | |
*** TomBlockley has joined #zope | 05:07 | |
*** TomBlockley_ has joined #zope | 05:29 | |
*** TomBlockley has quit IRC | 05:29 | |
*** TomBlockley_ is now known as TomBlockley | 05:29 | |
*** TomBlockley has quit IRC | 05:35 | |
*** TomBlockley has joined #zope | 05:38 | |
*** TomBlockley has quit IRC | 05:42 | |
*** avoinea has quit IRC | 05:52 | |
*** ccomb has quit IRC | 06:11 | |
*** Rakshith has joined #zope | 08:19 | |
*** MrSmile has joined #zope | 08:57 | |
MrSmile | Hi people! I am woring on grok, I am a beginner. | 08:57 |
MrSmile | I am reading this book, so far I understand anything but there are missing issues for me logically. | 08:57 |
MrSmile | if 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 #zope | 09:18 | |
*** MrSmile has joined #zope | 09:30 | |
*** MrSmile has quit IRC | 09:37 | |
*** AnneGilles has joined #zope | 10:29 | |
*** morphex has joined #zope | 10:54 | |
*** morphex has quit IRC | 11:08 | |
*** River_Rat has joined #zope | 12:12 | |
*** RiverRat has quit IRC | 12:14 | |
*** goschtl has joined #zope | 12:27 | |
*** m8 has joined #zope | 12:28 | |
*** goschtl has quit IRC | 13:07 | |
*** zagy has joined #zope | 13:46 | |
*** zagy has quit IRC | 15:00 | |
*** Rakshith has quit IRC | 15:01 | |
*** RixiM has joined #zope | 15:10 | |
RixiM | i am using ZODB and get this error: ERROR:ZODB.Connection:Couldn't load state for 0x33 | 15:11 |
RixiM | it seems to be a caching issue because after that error i get this error: TypeError: Cache values must be persistent objects. | 15:12 |
RixiM | i 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 #zope | 15:13 | |
mgedmin | ho idea, honestly, but a wild guess would be: some persistent class that was stored in the ZODB is no longer persistent in your code base | 15:15 |
*** J1m has joined #zope | 15:15 | |
*** m8 has quit IRC | 15:18 | |
*** mr_jolly has joined #zope | 15:36 | |
*** do3cc has joined #zope | 15:41 | |
*** hever has joined #zope | 15:43 | |
*** m8 has joined #zope | 15:48 | |
*** do3cc has quit IRC | 15:48 | |
*** fmj has joined #zope | 15:50 | |
*** benji has quit IRC | 15:50 | |
*** m8 has quit IRC | 15:50 | |
*** m8 has joined #zope | 15:51 | |
*** benji has joined #zope | 16:00 | |
*** alexpilz has joined #zope | 16:11 | |
*** J1m has quit IRC | 16:16 | |
*** kiorky has quit IRC | 16:25 | |
*** kiorky has joined #zope | 16:34 | |
*** J1m has joined #zope | 16:38 | |
*** kiorky has quit IRC | 16:45 | |
*** evilbungle has joined #zope | 16:49 | |
*** menesis has joined #zope | 16:49 | |
*** m8 has quit IRC | 16:56 | |
*** hever has quit IRC | 17:04 | |
*** kiorky has joined #zope | 17:04 | |
*** m8 has joined #zope | 17:26 | |
*** dayne has joined #zope | 18:02 | |
*** fredvd has joined #zope | 18:12 | |
*** fredvd has quit IRC | 18:16 | |
*** goschtl has joined #zope | 18:17 | |
*** TomBlockley has joined #zope | 18:36 | |
*** mcdonc has joined #zope | 18:49 | |
*** mcdonc has quit IRC | 18:56 | |
*** goschtl has quit IRC | 19:01 | |
*** TomBlockley has quit IRC | 19:02 | |
*** dayne has quit IRC | 19:06 | |
*** evilbungle has quit IRC | 19:20 | |
*** dayne has joined #zope | 19:30 | |
*** tiwula has joined #zope | 19:41 | |
*** fredvd has joined #zope | 20:16 | |
*** fredvd has quit IRC | 20:20 | |
*** goschtl has joined #zope | 20:22 | |
RixiM | mgedmin: thanks i think that's it, actually. | 20:27 |
RixiM | mgedmin: yeah, that fixed it, thanks again. I forgot to monkey patch. | 20:50 |
*** goschtl has quit IRC | 21:00 | |
*** goschtl has joined #zope | 21:04 | |
*** goschtl has quit IRC | 21:04 | |
*** evilbungle has joined #zope | 21:04 | |
*** evilbungle has quit IRC | 21:07 | |
*** morphex has joined #zope | 21:29 | |
*** evilbungle has joined #zope | 21:35 | |
*** smcmurray has joined #zope | 21:41 | |
smcmurray | hello | 21:41 |
*** menesis has quit IRC | 21:45 | |
smcmurray | I am trying to restore a v2.9 instance to v2.10 | 21:47 |
smcmurray | but it doesn't seem to work | 21:47 |
betabug | what problem do you get? | 21:47 |
smcmurray | betabug: Unable to connect | 21:52 |
smcmurray | nothing shows up in /var/log/zope/* | 21:52 |
betabug | did you start it with zopectl fg? | 21:55 |
smcmurray | betabug: no | 22:00 |
smcmurray | just zopecftl start | 22:00 |
smcmurray | *zopectl | 22:00 |
betabug | well, try it with fg then and see what output you get on the console | 22:01 |
smcmurray | k | 22:01 |
smcmurray | betabug: thx. that was helpful | 22:03 |
smcmurray | permission errors | 22:03 |
smcmurray | hopefully fixed now | 22:03 |
betabug | good | 22:03 |
*** J1m has quit IRC | 22:08 | |
*** J1m has joined #zope | 22:10 | |
smcmurray | Is there a way to reset/recover the management password? | 22:11 |
*** fmj has quit IRC | 22:12 | |
mgedmin | doesn't zopectl have subcommand for that? | 22:14 |
morphex | smcmurray: to the zope root? use zopectl yeah | 22:14 |
morphex | can't recover, but reset the password from there | 22:15 |
*** goschtl has joined #zope | 22:15 | |
smcmurray | is there a way to dump everything in /content out to the fielsystem? | 22:21 |
mgedmin | I've written a limited script to do that for a subset of content types, for my own use | 22:22 |
mgedmin | I could dig it up, if you're interested | 22:22 |
smcmurray | ZMI has an import/export, I see | 22:24 |
smcmurray | but it looks like it exports to a single .zexp file | 22:24 |
*** mcdonc has joined #zope | 22:25 | |
smcmurray | it that a tgz in diguise, or something else useful? | 22:25 |
smcmurray | or some custome packaging to be imported back in with ZMI tools only? | 22:25 |
mgedmin | it's a python pickle | 22: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 IRC | 22:30 | |
mgedmin | so, you could say it's option B: custom stuff for import with ZMI | 22:30 |
mgedmin | incidentally, 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 |
smcmurray | What's the easiest way to get a TTW instance out of zope and into straight html/js/etc? | 22:31 |
mgedmin | ZODB is an object database, there's no clear way of representing everything it can contain as files | 22:32 |
smcmurray | I'm just looking for the files, not all the other object stuff | 22:32 |
smcmurray | ok. 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 #zope | 22:37 | |
betabug | it mostly depends on what you have in there | 22:40 |
*** goschtl has quit IRC | 22:41 | |
*** mcdonc has quit IRC | 22:41 | |
*** evilbungle has joined #zope | 22:48 | |
*** goschtl has joined #zope | 22:53 | |
*** mr_jolly has quit IRC | 22:54 | |
smcmurray | betabug: thx | 22:54 |
smcmurray | it looks like it would be easier to scrape the whole site | 22:54 |
betabug | could be, depending on what you need | 22:55 |
smcmurray | I just want an archive of the site that is not trapped in zope | 22:55 |
mgedmin | recursive wget | 22:56 |
betabug | well, if a static site can encompass that, then ok - the question is if there are functional elements | 22:56 |
*** J1m has quit IRC | 22:56 | |
smcmurray | it is all static-able | 22:57 |
betabug | cool then | 22:57 |
smcmurray | there isn't any real dynamic content | 22:57 |
smcmurray | and scripting something like mgedmin's recurvice wget seems to be easier than any tool zope provides | 22:58 |
mgedmin | yes, zope is not a tool for exporting static websites | 22:58 |
mgedmin | but I built myself a script to do that :) | 22:59 |
mgedmin | sibling to that other script I was pimping above | 22:59 |
mgedmin | one to extract the page templates, the other one to render them into HTMLs | 22:59 |
mgedmin | so that I could do version-controlled development of a mostly-static zope website and preview it on my local machine | 22:59 |
mgedmin | without having to set up zope | 22:59 |
smcmurray | exactly | 23:00 |
smcmurray | thanks for your help all | 23:01 |
smcmurray | at least I have the instance back up enough to poke at it | 23:02 |
betabug | you're welcome | 23:02 |
smcmurray | I should be able to scrape it from here | 23:02 |
*** smcmurray has quit IRC | 23:02 | |
* mgedmin is trying to remember why he couldn't just set up a local zope instance... | 23:03 | |
mgedmin | oh, 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 page | 23:05 |
*** supton has quit IRC | 23:07 | |
betabug | syntax errors on a static site? | 23:09 |
*** J1m has joined #zope | 23:12 | |
mgedmin | surely you don't expect me to copy and paste the same header/footer to each page by hand? | 23:35 |
mgedmin | templates render them | 23:35 |
mgedmin | and tal syntax errors exist | 23:35 |
*** morphex has quit IRC | 23:40 | |
*** RixiM has left #zope | 23:42 | |
*** morphex has joined #zope | 23:43 | |
*** mcdonc has joined #zope | 23:48 | |
*** AnneGilles_ has joined #zope | 23:53 | |
*** AnneGilles has quit IRC | 23:55 | |
*** AnneGilles_ is now known as AnneGilles | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!