IRC logs of #tryton for Thursday, 2015-12-17

chat.freenode.net #tryton log beginning Thu Dec 17 00:00:01 CET 2015
-!- niki_(~niki@0x3e2c86f6.mobile.telia.dk) has joined #tryton01:49
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton02:00
-!- smarro(~sebastian@190.14.157.18) has joined #tryton02:12
-!- smarro(~sebastian@181.16.4.44) has joined #tryton02:37
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton04:13
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton05:02
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton05:29
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton06:00
-!- yangoon1(~mathiasb@p549F1A1D.dip0.t-ipconnect.de) has joined #tryton06:02
-!- zeittunnel(~234234234@p5DD1809F.dip0.t-ipconnect.de) has joined #tryton06:55
-!- frispete(~frispete@p54A9087A.dip0.t-ipconnect.de) has joined #tryton07:40
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton07:56
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:20
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:32
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton08:32
-!- gytis(~gytis@v100.nfq.lt) has joined #tryton08:41
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:59
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton09:23
-!- mholtzberg(~mholtzber@p50931afa.dip0.t-ipconnect.de) has joined #tryton09:34
-!- leio(~leio@gentoo/developer/leio) has joined #tryton09:58
-!- leio(~leio@gentoo/developer/leio) has joined #tryton10:06
-!- udono(~udono@ltea-047-067-004-196.pools.arcor-ip.net) has joined #tryton10:10
-!- aroncero(~aroncero@241.Red-83-36-247.dynamicIP.rima-tde.net) has joined #tryton10:49
-!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton10:55
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton11:01
-!- nina_(~nina@177.19.245.134) has joined #tryton11:39
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton11:40
nina_I create some fields, but they aren't save in the database. Can somebody help me?11:42
nina_I did it many times, but now it isn't ok.11:42
cedknina_: you have to update the database with the module11:44
nina_cedk, I did, but it isn't recording.11:46
pokolinina_: have you included you class in the register of __init__.py file? is the __name__ attribute of class correct?11:48
nina_cedk: There columns limit in a table?11:48
cedknina_: only the database limit11:49
nina_pokoli: I did it.11:49
pokolinina_: just double checking, as i tis one of my most common errors :P11:49
nina_I don't know what is going on. It shows me an ApplicationError.11:56
pokolinina_: can we see the full traceback?12:07
nina_pokoli: Yes12:08
nina_Pokoli: Traceback (most recent call last):12:08
nina_  File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch12:08
nina_    response['result'] = dispatch_method(method, params)12:08
nina_  File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch12:08
nina_    res = dispatch(*args)12:08
nina_  File "/trytond/protocols/dispatcher.py", line 161, in dispatch12:08
nina_    result = rpc.result(meth(*c_args, **c_kwargs))12:09
nina_  File "/trytond/model/modelsql.py", line 1038, in search12:09
nina_    cursor.execute(*select)12:09
nina_  File "/trytond/backend/postgresql/database.py", line 312, in execute12:09
nina_    return self.cursor.execute(sql, params)12:09
nina_ProgrammingError: column a.sodio does not exist12:09
nina_LINE 1: ...luation_start", "a"."create_uid" AS "create_uid", "a"."sodio...12:09
pokolinina_: please use a some pasting service (like pastebin) instead of pasting here12:10
pokolinina_: That's saying that the field does not exist on database, do you have any error (or output in the server log) when updating the database?12:11
nina_pokoli: I don't receive any error.12:13
nina_pokoli: I received just the traceback.12:14
cedknina_: clearly your model is not registered correctly12:17
-!- zeittunnel(~234234234@p5DD18752.dip0.t-ipconnect.de) has joined #tryton12:19
nina_cedk: I saw that the line 'from trytond.pool import Pool'  is marked as unused.12:25
-!- mariomop(~quassel@181.90.87.52) has joined #tryton12:27
cedknina_: I don't understand what you mean, but you must register the Pool your classes12:42
nina_cedk: Yes. I know, and I did it.12:44
cedknina_: so you have to show us your code12:44
nina_cedk: By email?12:45
cedknina_: no publish it somewhere12:46
nina_cedk: https://bitbucket.org/snippets/danielacbarroso/eyrAx12:57
cedknina_: the class PatientEvaluation doesn't use the metaclass PoolMeta13:00
cedknina_: I guess you are running with an optimized python because: http://hg.tryton.org/trytond/file/192a402a282a/trytond/pool.py#l8113:02
cedknina_: wait, is it a new Model or an extention?13:03
meanmicionina_ : Nice to see that you're using GNU Health ;-) .13:03
cedknina_: and is 'silex_party_health_br_husj' the correct name of the module?13:03
cedknina_: because it seems to be 'health_br_husj'13:04
nina_cedk:  'silex_party_health_br_husj' is the correct name of the module. It is an extention of the class PatientEvaluation.13:06
cedknina_: so it should not inherit from ModelStorage nor ModelView13:08
cedknina_: but use the metaclass PoolMeta13:08
cedknina_: also why is the title 'health_br_husj' if the module is 'silex_party_health_br_husj'13:09
cedknina_: for me, 'silex_party_' sounds like the prefix of package and not the name of the module directory13:10
nina_cedk: The title of the module was wrong, CTRL+ C and CRTL+V. rsrsrs13:18
nina_cedk: I forget to insert metaclass PoolMeta.13:20
nina_cedk: I removed ModelView and ModelSQL.13:20
nina_cedk: I update the database with the module, and I received an UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)13:23
nina_cedk: Thank you. That's ok now. kiss13:33
-!- aroncero_(~aroncero@241.Red-83-36-247.dynamicIP.rima-tde.net) has joined #tryton13:41
-!- AndChat|138129(~AndChat13@213.179.125.91) has joined #tryton13:45
-!- zeittunnel(~234234234@p5DD18752.dip0.t-ipconnect.de) has joined #tryton14:00
-!- aroncero__(~aroncero@241.Red-83-36-247.dynamicIP.rima-tde.net) has joined #tryton14:41
-!- AndChat-138129(~AndChat13@29.9.132.37.dynamic.jazztel.es) has joined #tryton15:56
-!- resteve(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton15:59
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton16:27
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton16:29
-!- boson(~boson@2605:a000:fc44:5740:a800:acff:fe10:813b) has joined #tryton16:51
-!- boson(~boson@2605:a000:fc44:5740:a800:acff:fe10:813b) has joined #tryton17:06
-!- AndChat|138129(~AndChat13@34.6.132.37.dynamic.jazztel.es) has joined #tryton17:06
-!- resteve(~AndChat13@213.179.122.0) has joined #tryton17:09
-!- boson(~boson@2605:a000:fc44:5740:a800:acff:fe10:813b) has joined #tryton17:19
-!- boson(~boson@2605:a000:fc44:5740:a800:acff:fe10:813b) has joined #tryton17:38
-!- aroncero(~aroncero@241.Red-83-36-247.dynamicIP.rima-tde.net) has joined #tryton17:41
-!- csotelo(~csotelo@190.117.251.218) has joined #tryton17:49
-!- aroncero_(~aroncero@241.Red-83-36-247.dynamicIP.rima-tde.net) has joined #tryton19:11
-!- kstenger(~karla@r186-49-255-193.dialup.adsl.anteldata.net.uy) has joined #tryton20:32
-!- AndChat|138129(~AndChat13@133.168.79.188.dynamic.jazztel.es) has joined #tryton22:26
-!- smarro(~sebastian@181.16.4.44) has joined #tryton23:06
-!- aroncero_(~aroncero@241.Red-83-36-247.dynamicIP.rima-tde.net) has joined #tryton23:28
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton23:37

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