IRC log of #zope for Monday, 2010-09-27

CIA-7charlie_x * r116959 Products.CMFDefault/Products/CMFDefault/browser/portal/ (tests/portal_config.txt interfaces.py): Check for valid charset added and test for it.00:00
*** Moo-_-_ has quit IRC00:14
*** moo has joined #zope00:14
*** moo is now known as Guest193600:15
*** John has quit IRC00:17
*** Wu has joined #zope00:22
*** davisagli is now known as davisagli|away00:30
*** davisagli|away is now known as davisagli00:32
*** thetetet has joined #zope00:34
*** alexpilz has left #zope00:35
*** thetet has quit IRC00:38
*** davisagli is now known as davisagli|away00:38
*** mr_jolly has quit IRC00:43
*** davisagli|away is now known as davisagli00:44
*** mr_jolly has joined #zope00:46
*** davisagli is now known as davisagli|away00:46
*** RichardBarrell has joined #zope00:47
*** John has joined #zope00:50
*** Arfrever has joined #zope00:57
*** John has quit IRC01:03
*** Hypergraphe has quit IRC01:08
*** thetetet has quit IRC01:11
*** JaRoel|4D has quit IRC01:23
*** davisagli|away is now known as davisagli01:27
*** JaRoel|4D has joined #zope01:28
*** ToreadorVampire has quit IRC01:43
*** Theuni1 has quit IRC01:51
*** JaRoel|4D has quit IRC01:51
*** JaRoel|4D has joined #zope01:52
*** JaRoel|4D has quit IRC01:56
*** ccomb has quit IRC02:00
*** mr_jolly has left #zope02:09
*** John has joined #zope02:29
*** MrTango has quit IRC02:47
*** davisagli is now known as davisagli|away03:07
*** davisagli|away is now known as davisagli03:16
*** davisagli is now known as davisagli|away03:17
*** John has quit IRC03:23
*** huajie has joined #zope03:49
*** davisagli|away is now known as davisagli04:10
*** davisagli is now known as davisagli|away04:17
*** davisagli|away is now known as davisagli04:18
*** davisagli is now known as davisagli|away04:18
*** davisagli|away is now known as davisagli04:35
*** davisagli is now known as davisagli|away04:36
*** huajie has quit IRC04:53
*** davisagli|away is now known as davisagli05:08
*** povbot has joined #zope05:14
*** yvl has quit IRC05:14
*** mgedmin has joined #zope05:14
*** yvl has joined #zope05:15
*** tiwula has joined #zope05:26
*** povbot has joined #zope05:44
-anthony.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp05:44
*** mgedmin has joined #zope05:45
*** yvl has joined #zope05:46
*** redir has quit IRC06:23
*** minskmaz has joined #zope07:04
*** davisagli is now known as davisagli|away07:04
*** minskmaz has left #zope07:10
*** kleist has joined #zope07:11
*** tiwula has quit IRC07:23
*** davisagli|away is now known as davisagli07:24
*** mahiti_skt has joined #zope07:44
*** davisagli is now known as davisagli|away07:56
*** davisagli|away is now known as davisagli07:58
*** alecm has quit IRC07:59
*** davisagli is now known as davisagli|away08:01
*** alecm has joined #zope08:05
*** alecm has joined #zope08:05
*** zagy has quit IRC08:09
*** JaRoel|4D has joined #zope08:21
*** milele has quit IRC08:41
*** zagy has joined #zope08:43
*** alexpilz has joined #zope08:48
*** JaRoel|4D has quit IRC08:49
*** __mac__ has joined #zope08:54
*** sashav has joined #zope08:58
*** redir has joined #zope09:07
*** mcdonc has quit IRC09:10
*** mcdonc has joined #zope09:19
*** kiorky has quit IRC09:24
*** d2m has joined #zope09:27
*** kiorky has joined #zope09:29
*** saju_m has joined #zope09:33
*** saju_m has joined #zope09:33
CIA-7icemac * r116960 /z3c.recipe.staticlxml/ (tags/0.2 tags/0.4 branches/0.2 branches/0.4): these branches are actually release tags09:34
saju_mhave any method to print values in datatype blob , for debug09:35
*** milele has joined #zope09:39
CIA-7icemac * r116961 /z3c.recipe.staticlxml/branches/ (0.1 0.2.1 0.3 0.5): these brannches were equal to the tags with the same name (no difference), they can be recreated from the tags when needed09:48
CIA-7icemac * r116962 z3c.recipe.staticlxml/ (COPYRIGHT.txt LICENSE.txt bootstrap.py): Conform to repository policy.09:48
*** tisto has joined #zope09:56
*** do3cc has quit IRC10:01
CIA-7icemac * r116963 z3c.recipe.subprocess/ (3 files in 2 dirs):10:03
CIA-7- fixed namespace declaration10:03
CIA-7- fixed buildout.cfg to not use a not existing extra10:03
CIA-7- Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest``.10:03
CIA-7icemac * r116964 z3c.recipe.subprocess/ (bootstrap.py COPYRIGHT.txt LICENSE.txt): Conform to repository policy.10:03
*** neo|4D has joined #zope10:04
*** JaRoel|4D has joined #zope10:06
*** JaRoel|4D has quit IRC10:07
*** JaRoel|4_ has joined #zope10:07
*** MrTango has joined #zope10:08
*** MJ has joined #zope10:13
*** menesis has joined #zope10:22
*** jakke has joined #zope10:27
*** pthulin has joined #zope10:29
*** pthulin has quit IRC10:30
*** planetzopebot has quit IRC10:33
*** cna has joined #zope10:33
*** planetzopebot has joined #zope10:34
*** pingviini has quit IRC10:40
*** astoon has quit IRC10:42
saju_mwhat are the useful debugging functions like print and print in python?10:43
yvlimport pdb; pdb.set_trace()10:44
yvl;)10:44
yvlthe allmighty interactive debugger10:44
*** alexpilz has quit IRC10:48
*** JaRoel|4_ has quit IRC10:50
*** sunew has joined #zope10:52
*** MatthewWilkes has joined #zope10:53
*** pingviini has joined #zope10:56
*** eperez has joined #zope10:59
*** mcdonc has quit IRC11:03
*** alexpilz has joined #zope11:16
*** agroszer has joined #zope11:18
saju_mhow use pprint.pprint for debugging, is it useful11:25
*** giampaolo has joined #zope11:26
*** JaRoel|4D has joined #zope11:27
*** agroszer has quit IRC11:27
*** smita1 has joined #zope11:41
*** ccomb has joined #zope11:43
*** RichardBarrell has quit IRC11:48
*** mr_jolly has joined #zope11:55
*** dunny has quit IRC12:03
CIA-7gotcha * r116965 /Sandbox/gotcha/five.taskqueue/ (docs/HISTORY.txt setup.py): Preparing release 0.1-alpha-112:20
CIA-7gotcha * r116966 /Sandbox/gotcha/ (five.taskqueue five.taskqueue_trunk): prepare12:20
CIA-7gotcha * r116967 /Sandbox/gotcha/ (five.taskqueue/tags five.taskqueue): prepare12:20
CIA-7gotcha * r116968 /Sandbox/gotcha/ (five.taskqueue/trunk five.taskqueue_trunk): prepare12:20
*** ccomb has quit IRC12:26
*** hever has joined #zope12:28
*** thetet has joined #zope12:30
*** River_Rat has joined #zope12:32
*** RiverRat has quit IRC12:34
*** hever has quit IRC12:34
*** hever has joined #zope12:35
CIA-7gotcha * r116969 /Sandbox/gotcha/ (z3c.taskqueue z3c.taskqueue_trunk): prepare12:37
CIA-7gotcha * r116970 /Sandbox/gotcha/ (z3c.taskqueue/tags z3c.taskqueue): prepare12:37
CIA-7gotcha * r116971 /Sandbox/gotcha/ (z3c.taskqueue/trunk z3c.taskqueue_trunk): prepareprepareprepareprepareprepareprepareprepareprepare12:37
CIA-7gotcha * r116972 /Sandbox/gotcha/five.taskqueue/tags/0.1-alpha-1: Tagging 0.1-alpha-112:37
CIA-7gotcha * r116973 /Sandbox/gotcha/five.taskqueue/trunk/ (docs/HISTORY.txt setup.py): Back to development: 0.1-alpha-212:37
CIA-7gotcha * r116974 /Sandbox/gotcha/z3c.taskqueue/trunk/ (docs/HISTORY.txt setup.py): Preparing release 0.1-alpha-112:37
CIA-7gotcha * r116975 /Sandbox/gotcha/z3c.taskqueue/tags/0.1-alpha-1: Tagging 0.1-alpha-112:37
CIA-7gotcha * r116976 /Sandbox/gotcha/z3c.taskqueue/trunk/ (docs/HISTORY.txt setup.py): Back to development: 0.1-alpha-212:37
*** wosc has joined #zope12:42
*** wosc has quit IRC12:43
*** astoon has joined #zope12:47
CIA-7tlotze * r116977 gocept.zeoraid/ (versions.cfg base.cfg): pinned last package versions known to work12:50
*** teix has joined #zope12:52
*** sunew has quit IRC13:03
*** sunew has joined #zope13:04
*** hever has quit IRC13:10
*** hever has joined #zope13:11
*** JaRoel|4D has quit IRC13:23
*** menesis has quit IRC13:29
*** JaRoel|4D has joined #zope13:29
*** wosc has joined #zope13:33
*** sunew has quit IRC13:37
*** sunew has joined #zope13:37
*** tisto is now known as tisto|lunch13:39
CIA-7tlotze * r116978 gocept.zeoraid/versions.cfg: updated to newest ZODB 3.913:47
*** shastry has joined #zope13:49
*** shastry has joined #zope13:49
*** John[a] has joined #zope13:49
*** shastry has quit IRC13:53
saju_mfunc_defaults return default values in function calls.have any article or doc describing about this kinds of tricks in python??. have any book for python tricks?13:55
*** shastry has joined #zope13:56
*** mr_jolly has left #zope13:57
*** mr_jolly_ has joined #zope13:58
*** mr_jolly has joined #zope13:58
*** mr_jolly has left #zope13:59
*** astoon has quit IRC14:00
betabugsaju_m: try asking in #python14:06
*** sunew has quit IRC14:09
*** thetet has quit IRC14:10
*** sunew has joined #zope14:10
*** sunew has quit IRC14:14
*** sunew has joined #zope14:14
*** menesis has joined #zope14:15
*** John[a] is now known as msg14:29
*** msg has joined #zope14:29
*** Arfrever has quit IRC14:35
*** benji has joined #zope14:37
*** ccomb has joined #zope14:42
*** tisto|lunch is now known as tisto14:44
CIA-7tlotze * r116979 gocept.zeoraid/src/gocept/zeoraid/storage.py:14:51
CIA-7- made starting storage recovery atomic14:51
CIA-7- keep tests from printing exceptions by solving thread ordering problems14:51
CIA-7tlotze * r116980 gocept.zeoraid/CHANGES.txt: updated changelog14:51
*** agroszer has joined #zope14:55
*** msg has quit IRC15:01
CIA-7andig * r116981 /Zope/branches/andig-compositeindex: Making a Zope branch for CompositeIndex implementation15:09
*** touff has joined #zope15:15
*** sashav has quit IRC15:15
*** Arfrever has joined #zope15:24
*** thetet has joined #zope15:29
*** tisto has quit IRC15:31
*** fredvd has joined #zope15:39
CIA-7adamg * r116982 zodbupdate/src/zodbupdate/tests.py: os.close needed to avoid windows failures15:46
*** Arfrever has quit IRC15:48
*** tisto has joined #zope15:49
*** tisto has quit IRC15:57
*** pepeu has joined #zope16:00
CIA-7adamg * r116983 zodbupdate/ (src/zodbupdate/update.py CHANGES.txt src): More debug logging shows now the currently processed OID16:02
*** mitchell`off is now known as mitchell`16:14
*** tisto has joined #zope16:15
*** dayne has quit IRC16:30
CIA-7tlotze * r116984 gocept.zeoraid/src/gocept/zeoraid/ (storage.py tests/test_basics.py tests/test_recovery.py): improved thread synchronisation to make tests more stable16:33
*** __mac__ has quit IRC16:33
*** fredvd has quit IRC16:34
*** wosc has quit IRC16:46
*** mahiti_skt has quit IRC16:48
*** dvschramm has joined #zope16:51
*** hever has quit IRC16:59
*** touff has quit IRC17:02
*** touff has joined #zope17:02
*** dayne has joined #zope17:11
*** Scooter has joined #zope17:11
Scooterhey, I have a question about zodb transactions17:12
ScooterI know that if one transaction commits, others in processing will start over17:13
Scooterbut if I use subtransactions, will they start over from the beginning or just from the last subtransaction?17:13
*** webmaven has joined #zope17:13
betabugstart over? I wouldn't say that17:18
betabugif there is a conflict, there will be replays17:18
betabugbut only if there are conflicts17:18
betabugand they will not replay when the other one commits, but when they want to commit themselves and notice that there is a conflict IIRC17:19
Scooterwell, I'm working with Plone, and dealing with files there it's basically every time17:20
*** hever has joined #zope17:24
MatthewWilkesScooter: If you're getting write conflict errors on every request you're doing something wrong17:24
MatthewWilkeswhat exactly are you doing to cause them?17:25
*** cr3 has joined #zope17:25
Scootersee #plone17:25
*** Scooter has left #zope17:25
d2mheh17:26
MatthewWilkesk17:26
*** MrWu has joined #zope17:31
*** alvaro has joined #zope17:33
cr3buildout question: is there a way to leverage buildout someone to build against package versions available in a particular OS release to make sure the code will work on that release?17:38
*** MatthewWilkes has quit IRC17:38
*** MatthewWilkes has joined #zope17:39
d2mcr3: if you pin the versions needed the packages will be installed on the particular OS17:40
cr3d2m: will buildout know where to get those versions? I've tried pin'ing and I recall getting somekind of error that the version doesn't match17:41
d2mcr3: buildout will download and install the exact version, if another version is already loaded by another package you will get an mismatch error17:42
cr3d2m: I don't understand the second part, "if another version is already..."17:43
d2minstalling packages installs all their needed packages too17:43
d2mif a package depends on a certain version you can not install a different release with another package later17:44
d2m(in the same buildout run)17:45
cr3d2m: when you say "packages", do you mean OS packages (debian packages for example), or do you mean Python packages (eggs for example)?17:48
d2meggs17:48
cr3d2m: gotcha, makes sense17:49
*** evilbungle has joined #zope17:49
d2mcr3, most conflicts can be solved by pinning the correct versions in your buildout17:50
cr3d2m: exactly, it's a painful process but shouldn't take that long :)17:51
*** saju_m has quit IRC17:53
*** evilbungle has quit IRC17:56
*** dayne has quit IRC17:58
*** dayne has joined #zope17:59
*** MJ has quit IRC18:01
*** mcdonc has joined #zope18:07
*** alecm has quit IRC18:14
*** vangheem has joined #zope18:18
*** alecm has joined #zope18:19
*** cna has quit IRC18:26
*** daMaestro has joined #zope18:28
*** davisagli|away is now known as davisagli18:33
*** davisagli is now known as davisagli|away18:35
*** zagy has quit IRC18:36
vangheemI'm setting up public facing plone site as read-only and occasionally come across times where plone will try to write to the database and cause the page to completely error. Is there anyway to make it not throw errors and just not write to the zodb silently?18:38
vangheemthanks for any tips18:38
d2mvangheem: what is a read-only site?18:39
vangheemsorry, read-only database18:40
*** tiwula has joined #zope18:40
d2mvangheem: how do you make the db read-only?18:40
vangheemby setting the zope.conf and zeo.conf to make the db read-only18:41
*** JaRoel|4D has quit IRC18:41
d2mlike a demo-storage?18:41
*** sunew has quit IRC18:41
*** thetet has quit IRC18:42
vangheemno, just zodb in read-only mode'18:43
d2mthink again18:43
vangheemwhat?18:44
*** pepeu has quit IRC18:45
*** MatthewWilkes has quit IRC18:45
d2mvangheem: maybe this helps: http://plone.org/documentation/faq/plone-read-only-mode18:49
vangheemI have it in read-only mode already18:49
vangheemthe problem is that I don't want the site to completely error if for some reason it tries to write to the database yet18:50
*** tisto has quit IRC18:51
vangheemwe're using zrs to replicate our read-write database to these read-only database servers which will actually serve the content--we can't have it erroring because plone still tries to write to the database in some odd cases18:51
d2mcould be this is a question for zope.com support?18:52
vangheemperhaps I'll give that a try18:52
*** pepeu has joined #zope18:54
*** neo|4D has quit IRC18:55
*** jakke has quit IRC18:56
*** jakke has joined #zope18:57
*** dayne has quit IRC19:00
*** jakke has quit IRC19:01
*** ccomb has quit IRC19:02
*** dayne has joined #zope19:02
*** alvaro is now known as alvaro_a19:12
*** alvaro_a is now known as alvaro_319:12
*** davisagli|away is now known as davisagli19:12
*** alexpilz has quit IRC19:13
*** alvaro_3 is now known as alvaro_gc19:13
*** benji is now known as benji-lunch19:14
*** alvaro_gc is now known as alvaro_o19:15
*** Arfrever has joined #zope19:17
*** evilbungle has joined #zope19:34
*** milele has quit IRC19:38
*** milele has joined #zope19:38
*** evilbungle has quit IRC19:43
*** neo|4D has joined #zope19:46
*** kiorky_ has joined #zope19:49
*** f10w has quit IRC19:49
*** f10w has joined #zope19:50
CIA-7ldr adapterize-wfstatus-wfhistory * r116985 Products.CMFCore/Products/CMFCore/ (WorkflowTool.py tests/test_WorkflowTool.py): Workflow storage adapters adapt IWorkflowAware19:51
*** kiorky has quit IRC19:52
*** mitchell` is now known as mitchell`off19:53
*** alexpilz has joined #zope19:59
*** hever has quit IRC20:00
*** alexpilz1 has joined #zope20:01
*** mgedmin has quit IRC20:01
*** mgedmin has joined #zope20:01
*** alexpilz has quit IRC20:03
*** eperez has quit IRC20:05
*** JaRoel|4D has joined #zope20:12
*** minskmaz has joined #zope20:12
*** benji-lunch is now known as benji20:16
*** menesis has quit IRC20:17
*** neo|4D has quit IRC20:37
CIA-7ldr adapterize-wfstatus-wfhistory * r116986 Products.CMFCore/Products/CMFCore/CHANGES.txt: add changelog entry20:42
*** touff has quit IRC20:46
*** giampaolo has quit IRC20:47
*** ccomb has joined #zope20:49
*** sunew has joined #zope20:51
*** menesis has joined #zope20:59
CIA-7fdrake * r116987 ZConfig/ (4 files in 4 dirs): support for IPv6 addresses, contributed by Martin von L?wis21:03
CIA-7ldr adapterize-wfstatus-wfhistory * r116988 Products.CMFCore/Products/CMFCore/ (CHANGES.txt CMFCatalogAware.py): notifyWorkflowCreated only to IWorkflowAware, possibly following adaption on IObjectAddedEvent.21:03
*** zagy has joined #zope21:08
*** MrWu has quit IRC21:09
*** sunew has quit IRC21:09
*** pepeu has quit IRC21:18
mgedminhow do you render widget errors with z3c.form?21:29
CIA-7fafhrd * r116989 /Zope/ (4 files in 4 dirs):21:36
CIA-7It's not possible to use xrange inside __getslice__ in 64bit python on21:36
CIA-7Windows, because xrange uses 32bit integers and __getslice__ gets 64bit integers21:36
*** touff has joined #zope21:40
*** alecm has quit IRC21:47
CIA-7fafhrd * r116990 Acquisition/ (CHANGES.txt src/Acquisition/tests.py): The problem is sys.maxint on 32bit and 64bit python on windows are same.21:50
*** pwerneck has joined #zope21:52
*** dunny has joined #zope21:52
*** mr_jolly_ has quit IRC21:53
pwerneckI'm on zope 2, I'd like to make an adapter available for all interfaces but one... how can I exclude that one when using for="*" on the zcml?21:54
mgedminwell, you can register a different adapter for that particular interface21:57
*** lucmult has joined #zope21:57
mgedminor in your adapter's constructor you can check if the context provides your forbidden interface and then return None instead of the adapter21:57
mgedminthe latter technique works better if you register a function rather than a class21:58
mgedminbut having to type-check that way is inelegant21:58
mgedminwhat problem are you solving?21:58
*** River_Rat is now known as RiverRat21:59
*** touff has quit IRC22:01
*** kiorky_ has quit IRC22:01
pwerneckI'm using archetypes schema extender to add geolocation for all content types but one, the content type location which already implements it its own way22:02
mgedminok, I'm not familiar with archetypes22:03
*** John has joined #zope22:03
mgedmintypically in this sort of problem there would be an interface for geolocation22:03
mgedminand you'd provide an adapter for * providing that22:03
mgedminbut that one particular content type would implement this interface directly22:03
pwerneckexactly22:03
mgedminso when you do IGeolocation(obj), no adapter lookup would be done for that content type22:03
mgedminthat's how the zope component architecture works, at least using InterfaceName(obj) syntax22:04
mgedminI think zope.component.getAdapter(obj) ignores interfaces provided by obj, but I may be wrong22:04
pwerneckok, thanks22:05
*** alexpilz1 has quit IRC22:05
*** John has quit IRC22:06
*** kiorky has joined #zope22:11
*** teix has left #zope22:13
*** alecm has joined #zope22:15
*** John has joined #zope22:15
*** menesis has quit IRC22:23
*** menesis has joined #zope22:24
*** zagy has quit IRC22:29
*** agroszer has quit IRC22:38
*** John[a] has joined #zope22:38
*** John has quit IRC22:38
*** daMaestro has quit IRC22:42
*** daMaestro has joined #zope22:44
*** alexpilz has joined #zope23:05
*** alexpilz1 has joined #zope23:06
*** alexpilz has quit IRC23:06
*** pwerneck has quit IRC23:28
*** Guest1936 is now known as Moo--__23:28
*** pepeu has joined #zope23:29
*** John[a] has quit IRC23:32
*** daMaestro has quit IRC23:38
*** John has joined #zope23:51

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