IRC log of #zope for Tuesday, 2011-08-02

*** lepri_ has left #zope00:00
*** Spanktar has quit IRC00:04
*** sunew_ has quit IRC00:05
*** Spanktar has joined #zope00:08
*** sunew_ has joined #zope00:16
*** slackrunner has quit IRC00:17
*** sp0cksbeard has left #zope00:33
*** ccomb has quit IRC00:41
*** slackrunner has joined #zope00:41
*** TresEquis has quit IRC00:58
*** Spanktar has quit IRC01:06
*** Spanktar has joined #zope01:07
*** J1m_ has quit IRC01:07
*** sunew_ has quit IRC01:12
*** ajsmith has quit IRC01:12
*** slackrunner has quit IRC01:34
*** slackrunner has joined #zope01:38
*** evilbungle has quit IRC01:41
*** Solgema has quit IRC02:02
*** Solgema has joined #zope02:02
*** rbanffy has quit IRC02:23
*** daMaestro has joined #zope02:27
*** supton has quit IRC03:02
*** J1m_ has joined #zope03:02
*** Arfrever has quit IRC03:06
*** J1m_ has quit IRC03:25
*** rogererens1 has quit IRC03:40
*** Spanktar has quit IRC03:43
*** dayne has joined #zope03:49
*** m8 has quit IRC04:23
*** sm_ has quit IRC05:11
*** alecm has quit IRC05:34
*** tiwula has joined #zope08:29
*** daMaestro has quit IRC08:55
*** Solgema has quit IRC08:57
*** tiwula has quit IRC08:59
*** __mac__ has joined #zope09:07
*** agroszer has joined #zope09:18
*** slackrunner has quit IRC09:42
*** evilbungle has joined #zope10:02
*** Wu has joined #zope10:02
*** evilbungle has quit IRC10:02
*** planetzopebot has quit IRC10:08
*** planetzopebot has joined #zope10:08
*** goschtl has joined #zope10:14
*** d2m has joined #zope10:17
*** avoinea has joined #zope10:24
*** MrTango has joined #zope10:28
*** goschtl has quit IRC10:28
*** goschtl has joined #zope10:34
*** goschtl has quit IRC10:46
*** goschtl has joined #zope10:56
*** ccomb has joined #zope11:09
*** evilbungle has joined #zope11:10
*** alga has joined #zope11:16
*** agroszer has quit IRC11:18
*** rogererens has joined #zope11:26
*** sunew has joined #zope11:37
*** d2m has quit IRC11:42
*** eperez has joined #zope11:43
*** sunew has quit IRC11:51
*** evilbungle has joined #zope11:51
*** sunew has joined #zope11:53
*** goschtl has quit IRC11:54
*** goschtl has joined #zope12:00
*** RaceCondition has joined #zope12:08
*** menesis has quit IRC12:16
*** sunew has quit IRC12:28
*** m8 has joined #zope12:41
*** do3cc has joined #zope12:44
*** agroszer has joined #zope12:45
*** menesis has joined #zope12:54
*** TomBlockley has joined #zope13:01
*** MrTango has quit IRC13:05
*** MrTango has joined #zope13:08
*** d2m has joined #zope13:13
*** d2m has quit IRC13:24
*** do3cc has quit IRC13:25
*** do3cc has joined #zope13:32
*** goschtl has quit IRC13:32
*** do3cc has quit IRC14:03
*** do3cc has joined #zope14:05
*** sunew has joined #zope14:05
planetzopebotPlone Conference Earlybird Rate Deadline Extended by One Day - TODAY! (Plone News)  http://plone.org/news/one-more-day-for-earlybird-tickets14:08
planetzopebotAugust 19th Plone Tune-Up Focuses on Improving Plone's Accessibility (Plone News)  http://plone.org/news/august2011accessibilitytuneup14:08
*** goschtl has joined #zope14:13
*** do3cc has quit IRC14:14
*** d2m has joined #zope14:28
*** Wu has quit IRC14:48
*** goschtl has quit IRC14:51
*** RaceCondition has quit IRC15:13
*** Solgema has joined #zope15:16
Solgemahello!15:16
Solgemacould you help me with that?15:16
Solgemahttp://pastie.org/230874115:16
SolgemaI'm trying to delete a broken object from my zodb... :(15:16
*** do3cc has joined #zope15:27
*** srichter has quit IRC15:40
Solgemano idea?15:46
Solgema :(15:46
*** RaceCondition has joined #zope15:46
benjiSolgema: do you know what object(s) have a reference to the broken object?  If so, you might be able to remove those links (assign None if it's an attribute, del it if it is in a container)15:51
Solgemabenji thank you for your answer. what do you mean by " have a reference to the broken object" ?15:54
Solgemathat object does not appear when I iterate through my zodb.15:55
benjiSolgema: if you know which object(s) have a reference to the broken object, then you can remove those references and then the bad object won't affect anything any more (and you can pack it away)15:56
Solgemabenji but how do I find that object(s) ? do you know a procedure?15:57
benjiI'm afraid I don't.  But I'm suprised you don't know at least one, normally broken objects cause problems when you reference them from another object.  Why is this one causing you a problem?15:58
Solgemabenji when I export my plone site and the reimport the zexp file, it throws me that error.15:59
Solgemaand then.15:59
benjihmm, the only thing I can think of is that there are some scripts somewhere (ZODB3 project maybe) that will build an in-memory object graph that you can use to see which objects reference that one16:01
benjithe other possibility is that the data is fine and you're hitting a bug in the export or import proceeses16:01
*** J1m_ has joined #zope16:02
SolgemaNo there is a problem in the zodb because I can load that object from storage.16:03
*** Epeli has quit IRC16:10
*** eperez has quit IRC16:18
*** do3cc has quit IRC16:22
*** ajsmith has joined #zope16:22
*** sp0cksbeard has joined #zope16:31
*** dayne has quit IRC16:32
*** zenwryly has quit IRC16:42
planetzopebotHow to search for ZCatalog object names (active questions tagged zope - Stack Overflow)  http://stackoverflow.com/questions/6912241/how-to-search-for-zcatalog-object-names17:08
RaceConditionare there any down-to-earth possible-to-understand tutorials/guides for http://pypi.python.org/pypi/z3c.form ?17:22
RaceCondition /pypi/z3c.form seems like rocket science if all you want to do is parse and validate HTTP POST requests (or similar)17:23
koshhail freaks!17:23
koshSolgema: actually the object could be broken in storage and probably is, you are probably loading the parent object17:25
koshSolgema: it is likely that only one of the children of some visible object you are using is damaged17:25
koshRaceCondition: sorry I have never used z3c.form17:26
RaceConditionkosh: looks like the same is gonna happen to me as well, as of now :P17:26
*** RaceCondition has quit IRC17:27
koshSolgema: what I would look for is to see if Products.CacheSetup is still installed on your system you are exporting from and importing to17:27
*** Wu has joined #zope17:59
*** daMaestro has joined #zope18:02
*** slackrunner has joined #zope18:14
*** Arfrever has joined #zope18:14
*** do3cc has joined #zope18:33
*** davisagli has quit IRC18:39
*** davisagli has joined #zope18:39
*** __mac__ has quit IRC18:41
*** do3cc has quit IRC18:44
*** supton has joined #zope18:46
*** zenwryly has joined #zope18:56
*** RaceCondition has joined #zope19:02
*** agroszer has quit IRC19:07
planetzopebotWSGI: Bringing web frameworks closer together (Python Secret Weblog)  http://faassen.n--tree.net/blog/view/weblog/2011/08/02/019:08
*** menesis has quit IRC19:13
*** Spanktar has joined #zope19:13
*** tiwula has joined #zope19:20
*** avoinea has quit IRC19:26
*** RaceCondition_ has joined #zope19:26
*** redir has joined #zope19:28
RaceCondition_let me reformulate my previous question:19:29
*** RaceCondition has quit IRC19:29
*** RaceCondition_ is now known as RaceCondition19:29
RaceConditionI have a bunch for persistent classes for each of which there exists a schema; I'd like to be able to take a dict of raw values (from a request, or elsewhere, like command input) and have it generically/automatically parsed and validated according/against a schema19:30
RaceConditionwhat's the simplest way to achieving it? z3c.form seems like an order of magnitude more complicated and powerful than what I need19:30
koshsorry that is just not how I have designed any of my systems and I wish I could help you but I need to get other stuff done right now, I hate moving :)19:44
koshif you stick around though someone might be able to help you later or you could ask on the zope list19:44
* kosh kicks betabug in the head to wake him up19:44
*** mitchell` is now known as mitchell`off19:52
*** Wu has quit IRC19:52
*** [Arfrever] has quit IRC19:59
*** alga has quit IRC20:03
*** TresEquis has joined #zope20:05
*** menesis has joined #zope20:13
*** [Arfrever] has joined #zope20:19
*** slackrunner has quit IRC20:26
*** evilbungle has quit IRC20:31
*** TomBlockley has quit IRC20:35
*** tiwula has quit IRC20:35
*** d2m has quit IRC20:43
*** ccomb has quit IRC20:44
RaceConditionkosh: thanks, no hurry :) I'm just quite new to all the zope stuff, but like it nevertheless20:44
RaceConditionzope.schema provides everything we need, except raw data parsing20:44
RaceConditionalthough I could just write a simple generic implementation myself20:45
RaceConditionschema introspection and simple casting to appropriate Python types20:45
RaceConditionlike Text* -> unicode, Bytes* -> str, Int -> int, Float -> float, etc... should be quite easy I assume20:47
RaceConditionschema.TypeName._type[0](raw_value)  should even do it20:49
koshI have never used any of those parts of zope20:51
RaceConditionyou haven't used zope.schema?20:54
koshnope20:54
koshI have never seen a reason to20:54
RaceConditionyeah, I've never used Zope :)20:55
koshI have been writing zope apps since zope 2.0 or so20:55
koshso I wrote custom datatypes long ago for what I needed20:55
RaceConditionI'm sure I'd choose Grok/Plone for building a serious CMS, but for this type of project, ZCA, zope.schema and zope.security will suffice20:55
RaceConditionand ZODB20:55
koshI have not used any of those directly except for ZODB20:56
koshalso I would not use Grok20:56
koshI detest what they did with security20:56
koshplone is a better choice then grok20:56
koshgroke is default allow, plone is default deny, zope 2 is default deny20:56
RaceConditionwell, Grok is easier to, well, grok :)20:56
koshI HATE default allow20:56
RaceConditionI'm sure it's easy to change Grok to deny by default20:57
koshit is beyond idiotic and probably 99% of web frameworks are designed that way20:57
koshI did not see a setting for that20:57
koshbut all web frameworks should be default deny20:57
RaceConditionyeah, but it's consitutes about 1% of what I'd base my decision on :P20:57
RaceConditionanyway, gtg20:57
koshdefault allow is why we have so many security problems20:57
*** evilbungle has joined #zope20:57
*** evilbungle has quit IRC20:57
*** d2m has joined #zope20:58
*** srichter has joined #zope20:59
*** alga has joined #zope21:19
*** slackrunner has joined #zope21:22
*** TresEquis has quit IRC21:40
*** slackrunner has quit IRC21:47
*** slackrunner has joined #zope22:00
*** slackrunner has quit IRC22:00
*** d2m has left #zope22:10
*** sm_ has joined #zope22:22
*** goschtl has joined #zope22:24
*** _mup_ has quit IRC22:27
*** _mup_ has joined #zope22:29
*** sunew has quit IRC22:43
*** TomBlockley has joined #zope23:15
*** goschtl has quit IRC23:22
*** rogererens has quit IRC23:29
*** TomBlockley has quit IRC23:39
*** alecm has joined #zope23:41
*** rogererens has joined #zope23:42
*** rogererens has quit IRC23:52
*** d2m has joined #zope23:58
*** d2m has left #zope23:58

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