IRC logs of #tryton for Tuesday, 2013-07-02

chat.freenode.net #tryton log beginning Tue Jul 2 00:00:01 CEST 2013
2013-07-02 00:06 <plantian> ibeardslee: i don't think so, just tryton and tryton-dev, why?
2013-07-02 00:13 <ibeardslee> "If someone continue to top-post, I will take my moderator right and put his email address under moderation and only correct email will be accepted."
2013-07-02 00:13 <ibeardslee> ^^ I see a comment like that and I'm not inspired to take part in discussion
2013-07-02 00:15 <ibeardslee> that's more about someone on a power trip, than actively being part of a community group
2013-07-02 00:30 <cedk> ibeardslee: netiquette is about respect
2013-07-02 00:40 <ibeardslee> absolutely, and guidelines not rules that get people on power trips
2013-07-02 00:41 <cedk> ibeardslee: such enforcement will not end so get use to it
2013-07-02 00:42 <ibeardslee> heh .. oh well an exclusive community rather than an inclusive one
2013-07-02 00:43 <cedk> ibeardslee: we don't accept people that doesn't follow simple rules that helps the communication with others
2013-07-02 00:44 <cedk> ibeardslee: just like we don't accept bad code
2013-07-02 00:45 <ibeardslee> well bad code I can understand not accepting
2013-07-02 00:45 <cedk> ibeardslee: code or email, it is the same: it is a way to express ideas
2013-07-02 00:47 <ibeardslee> not exactly the same, but yes for expressing ideas
2013-07-02 00:48 <cedk> ibeardslee: so there are rules for one as for the other
2013-07-02 00:48 <ibeardslee> I think the discussion is over rules vs guidelines
2013-07-02 00:49 <ibeardslee> anyway .. I'll just sit back and follow Tryton for now. If OpenERP pisses me/us off enough that we need to revisit .. how the community behaves is one of the things we consider with open source projects.
2013-07-02 07:09 <javivf> morning
2013-07-02 08:35 <WUD> How do i convert my dot report to png ?
2013-07-02 08:35 <WUD> odt*
2013-07-02 08:46 <WUD> how Do i convert my dot report to png?
2013-07-02 08:47 <cedk> WUD: from which format?
2013-07-02 08:48 <WUD> ODT
2013-07-02 08:48 <cedk> WUD: not possible
2013-07-02 08:48 <WUD> I set it up in the Reports Configuration, extension as png
2013-07-02 08:48 <WUD> and when I try. this is the stack trace
2013-07-02 08:48 <WUD> Alloy.Globals.customerIsGuest = 0;
2013-07-02 08:49 <WUD> Traceback (most recent call last):
2013-07-02 08:49 <WUD> File "/trytond/protocols/jsonrpc.py", line 124, in _marshaled_dispatch
2013-07-02 08:49 <WUD> response['result'] = dispatch_method(method, params)
2013-07-02 08:49 <WUD> File "/trytond/protocols/jsonrpc.py", line 157, in _dispatch
2013-07-02 08:49 <WUD> res = dispatch(*args)
2013-07-02 08:49 <WUD> File "/trytond/protocols/dispatcher.py", line 154, in dispatch
2013-07-02 08:49 <WUD> result = rpc.result(meth(*args, **kwargs))
2013-07-02 08:49 <WUD> File "/trytond/report/report.py", line 131, in execute
2013-07-02 08:49 <WUD> type, data = cls.parse(action_report, records, data, {})
2013-07-02 08:49 <WUD> File "/trytond/modules/pos/sale.py", line 344, in parse
2013-07-02 08:49 <WUD> report, objects, data, localcontext
2013-07-02 08:49 <WUD> File "/trytond/report/report.py", line 287, in parse
2013-07-02 08:49 <WUD> data = cls.unoconv(data, report.template_extension, output_format)
2013-07-02 08:49 <WUD> File "/trytond/report/report.py", line 304, in unoconv
2013-07-02 08:49 <WUD> proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
2013-07-02 08:49 <WUD> File "/subprocess.py", line 679, in __init__
2013-07-02 08:49 <WUD> errread, errwrite)
2013-07-02 08:49 <WUD> File "/subprocess.py", line 1228, in _execute_child
2013-07-02 08:49 <WUD> raise child_exception
2013-07-02 08:49 <WUD> OSError: [Errno 2] No such file or directory
2013-07-02 08:49 <WUD> sorry
2013-07-02 08:49 <WUD> http://pastebin.com/Bz7nW5g9
2013-07-02 08:50 <WUD> can I convert it to a transitory format. like PDF and from there get the PNG
2013-07-02 08:50 <cedk> WUD: please don't copy/paste on channel
2013-07-02 08:50 <WUD> Sorry
2013-07-02 08:51 <cedk> WUD: oops yes png is allowed looked at the wrong file
2013-07-02 08:51 <cedk> WUD: I guess you don't have installed unoconv
2013-07-02 08:51 <WUD> @cedk no, I don't
2013-07-02 08:51 <WUD> cedk: pip install unoconv?
2013-07-02 09:01 <cedk> WUD: why not
2013-07-02 09:02 <WUD> cedk: i don't think there's a pip package, if i install unoconv, start the listener, is it just going to work?
2013-07-02 09:03 <cedk> WUD: trytond will start it
2013-07-02 09:07 <WUD> cedk: does odt to pdf also need unoconv?
2013-07-02 09:07 <cedk> WUD: yes
2013-07-02 09:07 <WUD> I'm on a mac and I supposedly need to have libreoffice installed also
2013-07-02 09:07 <cedk> WUD: yes
2013-07-02 10:02 <WUD> cedk: how do I tell trytond my unoconv location
2013-07-02 10:07 <cedk> WUD: it search in the PATH
2013-07-02 10:42 <guillemBarba> about this comment http://codereview.tryton.org/963003/diff/13001/trytond/modules/stock/product.py#newcode83
2013-07-02 10:42 <guillemBarba> I've never implemented a Mixin class. I know a little bit about it
2013-07-02 10:43 <cedk> guillemBarba: it is standard class but we the goal to add a specific behavior
2013-07-02 10:43 <guillemBarba> what you propose is implement a ProductMixin class with static methods _quantity_calculation_context?
2013-07-02 10:44 <cedk> guillemBarba: in some way
2013-07-02 10:44 <guillemBarba> yea, similar than an "interface" but with implemented methods
2013-07-02 10:44 <cedk> guillemBarba: I will not call it ProductMixin but more StockMixin
2013-07-02 10:44 <cedk> guillemBarba: probably not static but classmethod
2013-07-02 10:45 <guillemBarba> ok
2013-07-02 10:45 <cedk> guillemBarba: the idea is to be able to reuse it in other places
2013-07-02 10:46 <guillemBarba> Do I move _search_quantity_by_grouping and _get_quantity_by_grouping to this Mixin class?
2013-07-02 10:46 <cedk> guillemBarba: also for example, I don't like too much the current search implementation, so once we have a better one there will be only one place to change
2013-07-02 10:46 <guillemBarba> I think it has more sense than only the very auxiliar function _quantityty_calculation_context
2013-07-02 10:47 <guillemBarba> ok
2013-07-02 10:48 <guillemBarba> I move all "protected" methods to the Mixin class without change anything else
2013-07-02 10:50 <guillemBarba> or I move also the fields quantity and forecast_quantity definition?
2013-07-02 10:57 <cedk> guillemBarba: I don't think you must move the field
2013-07-02 11:03 <cedk> guillemBarba: someone could one to have different quantity on the same Model
2013-07-02 11:03 <guillemBarba> I'm looking AttendeeMixin. with two auxiliar functions to implement in Mixin subclass: grouping() and _get_product_ids(cls, stockables) both fields could be defined in Mixin class
2013-07-02 11:03 <guillemBarba> ok
2013-07-02 11:03 <guillemBarba> less intrusive, only auxiliar (protected) methods
2013-07-02 11:16 <pokoli> cedk: ping
2013-07-02 11:16 <cedk> pokoli: pong
2013-07-02 11:17 <pokoli> cedk: the spanish team has some small inprovements on the translation on www.tryton.org, how we can contribute it?
2013-07-02 11:19 <cedk> pokoli: like any other contribution
2013-07-02 11:19 <pokoli> cedk: ok, we start a codereview
2013-07-02 12:20 <digitalsatori> sorryopenerp.com , wow, haha
2013-07-02 12:50 <sisalp> digitalsatori: I prefer the positive contribution of openerp2tryton.com
2013-07-02 17:43 -!- sisalp(~dominique@annecy.sisalp.net) has left #tryton
2013-07-02 22:21 <Wiz_KeeD> hey guys!
2013-07-02 22:22 <cedk> Wiz_KeeD: hey
2013-07-02 22:23 <Wiz_KeeD> how's everyone? :)

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