IRC logs of #tryton for Friday, 2012-05-18

chat.freenode.net #tryton log beginning Fri May 18 00:00:02 CEST 2012
2012-05-18 00:04 <grasbauer> ACTION why renaming payment_term to customer_payment_term?
2012-05-18 00:56 <cedk> grasbauer: the behavior of numerical has changed but it was always required (in the today meaning)
2012-05-18 00:56 <cedk> grasbauer: it was rename because it is a better name
2012-05-18 00:57 <grasbauer> cedk: ok - i missed the announce for it - so one of my modules needs changes
2012-05-18 00:57 <cedk> grasbauer: for your account_revenue issue, it is probably that you don't set the company in the context
2012-05-18 00:57 <grasbauer> cedk: yes - I found it.
2012-05-18 00:59 <grasbauer> cedk: but I dont know, if always a list_price is required . there are goods, which are only consumed in the company and never sold
2012-05-18 00:59 <cedk> grasbauer: put 0
2012-05-18 01:00 <grasbauer> cedk: on click more for our customers ;)
2012-05-18 01:05 <cedk> grasbauer: no, it is one more thing that he will not forget
2012-05-18 01:07 <grasbauer> cedk: by the way - I think we should rethink the way for code reviews. Most of the time I don't know the internals of the touched modul - but there are implementations for the daily work of the implementers. reading code without having an idea what is the claim of the change is hard.
2012-05-18 01:08 <grasbauer> cedk: and thats why I dont review - but I know taht more people should review new ideas
2012-05-18 02:13 -!- grasbauer(~jan@business-088-079-110-234.static.arcor-ip.net) has left #tryton
2012-05-18 10:11 <sharoonthomas> cedk: ping
2012-05-18 10:11 <sharoonthomas> cedk: what is the status of the expense module ? http://codereview.tryton.org/178006/ is it final ? are we planning to have it on triton core mdoules
2012-05-18 10:16 <grasbauer> sharoonthomas: I saw you had the problem with jsonrpc.py and shutdown_request(handler.request) - what to do? I tried finish_request and close_request - but it results in strange behavior
2012-05-18 10:16 <sharoonthomas> grasbauer: don't remember the issue, any bug number ?
2012-05-18 10:17 <grasbauer> sharoonthomas: http://www.tryton.org/~irclog/2012-04-27.log.html - no issue filed.
2012-05-18 10:18 <sharoonthomas> grasbauer: I don't use SimpleThreadedJSONRPCServer anymore
2012-05-18 10:19 <sharoonthomas> grasbauer: probably why I never saw the issue again
2012-05-18 10:19 <grasbauer> sharoonthomas: ok
2012-05-18 10:21 <grasbauer> sharoonthomas: what you are using instead and how?
2012-05-18 11:31 <cedk> sharoonthomas: no
2012-05-18 11:59 <cedk> sharoonthomas: as I put in the codereview the design became to complex to be good
2012-05-18 13:20 <grasbauer> anybody tryton 2.4 open and timesheet installed? I get an error on opening timesheet lines ...
2012-05-18 14:09 <sharoonthomas> grasbauer: i use the wsgi handler
2012-05-18 14:15 <grasbauer> sharoonthomas: I dont know this handler
2012-05-18 14:16 <sharoonthomas> http://codereview.tryton.org/92001/patch/8001/9004
2012-05-18 14:16 <grasbauer> sharoonthomas: thanks a lot - will give it a try
2012-05-18 15:06 <sisalp> hi, I need to install proteus 2.2 with pip. I try pip install proteus=2.2 but it doesn't agree. What is the exact syntaxe ?
2012-05-18 15:07 <cedk> sisalp: proteus==2.2
2012-05-18 15:07 <sisalp> ok;-)
2012-05-18 15:08 <cedk> sisalp: it is Python syntax
2012-05-18 15:42 <sisalp> installed proteus 2.4, installed pip install trytond, 2.4, then try a first time
2012-05-18 15:42 <sisalp> config = config.set_trytond('test_%' % int(time.time()))
2012-05-18 15:43 <sisalp> which is the best way to get "NameError: name 'config' is not defined", think I'm missing a piece
2012-05-18 15:57 <sisalp> Checked the demo example, it doesn't strictly follow the proteus documentation
2012-05-18 15:58 <sisalp> I guess the truth is in the example if it works for creating tryton demo
2012-05-18 16:22 <cedk> sisalp: I guess you did not import proteus.config
2012-05-18 16:29 <sisalp> cedk: true, progressing slowly, imported as pconfig in the example, I guess because of a name conflict
2012-05-18 16:30 <sisalp> now investigating Exception: product_kit unmet dependencies: ['product']
2012-05-18 16:31 <sisalp> just did this : config = set_config(toto, tata) for that . Does it mean proteus is pre-populating the databes with modules ?
2012-05-18 16:32 <cedk> sisalp: no
2012-05-18 16:42 <cedk> sisalp: I run the doctest in README, there is just a small issue with it
2012-05-18 16:43 <sisalp> ok will check it
2012-05-18 16:43 <sisalp> thank you
2012-05-18 16:44 <cedk> sisalp: pushed, it will be backported to 2.4 in 1 week
2012-05-18 16:58 <sharoonthomas> cedk: again about the expense module
2012-05-18 16:59 <sharoonthomas> cedk: do you have some suggestions for how it should go or do you want to abandon ?
2012-05-18 17:00 <cedk> sharoonthomas: we have to keep it for customer but I don't want it in the base
2012-05-18 17:10 <sharoonthomas> cedk: is there a 2.4 version of expense module ?
2012-05-18 17:17 <cedk> sharoonthomas: the codereview is on 2.4
2012-05-18 17:18 <sharoonthomas> cedk: __tryton__.py says 2.2.0
2012-05-18 17:18 <sharoonthomas> cedk: i am testing on 24 now
2012-05-18 17:18 <sharoonthomas> cedk: and the code seems 2.4 style
2012-05-18 17:19 <cedk> sharoonthomas: as I already said I no more interrested in this module
2012-05-18 17:19 <sharoonthomas> cedk: so you wouldn't mind if I push this to a repository and maintain it as long as I can ?
2012-05-18 17:20 <cedk> sharoonthomas: don'T care but one day there will be a good module
2012-05-18 17:47 -!- pjstevns(~pjstevns@nfg3.nfgs.net) has left #tryton
2012-05-18 21:48 <grasbauer> cedk: ping
2012-05-18 21:52 <cedk> grasbauer: pong
2012-05-18 21:55 <grasbauer> cedk: I was playing around with sharoons and your wsgi protocols. I stuck in an error - sometimes the wsgi.input is gzip compressed - do you know what is causing the gzip-compression?
2012-05-18 21:56 <cedk> grasbauer: the size
2012-05-18 21:57 <grasbauer> cedk: ah - ok - simply if the body is bigger than XXX it is compressed.
2012-05-18 21:58 <cedk> grasbauer: yes
2012-05-18 21:59 <cedk> grasbauer: but you can send an header to prevent gzip compression
2012-05-18 21:59 <grasbauer> cedk: but in http://codereview.tryton.org/92001/patch/8001/9004 i dont see handling of gzip-compression
2012-05-18 22:01 <cedk> grasbauer: I guess it is your wsgi server
2012-05-18 22:02 <grasbauer> cedk: wsgiref.simple_server
2012-05-18 22:05 <grasbauer> cedk: I have implemented the gzip handling - but I was confused, why yours and sharoons script don't handle this - could be because my trees are so overloaded :>
2012-05-18 22:06 <cedk> grasbauer: I don't use the wsgi yet because it is not finished
2012-05-18 22:07 <grasbauer> cedk: I use it only because I don't have a solution with the reload in 2.4 until now
2012-05-18 22:09 <grasbauer> cedk: only while I'm converting our modules to 2.4
2012-05-18 22:09 <grasbauer> cedk: I don't know where the reload is handled - but in my case it doasn't work
2012-05-18 22:11 <cedk> grasbauer: if you don't fill an issue, it will never be fixed
2012-05-18 22:11 <grasbauer> cedk: I'm trying to resolve it - but I can fill an issue
2012-05-18 22:12 <cedk> grasbauer: always fill an issue and if you work on it assign it to you
2012-05-18 22:19 <grasbauer> cedk: I need help - because no one of my solutions works :'(
2012-05-18 22:28 <cedk> grasbauer: which version of Python?
2012-05-18 22:30 <cedk> grasbauer: could you also put the traceback
2012-05-18 22:31 <grasbauer> cedk: 2.6.5 - for traceback I need to reverse my changes
2012-05-18 22:34 <grasbauer> cedk: done
2012-05-18 22:35 <grasbauer> cedk: I tried close_request and finish_request - the server starts, but is not responding
2012-05-18 23:14 <grasbauer> cedk: YES!
2012-05-18 23:19 <grasbauer> cedk: because you did the patch so fast I don't hate you for rewriting all wizards in our modules ;) - but the new design is better - only hard job to rewrite everyhing

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!