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

chat.freenode.net #tryton log beginning Tue Jan 2 00:00:01 CET 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:20
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton02:11
-!- thaneor1(~ldlc6@r167-56-171-247.dialup.adsl.anteldata.net.uy) has joined #tryton02:58
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton07:28
-!- cdchapman(~perturbed@73.98.169.158) has joined #tryton08:41
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:59
-!- marcus__(~marcus@115.164.73.194) has joined #tryton09:42
-!- efkin_-(5a4a106b@gateway/web/freenode/ip.90.74.16.107) has joined #tryton09:46
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:02
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton10:12
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:24
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:30
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton10:31
-!- JanGB(~jan@dslb-088-073-239-116.088.073.pools.vodafone-ip.de) has joined #tryton11:16
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton11:46
-!- JanGB(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton12:34
-!- McFloss(~aroncero@host86-184-131-144.range86-184.btcentralplus.com) has joined #tryton13:15
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton13:43
-!- catonano(~user@151.45.58.134) has joined #tryton14:12
-!- thaneor(~ldlc6@r179-25-167-202.dialup.adsl.anteldata.net.uy) has joined #tryton15:00
-!- smarro(~sebastian@2800:af0:1028:bd:2ab2:bdff:fe11:9b67) has joined #tryton15:17
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton15:25
efkin_-hi! o/ what cache engine suits best for tryton, memcached or redis ?15:58
cedkefkin_-: I'm aware of only this redis cache: https://pypi.python.org/pypi/redis_tryton16:11
efkin_-cedk: great, thx!16:12
cedkefkin_-: but by default trytond as a memory cache16:13
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?16:18
cedkefkin_-: for flask uses whatever works for you16:22
pokoliefkin_-: you can adjust the cache settings on the configuration file. See: http://doc.tryton.org/4.6/trytond/doc/topics/configuration.html?highlight=cache#cache16:25
efkin_-pokoli: thx, i should surf more the docs first rather than ask directly :)16:26
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton17:54
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton18:15
-!- catonano(~user@151.45.58.134) has joined #tryton19:25
-!- mariomop(~quassel@host3.190-225-83.telecom.net.ar) has joined #tryton20:02
-!- JanGB(~jan@dslb-088-073-239-116.088.073.pools.vodafone-ip.de) has joined #tryton20:09
-!- cdchapman(~perturbed@73.98.169.196) has joined #tryton20:13
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton21:06
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton21:54
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:01
-!- catonano(~user@151.45.58.134) has joined #tryton22:40
catonanoI have this line22:43
catonanoTypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'22:43
catonanoand I get22:43
catonanoTypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'22:43
catonanothey are both Date fields22:43
catonanoNoneType ?22:43
cedkcatonano: it is possible if boths are empty23:48
catonanocedk: ah thanks23:50
catonanocedk: I have posted in the forrum too, sorry. I thought you were all sleeping23:50
catonanosorry23:51
catonanoah I could manage to eliminate the post23:52
catonanoso do I need to give a default value to at least one of those fields ?23:54
catonanobecause now it doesn't even load the tree view23:54
catonanoI'll try23:54
cedkcatonano: I can not tell you what your code should do when there is no value23:54
catonanoright23:55
cedkcatonano: but if your fields are not required, your code must manage None cases23:55
catonanoof course23:55
catonanocedk: thanks !!23:55

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!