IRC log of #zope3-dev for Wednesday, 2006-03-15

Theuniholy finite state machine00:00
Theunii'll put that on my todo list and go to bed :)00:01
srichtergood night00:02
srichterI think the symbol should be replaced when formatting a currency00:03
srichterso you should not need to look at the state machine00:03
*** philiKON has joined #zope3-dev00:06
*** tristil has quit IRC00:17
*** dunny has quit IRC00:22
*** zbir has quit IRC00:23
*** j1m_ has quit IRC00:23
*** tarek has quit IRC00:23
*** j1m_ has joined #zope3-dev00:23
newpersok, i asked this earlier, but it was probably at a bad time.  let's say I have this persistent object with name, nick, weight,... and i want users to be able to add these objects to the container, but not if allow duplicate for name or nick.  how would i do this?  as a contanier constraint?00:24
newpersbut nto allow00:24
*** TrevorP has joined #zope3-dev00:27
*** zbir has joined #zope3-dev00:27
newperslet me know if that didn't make sense00:27
*** kamalgill has joined #zope3-dev00:29
*** zbir has quit IRC00:32
*** philiKON has quit IRC00:58
*** kamalgill has quit IRC01:14
*** yota has quit IRC01:16
*** jinty has joined #zope3-dev01:18
*** alga has quit IRC01:25
*** slinkP has quit IRC01:29
*** jinty has quit IRC01:32
*** gumpa is now known as gumpa-afk01:36
*** benji has quit IRC01:46
*** natea has quit IRC01:49
*** jan_s has joined #zope3-dev01:55
*** trevorp-office has joined #zope3-dev02:00
*** rockyburt has quit IRC02:14
*** rockyburt has joined #zope3-dev02:23
*** natea has joined #zope3-dev02:54
*** zbir has joined #zope3-dev03:03
*** natea has quit IRC03:03
*** stub has joined #zope3-dev03:16
*** rockyburt is now known as rockyburt|zzz03:36
*** kamalgill has joined #zope3-dev04:06
*** rockyburt|zzz has quit IRC04:12
*** niemeyer has quit IRC04:31
*** whit_ has joined #zope3-dev04:43
*** trevorp-office has quit IRC04:51
*** whit has quit IRC04:57
*** whit has joined #zope3-dev05:01
*** kamalgill is now known as kamalgill-away05:03
*** j1m_ has quit IRC05:07
*** j1m_ has joined #zope3-dev05:08
*** whit_ has quit IRC05:09
*** whit has quit IRC06:00
*** whit has joined #zope3-dev06:00
*** stub has quit IRC06:01
*** stub has joined #zope3-dev06:02
*** kamalgill-away is now known as kamalgill06:07
*** kamalgil1 has joined #zope3-dev06:39
*** kamalgill has quit IRC06:50
*** kamalgill has joined #zope3-dev07:49
*** zopePloneConsult has joined #zope3-dev07:59
*** kamalgil1 has quit IRC08:04
*** eins has joined #zope3-dev08:08
*** dobee has joined #zope3-dev08:35
*** tanghus has quit IRC08:38
*** tanghus has joined #zope3-dev08:41
*** jan_s has quit IRC08:59
*** dunny has joined #zope3-dev09:05
*** natea has joined #zope3-dev09:08
*** natea has joined #zope3-dev09:09
*** hdima has joined #zope3-dev09:12
*** yota has joined #zope3-dev09:30
*** kamalgill has left #zope3-dev09:31
*** rom|aw is now known as romanofski09:46
romanofskimoin :)09:47
* eins greets romanofski 09:48
* romanofski waves to eins 09:48
*** tarek has joined #zope3-dev09:51
*** j-1 has joined #zope3-dev09:51
*** sm has quit IRC09:53
*** Theuni has quit IRC09:58
*** zagy has joined #zope3-dev10:01
*** tanghus has quit IRC10:06
*** tanghus_ has joined #zope3-dev10:06
*** j-1 is now known as j-w10:10
*** BjornT has joined #zope3-dev10:14
*** sashav has joined #zope3-dev10:22
*** SteveA has joined #zope3-dev11:00
*** tav has quit IRC11:16
*** MJ has joined #zope3-dev11:21
*** jinty has joined #zope3-dev11:26
*** tav has joined #zope3-dev11:55
*** alga has joined #zope3-dev12:07
*** j-w has quit IRC12:14
*** philiKON has joined #zope3-dev12:15
*** ChanServ sets mode: +o tav12:22
*** vinsci has joined #zope3-dev12:26
*** dobee has quit IRC12:29
*** mkerrin has joined #zope3-dev12:32
*** dobee has joined #zope3-dev12:33
*** dunny has quit IRC12:51
*** ignas has joined #zope3-dev13:10
*** rockyburt has joined #zope3-dev13:17
*** vinsci has quit IRC13:19
*** TrevorP has quit IRC13:21
*** TrevorP has joined #zope3-dev13:21
*** gumpa-afk has quit IRC13:26
*** gumpa-afk has joined #zope3-dev13:27
*** rockyburt has quit IRC13:29
*** rockyburt has joined #zope3-dev13:30
*** _tarek has joined #zope3-dev13:35
*** tarek has quit IRC13:36
*** _tarek has quit IRC13:38
*** Aiste has quit IRC13:38
*** J1m has joined #zope3-dev13:41
*** stub has quit IRC14:05
*** Aiste has joined #zope3-dev14:05
*** j-w has joined #zope3-dev14:12
*** vinsci has joined #zope3-dev14:13
*** faassen has joined #zope3-dev14:14
*** philiKON has quit IRC14:26
*** stub has joined #zope3-dev14:28
*** philiKON has joined #zope3-dev14:35
*** deo has joined #zope3-dev14:37
*** J1m has quit IRC14:37
*** stub has quit IRC14:51
*** zbir has quit IRC14:51
*** stub has joined #zope3-dev14:51
*** niemeyer has joined #zope3-dev15:05
*** natea has quit IRC15:10
*** natea has joined #zope3-dev15:11
*** jinty has quit IRC15:11
*** BjornT has quit IRC15:27
*** tarek has joined #zope3-dev15:29
*** rockyburt has quit IRC15:38
*** zbir has joined #zope3-dev15:49
*** gumpa-afk is now known as gumpa15:52
*** benji has joined #zope3-dev15:58
*** tristil has joined #zope3-dev15:59
*** rockyburt has joined #zope3-dev16:03
*** jinty has joined #zope3-dev16:04
*** oferw has joined #zope3-dev16:07
*** BjornT has joined #zope3-dev16:17
*** deo has quit IRC16:18
*** j1m_ has quit IRC16:23
*** deo has joined #zope3-dev16:24
*** sashav has quit IRC16:34
*** rockyburt has quit IRC16:44
*** rockyburt has joined #zope3-dev16:45
*** slinkP has joined #zope3-dev16:46
*** jinty has quit IRC16:52
*** jinty has joined #zope3-dev16:54
*** natea has quit IRC16:55
*** natea has joined #zope3-dev17:29
*** hdima has quit IRC17:32
*** stub has quit IRC17:32
*** zopePloneConsult has quit IRC17:57
*** eins has quit IRC17:58
*** jhauser_ has joined #zope3-dev18:00
*** tristil has quit IRC18:00
*** tristil has joined #zope3-dev18:01
*** sm has joined #zope3-dev18:07
*** tristil has quit IRC18:07
*** d2m has quit IRC18:08
*** jhauser has quit IRC18:12
*** kamalgill has joined #zope3-dev18:15
*** joshz has joined #zope3-dev18:21
*** tristil has joined #zope3-dev18:24
*** tristil has joined #zope3-dev18:25
*** oferw has quit IRC18:26
*** romanofski has quit IRC18:33
*** tristil has joined #zope3-dev18:41
*** sawdog has joined #zope3-dev18:48
*** d2m has joined #zope3-dev18:56
*** joshz has quit IRC19:04
newpersomg, did you see that thread on preventing duplicate persistance object members19:04
newpersi so want to reply to that19:04
*** pcardune has joined #zope3-dev19:09
*** jinty has quit IRC19:11
*** zagy has quit IRC19:12
*** jinty has joined #zope3-dev19:12
*** MJ has quit IRC19:23
*** mexiKON has joined #zope3-dev19:26
*** dobee_ has joined #zope3-dev19:28
*** dobee has quit IRC19:29
*** philiKON has quit IRC19:37
*** tvw has joined #zope3-dev19:43
tvwHi, I am starting to use zope3 on windows and I wonder wether zope has problems when I use unc-paths.19:44
*** j-w has quit IRC19:44
*** dobee_ has quit IRC19:51
*** dobee has joined #zope3-dev19:57
tvwSo I have Python (and zope3) installed on \\server\blh\usr\Python-2.4.2 and when I make and run a zop3 instance on a local drive, I get a bunch of error messages.20:01
*** rockyburt has quit IRC20:02
*** rockyburt has joined #zope3-dev20:03
tvwWhen I then map \\server\blh to a drive (e.g. G:) everything works fine. Python itself does not care whether I do map the share to a drive or not (and in practice I never do, since the alphabet is not very long) and my scripts work fine. So are there any known issues about zope3 and unc paths on windows?20:04
*** pcardune has quit IRC20:05
*** jinty has quit IRC20:06
*** Aiste has quit IRC20:07
*** jinty has joined #zope3-dev20:07
newperstvw: just to warn you, i asked a question 2 days ago and havne't received an answer yet20:08
tvwnewpers: yes, it seems to be very silent here.20:10
smI think very few people know about zope3 on windows20:11
smyou are blazing a trail.. search and post on the zope3-users list, next20:12
*** kamalgill has quit IRC20:14
*** natea is now known as natea|lunch20:14
newpersin regards to my preventing duplicate persistent object members question... would it not make sense to do this when you define the schema20:15
newpersi asked this in zope-users, but it's also a dev question.  like "create unique index"20:15
newperswith sql20:15
*** niemeyer has quit IRC20:18
*** niemeyer has joined #zope3-dev20:19
*** fluff has joined #zope3-dev20:20
*** fluff has quit IRC20:21
*** kamalgill has joined #zope3-dev20:21
kevdev99tvw: I use zope3 on winxp everyday, but have only tried it by mapping paths to a drive, if you throw the error into the pastebin I'd be happy to take a look at it20:23
*** tarek has quit IRC20:24
*** jjaa has joined #zope3-dev20:25
*** sm is now known as sm-afk20:27
*** jjaa has quit IRC20:28
*** gnosis has joined #Zope3-dev20:29
*** vinsci has quit IRC20:30
tvwkevdev99: It's coming, it's coming - it's there ;-)20:32
tvwkevdev99: the url is:
*** dunny has joined #zope3-dev20:35
*** jinty has quit IRC20:38
*** jinty has joined #zope3-dev20:40
tvwkevdev99: don't be confused about the wrong paths starting with "C:\Python-2.4.2\". There is no python installation there (and never was). Those files mentioned there are under "\\server\BLH\usr\Python-2.4.2" and are also found there by zope/python. Only in the messages this old path is mentioned and I do not know why.20:40
tvwIt seems to have absolutely no effect when running zope3, which runs fine, when it is not on an unc path.20:41
*** kamalgill has quit IRC20:50
gnosisanyone know how I can access a subobjects view class from a parents page template?20:51
gnosissomething like <metal:fill-slot="description"><div tal:content="subobj/view/renderDescription" /></metal:fill-slot>20:54
*** jinty has quit IRC20:58
*** kamalgill has joined #zope3-dev20:59
*** jinty has joined #zope3-dev21:00
*** faassen has quit IRC21:02
*** gumpa is now known as gumpa-afk21:03
*** pcardune has joined #zope3-dev21:04
gnosisI don't want the context, that is the parent object... i'm interested in a subobject that i loop through21:05
tvwgnosis: this is the zope3 meditation room - it takes a while until someone gives a reply and I was told, this could take days ;-)21:05
sawdogwell, if you have a list, and you're doing a tal:repeat I items21:06
sawdogthen in that loop, I is it21:06
gnosisright, so how do i get the view class of I?21:06
sawdogahhh, I gotcha21:06
gnosisI'd like to format the description of I with a renderDescription function set in I's view class21:07
*** sm-afk has quit IRC21:08
sawdogI've never tried that in a template, I'd do it in a view class - you're going to have to call zapi.getView(I, view_name, request)21:08
*** benji has quit IRC21:08
*** zbir has quit IRC21:08
gnosisright, but i got that for the parent, but I can't format the subobject since the view looks at the context not I21:09
gnosisworks great for the parents description21:09
sawdogyou could put a method on the view, and pass it the subObject, and have it return what you need21:10
gnosisohhh.... let me check... perhaps I goofed21:11
sawdogNot that I'd recommend this, but something like:21:11
sawdog<div tal:define="subView python:view.getSView(i)">21:11
gnosiswas hoping to reuse the function from the subobject though, seems like there is no need to redo the function21:11
sawdognow you're unclear21:12
gnosisbut perhaps you cant get to that from parents page template21:12
gnosisI'll try making a function in the parents view class... should do the trick I imagine21:13
sawdogsounds to me like you're doing too much in your template21:13
sawdogmove the logic into the view, and just let the template render it21:13
gnosisI wanna reuse the html format already done in the subobjects template with macros... is that not a good idea?21:14
sawdogsure, you can do that in the view, have a method on the view return this already done to the template, then just get it from that mapping21:14
*** zbir has joined #zope3-dev21:14
gnosisoh, how do i get the subobject macro from a function in the parents view?21:15
sawdogstruct = view/doMagick21:16
sawdogin doMagick, have it build your sequence of subobjects, and have them rendered and stuff that rendering into a mapping, then your template just render21:16
gnosisah, got ya... that might work ok for me21:17
sawdogyou could build up a mapping to have all the logic to render the template from that mapping21:17
gnosisgot it now... that seems logical21:17
gnosisi'll give that a try21:17
gnosisthanks for your help21:17
*** MJ has joined #zope3-dev21:18
*** sm has joined #zope3-dev21:26
*** natea|lunch is now known as natea|austin21:29
tvwNow I know why there is "C:\Python-2.4.2\" in the error message: it's the path, where the .pyc or .pyo once where compiled. grep only finds it there.21:30
tvwBut I still do not have a clue, why zope does not like unc paths.21:33
*** tanghus_ has quit IRC21:36
*** tanghus_ has joined #zope3-dev21:36
*** andrew_m has joined #zope3-dev21:37
*** efrerich has joined #zope3-dev21:39
*** sbj3 has joined #zope3-dev21:46
*** _pcardune has joined #zope3-dev21:50
kevdev99tvw: I21:50
*** elbixio has joined #zope3-dev21:51
tvwkevdev99: yes?21:51
kevdev99tvw: I'd delete all the .pyc and .pyo files, but that doesn't really appear to be the problem, it looks like unc-paths are not supported21:54
*** SiggyF has joined #zope3-dev21:54
tvwkevdev99: Yes, the .pyc and .pyo files are not the problem, it is only confusing, that they store the path at compile time and use it later for error messages. But I guess, this is a general python problem, which causes no harm. But I am still searching for the bug with unc paths.21:58
*** tarek has joined #zope3-dev21:59
tvwBut in the meanwhile I will help myself with attaching this share to a drive letter (uuuuh ugly...)22:00
*** pcardune has quit IRC22:02
*** _pcardune is now known as pcardune22:03
*** pcardune has quit IRC22:16
*** benji has joined #zope3-dev22:16
*** tanghus_ has quit IRC22:20
*** jinty has quit IRC22:24
*** BjornT has quit IRC22:25
*** jinty has joined #zope3-dev22:26
*** elbixio has quit IRC22:26
*** tav has quit IRC22:30
*** tav has joined #zope3-dev22:31
*** ChanServ sets mode: +o tav22:32
*** gnosis has quit IRC22:32
*** ignas has quit IRC22:34
*** BjornT_ has joined #zope3-dev22:35
*** tanghus has joined #zope3-dev22:39
*** BjornT_ has joined #zope3-dev22:43
*** BjornT_ has quit IRC22:45
*** BjornT has joined #zope3-dev22:45
*** tristil has quit IRC23:00
*** tristil has joined #zope3-dev23:02
*** gumpa-afk is now known as gumpa23:02
*** BjornT has quit IRC23:06
*** Aiste has joined #zope3-dev23:08
*** jinty has quit IRC23:08
*** tvw has quit IRC23:08
*** jinty has joined #zope3-dev23:09
*** alga has quit IRC23:10
*** mkerrin has quit IRC23:17
*** gumpa has left #zope3-dev23:19
*** pcardune has joined #zope3-dev23:27
*** Theuni has joined #zope3-dev23:39
*** _pcardune has joined #zope3-dev23:39
*** mexiKON has quit IRC23:48
*** tristil has quit IRC23:49
*** pcardune has quit IRC23:53
*** _pcardune is now known as pcardune23:54
*** dobee has quit IRC23:55

Generated by 2.15.1 by Marius Gedminas - find it at!