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