chat.freenode.net #tryton log beginning Sat Dec 27 00:00:01 CET 2008 | ||
2008-12-27 01:59 -!- ikks(n=igor@190.12.153.202) has joined #tryton | ||
2008-12-27 05:20 -!- yangoon(n=mathiasb@p549F69EA.dip.t-dialin.net) has joined #tryton | ||
2008-12-27 08:56 -!- vengfulsquirrel(n=lily@wireless-216-170-122-150.digitalputty.com) has joined #tryton | ||
2008-12-27 09:57 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton | ||
2008-12-27 10:28 -!- cedric_b(n=cedric@cam44-3-82-235-75-221.fbx.proxad.net) has joined #tryton | ||
2008-12-27 10:40 -!- carlos(n=carlos@89.7.24.44) has joined #tryton | ||
2008-12-27 10:41 <cristi_an> any of you using eclipse with\ tryton ? | ||
2008-12-27 10:45 -!- cedk(n=ced@ced.homedns.org) has joined #tryton | ||
2008-12-27 10:58 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton | ||
2008-12-27 11:01 <cristi_an> Timitos: i have a question for u since i know you use eclipse | ||
2008-12-27 11:02 <Timitos> cristi_an: yes | ||
2008-12-27 11:02 <cristi_an> Timitos: i did not found a way to import the trytond as a project in eclipse and to have the code completion working | ||
2008-12-27 11:02 <cristi_an> it works only for the built in functions | ||
2008-12-27 11:03 <cristi_an> if i try like using fields.method | ||
2008-12-27 11:03 <cristi_an> it just don't popup any method | ||
2008-12-27 11:03 <cristi_an> this is from module fields | ||
2008-12-27 11:05 <Timitos> cristi_an: i do not use these functions. sorry. | ||
2008-12-27 11:05 <cristi_an> like code completions ? | ||
2008-12-27 11:06 <Timitos> yes i do not use it | ||
2008-12-27 11:07 <cristi_an> i see | ||
2008-12-27 11:07 <cristi_an> thx anyway | ||
2008-12-27 11:08 <cristi_an> no one here use code completion with their editor ? | ||
2008-12-27 11:18 <cristi_an> there is package osv with filed module,orm etc ,then there is package modules with the next packages account,party etc | ||
2008-12-27 11:18 <cristi_an> is this correct ? | ||
2008-12-27 11:20 <cristi_an> modules from package party for example use modules from package osv | ||
2008-12-27 11:21 <cedk> cristi_an: I think that code completion will never work because the systme use dynamic instance | ||
2008-12-27 11:21 <cristi_an> dynamic instance ? | ||
2008-12-27 11:22 <cristi_an> can i read somewhere about it | ||
2008-12-27 11:22 <cristi_an> should i google it | ||
2008-12-27 11:22 <cristi_an> ? | ||
2008-12-27 11:22 <cedk> I don't know it is in OSV | ||
2008-12-27 11:23 <cristi_an> you mean like reflection in java ? | ||
2008-12-27 11:23 <cristi_an> instantiate things based on the name of the class or calling methods based on the names an parameters(withou calling it directly ?) | ||
2008-12-27 11:24 <cedk> don't know | ||
2008-12-27 11:25 <cristi_an> cedk: ok then ...my next question is in your editor when you used in party module the fields when you write "fields." nothing appear due to this dynamic instance stuff ? | ||
2008-12-27 11:26 <cristi_an> like fields.ManyToOne or so | ||
2008-12-27 11:26 <cedk> cristi_an: fields. somthing can work | ||
2008-12-27 11:26 <cedk> but I use vim, and I don't like this kind of completion | ||
2008-12-27 11:26 <cristi_an> oki.... | ||
2008-12-27 11:51 <cristi_an> with hg there is something like in cvs (override and update) just to clear my code modifications ? | ||
2008-12-27 11:59 -!- ikks(n=igor@190.12.153.202) has joined #tryton | ||
2008-12-27 12:07 -!- ikks(n=igor@190.12.153.202) has joined #tryton | ||
2008-12-27 12:09 <ikks> ping cedk | ||
2008-12-27 12:09 <ikks> I'm not able to clone the ssh repo :( | ||
2008-12-27 12:09 <ikks> http://dpaste.com/102805/ | ||
2008-12-27 12:09 <yangoon> ikks: what did you do? | ||
2008-12-27 12:09 <ikks> I succesfully have used my dsa key to connect to other hosts... | ||
2008-12-27 12:10 <ikks> But not to this one. | ||
2008-12-27 12:10 <ikks> I'll paste a complete example | ||
2008-12-27 12:10 <yangoon> ikks: I think you can use: hg clone ssh://ikks@hg.tryton.org/tryton | ||
2008-12-27 12:11 <cedk> ikks: it is ssh://ikks@hg.tryton.org//home/hg/tryton | ||
2008-12-27 12:12 <cedk> cristi_an: hg revert | ||
2008-12-27 12:12 <ikks> the same result... | ||
2008-12-27 12:12 <cristi_an> cedk: thx | ||
2008-12-27 12:12 <cristi_an> i see everywhere in the model states=STATES repeated over and over where states = {'readonly': "active == False"} | ||
2008-12-27 12:13 <cristi_an> since i just readed some tutorial i ask why is not defined a state = none where is used | ||
2008-12-27 12:13 <ikks> http://paste.pocoo.org/show/96888/ | ||
2008-12-27 12:13 <cedk> ikks: there is no error message in you copy/paste | ||
2008-12-27 12:13 <cristi_an> and there id none then states = {'readonly': "active == False"} | ||
2008-12-27 12:13 <ikks> On this new one I'm showing | ||
2008-12-27 12:13 <ikks> I can enter to another machine | ||
2008-12-27 12:13 <ikks> And that I have my keys | ||
2008-12-27 12:13 <ikks> But non of the three urls worked for me. | ||
2008-12-27 12:13 <ikks> I generated my dsa key with | ||
2008-12-27 12:13 <ikks> ssh-key -t dsa | ||
2008-12-27 12:14 <ikks> would it be an rsa better? | ||
2008-12-27 12:14 <cedk> ikks: there is no connection log on the server | ||
2008-12-27 12:14 <ikks> just to confirm | ||
2008-12-27 12:14 <ikks> ssh-dss AAAAB3NzaC1kc3MAAACBAMqNfOEHydbRYWXS7vPekvz77qRNUVenBqWKu9i7Mv12GMHMFkfKlDLtcT0NnlGO2cWJtRb0llNa/uZY/KF3aOzTjNO8FZ5vAM9ywKDWTqfxSLmBJXHOc/vzJDAQWcVbOqHO2B94UUi1DVl1as7WTqFHncL1y6IxHfIraEHjw0VNAAAAFQDlU554/lxBnnydMKKygwENwqlCOwAAAIAz/lo4uCoKMbxiLHmO9U8kzMDIqhvf+fZqd+LBJ5Xc2+MKslJ6+vW6gnHpjYok0snFLPBlqJp1m7Bl4VkSj0JymnzFERvCMFIESmPBTSu0wNmoCU370U5YKPZBYiMhLjen0PpadO3wMrZobdkqN8qFgZeP/2le9r3aECpRtuzNeAAAAIEAjtMDiF3ECbrRy2vrdUQ84XK3b3DI7V+fM95Zl2Yle1ItFSt | ||
2008-12-27 12:14 <ikks> iiC7IwaCTAd5G+ETfT902aFmEGlaVWvsSTFTVxYi+6nNu4hJe388IkGJ5thsFz9xbOFTiBptnvJKWYQN5pAOVBcpmdchSMyDx39/ybSCzYz2et1cSACP3X684nTA= igor@casa | ||
2008-12-27 12:14 <ikks> This is my key | ||
2008-12-27 12:15 <ikks> http://paste.pocoo.org/show/96889/ | ||
2008-12-27 12:17 <cristi_an> cedk in fields classes i see everywhere states=STATES just wonder why is not defined like size (with none) and when is none to take this everywhere used values {'readonly': "active == False"} | ||
2008-12-27 12:17 <cristi_an> it is just a pattern that repeats in serveral places ( states=STATES) | ||
2008-12-27 12:18 <cristi_an> then the code in models will be cleaner ? | ||
2008-12-27 12:18 <cristi_an> or is not possible ? | ||
2008-12-27 12:18 <cedk> cristi_an: there is not always a state field | ||
2008-12-27 12:19 <cristi_an> then it is ok... | ||
2008-12-27 12:19 <cristi_an> from what i saw ...everywhere was used... | ||
2008-12-27 12:19 <cristi_an> but you are right...for sure | ||
2008-12-27 12:19 <yangoon> ikks: if there is no connection log, it doesn' seem to be caused by the key | ||
2008-12-27 12:20 <yangoon> ikks: what happens if you try with your rsa key? | ||
2008-12-27 12:20 <cristi_an> cedk: auestions like this you 'll receive from me now that i reached a point where i can read the code...:) (a little better) | ||
2008-12-27 12:20 <ikks> My rsa public is not on the server | ||
2008-12-27 12:21 <ikks> I changed my ssh loglevel to DEBUG3 | ||
2008-12-27 12:21 <yangoon> ikks: you could try anyway with rsa to see what happens | ||
2008-12-27 12:22 <ikks> I have activated both my dsa and rsa keys. | ||
2008-12-27 12:22 <ikks> debug3 indeed gives a lot of messages :) | ||
2008-12-27 12:22 <yangoon> ikks: perhaps you get then an error message from the server | ||
2008-12-27 12:22 <ikks> http://paste.pocoo.org/show/96890/ | ||
2008-12-27 12:25 <cristi_an> Timitos: look on this http://www.vectrace.com/mercurialeclipse/ | ||
2008-12-27 12:25 <cristi_an> Timitos:BTW i managed to make eclipse have code completion with tryton | ||
2008-12-27 12:26 <yangoon> ikks: How old are your keys? | ||
2008-12-27 12:27 <yangoon> i | ||
2008-12-27 12:27 <ikks> dsa are rather old, years... | ||
2008-12-27 12:28 <ikks> the public pair I sent is really, really old. | ||
2008-12-27 12:28 <ikks> but the rsa, should have a month or so. | ||
2008-12-27 12:29 <ikks> http://paste.pocoo.org/show/96892/ | ||
2008-12-27 12:29 <ikks> This is my rsa recent key | ||
2008-12-27 12:30 <yangoon> ikks: for me it seems, that it tries correctly to connect, but it cannot read the private dsa key | ||
2008-12-27 12:31 <ikks> http://paste.pocoo.org/show/96893/ | ||
2008-12-27 12:31 <ikks> Those are my ssh file perms | ||
2008-12-27 12:31 <cedk> ikks: do you put the right passphrase? | ||
2008-12-27 12:32 <ikks> cedk yes | ||
2008-12-27 12:32 <ikks> I just auth with another machine with the same key | ||
2008-12-27 12:32 <ikks> and the session remains with the key | ||
2008-12-27 12:33 <yangoon> ikks: you can specify the key you want connect with hg in .hgrc like this: ssh=ssh -i /home/igor.../.ssh/id_rsa_tryton | ||
2008-12-27 12:33 <yangoon> ikks: in section [ui] | ||
2008-12-27 12:34 <yangoon> ikks: I would recommend to generate a new separate key and to give the new public key to cedk | ||
2008-12-27 12:34 <ikks> yangoon, rsa or dsa would be better? | ||
2008-12-27 12:34 <yangoon> ikks: for me it works with rsa, and I prefer it anyway | ||
2008-12-27 12:35 <ikks> I'm using hg1.0 | ||
2008-12-27 12:35 <ikks> is 1.1 running on the server? | ||
2008-12-27 12:36 <yangoon> ikks: example: ssh-keygen -t rsa -f /home/igor/.ssh/id_rsa_tryton | ||
2008-12-27 12:36 <cedk> ikks: it is version 1.0.2 | ||
2008-12-27 12:38 <ikks> http://paste.pocoo.org/show/96895/ | ||
2008-12-27 12:39 <ikks> My fresh public rsa key | ||
2008-12-27 12:39 <cedk> ikks: applied | ||
2008-12-27 12:40 <ikks> cedk, yangoon, just perfect, thanks a lot. | ||
2008-12-27 12:40 <ikks> Now I have three keys, one special for tryton trans | ||
2008-12-27 12:41 <ikks> I will change my old keys on servers I have access to. | ||
2008-12-27 13:01 -!- Timito1(n=Timitos@88.217.184.172) has joined #tryton | ||
2008-12-27 13:03 <ikks> I succesfully cloned tryton and trytond, but for modules | ||
2008-12-27 13:05 <ikks> ok, I understood. | ||
2008-12-27 13:05 <ikks> hg clone ssh://ikks@hg.tryton.org//home/hg/modules/account | ||
2008-12-27 13:05 <ikks> Explicitely clone each module, is it? | ||
2008-12-27 13:20 <cedk> ikks: you can edit the .hgrc of your old repo | ||
2008-12-27 13:20 <cedk> ikks: or modify the dev script | ||
2008-12-27 13:21 <ikks> cedk thanks for the tip | ||
2008-12-27 13:23 <cedk> ikks: by the way did you talk with ovnicraft for the spanish translation? | ||
2008-12-27 13:24 <ikks> still haven't talked. | ||
2008-12-27 13:25 <ikks> But I guess better is to review first what others translate before pushing | ||
2008-12-27 13:25 <cedk> ikks: see with him if you will both push or one will collect all and push | ||
2008-12-27 13:25 <ikks> I'm planning to collect on intuxication, review and push | ||
2008-12-27 13:26 <ikks> In fact, I have given permissions some time ago on intuxication | ||
2008-12-27 13:26 <cristi_an> cedk only if you have time (do we use twisted or the other solution described by that guy) http://paste.pocoo.org/show/96896/ | ||
2008-12-27 13:28 <ikks> cristi_an, the approximation that cedk has offered looks better | ||
2008-12-27 13:29 <cedk> cristi_an: no | ||
2008-12-27 13:29 <ikks> the javascript framework looks really promising, plus you'll make your users use a decent browser | ||
2008-12-27 13:31 <cristi_an> cedk: we do not have any threads in client right ? | ||
2008-12-27 13:33 <cedk> cristi_an: we had thread, and I don't agree with the comment | ||
2008-12-27 13:33 <cedk> cristi_an: thread are made for this | ||
2008-12-27 13:35 <cristi_an> in java we used it a lot without any drawback when needed....that is why i ask to have a comparsion. | ||
2008-12-27 13:36 <cristi_an> a lot of guys from the python irc just say their opinion | ||
2008-12-27 13:36 <cedk> cristi_an: we just use thread to display the little popup when responce from server take too long | ||
2008-12-27 13:36 <cristi_an> it does not mean they are right ,that is why i asked him for some docs proving what he said... | ||
2008-12-27 13:37 <cedk> it is a question of taste | ||
2008-12-27 13:37 <cristi_an> indeed | ||
2008-12-27 13:37 <cristi_an> back to code reading thx :) | ||
2008-12-27 14:44 -!- schmidtma(n=manuel@94.219.56.37) has joined #tryton | ||
2008-12-27 15:38 -!- ikks(n=igor@201.245.45.194) has joined #tryton | ||
2008-12-27 18:20 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2008-12-27 18:35 <CIA-10> tryton: Timitos roundup * #702/domain validation on record creation should be improved: [new] i found this issue when creating a product. you should have account_product installed. 1. create a new product 2. on accounting tab of prod ... | ||
2008-12-27 19:09 -!- ikks(n=igor@190.12.153.202) has joined #tryton | ||
2008-12-27 19:53 <cristi_an> cedk: emacs has similarities with vi ? | ||
2008-12-27 19:54 <cristi_an> i would like to use emacs...since want to try new things (compared to eclipse) | ||
2008-12-27 20:06 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton | ||
2008-12-27 20:26 -!- ikks(n=igor@190.12.153.202) has joined #tryton | ||
2008-12-27 23:37 -!- yangoon1(n=mathiasb@p549F69EA.dip.t-dialin.net) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!