IRC logs of #tryton for Wednesday, 2012-11-14

chat.freenode.net #tryton log beginning Wed Nov 14 00:00:01 CET 2012
2012-11-14 01:37 <zodman> ACTION part
2012-11-14 10:23 <ivan__> hello everybody
2012-11-14 10:53 <ivan__> i've been trying to install tryton2.6 but it requires to also use trytond2.6 which depends on all the modules being 2.6 and I'm not able to find trytond_health version 2.6, any help on this?
2012-11-14 11:06 <cedk> ivan__: gnu health did not yet upgrade to 2.6
2012-11-14 11:09 <ivan__> cedk: do you think I can disable the health module in trytond to not have that dependency?
2012-11-14 11:12 <rmu> cedk: as suggested, i experimented with the upcoming dict-field, made a separate schema-class that depends on product.template instead of model.model, and added a dict to product.product.
2012-11-14 11:12 <rmu> so far so good
2012-11-14 11:12 <rmu> but then the client crashes with SIGSEGV
2012-11-14 11:12 <rmu> when pressing the "+"
2012-11-14 11:14 <rmu> only one attribute is defined in the schema, of type "char", the line is added and shown
2012-11-14 11:14 <rmu> but 1-2 seconds after the added input widget receives focus, the clients SIGSEGVs
2012-11-14 11:17 <rmu> prelim. stacktrace http://pastebin.com/7nUrksXi
2012-11-14 11:18 <rmu> (will post again with debug syms installed)
2012-11-14 11:31 <rmu> updated traceback http://pastebin.com/i6u7LAQs
2012-11-14 11:35 <ivan__> cedk: sorry again, when I run tryton 2.6 without the module health it complains about 'Module health not found', what do you suggest?
2012-11-14 11:38 <rmu> ivan: it should not... either you are upgrading a database that hat gnu health installed, or some other module depends on gnu health, but as gnu health has not yet been ported to 2.6, this should not happen...
2012-11-14 11:41 <ivan__> rmu: I want to start with fresh database, can I just replace it?
2012-11-14 11:45 <ivan__> rmu: even when i try to restart the database with trytond -c trytond.conf -d tryton --init=all
2012-11-14 11:45 <ivan__> I get a Exception: Module health not found
2012-11-14 11:53 <rmu> delete the database if you don't need it
2012-11-14 11:53 <rmu> create a new one
2012-11-14 11:54 <rmu> upgrading a db only works if all modules in that db are upgraded first AFAIK
2012-11-14 12:02 <ivan__> i think i found out the problem, an python-egg folder of trytond_health was still remaining
2012-11-14 12:02 <ivan__> so trytond was allways asking where is that module when restarting the database
2012-11-14 12:02 <ivan__> thanks
2012-11-14 12:20 <mrechte> Hello. Trying to install my first module trytond_account, python setup.py install complains about missing tryton.cfg. Why is there no such file at the module's root ? Thanks
2012-11-14 12:30 <rmu> mrechte: account module version 2.6 contains tryton.cfg
2012-11-14 12:31 <rmu> just checked http://downloads1.tryton.org/2.6/trytond_account-2.6.1.tar.gz, it is there
2012-11-14 12:32 <mrechte> rmu: I unpacked trytond_account-2.6.0.tar.gz and there is no such file at the root
2012-11-14 12:33 <rmu> use 2.6.1
2012-11-14 12:34 <rmu> https://www.google.at/search?q=trytond+account+2.6.0+tryton.cfg
2012-11-14 14:56 <mrechte> rmu: thanks, 2.6.1 has inatalled OK. However I do not see the account module from Tryton / Admin / Modules nor in Postgresql ir_module_module table. How do I register the newly installed module in Tryton ?
2012-11-14 15:01 <corro> mrechte: Try upgrading a random module in the Tryton Admin section. At least in 2.4 this was necessary.
2012-11-14 15:24 <mrechte> corro: thanks, it worked. Normal it took 12 minutes (50% CPU) to install account,company,country,currency,party modules ?
2012-11-14 15:30 <corro> mrechte: especially the country module has lots of data to import (country information from all around the world), 12min is quite long though.
2012-11-14 15:36 <mrechte> corro: yes it is while in INFO:modules:country:loading locale/fr_FR.po that it takes long time. It would be wise to have some kind of progress bar in the client.
2012-11-14 15:47 <rmu> mrechte: for testing-purposes you could disable fsync in postgres - this could lead to catastrophic dataloss in the database, but speeds things up considerably.
2012-11-14 15:50 <Pilou> cedk: is fsync (in postgres) disabled on test servers ?
2012-11-14 15:54 <rmu> Pilou: this http://www.postgresql.org/docs/9.2/static/runtime-config-wal.html#GUC-FSYNC says this is only possible in postgresql.conf or on the server command line
2012-11-14 16:20 <cedk> Pilou: I check
2012-11-14 16:21 <cedk> Pilou: yes
2012-11-14 17:13 <mrechte> Is there something special to install to get report working, I always get an error in modelstorage.py when trying to generate any report ?
2012-11-14 17:16 <cedk> mrechte: relatorio
2012-11-14 17:17 <rmu> some pictures from TUL https://plus.google.com/105244523026709422414/posts/KLEKXQtSH5C
2012-11-14 17:25 <mrechte> cedk: relatorio 0.5.6 is already installed, so I must have another problem.
2012-11-14 17:36 <cedk> mrechte: what is the error?
2012-11-14 18:27 <mrechte> cedk: /lib/python2.7/site-packages/trytond-2.6.1-py2.7.egg/trytond/model/modelstorage.py(1162)__getattr__()
2012-11-14 18:27 <mrechte> -> % (self.__name__, name))
2012-11-14 18:31 <mrechte> mrechte: cedk. I have to leave. I'll check back tomorrow. Thanks.
2012-11-14 20:07 <cjbarnes1> evening all

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