IRC log of #zope3-dev for Sunday, 2005-07-24

*** timte has quit IRC00:08
*** tarek has quit IRC00:21
*** tarek has joined #zope3-dev00:25
*** MiUlEr has joined #zope3-dev00:34
*** hazmat has joined #zope3-dev00:49
*** ChanServ sets mode: +o hazmat00:53
*** SureshZ has left #zope3-dev00:57
*** jinty has joined #zope3-dev01:03
*** fabiorizzo|home has joined #zope3-dev01:07
fabiorizzo|homehi01:07
fabiorizzo|homei see in installation, that the python 2.3.4 is the optimun version to use in Z3 .01:09
fabiorizzo|homeusing pyhont 2.4.1 has some problems?01:09
philiKONno, no problems01:09
philiKONpython 2.3.5 is probably optimum01:09
philiKONif you can, use 3.1b01:10
fabiorizzo|homephiliKON: is better?01:10
philiKON3.1 final will be out soon hopefully01:10
philiKONfabiorizzo|home, yes, in many ways01:10
fabiorizzo|homephiliKON: i'm new in Z3, so , you can tell me when is better?01:10
philiKONwell, use 3.1beta now for development and use the 3.1 final for deployment01:11
fabiorizzo|homephiliKON: i'm go use the 3.1Beta :-)01:12
fabiorizzo|homephiliKON: Thanks for helping01:12
philiKONnp01:12
*** mohsen has joined #zope3-dev02:12
*** jinty has quit IRC02:15
*** mohsen has quit IRC02:24
*** hazmat has quit IRC02:33
*** yota has quit IRC02:51
*** tarek has quit IRC03:06
*** projekt01 has joined #zope3-dev03:15
projekt01srichter, ayt?03:15
srichteryeah03:19
projekt01Cool, do you know, is it possible to run a JSON server on the same port like to normal http server?03:20
srichterI think that's how Jim did it, no?03:20
srichterif it has a unique way of identifying, it should be possible03:21
projekt01It is not explicit written, but I guess so, the server is sliten to a content type text/x-json03:21
projekt01And what's happen if we switch to Twisted?03:22
srichterthis will have no effect on the switch03:23
srichterof course Jim has to write a Twisted-compatible version03:23
srichter'but we are switching to an adapter model for HTTP-type protocols, so all this stuff Jim had to do will not be necessary anymore03:23
projekt01Sounds easier03:24
srichteryes, it will be much simpler03:25
projekt01Cool, thanks that helps.03:27
*** hazmat has joined #zope3-dev03:32
bob2oh, neat03:57
* bob2 is highly impressed with zope3 development04:00
bob2even with the whole 3.1 thing ;p04:00
srichter:-)04:01
srichterwe will have a bug day next friday to get the release out of the door04:01
bob2ah, cool04:01
bob2I did try looking through the remaining ones, but all but one were beyond my abilities, unfortunately04:02
projekt01Yeah, did you propose it on the mailinglist?04:02
projekt01srichter, I mean did you announce this already?04:03
srichterno, I have not04:07
srichterI still have to do it04:07
projekt01Better do it before friday ;-)04:08
projekt01You can count me in for bugfixing on friday.04:09
projekt01Hope we can make the release after that.04:09
srichtercool04:10
srichterI hope so too04:10
projekt01And then I can commit my really old changes in my workspace, like the nested menu for the Boston skin ;-)04:10
srichteryou can checkin features to the boston skin, since it is not packaged04:12
projekt01It doesn't hurry, I have to find a way to register the nested menu first.04:14
projekt01Or let's say, I have to grab all already registered menus and register them in a nested structure04:15
srichterI see04:16
srichterright04:16
projekt01Perhaps the best way for doing this is to register some base menus and register submenus in different packages for this bases04:17
projekt01But we can take a look a this after Release 3.104:17
srichteryep04:17
*** MiUlEr has quit IRC04:43
*** projekt01 has quit IRC05:18
*** fabiorizzo|home has quit IRC07:05
*** hazmat has quit IRC07:30
*** lucia12345 has quit IRC07:57
*** tvon has quit IRC08:19
*** douglasc has joined #zope3-dev08:22
*** douglasc has quit IRC08:47
*** lucia12345 has joined #zope3-dev09:48
*** tvon has joined #zope3-dev09:49
*** tvon has left #zope3-dev09:49
*** tvon has joined #zope3-dev09:49
*** bob2 has quit IRC10:07
*** wiggy has quit IRC10:07
*** lucia12345 has quit IRC10:07
*** philiKON has quit IRC10:07
*** d2m has quit IRC10:07
*** dman13 has quit IRC10:07
*** mp has quit IRC10:07
*** REdOG has quit IRC10:07
*** BjornT has quit IRC10:07
*** VladDrac has quit IRC10:07
*** deo has quit IRC10:07
*** Jim7J1AJH has quit IRC10:07
*** tvon has quit IRC10:07
*** Aiste has quit IRC10:07
*** bradb-afk has quit IRC10:07
*** srichter has quit IRC10:07
*** andrew_m has quit IRC10:07
*** Hellfried has quit IRC10:07
*** VladDrac has joined #zope3-dev10:07
*** mp has joined #zope3-dev10:07
*** wiggy has joined #zope3-dev10:07
*** REdOG has joined #zope3-dev10:07
*** bob2 has joined #zope3-dev10:07
*** dman13 has joined #zope3-dev10:07
*** BjornT has joined #zope3-dev10:07
*** d2m has joined #zope3-dev10:07
*** philiKON has joined #zope3-dev10:07
*** lucia12345 has joined #zope3-dev10:07
*** Jim7J1AJH has joined #zope3-dev10:07
*** deo has joined #zope3-dev10:07
*** srichter has joined #zope3-dev10:08
*** tvon has joined #zope3-dev10:08
*** Aiste has joined #zope3-dev10:08
*** bradb-afk has joined #zope3-dev10:08
*** andrew_m has joined #zope3-dev10:08
*** Hellfried has joined #zope3-dev10:08
*** irc.freenode.net sets mode: +o srichter10:08
*** tvon has left #zope3-dev10:32
*** tvon has joined #zope3-dev11:16
*** Theuni has joined #zope3-dev11:18
*** mexiKON has joined #zope3-dev12:38
*** philiKON has quit IRC12:46
*** mexiKON is now known as philiKON13:39
*** yota has joined #zope3-dev13:42
*** Aiste has quit IRC14:38
*** Aiste has joined #zope3-dev14:40
*** Aiste has quit IRC14:45
*** BjornT has quit IRC14:46
*** Aiste has joined #zope3-dev14:47
*** Aiste has quit IRC14:54
*** Aiste has joined #zope3-dev14:55
*** BjornT has joined #zope3-dev14:56
*** Aiste has quit IRC15:00
*** Aiste has joined #zope3-dev15:01
*** Aiste has quit IRC15:06
*** Aiste has joined #zope3-dev15:09
*** Aiste has quit IRC15:12
*** Aiste has joined #zope3-dev15:14
*** Aiste has quit IRC15:17
*** Aiste has joined #zope3-dev15:25
*** Aiste has quit IRC15:30
*** Aiste has joined #zope3-dev15:33
*** bskahan has joined #zope3-dev15:35
*** Aiste has quit IRC15:36
*** Aiste has joined #zope3-dev15:48
*** Aiste has quit IRC15:49
*** Aiste has joined #zope3-dev15:52
*** MrTopf has joined #zope3-dev15:55
*** Aiste has quit IRC15:57
*** MiUlEr has joined #zope3-dev15:57
*** Aiste has joined #zope3-dev15:59
*** colloKON has joined #zope3-dev16:03
*** colloKON has quit IRC16:09
*** Aiste_ has joined #zope3-dev16:12
*** C8N has joined #zope3-dev16:13
C8Nciao16:13
*** projekt01 has joined #zope3-dev16:16
*** gumpa has joined #zope3-dev16:18
*** Aiste has quit IRC16:18
*** projekt01 has quit IRC16:19
*** Aiste_ has quit IRC16:20
*** Aiste has joined #zope3-dev16:21
*** Aiste has quit IRC16:29
*** Aiste has joined #zope3-dev16:30
*** MrTopf has quit IRC16:39
*** J1m has joined #zope3-dev16:41
bob2does anyone have suggestions for a python/easily-wrapped-in-python html 4.0 validotr?16:43
bob2er, "validator"16:43
*** bskahan has quit IRC16:43
Theuniyou want to validate or correct html?16:54
bob2just validate it16:56
bob2so I can flag it for the user16:56
Theunihm16:56
srichterI think the Python HTML parser will only parse valid HTML, so if an error occurs, there is an inconsistency17:16
bob2yeah, but htmllib only supports 2.017:17
bob2which is a little too ancient ;)17:17
C8Nhtml 2.0, you mean? *_*17:18
bob2yeah17:18
*** anguenot has joined #zope3-dev17:21
*** anguenot has quit IRC18:01
*** philiKON has quit IRC18:01
*** VladDrac has quit IRC18:01
*** anguenot has joined #zope3-dev18:04
*** philiKON has joined #zope3-dev18:04
*** VladDrac has joined #zope3-dev18:04
*** d2m has quit IRC18:04
*** hazmat has joined #zope3-dev18:07
*** d2m has joined #zope3-dev18:28
*** roym has joined #zope3-dev18:28
roymFolks - a question on the use of adapters -18:32
roym18:32
roymI have a content object that I wish to support ftp updates/retrieves18:32
roymon.  And I would like to have 2 different views for the ftp data (ie:18:32
roymplain text and xml)18:32
roym18:32
roymWould I use adapters to adapt the content object to the xml18:32
roymview/plain view? How would I specify something like this in ZCML?18:32
roymOr am I better off simply coding toXML/fromXML and toText/fromText in the18:33
roymcontent object itself?18:34
*** timte has joined #zope3-dev18:39
mpI've subclassed Folder and added views, but I'd like to have "Contents" to be first (in menu) and default view19:52
mphow do I do that/19:52
mpwhat's __radd__?20:27
mpright add?20:27
*** Theuni has quit IRC20:36
philiKONmp, yup20:40
philiKONmp, see the python docs20:40
philiKONmp, as for default view, see <browser:defaultView /> directive20:40
philiKONmp, as for menu item ordering, see the 'order' parameter of the <browser:menuItem /> directive (you'll have to do an overrides most likely)20:41
*** projekt01 has joined #zope3-dev20:53
*** J1m has quit IRC21:01
*** tav has joined #zope3-dev21:36
*** tvon has quit IRC21:48
*** erral has joined #zope3-dev21:51
*** erral has quit IRC21:53
*** MrTopf has joined #zope3-dev22:36
roymFolks, I have a an adapter that adapts a content object to its xml22:40
roymview.  How would I declare the ZCML for this?22:41
roym22:41
roymHere is my adapter declaration:22:41
roym  <adapter22:41
roym    for=".interfaces.IQDatum"22:41
roym    provides=".interfaces.IQDatumXMLRepr"22:41
roym    factory=".qtmodule.QDatumXMLRepr"/>22:41
roym22:41
roymHowever, I am lost as to how I would declare a view for this...22:41
roymIf I declare as follows, the item doesn't show up in the menu22:41
roym  <page22:41
roym    for="anoobe.quiztaker.interfaces.IQDatumXMLRepr"22:41
roym    name="xmlView.html"22:41
roym    template="viewQDatumXML.pt"22:41
roym    menu="zmi_views" title="xmlView"22:41
roym    />22:41
* lucia12345 is back (gone 12:57:33)22:46
*** JZ has joined #zope3-dev22:51
JZhi, do anyone try to use mysqldbda? I can connect to my mysql 4.1 database but I cannot send queries. I always get the error: "An Error occurred unknown encoding: latin1_swedish_ci". It is strange because all my tables use utf8 encoding....22:52
*** MiUlEr has quit IRC23:01
*** MrTopf has quit IRC23:10
philiKONroym, the way you declared it, the menu item would appear for IQDatumXMLRepr objects, not for IQDatum objects23:11
philiKONroym, write a view for IQDatum that adapts the IQDatum object to IQDatumXMLRepr23:11
*** MiUlEr has joined #zope3-dev23:18
roymphiliKON, do you mean use the <view> tag?23:31
philiKONno23:32
roymok - so I would write the <page> decl differently?23:32
philiKONchange the for to "IQDatum", and change the way you write the view so that it uses the IQDatumXMLRepr adapter manually23:33
roymmanually, as in with zapi.getAdapter()?23:34
philiKONno, as in IQDatumXMLRepr(obj)23:35
philiKONmaybe you should read some of the docs... there are guides to this kinda stuff23:36
roymok - will go thru them more carefully.... thanks.23:36

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