IRC logs of #tryton for Tuesday, 2018-01-02

chat.freenode.net #tryton log beginning Tue Jan 2 00:00:01 CET 2018
2018-01-02 00:20 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-02 02:11 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2018-01-02 02:58 -!- thaneor1(~ldlc6@r167-56-171-247.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-01-02 07:28 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2018-01-02 08:41 -!- cdchapman(~perturbed@73.98.169.158) has joined #tryton
2018-01-02 08:59 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2018-01-02 09:42 -!- marcus__(~marcus@115.164.73.194) has joined #tryton
2018-01-02 09:46 -!- efkin_-(5a4a106b@gateway/web/freenode/ip.90.74.16.107) has joined #tryton
2018-01-02 10:02 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-02 10:12 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2018-01-02 10:24 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-01-02 10:30 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2018-01-02 10:31 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2018-01-02 11:16 -!- JanGB(~jan@dslb-088-073-239-116.088.073.pools.vodafone-ip.de) has joined #tryton
2018-01-02 11:46 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2018-01-02 12:34 -!- JanGB(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton
2018-01-02 13:15 -!- McFloss(~aroncero@host86-184-131-144.range86-184.btcentralplus.com) has joined #tryton
2018-01-02 13:43 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2018-01-02 14:12 -!- catonano(~user@151.45.58.134) has joined #tryton
2018-01-02 15:00 -!- thaneor(~ldlc6@r179-25-167-202.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-01-02 15:17 -!- smarro(~sebastian@2800:af0:1028:bd:2ab2:bdff:fe11:9b67) has joined #tryton
2018-01-02 15:25 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2018-01-02 15:58 <efkin_-> hi! o/ what cache engine suits best for tryton, memcached or redis ?
2018-01-02 16:11 <cedk> efkin_-: I'm aware of only this redis cache: https://pypi.python.org/pypi/redis_tryton
2018-01-02 16:12 <efkin_-> cedk: great, thx!
2018-01-02 16:13 <cedk> efkin_-: but by default trytond as a memory cache
2018-01-02 16:18 <efkin_-> i see... so if i want to cache stuff from the flask app connected to tryton i should use caching at flask level, right? and which is the limit by default of cache memory allocated by tryton?
2018-01-02 16:22 <cedk> efkin_-: for flask uses whatever works for you
2018-01-02 16:25 <pokoli> efkin_-: you can adjust the cache settings on the configuration file. See: http://doc.tryton.org/4.6/trytond/doc/topics/configuration.html?highlight=cache#cache
2018-01-02 16:26 <efkin_-> pokoli: thx, i should surf more the docs first rather than ask directly :)
2018-01-02 17:54 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2018-01-02 18:15 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-01-02 19:25 -!- catonano(~user@151.45.58.134) has joined #tryton
2018-01-02 20:02 -!- mariomop(~quassel@host3.190-225-83.telecom.net.ar) has joined #tryton
2018-01-02 20:09 -!- JanGB(~jan@dslb-088-073-239-116.088.073.pools.vodafone-ip.de) has joined #tryton
2018-01-02 20:13 -!- cdchapman(~perturbed@73.98.169.196) has joined #tryton
2018-01-02 21:06 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2018-01-02 21:54 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2018-01-02 22:01 -!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton
2018-01-02 22:40 -!- catonano(~user@151.45.58.134) has joined #tryton
2018-01-02 22:43 <catonano> I have this line
2018-01-02 22:43 <catonano> TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
2018-01-02 22:43 <catonano> and I get
2018-01-02 22:43 <catonano> TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
2018-01-02 22:43 <catonano> they are both Date fields
2018-01-02 22:43 <catonano> NoneType ?
2018-01-02 23:48 <cedk> catonano: it is possible if boths are empty
2018-01-02 23:50 <catonano> cedk: ah thanks
2018-01-02 23:50 <catonano> cedk: I have posted in the forrum too, sorry. I thought you were all sleeping
2018-01-02 23:51 <catonano> sorry
2018-01-02 23:52 <catonano> ah I could manage to eliminate the post
2018-01-02 23:54 <catonano> so do I need to give a default value to at least one of those fields ?
2018-01-02 23:54 <catonano> because now it doesn't even load the tree view
2018-01-02 23:54 <catonano> I'll try
2018-01-02 23:54 <cedk> catonano: I can not tell you what your code should do when there is no value
2018-01-02 23:55 <catonano> right
2018-01-02 23:55 <cedk> catonano: but if your fields are not required, your code must manage None cases
2018-01-02 23:55 <catonano> of course
2018-01-02 23:55 <catonano> cedk: thanks !!

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