08:23 <kujiu> bonjour
08:23 <kujiu> bonjour
09:42 <gawel> matin
09:53 <nightlybuild> mornin'
09:56 <nightlybuild> Question du matin ? Est-ce l'un d'entre vous a pu récupérer sa/ses copie(s) offerte(s) par Python Mag (en dehors de celle d'octobre 2007) ?
09:57 <david`bgk> non :(
10:05 <gawel> pas mieux
10:06 <nightlybuild> ça me rassure, quelque part. :)
15:48 <jpcw> matin café thé
15:48 <gawel> matin clémentine
15:49 <carxwol> chocolat
16:39 <yotaff> gawel: j'en bouffe 10 par jours en ce moment
16:58 <carxwol> c'est plutôt inquiétant
18:16 <gawel> j'ai pécho un kil
18:17 <yotaff> gawel: t'as deja profiler des apps zope3?
18:18 <gawel> non, j'ai vu ta question
18:18 <gawel> y a un repoze.profiletruc
18:18 <gawel> tu doit pouvoir use ca
18:19 <gawel> http://svn.repoze.org/repoze.profile/trunk/
18:19 <gawel> suffit de le coller dans la stack wsgi
18:19 <yotaff> wai je viens de matter
18:19 <gawel> tu'utilise zopeproject ?
18:20 <yotaff> bon, va falloir *vraiment me mettre à wsgi
18:20 <yotaff> euh, je sais plus
18:20 <gawel> tu tu use zopeproject tu est déjà en wsgi
18:20 <gawel> si tu*
18:20 <gawel> sinon c'est easy
18:21 <gawel> suffit d'initialiser zope.wsgi.WSGItruc('zope.conf')
18:21 <gawel> et rulez
18:32 <gawel> yotaff: pour pycon tu veux un wiki ou un shpinx ça te va ?
18:33 <gawel> (notez la typo)
18:33 <yotaff> mets un shpinx
18:33 <yotaff> je vais demander les sessions par mail
18:33 <yotaff> et je rajouterais à la main
18:34 <gawel> on vas coller ca dans un mercurial avec un auto update de la docs
18:34 <gawel> comme ca tu puchera en ssh et on en parle plus
18:41 <yotaff> waip, c'est ce que j'ai fait ici
18:41 <yotaff> c'est bueno
18:41 <gawel> je suis en train de faire ca
18:43 <yotaff> gawel: si je mets un pipeline:main dans le deploy.ini, j'ai plus besoin de main ?
18:43 <yotaff> enfin server:main
18:43 <gawel> si
18:44 <gawel> mais plus de app:main
18:46 <yotaff> et tu mets ton app ou ? dans le pipeline ?
18:46 <gawel> pipeline devient ton app, ouais
18:47 <yotaff> http://svn.repoze.org/repoze.profile/trunk/README.txt
18:47 <gawel> http://pypi.python.org/pypi/iw.thumbs#paste-factory
18:47 <yotaff> je comprends pas trop leur conf
18:47 <gawel> t'as un exemple un peu complet
18:47 <yotaff> ils foutent myapp dans le pipeline mais sans section associée
18:47 <gawel> ouais elle est dans les "..." :)
18:48 <gawel> tu doit pouvoir faire: pipeline = profile egg:tonappzope
18:49 <gawel> et rajoute le debug de zope si tu le veux
18:55 <yotaff> bon ca marche
18:55 <yotaff> cool
18:56 <yotaff> c'est super basique comme stats
18:56 <yotaff> 5495 4.346 0.001 4.537 0.001 {built-in method sub}
18:56 <yotaff> hum
18:56 <gawel> lol
19:00 <yotaff> mais bon, on sait ce que c'est :)
19:00 <yotaff> le truc fait une somme de tous les appels
19:01 <gawel> yes
19:01 <gawel> tu sais pas trop d'ou ca vient quoi
19:08 <yotaff> faudrait que je teste un truc ou tu peux profiler par page
19:23 <gawel> https://hg.afpy.org/wsgi.pycon.fr/
19:23 <gawel> tu mets ton bousin dans sphinx/
19:29 <yotaff> ok
19:30 <yotaff> bon le pyprof2calltree voit pas grand chose
19:30 <yotaff> il voit le lancement et le détach du process
19:30 <yotaff> mais pas ce qui se passe dans zope3
19:30 <gawel> ah normal
19:31 <gawel> faut suivre le process paste
19:31 <gawel> lance le avec paster serve ton.ini
19:34 <yotaff> la faut que tu me dises comment faire :p
19:34 <yotaff> on je sors la doc wsgi
19:35 <yotaff> parce que son truc la c'est pas du wsgi
19:35 <yotaff> juste un script qui prend en para ce que tu veux profiler
19:37 <gawel> bah ouais
19:37 <gawel> py2truc paster serve deploy.ini
19:39 <yotaff> paster ou paste ?
19:40 <gawel> paster
19:40 <gawel> ./bin/paster même
19:41 <gawel> si t'as pas de bin/paster tu le rajoute dans buildout.cfg dans un truc zc.recipe.egg
19:41 <gawel> tu rajoute PasteScript*
19:41 <yotaff> pkg_resources.DistributionNotFound: PasteScript
19:41 <yotaff> bizarre
19:42 <yotaff> j'ai bien PasteScript
19:42 <gawel> hm
19:42 <gawel> tu l'as pas ?
19:42 <yotaff> ah
19:42 <yotaff> j'ai l'impression que c'est le python du systeme
19:42 <yotaff> donc il a rien
19:42 <gawel> bah ouais
19:42 <yotaff> faut que je lance avec le python dui buildout
19:42 <gawel> faut bin/paster
19:43 <gawel> c'est ce que fait project-ctl normalement
19:43 <yotaff> AssertionError: Multiple distributions found for package sact.nevrax.app; z3c.autoinclude refuses to guess.
19:43 <yotaff> rha
19:43 <yotaff> "essayes encore 1 fois" :)
19:43 <gawel> -ctl c'est juste un zdeamon qui controle le process paste
19:44 <gawel> ah la je saurais pas trop te dire
19:46 <yotaff> bizarre
19:46 <yotaff> je suis dans le composant, donc tout pointe sur le rep
19:46 <yotaff> y'a donc qu'une version
20:03 <yotaff> gawel: pas folichon le résultat
20:04 <yotaff> j'ai pas mal de wsgi, du z.component & z.interface
20:04 <yotaff> et pratiquement rien de mes composants
20:04 <gawel> lol
20:04 <yotaff> ah
20:04 <yotaff> j'ai 7,980 functions skipped
20:04 <gawel> bah voila :)
20:05 <yotaff> ah non ca doit etre setuptools
20:07 <yotaff> wai bon, en fait je vois rien de mes composants
20:07 <yotaff> dommage :/