IRC log of #zope3-dev for Thursday, 2007-06-14

*** timte has joined #zope3-dev00:00
*** RaFromBRC|lunch is now known as RaFromBRC00:11
*** dobee has quit IRC00:21
*** reco_ has joined #zope3-dev00:22
*** NomadNate_ has joined #zope3-dev00:23
*** NomadNate_ has quit IRC00:28
*** NomadNate_ has joined #zope3-dev00:29
*** lucielejard has left #zope3-dev00:30
*** rmarianski has joined #zope3-dev00:30
*** meatballhat has left #zope3-dev00:35
*** reco has quit IRC00:38
*** malthe has joined #zope3-dev00:38
*** rmarianski has quit IRC00:39
*** timte has quit IRC00:40
*** timte has joined #zope3-dev00:47
*** rocky is now known as rocky|away00:49
*** NomadNate_ has quit IRC00:49
*** malthe_ has quit IRC00:50
*** rcrafton has quit IRC01:00
*** yota has quit IRC01:09
*** jodok has quit IRC01:24
*** timte has quit IRC01:37
*** reco_ has quit IRC01:41
*** reco has joined #zope3-dev01:42
*** norro has quit IRC01:58
*** torkel_ has joined #zope3-dev02:04
*** tarek_ has quit IRC02:07
*** kobold has quit IRC02:25
*** whit has quit IRC02:30
*** whit has joined #zope3-dev02:31
*** sm has left #zope3-dev02:35
*** b52laptop has quit IRC02:35
*** MrTopf has quit IRC02:36
*** whit is now known as whit|out02:58
*** philiKON has joined #zope3-dev02:58
*** reco has quit IRC03:03
*** rcrafton has joined #zope3-dev04:03
*** benji has joined #zope3-dev04:07
*** pcardune has joined #zope3-dev04:14
*** huajie has joined #zope3-dev04:23
* brandon_rhodes ponders how one would arrange authentication in Grok04:43
*** RaFromBRC has quit IRC04:54
*** alecm has quit IRC05:12
*** afd__ has quit IRC05:14
*** pcardune has quit IRC05:17
*** pcardune has joined #zope3-dev05:22
*** benji has quit IRC05:24
*** niemeyer has quit IRC05:28
*** dunny has quit IRC05:29
*** alecm has joined #zope3-dev05:33
*** brandon_rhodes has left #zope3-dev06:15
*** WebMaven has quit IRC06:44
*** rcrafton has quit IRC06:54
*** stub has joined #zope3-dev06:57
*** tjs has joined #zope3-dev07:15
tjshey, I'm just getting into zope3 at a new job, I had a couple of questions I couldnt find answers for in the docs07:19
*** johnlr has joined #zope3-dev07:20
tjsif 'global' utilities are singletons, it seems to me that they would need to be threadsafe07:20
tjsbut it seems that thread safety of utilities is not something thats really mentioned07:21
tjsare they not actually singleton? perhaps spawned per thread?07:21
*** afd__ has joined #zope3-dev07:28
*** johnlr has quit IRC07:29
*** johnlr has joined #zope3-dev07:29
*** baijum has joined #zope3-dev07:34
*** alecm has quit IRC07:37
*** dobee has joined #zope3-dev07:55
*** timte has joined #zope3-dev08:03
*** yvl has quit IRC08:03
*** pcardune has quit IRC08:08
*** d2m has joined #zope3-dev08:10
*** romanofski has quit IRC08:19
*** jukart has joined #zope3-dev08:35
*** ktwilight has quit IRC08:42
*** ktwilight has joined #zope3-dev08:42
*** zagy has joined #zope3-dev08:45
*** yvl has joined #zope3-dev08:49
*** huajie has quit IRC08:54
*** rocky|away has quit IRC08:57
*** sorin has joined #zope3-dev08:57
*** sorin is now known as sorindregan08:57
*** jodok has joined #zope3-dev08:59
*** Jell-O-Fishi has joined #zope3-dev09:02
*** ktwilight has quit IRC09:20
*** timte has quit IRC09:22
*** zagy_ has joined #zope3-dev09:23
*** zagy has quit IRC09:23
*** schwendinger has joined #zope3-dev09:24
*** alecm has joined #zope3-dev09:25
*** malthe has quit IRC09:31
*** tjs has left #zope3-dev09:33
*** romanofski has joined #zope3-dev09:38
*** stu1 has joined #zope3-dev09:39
*** alecm has quit IRC09:40
*** Jell-O-Fishi has quit IRC09:46
*** schwendinger_ has joined #zope3-dev09:52
romanofskimoin moin09:53
*** schwendinger has quit IRC09:53
*** stub has quit IRC09:56
*** bigkevmcd has joined #zope3-dev10:02
*** bigkevmcd has quit IRC10:11
*** bigkevmcd has joined #zope3-dev10:13
*** MJ has joined #zope3-dev10:20
*** harobed has joined #zope3-dev10:31
*** jodok has quit IRC10:38
*** jodok has joined #zope3-dev10:39
*** yota has joined #zope3-dev10:40
*** ghendi has joined #zope3-dev10:40
*** deo has joined #zope3-dev10:43
*** tarek has joined #zope3-dev10:43
*** MJ has quit IRC10:53
*** schwendinger has joined #zope3-dev10:59
*** schwendinger_ has quit IRC11:16
*** bigkevmcd has quit IRC11:22
*** kleist has joined #zope3-dev11:26
*** bigkevmcd has joined #zope3-dev11:26
*** timte has joined #zope3-dev11:26
*** MJ has joined #zope3-dev11:30
*** goschtl has joined #zope3-dev11:33
*** malthe has joined #zope3-dev11:35
*** malthe has quit IRC11:40
*** kleist is now known as kleist^lurking11:43
*** kleist^lurking is now known as kleist11:43
*** malthe has joined #zope3-dev11:49
*** kleist has quit IRC11:53
*** norro has joined #zope3-dev11:58
*** rocky has joined #zope3-dev12:03
*** philiKON_ has joined #zope3-dev12:05
*** kleist has joined #zope3-dev12:14
*** philiKON has quit IRC12:23
*** goschtl has quit IRC12:24
*** goschtl has joined #zope3-dev12:24
*** MJ is now known as MJ|busy12:37
*** jodok has left #zope3-dev12:37
*** jodok has joined #zope3-dev12:37
*** norro has quit IRC12:42
*** pcardune has joined #zope3-dev13:01
*** norro has joined #zope3-dev13:12
*** ignas has joined #zope3-dev13:19
*** salfield has joined #zope3-dev13:20
*** jfroche has joined #zope3-dev13:36
*** alga has joined #zope3-dev13:54
*** norro has quit IRC14:09
*** salfield has quit IRC14:12
*** salfield has joined #zope3-dev14:16
*** philiKON_ is now known as philiKON14:20
*** projekt01 has joined #zope3-dev14:25
*** Nikhil has joined #Zope3-dev14:25
*** Nikhil is now known as nikhil_n14:27
*** Newfie2007 has joined #zope3-dev14:28
*** tonico has joined #zope3-dev14:32
*** romanofski has quit IRC14:39
*** nikhil_n has quit IRC14:39
*** mgedmin has joined #zope3-dev14:42
*** jkakar has quit IRC14:43
*** jkakar has joined #zope3-dev14:51
*** andrew_m has joined #zope3-dev14:58
*** jkakar has quit IRC15:00
*** sorindregan has quit IRC15:02
*** dobee_ has joined #zope3-dev15:04
*** dobee has quit IRC15:04
*** sorin has joined #zope3-dev15:06
*** sorin is now known as sorindregan15:06
*** niemeyer has joined #zope3-dev15:08
*** grahal has joined #zope3-dev15:08
ccombping -b anybody15:08
*** jkakar has joined #zope3-dev15:08
ccombCould someone make a very simple test ?15:10
ccombJust upload a simple "Image" object at the root of your instance, and tell me how long it takes ?15:11
ccombOn my (quite fast) laptop, it takes 20s for a 1.7MB jpeg15:12
ccombAnd on an older machine, 1.5min for a 1.5MB jpeg !!15:12
ccombWhere is the pb?15:12
mgedminccomb: ICMP ECHO15:13
mgedminerr, I mean ICMP ECHO REPLY, of course15:13
mgedminwhich version of Zope?15:14
ccomb3.3.0 on Debian stable15:14
ccomband 3.3.1 on Debian unstable15:14
ccombsame result15:14
* mgedmin still cleaning dust off his z3 instance15:18
*** BjornT_ has quit IRC15:19
mgedminadding a 1.4 meg jpeg Image to z3 trunk on localhost was essentially instant15:20
*** norro has joined #zope3-dev15:20
mgedmin1.6 GHz Pentium M laptop15:20
mgedminUbuntu Feisty15:20
ccombHow can I investigate this?15:20
d2mccomb: check the DNS functionality first15:21
mgedmincheck with vmstat/gnome-system-monitor whether it's the CPU, or disk I/O, or what that's the bottleneck15:22
d2mccomb: resolving a missing dns server needs 5 seconds when opening or closing a connection15:22
ccombrunzope is 100% cpu15:22
*** dobee has joined #zope3-dev15:24
*** rcrafton has joined #zope3-dev15:24
*** dobee_ has quit IRC15:24
ccombd2m: I'm using local ip addresses, no name15:24
*** jukart has quit IRC15:30
*** ktwilight has joined #zope3-dev15:31
* ccomb rebooting under Dapper just to check15:31
ccombIs there anyone on Debian here ?15:33
dennis_file upload is fine15:34
ccombgood news and bad news at the same time :)15:34
dennis_sorry :)15:34
dennis_(mind you probably not exactly same zope version as you have)15:35
ccombdennis_: Etch? Sid?15:38
*** nikhil_n has joined #Zope3-dev15:43
ccombJust tried in Edgy, and this is broken because of the readline stuff...15:43
*** jukart has joined #zope3-dev15:45
*** jukart has joined #zope3-dev15:46
*** Aswin_s has joined #zope3-dev16:02
*** Aswin_s has quit IRC16:03
*** nikhil_n has quit IRC16:06
timteccomb: are you using 3.3.0?16:06
ccomb3.3.0 and 3.3.116:06
timteI'm not sure, but I think it's fixed in 3.3.116:07
ccombwhat is fixed?16:07
timtereadline problem16:08
ccombI've tried strace on runzope, and it's repeating 5000x this :
Crippsgood morning .......ladies.16:09
ccombthe readline problem causes an error in zope. Here there is no error16:09
mgedminccomb: are you using twisted or zserver?16:10
ccombdunno, default config16:10
*** Aswin_S has joined #Zope3-dev16:14
*** zagy has joined #zope3-dev16:15
*** goschtl has quit IRC16:16
Crippsheh, I couldn't get Zope to work using the default Debian config ... so I just compiled and installed python and zope myself :)16:17
ccombThe only problem I've had is the readline / py2.4.416:19
ccombIt seems the default is twisted, so I'm using twisted. I'll try to create an instance with zserver16:19
*** grahal_ has joined #zope3-dev16:20
*** grahal_ has quit IRC16:21
timteccomb: did you try using 3.3.1 instead?16:22
*** zagy_ has quit IRC16:22
ccombI'm using 3.3.116:22
ccombI've just tried the same on Etch/3.3.0, with zserver16:23
ccomband I get the readline error16:23
timteare you using 2.4.4c2 or some strange version?16:23
ccombI think I've lost much time again because of this thing16:23
ccombI thought it was fixed in unstable. It is reported as such16:24
timtethis bug is in the bug archive so check there16:25
*** Jell-O-Fishi has joined #zope3-dev16:26
*** grahal has quit IRC16:30
ccombOK I've come back to unstable with 3.3.116:31
*** grahal has joined #zope3-dev16:31
ccombNow, an instance created with --zserver is OK, file upload is fast16:31
*** Aswin_S has left #Zope3-dev16:32
*** grahal has quit IRC16:33
ccombbut with the default Twisted server, this is veeery slooww16:36
*** BjornT has joined #zope3-dev16:41
mgedminI though I was using the twisted server16:41
mgedminwhat's in your zope.conf?16:41
mgedminmine has <server> type HTTP ...16:41
ccombthe choice twisted/zserver is in zope.conf ?16:42
mgedminI think that's how you choose between zserver and twisted: by specifying a different server type16:42
mgedminor am I wrong?16:42
ccombI'm choosing from the command line when creating the instance16:42
philiKONit actually has more to do with the runzope or zopectl start script16:42
philiKONthey specify which server is run16:42
projekt01mgedmin, does in not only depend on if you have the twisted package installed?16:42
mgedminoh, right, that16:43
mgedminmy sais16:43
mgedminsays even16:43
mgedmin    from import main16:43
mgedminso I have twisted, and file uploads are fast for me16:43
projekt01btw, I fixed the large fileupload some days ago, it was using StringIO everytime and didn't use temp files for large files. This was crashing Zope3 for files over 500MB.16:45
projekt01probably the new usage of temp files is slower16:45
ccombI could revert back to zserver by default,  but I would prefer to find what the real problem with twisted is16:47
ccombLast month I could not upload more than 40KB, now I can but it's unusable16:49
ccomb(twisted 2.4 → 2.5)16:50
dennis_you can upload through a browser more than 500 MB ?16:51
ccombI'm talking about a single megabyte, not several hundreds :)16:52
projekt01ccomb, what are you doing?16:52
ccombtrying to upload a 1,7MB jpeg image on a fresh instance of 3.3.1 with twisted by default16:53
*** pcardune_ has joined #zope3-dev16:53
ccombwith zserver it's OK.   With twisted it takes 20s on a fast machine16:53
*** pcardune has quit IRC16:54
projekt01ccomb, that's not a problem on my (win) machine, I'm using the trunk form today.16:55
mgedminit's also not a problem on my ubuntu machine, also using the twisted server16:55
dennis_ccomb can you make a wireshark dump or such, see if the data gets sent equally fast, or if there is f.e. a 19.9 second handshake and then 0.1 second transfer16:55
ccombdennis_: I've not used wireshark often, but I'm seeing the following17:00
ccombnothing appears during the 19.9 first seconds, then everything happens during 0.1s17:01
dennis_do you have tcpdump installed?17:01
dennis_(just try to run it without arguments as roo)17:01
*** stu1 is now known as stub17:02
dennis_although could be other things too of course17:02
dennis_try zope 3.4.01a :)17:02
ccombI will end up using 3.4 soon because I need blobs, but I don't want it yet17:03
ccombOK I've captured the traffic with "tcpdump -i lo"17:05
mgedminthe strace bit ccomb pasted was interesting17:05
ccombduring most of the time, nothing happens17:05
ccombin the network17:05
mgedminseems as if twisted is reading the jpeg data one byte at a time, and mucking with thread locks in between17:05
mgedminit might be more interesting if you ran strace with -r to see the relative delays between syscalls17:06
mgedminand with -c to get a summary17:06
mgedminperhaps do it once with twisted, do it once with zserver, then compare the totals17:07
* ccomb trying to get the strace results17:09
*** oferw has joined #zope3-dev17:11
ccombwith twisted :
ccombit tells 0.07s, but it took more than 15s17:15
*** nerdalert has joined #zope3-dev17:17
ccombWith zserver :
*** ghendi has quit IRC17:19
*** sorindregan has quit IRC17:22
*** pcardune_ has quit IRC17:25
*** baijum has quit IRC17:26
*** yvl has quit IRC17:27
*** whit|out has quit IRC17:28
*** whit|out has joined #zope3-dev17:29
*** zagy has quit IRC17:30
*** zagy has joined #zope3-dev17:35
*** pcardune_ has joined #zope3-dev17:42
*** lisppaste6 has quit IRC17:56
*** whit|out is now known as whit17:56
*** alecm has joined #zope3-dev18:00
*** zagy has quit IRC18:00
Crippsdammit ... I remember asking this before, but I can't remember the answer ... how do I delete a 'broken' object from the ZODB ?18:02
*** benji has joined #zope3-dev18:03
Crippshey benji.18:03
*** norro has quit IRC18:03
benjinothing much18:04
*** pcardune_ is now known as pcardune18:05
Crippslucky you ;)18:05
Crippshey paul18:05
*** tarek has quit IRC18:05
*** lisppaste6 has joined #zope3-dev18:10
*** kleist_ has joined #zope3-dev18:11
*** lucielejard has joined #zope3-dev18:13
*** kleist has quit IRC18:18
*** tarek has joined #zope3-dev18:21
*** J1m has joined #zope3-dev18:29
*** stub has quit IRC18:33
*** zagy has joined #zope3-dev18:35
*** jodok has quit IRC18:35
*** ignas has quit IRC18:38
*** meatballhat has joined #zope3-dev18:40
*** whit has quit IRC18:41
*** BjornT has quit IRC18:42
*** BjornT has joined #zope3-dev18:42
*** zagy_ has joined #zope3-dev18:43
*** jukart has quit IRC18:44
*** pcardune has quit IRC18:47
*** pcardune has joined #zope3-dev18:47
*** kleist_ has left #zope3-dev18:48
*** alga has quit IRC18:48
*** reco has joined #zope3-dev18:53
*** hazmat has joined #zope3-dev18:56
*** ChanServ sets mode: +o hazmat18:56
*** whit has joined #zope3-dev18:58
*** MJ|busy is now known as MJ19:00
*** zagy has quit IRC19:01
*** projekt01 has quit IRC19:03
*** jfroche has quit IRC19:07
*** jfroche has joined #zope3-dev19:08
*** jukart has joined #zope3-dev19:09
*** schwendinger has quit IRC19:09
*** oferw has quit IRC19:12
*** jukart has quit IRC19:17
*** dobee has quit IRC19:19
*** b52Centos has joined #zope3-dev19:21
*** b52GM has quit IRC19:28
*** MJ has quit IRC19:33
*** schwendinger has joined #zope3-dev19:43
*** timte has quit IRC19:48
*** pbugni has joined #zope3-dev19:50
*** thruflo has joined #zope3-dev19:55
*** xenru has joined #zope3-dev19:55
*** Newfie2007 has quit IRC19:57
*** RaFromBRC has joined #zope3-dev20:00
*** Newfie2007 has joined #zope3-dev20:02
*** tarek has quit IRC20:03
*** zagy has joined #zope3-dev20:10
*** zagy_ has quit IRC20:10
*** richardkan has joined #zope3-dev20:12
*** xenru has quit IRC20:12
*** jfroche has quit IRC20:17
*** jkakar has quit IRC20:22
*** jkakar has joined #zope3-dev20:22
*** zagy has quit IRC20:37
*** schwendinger has quit IRC20:38
*** jfroche has joined #zope3-dev20:39
*** andrew_m has quit IRC20:54
*** tonico has quit IRC20:58
*** bigkevmcd has quit IRC20:59
*** bigkev has joined #zope3-dev20:59
*** bigkev is now known as bigkevmcd21:00
*** oferw has joined #zope3-dev21:09
*** andrew_m has joined #zope3-dev21:11
*** schwendinger has joined #zope3-dev21:19
Crippscan anyone think of any reason why the configure.zcml of a package that is included is not being read?21:27
CrippsI have a package called ship, and there is a ship-configure.zcml in my zope instance's etc/packge-config directory ... the  ship directory is located in zope/lib/python ... I have a configure.zcml in the ship directory, and I purposely put syntax errors in there to get bin/runzope to complain to me ... but, it doesn't complain.21:29
philiKONwhat does the ship-configure.zcml file say?21:29
Cripps<include package="ship"/>21:30
philiKONthat looks alright21:31
philiKONwhat happens when you do bin/debugzope21:31
Crippsyeah ... looks fine to me too ... which is why I'm stumped :/21:31
philiKONand try to import ship21:31
philiKONare you getting the right ship package in that case?21:31
Crippsthere's only one ship package ... and it appears to do everything without complaining.21:31
philiKONwell, i gotta go, sorry mate21:32
philiKONgood luck21:32
Crippskk. thanks.21:33
*** meatballhat has quit IRC21:35
*** meatballhat has joined #zope3-dev21:35
*** richardkan has left #zope3-dev21:36
*** meatballhat has quit IRC21:39
*** jukart has joined #zope3-dev21:39
dennis_cripps do you have in your shop21:42
*** thruflo has left #zope3-dev21:42
*** pcardune has quit IRC21:43
Crippsdennis_: sure do. it has one commented out line in it too.21:45
*** dobee has joined #zope3-dev21:46
dennis_usually when i have something like that, either i put ship-configure.zcml in /etc/ and not in package-.. , or I wrote .zmcl instead of .zcml21:47
*** alecm has quit IRC21:47
CrippsI'll check that.21:48
dennis_or misspelt "-configure" :)21:48
*** hazmat has quit IRC21:51
Crippswoo-hoo! errors! sweet success!21:52
dennis_now you have to admit what it was21:52
Crippsdennis_: I neglected to delete ship-configure.zcml~ when I deleted ship-configure.zcml awhile back ... which means that it wasn't reading the ship-configure.zcml~21:53
* Cripps sighs21:53
Crippsthanks dennis_21:54
Crippswhew ... well, it's the end of the work day. Time to go home. ciao!21:56
dennis_bye cripps21:56
*** schwendinger has quit IRC21:57
*** malthe has quit IRC21:58
*** salfield has quit IRC22:00
*** schwendinger has joined #zope3-dev22:04
*** jodok has joined #zope3-dev22:04
*** alecm has joined #zope3-dev22:10
*** dobee has quit IRC22:29
*** jfroche has quit IRC22:35
*** harobed has quit IRC22:37
*** malthe_ has joined #zope3-dev22:41
*** afd__ has quit IRC22:42
*** bigkevmcd has quit IRC22:51
*** oferw has quit IRC23:02
*** Newfie2007 has quit IRC23:05
*** jukart has quit IRC23:08
*** Aiste has quit IRC23:17
*** pbugni has quit IRC23:20
*** mgedmin has quit IRC23:25
*** pandres has joined #zope3-dev23:49
*** pandres has left #zope3-dev23:50
*** norro has joined #zope3-dev23:52
*** RaFromBRC is now known as RaFromBRC|lunch23:56
*** oferw has joined #zope3-dev23:56

Generated by 2.15.1 by Marius Gedminas - find it at!