IRC logs of #tryton for Friday, 2013-05-17

chat.freenode.net #tryton log beginning Fri May 17 00:00:01 CEST 2013
iamnoobhi, is there a way where i can filter the records via date range? like i have two date field a 'from' and 'to'?08:39
iamnoobwow im glad 2.8 come up.. i solves my problem :)08:58
iamnoobit*08:58
_droidhi people, i have installed the tryton server on a debian system (version 1.8.1) and my client (a ubuntu machine) is 2.2.8, now how do I get them to the same version in order to start with using tryton?13:03
cedk_droid: upgrade13:04
cedk_droid: anyway, 1.8 series is no more supported13:04
_droidcedk: i tried apt-get upgrade but it isn't there13:05
cedk_droid: ask your distribution to upgrade their package13:06
cedk_droid: or change of distribution13:06
_droidcedk: true13:08
cedk_droid: or don't use packages but pip or manual tgz13:08
nicoecedk: Debian won't update a released version but _droid could update to the latest debian version which IIRC uses 2.213:09
_droidnicoe: u mean compile it?13:09
_droidbut i could try asking them to update the tryton package. y not?13:11
nicoe_droid: no update your debian13:11
nicoe_droid: the latest version of debian ships 2.2.313:11
nicoe_droid: because debian do not change packages for a released version of debian … they only apply security-fixes I believe13:12
_droidnicoe: well, I ran apt-get upgrade. I don't know if I'm missing something here13:13
nicoe_droid: http://www.debian.org/releases/stable/i386/release-notes/index.en.html there is a chapter about how to upgrade13:15
_droidnicoe: thank you :)13:16
giedriuswhat do i do wrong with pyson. I try: 'invisible': Eval('quantity', 0.0) >= 0.0, and get error float() argument must be a string or a number13:27
giedriusi guess 'quantity' is evaluated into None, and default is not used :/13:28
cedkgiedrius: if the field is there with None value, it is None that is used13:30
cedkgiedrius: you must add test for None case13:31
giedriuscedk: so i guess, i need to use If to check if value is not none?13:31
giedriuscedk: ok thanks13:31
yangoon1_droid: you can have a look at http://debian.tryton.org/mirror.html#distributions13:54
yangoon1kinds of selective backports13:55
giedriusis it possible to use relation field on field's invisible state?15:19
giedriusi try something like this: Eval('product', {}).get('type'), but Eval returns product_id and not object or dict15:21
cedkgiedrius: no15:24
giedriuscedk: i guess the same is for all field states?15:26
cedkgiedrius: yes15:28
-!- pietervdr(52ab65e9@gateway/web/freenode/ip.82.171.101.233) has left #tryton15:38
_droidnicoe:hi, I was able to make the update now I get this error message when trying to log in: http://imagebin.org/25798617:19
nicoe_droid: Did you update your tryton installation ?17:21
_droidyes17:21
nicoeYou made a trytond -u all -d your_database ?17:22
_droidnicoe: trytond version is 2.2.4 and the client is 2.2.117:22
_droidnicoe:  hm.. no17:22
_droidnicoe: one ces17:22
_droidsec17:22
nicoeyangoon1 is the debian maintainer, he's probably more helpful than I can be17:23
_droidnicoe: ok I got a successful init but I still get the following error message: http://pastebin.com/RTCMnU4517:25
_droidyangoon: maybe you could help?17:27
yangoon_droid: did you restart server and client?17:27
_droidno, 1 sec17:28
_droidyangoon: ok, it kinda works but I need to check on the username and password of the admin.17:29
_droidyangoon: ok apparently I forgot my username and password of postgres and tryton, could you tell me how to reset it?17:50
yangoon_droid: server password for postgres should be in trytond.conf17:51
Pilou_droid: If you want change password of PostgreSQL user, use 'alter user' (www.postgresql.org/docs/9.1/static/sql-alteruser.html). You could change password of Tryton 'admin' user with this modification: http://paste.debian.net/hidden/86931085/ and run "trytond -d database_name".17:57
yangoon Pilou: when trytond -u all -d your_database succeeds, password can not be lost...18:01
_droidPilou: is that a shell script?18:03
Pilouyangoon: if user forgot it ?18:03
joaccedk: yesterday, I asked about the misconfiguration, on party sequence. Is it a bug? or proteus doesn't initialize tryton modules in the same way that standart  client? How can I fix it? Thanks18:03
joaccedk: this is my code https://github.com/gcoop-libre/tryton_deploy/blob/master/tryton_bootstrap.py18:05
_droidalright now i totally screwed it up18:45
_droidtried to run "trytond -u all -d tryton" and i get the following: http://pastebin.com/hrfAMV6j18:46
_droidI uninstalled everything and tried to reinstall everything and messed it up i think18:47
-!- b0r7(~b0r7@f054035239.adsl.alicedsl.de) has left #tryton22:48
-!- FWiesing(~FWiesing@mail.tryton.at) has left #tryton23:17

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