Theuni | holy finite state machine | 00:00 |
---|---|---|
Theuni | i'll put that on my todo list and go to bed :) | 00:01 |
srichter | good night | 00:02 |
srichter | I think the symbol should be replaced when formatting a currency | 00:03 |
srichter | so you should not need to look at the state machine | 00:03 |
*** philiKON has joined #zope3-dev | 00:06 | |
*** tristil has quit IRC | 00:17 | |
*** dunny has quit IRC | 00:22 | |
*** zbir has quit IRC | 00:23 | |
*** j1m_ has quit IRC | 00:23 | |
*** tarek has quit IRC | 00:23 | |
*** j1m_ has joined #zope3-dev | 00:23 | |
newpers | ok, 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 |
newpers | but nto allow | 00:24 |
*** TrevorP has joined #zope3-dev | 00:27 | |
*** zbir has joined #zope3-dev | 00:27 | |
newpers | let me know if that didn't make sense | 00:27 |
*** kamalgill has joined #zope3-dev | 00:29 | |
*** zbir has quit IRC | 00:32 | |
*** philiKON has quit IRC | 00:58 | |
*** kamalgill has quit IRC | 01:14 | |
*** yota has quit IRC | 01:16 | |
*** jinty has joined #zope3-dev | 01:18 | |
*** alga has quit IRC | 01:25 | |
*** slinkP has quit IRC | 01:29 | |
*** jinty has quit IRC | 01:32 | |
*** gumpa is now known as gumpa-afk | 01:36 | |
*** benji has quit IRC | 01:46 | |
*** natea has quit IRC | 01:49 | |
*** jan_s has joined #zope3-dev | 01:55 | |
*** trevorp-office has joined #zope3-dev | 02:00 | |
*** rockyburt has quit IRC | 02:14 | |
*** rockyburt has joined #zope3-dev | 02:23 | |
*** natea has joined #zope3-dev | 02:54 | |
*** zbir has joined #zope3-dev | 03:03 | |
*** natea has quit IRC | 03:03 | |
*** stub has joined #zope3-dev | 03:16 | |
*** rockyburt is now known as rockyburt|zzz | 03:36 | |
*** kamalgill has joined #zope3-dev | 04:06 | |
*** rockyburt|zzz has quit IRC | 04:12 | |
*** niemeyer has quit IRC | 04:31 | |
*** whit_ has joined #zope3-dev | 04:43 | |
*** trevorp-office has quit IRC | 04:51 | |
*** whit has quit IRC | 04:57 | |
*** whit has joined #zope3-dev | 05:01 | |
*** kamalgill is now known as kamalgill-away | 05:03 | |
*** j1m_ has quit IRC | 05:07 | |
*** j1m_ has joined #zope3-dev | 05:08 | |
*** whit_ has quit IRC | 05:09 | |
*** whit has quit IRC | 06:00 | |
*** whit has joined #zope3-dev | 06:00 | |
*** stub has quit IRC | 06:01 | |
*** stub has joined #zope3-dev | 06:02 | |
*** kamalgill-away is now known as kamalgill | 06:07 | |
*** kamalgil1 has joined #zope3-dev | 06:39 | |
*** kamalgill has quit IRC | 06:50 | |
*** kamalgill has joined #zope3-dev | 07:49 | |
*** zopePloneConsult has joined #zope3-dev | 07:59 | |
*** kamalgil1 has quit IRC | 08:04 | |
*** eins has joined #zope3-dev | 08:08 | |
eins | hi | 08:08 |
newpers | boo | 08:13 |
newpers | hey | 08:13 |
*** dobee has joined #zope3-dev | 08:35 | |
*** tanghus has quit IRC | 08:38 | |
*** tanghus has joined #zope3-dev | 08:41 | |
*** jan_s has quit IRC | 08:59 | |
*** dunny has joined #zope3-dev | 09:05 | |
*** natea has joined #zope3-dev | 09:08 | |
*** natea has joined #zope3-dev | 09:09 | |
*** hdima has joined #zope3-dev | 09:12 | |
*** yota has joined #zope3-dev | 09:30 | |
*** kamalgill has left #zope3-dev | 09:31 | |
*** rom|aw is now known as romanofski | 09:46 | |
romanofski | moin :) | 09:47 |
* eins greets romanofski | 09:48 | |
* romanofski waves to eins | 09:48 | |
*** tarek has joined #zope3-dev | 09:51 | |
*** j-1 has joined #zope3-dev | 09:51 | |
*** sm has quit IRC | 09:53 | |
*** Theuni has quit IRC | 09:58 | |
*** zagy has joined #zope3-dev | 10:01 | |
*** tanghus has quit IRC | 10:06 | |
*** tanghus_ has joined #zope3-dev | 10:06 | |
*** j-1 is now known as j-w | 10:10 | |
*** BjornT has joined #zope3-dev | 10:14 | |
*** sashav has joined #zope3-dev | 10:22 | |
*** SteveA has joined #zope3-dev | 11:00 | |
*** tav has quit IRC | 11:16 | |
*** MJ has joined #zope3-dev | 11:21 | |
*** jinty has joined #zope3-dev | 11:26 | |
*** tav has joined #zope3-dev | 11:55 | |
*** alga has joined #zope3-dev | 12:07 | |
*** j-w has quit IRC | 12:14 | |
*** philiKON has joined #zope3-dev | 12:15 | |
*** ChanServ sets mode: +o tav | 12:22 | |
*** vinsci has joined #zope3-dev | 12:26 | |
*** dobee has quit IRC | 12:29 | |
*** mkerrin has joined #zope3-dev | 12:32 | |
*** dobee has joined #zope3-dev | 12:33 | |
*** dunny has quit IRC | 12:51 | |
*** ignas has joined #zope3-dev | 13:10 | |
*** rockyburt has joined #zope3-dev | 13:17 | |
*** vinsci has quit IRC | 13:19 | |
*** TrevorP has quit IRC | 13:21 | |
*** TrevorP has joined #zope3-dev | 13:21 | |
*** gumpa-afk has quit IRC | 13:26 | |
*** gumpa-afk has joined #zope3-dev | 13:27 | |
*** rockyburt has quit IRC | 13:29 | |
*** rockyburt has joined #zope3-dev | 13:30 | |
*** _tarek has joined #zope3-dev | 13:35 | |
*** tarek has quit IRC | 13:36 | |
*** _tarek has quit IRC | 13:38 | |
*** Aiste has quit IRC | 13:38 | |
*** J1m has joined #zope3-dev | 13:41 | |
*** stub has quit IRC | 14:05 | |
*** Aiste has joined #zope3-dev | 14:05 | |
*** j-w has joined #zope3-dev | 14:12 | |
*** vinsci has joined #zope3-dev | 14:13 | |
*** faassen has joined #zope3-dev | 14:14 | |
*** philiKON has quit IRC | 14:26 | |
*** stub has joined #zope3-dev | 14:28 | |
*** philiKON has joined #zope3-dev | 14:35 | |
*** deo has joined #zope3-dev | 14:37 | |
*** J1m has quit IRC | 14:37 | |
*** stub has quit IRC | 14:51 | |
*** zbir has quit IRC | 14:51 | |
*** stub has joined #zope3-dev | 14:51 | |
*** niemeyer has joined #zope3-dev | 15:05 | |
*** natea has quit IRC | 15:10 | |
*** natea has joined #zope3-dev | 15:11 | |
*** jinty has quit IRC | 15:11 | |
*** BjornT has quit IRC | 15:27 | |
*** tarek has joined #zope3-dev | 15:29 | |
*** rockyburt has quit IRC | 15:38 | |
*** zbir has joined #zope3-dev | 15:49 | |
*** gumpa-afk is now known as gumpa | 15:52 | |
*** benji has joined #zope3-dev | 15:58 | |
*** tristil has joined #zope3-dev | 15:59 | |
*** rockyburt has joined #zope3-dev | 16:03 | |
*** jinty has joined #zope3-dev | 16:04 | |
*** oferw has joined #zope3-dev | 16:07 | |
*** BjornT has joined #zope3-dev | 16:17 | |
*** deo has quit IRC | 16:18 | |
*** j1m_ has quit IRC | 16:23 | |
*** deo has joined #zope3-dev | 16:24 | |
*** sashav has quit IRC | 16:34 | |
*** rockyburt has quit IRC | 16:44 | |
*** rockyburt has joined #zope3-dev | 16:45 | |
*** slinkP has joined #zope3-dev | 16:46 | |
*** jinty has quit IRC | 16:52 | |
*** jinty has joined #zope3-dev | 16:54 | |
*** natea has quit IRC | 16:55 | |
*** natea has joined #zope3-dev | 17:29 | |
*** hdima has quit IRC | 17:32 | |
*** stub has quit IRC | 17:32 | |
*** zopePloneConsult has quit IRC | 17:57 | |
*** eins has quit IRC | 17:58 | |
*** jhauser_ has joined #zope3-dev | 18:00 | |
*** tristil has quit IRC | 18:00 | |
*** tristil has joined #zope3-dev | 18:01 | |
*** sm has joined #zope3-dev | 18:07 | |
*** tristil has quit IRC | 18:07 | |
*** d2m has quit IRC | 18:08 | |
*** jhauser has quit IRC | 18:12 | |
*** kamalgill has joined #zope3-dev | 18:15 | |
*** joshz has joined #zope3-dev | 18:21 | |
*** tristil has joined #zope3-dev | 18:24 | |
*** tristil has joined #zope3-dev | 18:25 | |
*** oferw has quit IRC | 18:26 | |
*** romanofski has quit IRC | 18:33 | |
*** tristil has joined #zope3-dev | 18:41 | |
*** sawdog has joined #zope3-dev | 18:48 | |
*** d2m has joined #zope3-dev | 18:56 | |
*** joshz has quit IRC | 19:04 | |
newpers | omg, did you see that thread on preventing duplicate persistance object members | 19:04 |
newpers | i so want to reply to that | 19:04 |
*** pcardune has joined #zope3-dev | 19:09 | |
*** jinty has quit IRC | 19:11 | |
*** zagy has quit IRC | 19:12 | |
*** jinty has joined #zope3-dev | 19:12 | |
*** MJ has quit IRC | 19:23 | |
*** mexiKON has joined #zope3-dev | 19:26 | |
*** dobee_ has joined #zope3-dev | 19:28 | |
*** dobee has quit IRC | 19:29 | |
*** philiKON has quit IRC | 19:37 | |
*** tvw has joined #zope3-dev | 19:43 | |
tvw | Hi, 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 IRC | 19:44 | |
*** dobee_ has quit IRC | 19:51 | |
*** dobee has joined #zope3-dev | 19:57 | |
tvw | So 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 IRC | 20:02 | |
*** rockyburt has joined #zope3-dev | 20:03 | |
tvw | When 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 IRC | 20:05 | |
*** jinty has quit IRC | 20:06 | |
*** Aiste has quit IRC | 20:07 | |
*** jinty has joined #zope3-dev | 20:07 | |
newpers | tvw: just to warn you, i asked a question 2 days ago and havne't received an answer yet | 20:08 |
tvw | newpers: yes, it seems to be very silent here. | 20:10 |
sm | I think very few people know about zope3 on windows | 20:11 |
sm | you are blazing a trail.. search and post on the zope3-users list, next | 20:12 |
*** kamalgill has quit IRC | 20:14 | |
*** natea is now known as natea|lunch | 20:14 | |
newpers | in regards to my preventing duplicate persistent object members question... would it not make sense to do this when you define the schema | 20:15 |
newpers | i asked this in zope-users, but it's also a dev question. like "create unique index" | 20:15 |
newpers | with sql | 20:15 |
*** niemeyer has quit IRC | 20:18 | |
*** niemeyer has joined #zope3-dev | 20:19 | |
*** fluff has joined #zope3-dev | 20:20 | |
*** fluff has quit IRC | 20:21 | |
*** kamalgill has joined #zope3-dev | 20:21 | |
kevdev99 | tvw: 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 http://zope3.pastebin.com/ I'd be happy to take a look at it | 20:23 |
*** tarek has quit IRC | 20:24 | |
*** jjaa has joined #zope3-dev | 20:25 | |
*** sm is now known as sm-afk | 20:27 | |
*** jjaa has quit IRC | 20:28 | |
*** gnosis has joined #Zope3-dev | 20:29 | |
*** vinsci has quit IRC | 20:30 | |
tvw | kevdev99: It's coming, it's coming - it's there ;-) | 20:32 |
tvw | kevdev99: the url is: http://zope3.pastebin.com/603871 | 20:34 |
*** dunny has joined #zope3-dev | 20:35 | |
*** jinty has quit IRC | 20:38 | |
*** jinty has joined #zope3-dev | 20:40 | |
tvw | kevdev99: 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 |
tvw | It 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 IRC | 20:50 | |
gnosis | anyone know how I can access a subobjects view class from a parents page template? | 20:51 |
gnosis | something like <metal:fill-slot="description"><div tal:content="subobj/view/renderDescription" /></metal:fill-slot> | 20:54 |
*** jinty has quit IRC | 20:58 | |
*** kamalgill has joined #zope3-dev | 20:59 | |
*** jinty has joined #zope3-dev | 21:00 | |
gnosis | anyone? | 21:02 |
*** faassen has quit IRC | 21:02 | |
sawdog | view/context? | 21:02 |
*** gumpa is now known as gumpa-afk | 21:03 | |
*** pcardune has joined #zope3-dev | 21:04 | |
gnosis | I don't want the context, that is the parent object... i'm interested in a subobject that i loop through | 21:05 |
tvw | gnosis: 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 |
gnosis | lol | 21:05 |
sawdog | well, if you have a list, and you're doing a tal:repeat I items | 21:06 |
sawdog | then in that loop, I is it | 21:06 |
gnosis | right, so how do i get the view class of I? | 21:06 |
sawdog | ahhh, I gotcha | 21:06 |
gnosis | I'd like to format the description of I with a renderDescription function set in I's view class | 21:07 |
*** sm-afk has quit IRC | 21:08 | |
sawdog | I'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 IRC | 21:08 | |
*** zbir has quit IRC | 21:08 | |
gnosis | right, but i got that for the parent, but I can't format the subobject since the view looks at the context not I | 21:09 |
gnosis | works great for the parents description | 21:09 |
sawdog | you could put a method on the view, and pass it the subObject, and have it return what you need | 21:10 |
gnosis | ohhh.... let me check... perhaps I goofed | 21:11 |
sawdog | Not that I'd recommend this, but something like: | 21:11 |
sawdog | <div tal:define="subView python:view.getSView(i)"> | 21:11 |
gnosis | right | 21:11 |
newpers | answeredquestions++ | 21:11 |
gnosis | was hoping to reuse the function from the subobject though, seems like there is no need to redo the function | 21:11 |
sawdog | now you're unclear | 21:12 |
gnosis | but perhaps you cant get to that from parents page template | 21:12 |
gnosis | I'll try making a function in the parents view class... should do the trick I imagine | 21:13 |
sawdog | sounds to me like you're doing too much in your template | 21:13 |
sawdog | move the logic into the view, and just let the template render it | 21:13 |
gnosis | I wanna reuse the html format already done in the subobjects template with macros... is that not a good idea? | 21:14 |
sawdog | sure, 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 mapping | 21:14 |
*** zbir has joined #zope3-dev | 21:14 | |
gnosis | oh, how do i get the subobject macro from a function in the parents view? | 21:15 |
sawdog | struct = view/doMagick | 21:16 |
sawdog | in doMagick, have it build your sequence of subobjects, and have them rendered and stuff that rendering into a mapping, then your template just render | 21:16 |
gnosis | ah, got ya... that might work ok for me | 21:17 |
sawdog | you could build up a mapping to have all the logic to render the template from that mapping | 21:17 |
gnosis | right | 21:17 |
gnosis | got it now... that seems logical | 21:17 |
gnosis | i'll give that a try | 21:17 |
gnosis | thanks for your help | 21:17 |
sawdog | sure | 21:17 |
*** MJ has joined #zope3-dev | 21:18 | |
*** sm has joined #zope3-dev | 21:26 | |
*** natea|lunch is now known as natea|austin | 21:29 | |
tvw | Now 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 |
tvw | But I still do not have a clue, why zope does not like unc paths. | 21:33 |
*** tanghus_ has quit IRC | 21:36 | |
*** tanghus_ has joined #zope3-dev | 21:36 | |
*** andrew_m has joined #zope3-dev | 21:37 | |
*** efrerich has joined #zope3-dev | 21:39 | |
*** sbj3 has joined #zope3-dev | 21:46 | |
*** _pcardune has joined #zope3-dev | 21:50 | |
kevdev99 | tvw: I | 21:50 |
*** elbixio has joined #zope3-dev | 21:51 | |
tvw | kevdev99: yes? | 21:51 |
kevdev99 | tvw: 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 supported | 21:54 |
*** SiggyF has joined #zope3-dev | 21:54 | |
tvw | kevdev99: 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-dev | 21:59 | |
tvw | But in the meanwhile I will help myself with attaching this share to a drive letter (uuuuh ugly...) | 22:00 |
*** pcardune has quit IRC | 22:02 | |
*** _pcardune is now known as pcardune | 22:03 | |
*** pcardune has quit IRC | 22:16 | |
*** benji has joined #zope3-dev | 22:16 | |
*** tanghus_ has quit IRC | 22:20 | |
*** jinty has quit IRC | 22:24 | |
*** BjornT has quit IRC | 22:25 | |
*** jinty has joined #zope3-dev | 22:26 | |
*** elbixio has quit IRC | 22:26 | |
*** tav has quit IRC | 22:30 | |
*** tav has joined #zope3-dev | 22:31 | |
*** ChanServ sets mode: +o tav | 22:32 | |
*** gnosis has quit IRC | 22:32 | |
*** ignas has quit IRC | 22:34 | |
*** BjornT_ has joined #zope3-dev | 22:35 | |
*** tanghus has joined #zope3-dev | 22:39 | |
*** BjornT_ has joined #zope3-dev | 22:43 | |
*** BjornT_ has quit IRC | 22:45 | |
*** BjornT has joined #zope3-dev | 22:45 | |
*** tristil has quit IRC | 23:00 | |
*** tristil has joined #zope3-dev | 23:02 | |
*** gumpa-afk is now known as gumpa | 23:02 | |
*** BjornT has quit IRC | 23:06 | |
*** Aiste has joined #zope3-dev | 23:08 | |
*** jinty has quit IRC | 23:08 | |
*** tvw has quit IRC | 23:08 | |
*** jinty has joined #zope3-dev | 23:09 | |
*** alga has quit IRC | 23:10 | |
*** mkerrin has quit IRC | 23:17 | |
*** gumpa has left #zope3-dev | 23:19 | |
*** pcardune has joined #zope3-dev | 23:27 | |
*** Theuni has joined #zope3-dev | 23:39 | |
*** _pcardune has joined #zope3-dev | 23:39 | |
*** mexiKON has quit IRC | 23:48 | |
*** tristil has quit IRC | 23:49 | |
*** pcardune has quit IRC | 23:53 | |
*** _pcardune is now known as pcardune | 23:54 | |
*** dobee has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!