IRC log of #zope3-dev for Wednesday, 2008-09-17

*** lisppaste6 has quit IRC00:00
*** lisppaste6 has joined #zope3-dev00:00
*** oggers has quit IRC00:01
*** hazmat has joined #zope3-dev00:05
*** ChanServ sets mode: +o hazmat00:05
*** oggers has joined #zope3-dev00:05
*** aaronv has quit IRC00:05
*** tarek has joined #zope3-dev00:07
*** oggers has quit IRC00:08
*** oggers has joined #zope3-dev00:08
*** norro_ has quit IRC00:10
*** oggers has quit IRC00:11
*** oggers has joined #zope3-dev00:14
*** oggers has quit IRC00:18
*** yota has quit IRC00:19
*** oggers has joined #zope3-dev00:21
*** nyo1 has quit IRC00:22
*** b52laptop has joined #zope3-dev00:23
*** oggers has quit IRC00:24
*** tarek has quit IRC00:24
*** oggers has joined #zope3-dev00:25
*** tarek has joined #zope3-dev00:25
*** oggers has quit IRC00:27
*** oggers has joined #zope3-dev00:28
*** jpcw2002 has left #zope3-dev00:28
*** oggers has quit IRC00:30
*** oggers has joined #zope3-dev00:30
*** tarek has quit IRC00:30
*** oggers has quit IRC00:32
*** oggers has joined #zope3-dev00:32
*** srichter has quit IRC00:34
*** oggers has quit IRC00:35
*** benji has quit IRC00:38
*** oggers has joined #zope3-dev00:38
*** oggers has quit IRC00:41
*** oggers has joined #zope3-dev00:42
*** oggers has quit IRC00:44
*** sp0cksbeard has quit IRC00:44
*** oggers has joined #zope3-dev00:45
*** oggers has quit IRC00:48
*** oggers has joined #zope3-dev00:48
*** srichter has joined #zope3-dev00:50
*** redir_ has quit IRC00:50
*** oggers has quit IRC00:51
*** oggers has joined #zope3-dev00:51
*** lisppaste6 has quit IRC00:54
*** oggers has quit IRC00:54
*** oggers has joined #zope3-dev00:54
*** flox has left #zope3-dev00:55
*** __mac__ has joined #zope3-dev00:57
*** oggers has quit IRC00:57
*** srichter has quit IRC01:00
*** srichter has joined #zope3-dev01:00
*** oggers has joined #zope3-dev01:00
*** oggers has quit IRC01:03
*** oggers has joined #zope3-dev01:04
*** oggers has quit IRC01:07
*** oggers has joined #zope3-dev01:07
*** srichter has quit IRC01:08
*** srichter has joined #zope3-dev01:09
*** oggers has quit IRC01:11
*** jhauser has quit IRC01:11
*** ChanServ sets mode: +o srichter01:11
*** lisppaste6 has joined #zope3-dev01:13
*** oggers has joined #zope3-dev01:14
*** __mac___ has quit IRC01:14
*** lisppaste6 has quit IRC01:17
*** lisppaste6 has joined #zope3-dev01:17
*** oggers has quit IRC01:19
*** oggers has joined #zope3-dev01:19
*** lisppaste6 has quit IRC01:20
*** lisppaste6 has joined #zope3-dev01:21
*** rmarianski has quit IRC01:21
*** oggers has quit IRC01:21
*** oggers has joined #zope3-dev01:21
*** lurkymclurkleton has quit IRC01:22
*** jamur2 has quit IRC01:22
*** oggers has quit IRC01:24
*** oggers has joined #zope3-dev01:25
*** lisppaste6 has quit IRC01:26
*** lisppaste6 has joined #zope3-dev01:26
*** redir has joined #zope3-dev01:27
*** oggers has quit IRC01:28
*** oggers has joined #zope3-dev01:32
*** oggers has quit IRC01:34
*** oggers has joined #zope3-dev01:36
*** oggers has quit IRC01:38
*** djohnson has joined #zope3-dev01:38
lisppaste6Apologies for the trouble today. The bot should stop bouncing in and out of your channel now.01:38
*** srichter has quit IRC01:40
*** whit has quit IRC01:40
*** aclark|away is now known as aclark01:46
*** djohnson has quit IRC01:47
*** ARiKA has joined #Zope3-Dev01:55
ARiKAHello :D01:55
*** __mac___ has joined #zope3-dev02:04
*** __mac____ has joined #zope3-dev02:11
*** b52laptop has quit IRC02:11
*** b52laptop has joined #zope3-dev02:11
*** bigkevmcd has quit IRC02:15
*** sm has quit IRC02:19
*** sm has joined #zope3-dev02:21
*** __mac__ has quit IRC02:21
*** __mac___ has quit IRC02:29
*** dvschramm has quit IRC02:30
*** djohnson has joined #zope3-dev02:33
*** srichter has joined #zope3-dev02:42
*** fcorrea has quit IRC02:43
*** djohnson has quit IRC02:46
*** J1m has quit IRC03:01
*** greenman has joined #zope3-dev03:03
*** sm has quit IRC03:17
*** whit has joined #zope3-dev03:46
*** greenman has quit IRC03:56
*** __mac__ has joined #zope3-dev04:26
*** greenman has joined #zope3-dev04:37
*** santagada has joined #zope3-dev04:42
*** __mac____ has quit IRC04:43
*** ChanServ sets mode: +o srichter05:13
*** whit has quit IRC05:14
*** __mac___ has joined #zope3-dev05:16
*** __mac__ has quit IRC05:33
*** binseer has joined #zope3-dev05:55
*** redir has quit IRC06:01
*** redir has joined #zope3-dev06:24
*** redir has quit IRC06:26
*** redir has joined #zope3-dev06:59
*** aclark is now known as aclark|away07:00
*** redir has quit IRC07:06
*** santagada has quit IRC07:10
*** afd__ has joined #zope3-dev07:12
*** timte has quit IRC07:28
*** dobee has joined #zope3-dev07:32
*** dbfrombrc_ has joined #zope3-dev07:40
*** dbfrombrc has quit IRC07:52
*** redir has joined #zope3-dev07:53
*** natea_ has joined #zope3-dev07:54
*** redir has quit IRC07:56
*** jayaraj has joined #zope3-dev07:58
*** timte has joined #zope3-dev08:15
*** J1m has joined #zope3-dev08:17
*** natea__ has joined #zope3-dev08:32
*** reco has quit IRC08:34
*** afd__ has quit IRC08:36
*** jukart_ has joined #zope3-dev08:37
*** dbfrombrc_ has quit IRC08:51
*** zagy has quit IRC08:52
*** flox has joined #zope3-dev08:54
*** J1m has quit IRC08:57
*** nyo has joined #zope3-dev09:20
*** nyo has quit IRC09:21
*** nyo has joined #zope3-dev09:21
*** quodt has joined #zope3-dev09:22
*** zagy has joined #zope3-dev09:23
*** afd__ has joined #zope3-dev09:31
*** jpcw2002 has joined #zope3-dev09:43
*** reco has joined #zope3-dev09:49
*** kursor has joined #zope3-dev10:05
*** natea__ has quit IRC10:07
*** pyqwer has joined #zope3-dev10:11
*** harobed has joined #zope3-dev10:21
*** ccomb_ has joined #zope3-dev10:37
*** MJ has joined #zope3-dev10:38
*** greenman has quit IRC10:49
*** tarek has joined #zope3-dev10:50
*** greenman has joined #zope3-dev10:52
*** philiKON_ has quit IRC10:55
*** mgedmin has joined #zope3-dev11:09
*** philiKON has joined #zope3-dev11:13
*** goschtl has joined #zope3-dev11:20
*** kursor has quit IRC11:22
*** seletz has joined #zope3-dev11:26
*** pelle_ has joined #zope3-dev11:28
*** djohnson has joined #zope3-dev11:35
*** junkafarian has joined #zope3-dev11:40
ARiKA>>> print a.creationTime11:43
ARiKA<zope.schema._field.Datetime object at 0x2970bc0c11:43
ARiKAhow can I get that like the datetime examples I've seen?11:43
mgedminhuh?11:44
ARiKAyeah11:44
ARiKAthat object has a Datetime11:44
ARiKA(zope.scheme)11:45
ARiKAso...11:45
*** jpcw2002 has quit IRC11:45
goschtlARiKA: i had the same error last time. I think i imported two times Int.11:45
goschtlzope.schema.Int and storm.Int11:45
ARiKAprint d11:45
ARiKAwould return something like11:45
ARiKA2003-07-2911:46
ARiKAor whatever11:46
ARiKAabout importing:11:46
ARiKAfrom    zope.schema                         import Datetime11:46
ARiKAand about the class11:46
goschtlARiKA: can you paste your code?11:46
ARiKAclass Ara2Site(object):11:47
ARiKA    implements( IAra2Site )11:47
ARiKA    creationTime = Datetime()11:47
ARiKA    def __init__( self ):11:47
ARiKA        """ Constructor of this class. Just set things up... """11:47
ARiKA        ### Creation time should always point to NOW. Read Only.11:47
ARiKA        ### self.creationTime.set( datetime.datetime.today() )11:47
ARiKA        self.creationTime.readonly   = True11:47
ARiKA    def update( self, **kw ):11:47
ARiKA        field_names     = getFieldNames( IAra2Site )11:47
ARiKA        for key, values in kw.items():11:47
ARiKA            if key not in field_names:11:47
ARiKA                raise TypeError, "[ERROR] %s: doesn't exists on IAra2Site" % key11:47
ARiKA            ### Add this check for the times of creation and/or modification11:47
ARiKA            ### SANITY CHECK:11:47
ARiKA            if (key == u"creationTime") or (key == u"lastEditTime"):11:47
ARiKA                ### They "tried" to modify tiems of creation and/or modify...11:48
ARiKA                raise TypeError, "[ERROR] $s: can't modify this field" %key11:48
ARiKA            field = IAra2Site[ key ]11:48
ARiKA            field = field.bind( self )11:48
ARiKA            field.validate( value )11:48
ARiKA            setattr( self, key, value )11:48
ARiKAthat's my stupid class11:48
goschtlARiKA: creationTime = Datetime. I think Datetime is from zope.schema and you want DateTime()11:48
ARiKAnext step would be creating a datetime with now() date... or today...11:48
ARiKAhmm11:49
ARiKAmy book (philips one) says Datetime... btw...11:49
ARiKAand yeah I want datetime from zope.schema...11:49
ARiKAdoesn't give any error about creating the class11:49
goschtlARiKA: if i understand you correctly you want createionTime is the actual time?11:50
ARiKAyeah, will be11:50
ARiKAbut I'm playing on debug with the Datetime thing...11:51
goschtlwith zope.schema Datetime you will get a schema field not a DateTime object11:51
ARiKAah...11:51
goschtlyou can use zope.schema.Datetime in your interface definition11:52
ARiKAyeah yeah11:52
ARiKAso here I would use zope.schema.DateTime?11:52
afd__ARiKA: why not just make your object Annotatable and let zope's dublin core set the createion time?11:53
ARiKAafd__: that's advanced topic11:53
mgedminARiKA: first of all, please use a pastebin in the future instead of flooding the channel11:53
ARiKAI can always re-touch the thing lmao... :)11:53
ARiKAok ok, sorry11:54
mgedminsecond, zope.schema.Datetime is a schema field and not a value class11:54
mgedminif you're working with zope 3, you want datetime.datetime11:54
goschtlin your class you will use from datetime import datetime creationtime = datetime.now()11:54
ARiKAah... I get the thing now...11:54
mgedminif you're working with zope 2, there's probably a Datetime class somewhere, I forget where11:54
mgedminschema fields are for defining interfaces11:54
ARiKAnow I understand how it works...11:54
afd__ARiKA: no, not at all. Just add a <implements interface="zope.app.annotation.interfaces.IAttributeAnnotatable" /> inside your <class /> zcml declaration11:54
ARiKAafd__: yeah, read about that... but try-error makes you better learn :))11:55
*** gimni has joined #zope3-dev11:55
ARiKAmgedmin: I understood the concept about schemas now... that was very nice from your side... Thanks :)11:55
*** djohnson has quit IRC12:14
*** kursor has joined #zope3-dev12:23
*** romanofski has quit IRC12:26
*** zagy has quit IRC12:26
*** __mac___ has quit IRC12:27
*** alga has joined #zope3-dev12:30
*** thruflo has joined #zope3-dev12:50
*** __mac__ has joined #zope3-dev13:10
*** zagy has joined #zope3-dev13:10
*** aaronv has joined #zope3-dev13:12
*** __mac__ has quit IRC13:20
*** __mac__ has joined #zope3-dev13:21
*** ktwilight has joined #zope3-dev13:21
*** ktwilight__ has quit IRC13:23
*** nyo has quit IRC13:41
*** danfairs has quit IRC13:45
*** afd___ has joined #zope3-dev13:46
*** afd__ has quit IRC13:48
ARiKAother question...13:51
ARiKAusing zope.schema.fieldproperty.Fieldproperty13:52
ARiKAto set default values for attributes on the class...13:52
ARiKAthen what should I do to set the real predefined values?13:52
ARiKA__init__()?13:52
*** MJ is now known as MJ|lunch13:52
*** fairwinds has joined #zope3-dev13:55
ARiKAgot answered...13:56
goschtlyes set the defaults in __init__14:00
*** santagada has joined #zope3-dev14:19
ARiKAyeah, goschtl, afd___ told :)14:19
*** J1m has joined #zope3-dev14:29
*** thruflo_ has joined #zope3-dev14:31
*** thruflo has quit IRC14:31
*** aaronv has quit IRC14:31
*** santagada has left #zope3-dev14:43
*** natea_ has quit IRC14:44
*** pelle_ has quit IRC14:45
*** jayaraj has quit IRC14:50
*** jayaraj has joined #zope3-dev14:50
*** hexsprite has quit IRC14:52
*** greenman has quit IRC14:53
*** djohnson has joined #zope3-dev14:58
*** pelle_ has joined #zope3-dev15:02
*** natea_ has joined #zope3-dev15:07
*** kursor has quit IRC15:09
*** redir has joined #zope3-dev15:10
*** kursor has joined #zope3-dev15:11
*** MJ|lunch is now known as MJ15:11
*** djohnson has quit IRC15:16
*** benji has joined #zope3-dev15:19
*** projekt01 has joined #zope3-dev15:19
*** projekt01 has left #zope3-dev15:20
*** ignas has quit IRC15:22
*** kursor_ has joined #zope3-dev15:33
*** kursor has quit IRC15:33
*** kursor has joined #zope3-dev15:40
*** redir has quit IRC15:41
*** natea_ has quit IRC15:45
*** bigkevmcd has joined #zope3-dev15:45
*** redir has joined #zope3-dev15:47
*** binseer has quit IRC15:47
*** kursor_ has quit IRC15:53
*** jamur2 has joined #zope3-dev15:56
*** hazmat has quit IRC15:58
*** lurkymclurkleton has joined #zope3-dev15:58
*** sp0cksbeard has joined #zope3-dev16:00
*** Rolando has joined #zope3-dev16:03
*** Rolando has quit IRC16:05
*** aaronv has joined #zope3-dev16:06
*** aaronv has joined #zope3-dev16:06
*** sp0cksbeard has quit IRC16:06
*** redir has quit IRC16:07
*** aaronv has quit IRC16:07
*** aaronv has joined #zope3-dev16:08
*** agroszer has joined #zope3-dev16:08
*** aaronv has quit IRC16:10
*** J1m has joined #zope3-dev16:13
*** aaronv has joined #zope3-dev16:13
*** ignas has joined #zope3-dev16:13
*** alecghica has quit IRC16:15
*** reco has quit IRC16:21
*** ccomb_ has quit IRC16:23
*** kursor has quit IRC16:29
*** yotaff__ has joined #zope3-dev16:30
*** pelle_ has quit IRC16:30
*** jayaraj has quit IRC16:34
*** yotaff has quit IRC16:37
*** __mac___ has joined #zope3-dev16:39
*** projekt01 has joined #zope3-dev16:39
*** yotaff__ is now known as yotaff16:40
*** santagada_ has joined #zope3-dev16:46
*** __mac____ has joined #zope3-dev16:48
*** dunny has quit IRC16:49
*** __mac_____ has joined #zope3-dev16:50
*** sp0cksbeard has joined #zope3-dev16:54
*** redir has joined #zope3-dev16:56
*** __mac__ has quit IRC16:57
*** __mac__ has joined #zope3-dev16:58
*** sm has joined #zope3-dev17:00
*** aclark|away is now known as aclark17:00
*** __mac___ has quit IRC17:04
*** __mac____ has quit IRC17:08
*** __mac_____ has quit IRC17:16
*** reco has joined #zope3-dev17:16
*** whit has joined #zope3-dev17:20
*** whit has quit IRC17:21
*** agroszer_ has joined #zope3-dev17:30
*** ccomb_ has joined #zope3-dev17:31
*** jsadjohnson_ has quit IRC17:41
*** jsadjohnson has joined #zope3-dev17:42
*** MJ has quit IRC17:43
*** agroszer has quit IRC17:45
*** agroszer_ is now known as agroszer17:45
*** whit has joined #zope3-dev17:48
*** dbfrombrc has joined #zope3-dev17:54
*** timte_ has joined #zope3-dev17:54
*** malthe has quit IRC17:55
*** reco has quit IRC18:02
*** timte has quit IRC18:03
*** reco has joined #zope3-dev18:04
afd___jsadjohnson: did you paste this? http://jsa.pastey.net/9627818:08
jsadjohnsonYes18:09
afd___the paste seems truncated18:10
afd___also, are you sure it's not just stupid bots seeking for exploits? is Clients.html a page of your application?18:10
jsadjohnsonThe users are reporting many problems with NotFound 404 errors.18:10
jsadjohnsonAll browsers.18:10
jsadjohnsonAll OS.18:10
jsadjohnsonAll components.18:11
*** natea_ has joined #zope3-dev18:11
afd___ah, I see18:11
afd___then I don't know :)18:11
jsadjohnson:)18:11
afd___but it's not something that happens just like that18:12
afd___I mean, this thing shouldn't happen18:12
jsadjohnsonYes. I think it should not happen.18:14
jsadjohnsonRefresh in the browser 3-5 times and the page loads then.18:15
*** pyqwer has quit IRC18:16
*** dbfrombrc has quit IRC18:24
*** dbfrombrc has joined #zope3-dev18:25
*** rmarianski has joined #zope3-dev18:26
*** jukart_ has quit IRC18:31
*** natea_ has quit IRC18:37
*** malthe has joined #zope3-dev18:44
*** aaronv has quit IRC18:44
*** aaronv has joined #zope3-dev18:45
*** natea_ has joined #zope3-dev18:45
*** Rolando has joined #zope3-dev18:46
*** Rolando has quit IRC18:46
*** goschtl has quit IRC18:48
*** __mac__ has quit IRC18:53
*** lurkymclurkleton has quit IRC18:59
*** lurkymclurkleton has joined #zope3-dev19:00
*** nyo has joined #zope3-dev19:02
*** projekt01 has quit IRC19:03
*** dobee has quit IRC19:05
*** natea_ has quit IRC19:09
*** agroszer has quit IRC19:10
*** sunew has joined #zope3-dev19:10
*** nyo has quit IRC19:10
*** sunew has quit IRC19:11
*** agroszer has joined #zope3-dev19:13
*** danfairs has joined #zope3-dev19:20
*** mgedmin has quit IRC19:24
*** gimni has quit IRC19:28
*** harobed has quit IRC19:31
*** sunew has joined #zope3-dev19:32
*** sunew has quit IRC19:33
*** afd___ has quit IRC19:34
*** ignas has quit IRC19:46
*** malthe has quit IRC19:46
*** dobee has joined #zope3-dev20:00
*** danfairs has quit IRC20:21
*** danfairs has joined #zope3-dev20:21
*** philiKON has quit IRC20:22
*** thruflo_ has quit IRC20:31
*** philiKON has joined #zope3-dev20:41
*** quodt has quit IRC20:53
*** alga has quit IRC21:05
*** norro has joined #zope3-dev21:09
*** CSWookie has joined #zope3-dev21:10
CSWookiephiliKON: Hey, regarding your book, I've heard you're planning on buildoutifying your egg for the next edition.  Are you interested in a dogfooder, yet?21:11
philiKONnot yet, but thanks21:12
CSWookieno problem.21:12
CSWookieWe always hand interns and new hires your book, so I LOVE the ide of a buildout to go with it.21:13
CSWookies/ide/idea/21:13
philiKONzopeproject is reasonably well documented...21:14
* CSWookie goes off to look.21:15
*** natea_ has joined #zope3-dev21:19
*** natea_ has quit IRC21:32
*** philiKON_ has joined #zope3-dev21:34
*** ktwilight_ has joined #zope3-dev21:37
*** b52lap has joined #zope3-dev21:39
*** philiKON has quit IRC21:41
*** santagada_ has left #zope3-dev21:41
*** junkafarian has quit IRC21:43
*** mcdonc has quit IRC21:45
*** ktwilight has quit IRC21:50
*** b52laptop has quit IRC21:51
*** aaronv has quit IRC22:05
*** aaronv has joined #zope3-dev22:10
*** malthe has joined #zope3-dev22:16
*** timte_ has quit IRC22:17
*** timte has joined #zope3-dev22:17
*** natea_ has joined #zope3-dev22:18
*** a7p has left #zope3-dev22:23
*** quodt has joined #zope3-dev22:24
*** alga has joined #zope3-dev22:32
*** MrTopf has joined #zope3-dev22:34
*** jhauser has joined #zope3-dev22:46
*** dunny has joined #zope3-dev22:47
*** lisppaste6 has quit IRC22:52
*** lisppaste6 has joined #zope3-dev22:52
*** natea_ has quit IRC23:18
*** ccomb_ has left #zope3-dev23:20
*** jpcw2002 has joined #zope3-dev23:22
*** MrTopf_ has joined #zope3-dev23:24
*** MrTopf_ has quit IRC23:28
*** MrTopf has quit IRC23:34
*** ARiKA has quit IRC23:35
*** natea_ has joined #zope3-dev23:56

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