IRC log of #zope3-dev for Saturday, 2007-07-21

*** rocky|boston has quit IRC00:05
*** pelle_ has joined #zope3-dev00:11
*** pcardune is now known as pcardune_out00:14
*** pelle_ has quit IRC00:19
*** jfroche has quit IRC00:35
*** hazmat has joined #zope3-dev00:37
*** ChanServ sets mode: +o hazmat00:37
*** romanofski has quit IRC00:52
*** hazmat has quit IRC01:05
*** ksmith99 has left #zope3-dev01:21
*** lucielejard has quit IRC01:21
*** nathany has quit IRC01:33
*** nathany has joined #zope3-dev01:34
*** nathany has quit IRC01:40
*** greenman has joined #zope3-dev01:42
*** fcorrea has quit IRC01:49
*** norro has quit IRC01:50
*** markusleist has joined #zope3-dev01:52
*** hazmat has joined #zope3-dev01:58
*** ChanServ sets mode: +o hazmat01:58
*** rcrafton_ has quit IRC02:11
*** rocky|boston has joined #zope3-dev02:47
*** timte has quit IRC02:53
*** hazmat has quit IRC03:14
*** jinty has joined #zope3-dev03:16
*** rocky|boston has quit IRC03:16
*** redir has quit IRC03:30
*** pcardune_out is now known as pcardune_away03:36
*** pbugni has quit IRC03:36
*** jpfarias has joined #zope3-dev03:41
jpfariashi03:42
jpfariasanyone around?03:42
srichterI am03:42
jpfariashey03:42
jpfariasgood evening03:42
jpfariasI'm wondering if a vocabulary can have objects as values03:42
srichteryes03:43
srichtervocabualries have terms03:43
srichterterms have the value, ascii representation and human readable title03:43
jpfariasok03:43
jpfariashmm03:43
srichterthe value can be any py object03:43
jpfariasI mean03:43
jpfariascan it be a model class of my application?03:44
srichterI don't understand what you mean by "model class"03:44
jpfariasI'm using grok btw...03:44
jpfariasso it is a grok.Model class03:44
srichteroh, sigh, I should have seen these questions coming03:45
srichterthere is nothing special about any component in Zope 303:45
*** natea|p4asprint has joined #zope3-dev03:45
jpfariasyeah, I'm new to zope303:45
jpfariasgrok is getting me on my way03:45
jpfariasI'm falling in love with it03:45
jpfariaslol03:45
srichterall you got to do is implement the IVocabulary API in your component and register a vocabulary factory03:48
srichterbetter would be an adapter for you component though03:48
* jpfarias reading vocabularies chapter in phillip's book03:49
jpfariasok03:54
jpfariasfigured what I did wrong :-)03:54
jpfariasI had it allok03:54
jpfariasall ok03:54
jpfariasbut instead of making a dict from ascii text to objects03:55
jpfariasI just made the dict from the ascii text using fromValues()03:55
jpfariasin my vocabulary factory03:55
srichterright, this works03:55
jpfariaschanged it to use dict and then used .fromItems()03:55
jpfariasnow it works great03:56
jpfarias:-)03:56
jpfariaseasier than I thought03:56
jpfariasbtw03:57
jpfariashow do I get to an object's parent in a template?03:57
jpfariasI want to make an link to the object's parent url in my template03:58
jpfariasbut I don't know how03:58
srichterzope.traversing.browser.absoluteURL(zope.traversing.api.getParent(obj), request)03:59
jpfariaswell, that is ok to put in my script03:59
jpfariasbut how about in the template?03:59
*** greenman has quit IRC03:59
jpfariasthe .pt I mean03:59
*** RaFromBRC has quit IRC04:04
srichteryou should never put code like this in the template04:08
srichterthat's the reason you have view components04:08
srichteralways prepare all your data in Python04:08
*** jinty has quit IRC04:26
*** greenman has joined #zope3-dev04:45
*** benji has quit IRC04:46
*** J1m has quit IRC04:58
*** stub has joined #zope3-dev05:31
*** natea|p4asprint has quit IRC05:38
*** rcrafton has joined #zope3-dev06:34
*** pcardune_away is now known as pcardune06:47
*** srichter has quit IRC07:02
*** srichter has joined #zope3-dev07:05
*** ChanServ sets mode: +o srichter07:12
*** dmpinheiro has joined #zope3-dev07:48
*** d2m has joined #zope3-dev08:01
*** alecm has quit IRC08:10
*** dmpinheiro has left #zope3-dev08:23
*** cursor has joined #zope3-dev08:24
*** rcrafton has quit IRC08:25
*** natea|p4asprint_ has joined #zope3-dev08:31
*** natea|p4asprint has joined #zope3-dev08:34
*** natea|p4asprint_ has quit IRC08:50
*** natea|p4asprint_ has joined #zope3-dev08:50
*** natea|p4asprint has quit IRC08:57
*** natea|p4asprint has joined #zope3-dev09:23
*** natea|p4asprint_ has quit IRC09:30
*** natea|p4asprint_ has joined #zope3-dev09:36
*** natea|p4asprint has quit IRC09:44
*** stub has quit IRC10:46
*** dobee has joined #zope3-dev11:32
*** pcardune has quit IRC11:34
*** theuni has joined #zope3-dev11:38
*** theuni has quit IRC11:50
*** timte has joined #zope3-dev12:09
*** jodok has quit IRC12:13
*** jodok has joined #zope3-dev12:14
*** Jell-O-Fishi has quit IRC12:25
*** cursor has quit IRC12:34
*** jinty has joined #zope3-dev13:08
*** iam-vivek has joined #zope3-dev13:09
iam-vivekiam getting error in ubuntu when i tried to run  $ python2.5 ez_setup.py13:10
iam-vivekzipimport.ZipImportError: can't decompress data; zlib not available13:11
*** jinty has quit IRC13:11
timteiam-vivek: try installing zlib13:12
iam-vivekok13:12
*** iam-vivek has quit IRC13:13
*** jinty has joined #zope3-dev13:20
*** dobee has quit IRC13:27
*** jinty has quit IRC13:28
*** schwendinger has joined #zope3-dev13:42
*** schwendinger has quit IRC13:43
*** schwendinger has joined #zope3-dev13:43
*** schwendinger has quit IRC13:45
*** pbugni has joined #zope3-dev13:51
*** Jell-O-Fishi has joined #zope3-dev13:54
*** benji has joined #zope3-dev14:06
*** tarek has quit IRC14:07
*** dunny has quit IRC14:13
*** nikhil_n has joined #Zope3-dev14:15
*** nikhil_n has left #Zope3-dev14:19
*** Jell-O-Fishi has quit IRC14:38
*** greenman has quit IRC14:40
*** faassen has joined #zope3-dev14:40
*** pbugni has quit IRC14:53
*** baijum has joined #zope3-dev14:55
*** rcrafton has joined #zope3-dev15:00
*** tarek has joined #zope3-dev15:04
*** jodok has quit IRC15:11
*** cursor has joined #zope3-dev15:25
*** J1m has joined #zope3-dev15:31
*** snake88 has joined #zope3-dev15:35
snake88salu15:35
*** snake88 has quit IRC15:36
*** theuni has joined #zope3-dev15:37
*** rocky|boston has joined #zope3-dev15:44
*** rcrafton has quit IRC15:49
J1mI'm inclined to call Gary's recent changes to ZODB conflict resolution a bug fix.15:50
J1mDoes anyone wish to argue the point? :)15:50
*** natea|p4asprint has joined #zope3-dev15:51
*** tarek has left #zope3-dev15:52
*** natea|p4asprint_ has quit IRC16:00
*** natea|p4asprint_ has joined #zope3-dev16:20
*** natea|p4asprint has quit IRC16:29
*** natea|p4asprint_ has quit IRC17:00
*** cursor has quit IRC17:07
*** natea|p4asprint has joined #zope3-dev17:14
*** Jell-O-Fishi has joined #zope3-dev17:15
*** baijum has quit IRC17:18
*** rcrafton has joined #zope3-dev17:40
*** pbugni has joined #zope3-dev17:48
*** pbugni has quit IRC17:56
_prefixer:)18:06
*** pbugni has joined #zope3-dev18:08
*** hazmat has joined #zope3-dev18:22
*** ChanServ sets mode: +o hazmat18:22
*** schwendinger_ has joined #zope3-dev18:58
*** cursor has joined #zope3-dev19:21
*** pcardune has joined #zope3-dev19:28
rocky|bostonhey srichter, when i'm testing for test coverage i should run the coverage on just unit tests and ensure i have 100% and then i should run the coverage on just functional tests and ensure i have 100% too, right?19:34
*** jodok has joined #zope3-dev19:44
*** faassen has quit IRC19:45
*** schwendinger_ has quit IRC20:02
*** schwendinger has joined #zope3-dev20:04
*** J1m has quit IRC20:52
*** sm has quit IRC21:00
*** hazmat has quit IRC22:06
*** dunny has joined #zope3-dev22:18
*** ktwilight_ has joined #zope3-dev22:20
*** cursor has quit IRC22:25
*** jodok has quit IRC22:35
*** ktwilight has quit IRC22:36
*** d2m has quit IRC22:38
*** philiKON has joined #zope3-dev22:48
*** dmpinheiro has joined #zope3-dev22:55
*** rocky|boston has quit IRC22:58
*** philiKON_ has quit IRC23:04
*** dmpinheiro has left #zope3-dev23:06
*** natea|p4asprint has quit IRC23:09
*** pbugni has quit IRC23:22

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