IRC logs of #tryton for Thursday, 2011-09-08

chat.freenode.net #tryton log beginning Thu Sep 8 00:00:02 CEST 2011
-!- cedk(~ced@92.65.162.238) has joined #tryton00:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:04
-!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has left #tryton00:57
-!- ikks_(~ikks@186.29.59.196) has joined #tryton01:36
-!- hoRn1(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton03:22
-!- elbenfreund1(~elbenfreu@p54B924D6.dip.t-dialin.net) has joined #tryton03:49
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton03:53
-!- alimon(~alimon@189.154.55.187) has joined #tryton04:46
-!- ikks_(~ikks@190.27.9.218) has joined #tryton04:57
-!- yangoon1(~mathiasb@p549F3584.dip.t-dialin.net) has joined #tryton05:02
-!- smarro(~sebastian@190.51.100.70) has joined #tryton06:07
-!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton07:23
-!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton07:52
-!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has joined #tryton08:57
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:57
Panderpjstevens: goedemorgen08:58
pjstevnsYo!09:12
-!- okko1(~okko@62.58.29.41) has joined #tryton09:26
-!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton09:33
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:41
-!- nicoe(~nicoe@62.58.29.41) has joined #tryton09:46
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:13
-!- ralf58_(~quassel@dslb-088-071-245-210.pools.arcor-ip.net) has joined #tryton10:49
PanderWhere does VIES actually stand for?11:15
-!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton11:17
bechamelPander: http://www.google.com/search?q=vies11:20
nicoebechamel: There is also http://lmgtfy.com/?q=VIES which is funny ;)11:26
bechamelnicoe: http://lmgtfy.com is soooo last year :)11:28
PanderI was looking in combination with Tryton on Google. Thanks. By the way, in Dutch it means dirty.11:32
-!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton11:36
bechamelPander: maybe an url on the module doc wouldn't be excessive :)11:37
cedkbechamel: it is in the vatnumber module11:41
cedkhttps://code.google.com/p/vatnumber/11:41
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton12:04
-!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton12:09
-!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton12:36
PanderHi all, I have made a module :) which is derived from Party in a similar way as Company is. I can install the module without errors:) but I have no idea how to create instances of this class and which code, such as wizard etc. I can remove from my module. I think there is way to much in there for simply adding a field called dateofbirth to Party... Waht can go out? Please review http://pastebin.co12:41
Panderm/GMRifapg Thanks12:41
Panderthat is http://pastebin.com/GMRifapg12:41
-!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton12:56
bechamelPander: it seems ok12:58
nicoePander: I don't understand your issue12:58
bechamelthe only file that is not needed is setup.py, except if you plan to release your module13:00
cedkPander: you can remove from line 12213:11
cedkPander: keep aikidoka.xml13:12
cedkPander: remove configuration.py13:12
cedkPander: remove configuration.xml13:12
cedkPander: I think you will have the minimal requirement13:13
-!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has joined #tryton13:15
Pandercedk: Thanks. I will keep setup.py. How will I be able to create an "Aikidoka" in the client?13:24
Pandernicoe: I would like to have a class that is derived from Party and only has an extra field called dateofbirth13:27
-!- cheche(cheche@46.25.80.67) has joined #tryton13:27
bechamelPander: does your new field appear when you open the party form ?13:37
-!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has joined #tryton13:41
Panderbechamel: No and why should it since I open something created as party and not as in instance of my derived class?13:50
cedkPander: it should13:51
cedkPander: change the line 188 and replace aikidoka.aikidoka by party.party13:52
cedkPander: Tryton doesn't really use the Python inheritage but modules modify the existing object13:52
cedkPander: so with your module you modify the Party object13:52
-!- smarro(~sebastian@190.51.100.70) has joined #tryton14:22
-!- elbenfreund(~elbenfreu@p54B924D6.dip.t-dialin.net) has joined #tryton14:23
-!- woakas(~woakas@200.106.218.64) has joined #tryton14:40
Pandercedk: because i replace streetbis in party.address, must this <field name="inherit" ref="party.party_view_form"/> also refer to party_address_view_form ?14:55
cedkPander: i don't understand14:56
-!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has joined #tryton15:01
Pandercedk: I replace streetbis for my dateofbirth field, since streetbis is in party.address I have to modigy party.address_view_form, before it was party.party_view_form. i will test some more15:01
cedkPander: WTF you put a birthdate on an address?15:04
Pandercedk: just to put it somewhere for the moment to get it working15:05
Pandercedk: I will change all to put it in the view form of party.party /Je maintiendrai/ ;) more tomorrow, thanks for today15:14
-!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton15:17
-!- ready(ready@sitea.cc) has joined #tryton15:21
-!- alimon(alimon@189.154.55.187) has joined #tryton15:29
-!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has left #tryton15:29
-!- elbenfreund(~elbenfreu@p54B924D6.dip.t-dialin.net) has joined #tryton15:32
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton15:40
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton15:40
-!- gremly(~gremly@200.106.218.64) has joined #tryton15:54
-!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton16:00
-!- smarro(~sebastian@200.81.250.221) has joined #tryton16:23
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton16:46
-!- Babalau(~litcanu@188.25.46.62) has joined #tryton17:00
Babalauheya ppl17:00
Babalaucan i get some help pls17:00
Babalauanyone here ?17:01
nicoeyes17:01
nicoeDon't ask to ask, just ask !17:01
Babalaui get this error: No option 'database' in section: 'localhost'17:01
Babalaui am required to have a tryton database on localhost17:02
Babalauto use localhost17:02
Babalauor how's working ?17:02
nicoeare you migrating from an old version ?17:02
Babalaunop17:03
Babalaufirst time user17:03
nicoeWhat have you done prior to this error ?17:03
nicoeWhich version are you using ?17:03
Babalau2.0.017:04
Babalauwell17:04
Babalaui tryed to create a new database on localhost17:04
Babalauor should i create it over the internet ?17:04
nicoeDo you have a tryton server running somewhere ?17:05
Babalauno17:05
Babalaui'm assuming i should... how do i do that ?17:05
nicoeYou should install trytond17:06
nicoehttp://code.google.com/p/tryton/wiki/Requirements17:06
-!- bechamel`(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton17:08
Babalauapparenty i already have trytond installed17:11
nicoeit is running ?17:12
Babalau[Thu Sep 08 18:12:14 2011] INFO:server:starting NetRPC protocol, port 807017:12
Babalau[Thu Sep 08 18:12:14 2011] INFO:server:waiting for connections...17:12
Babalau[Thu Sep 08 18:12:14 2011] INFO:server:starting NetRPC protocol, port 807017:12
Babalau[Thu Sep 08 18:12:14 2011] INFO:server:waiting for connections...17:12
Babalau[Thu Sep 08 18:12:14 2011] INFO:server:starting NetRPC protocol, port 807017:12
Babalau[Thu Sep 08 18:12:14 2011] INFO:server:waiting for connections...17:12
-!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has left #tryton17:13
nicoeIf you just want to test, then you should install neso it's easier17:13
Babalaummm17:13
nicoeBut apparently the server is running17:13
nicoeso you should be able to connec to it17:13
Babalauactually i want it to manage my company's inventory17:13
nicoeok17:13
nicoewhich OS do you use ?17:15
nicoeWhat the error means is that there is no database information into the tryton config file17:17
nicoeDid you successfully created the database17:17
nicoeIs the database visible with psql -l ?17:17
Babalauok17:19
Babalaulinux17:19
Babalaupsql: FATAL:  Ident authentication failed for user "litcanu"17:19
nicoeI guess you can not connect to postgresql ;)17:20
Babalau:)17:21
Babalauso... what do i do ?17:21
nicoehttp://www.postgresql.org/docs/current/interactive/app-createuser.html17:24
-!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton17:24
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton17:28
Babalaucreateuser: could not connect to database postgres: FATAL:  Ident authentication failed for user "17:29
cedkBabalau: must be run with the user postgres or _postgres (depending of your OS)17:29
Babalaupfff17:32
Babalauok17:32
Babalaui'm lost17:32
Babalau...17:32
-!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has joined #tryton17:36
nicoeBabalau: You must switch to another user than the one you're currently using (litcanu I guess)17:38
Babalauwhy ?17:38
Babalauthis is the admin account on my OS (linux)17:39
cedkBabalau: ask Postgres devs17:40
nicoebecause there is a privilege separation between the admin of your computer and the admin of the database cluster17:40
Babalaucreateuser: could not connect to database postgres: FATAL:  Ident authentication failed for user "root"17:41
nicoeof course you must use the postgres user17:42
nicoeI guess you're using an ubuntu17:42
nicoeIf so please read: /usr/share/doc/postgresql-common/README.Debian.gz17:43
Babalaummm Linux Mint based on Debian17:43
nicoeIt's based on debian so the file is probably at the same place17:43
nicoeBabalau: (lots of people use ubuntu)17:44
nicoeIn this file there is a section "First steps for the impatient"17:44
nicoeIt explains what you have to do17:44
nicoe(althought you don't have to create a database, tryton will do it for you)17:45
nicoeA rule of thumb: always read stuff in /usr/share/doc/<name-of-the-package>, there are valuable information there17:46
Babalaunicoe: thx17:48
Babalaui do have the file17:48
Babalauit's a verry short file17:48
Babalauno first steps in there17:48
nicoeIt's a gzipped file17:50
nicoeDid you manage to open it ?17:51
Babalausorry i have opened the wrong file17:53
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton18:49
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton18:49
-!- gremly(~gremly@200.106.218.64) has joined #tryton19:10
-!- smarro(~sebastian@host100.190-136-175.telecom.net.ar) has joined #tryton19:41
-!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton20:14
-!- Babalau(~litcanu@188.25.46.62) has left #tryton21:49
-!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has joined #tryton22:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:36
-!- elbenfreund(~elbenfreu@g226224146.adsl.alicedsl.de) has joined #tryton23:31
-!- cheche(cheche@46.25.80.67) has joined #tryton23:31
-!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has left #tryton23:45

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