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

chat.freenode.net #tryton log beginning Thu Sep 8 00:00:02 CEST 2011
2011-09-08 00:04 -!- cedk(~ced@92.65.162.238) has joined #tryton
2011-09-08 00:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-09-08 00:57 -!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has left #tryton
2011-09-08 01:36 -!- ikks_(~ikks@186.29.59.196) has joined #tryton
2011-09-08 03:22 -!- hoRn1(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 03:49 -!- elbenfreund1(~elbenfreu@p54B924D6.dip.t-dialin.net) has joined #tryton
2011-09-08 03:53 -!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-09-08 04:46 -!- alimon(~alimon@189.154.55.187) has joined #tryton
2011-09-08 04:57 -!- ikks_(~ikks@190.27.9.218) has joined #tryton
2011-09-08 05:02 -!- yangoon1(~mathiasb@p549F3584.dip.t-dialin.net) has joined #tryton
2011-09-08 06:07 -!- smarro(~sebastian@190.51.100.70) has joined #tryton
2011-09-08 07:23 -!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 07:52 -!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton
2011-09-08 08:57 -!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has joined #tryton
2011-09-08 08:57 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-09-08 08:58 <Pander> pjstevens: goedemorgen
2011-09-08 09:12 <pjstevns> Yo!
2011-09-08 09:26 -!- okko1(~okko@62.58.29.41) has joined #tryton
2011-09-08 09:33 -!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton
2011-09-08 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-09-08 09:46 -!- nicoe(~nicoe@62.58.29.41) has joined #tryton
2011-09-08 10:13 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-09-08 10:49 -!- ralf58_(~quassel@dslb-088-071-245-210.pools.arcor-ip.net) has joined #tryton
2011-09-08 11:15 <Pander> Where does VIES actually stand for?
2011-09-08 11:17 -!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 11:20 <bechamel> Pander: http://www.google.com/search?q=vies
2011-09-08 11:26 <nicoe> bechamel: There is also http://lmgtfy.com/?q=VIES which is funny ;)
2011-09-08 11:28 <bechamel> nicoe: http://lmgtfy.com is soooo last year :)
2011-09-08 11:32 <Pander> I was looking in combination with Tryton on Google. Thanks. By the way, in Dutch it means dirty.
2011-09-08 11:36 -!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 11:37 <bechamel> Pander: maybe an url on the module doc wouldn't be excessive :)
2011-09-08 11:41 <cedk> bechamel: it is in the vatnumber module
2011-09-08 11:41 <cedk> https://code.google.com/p/vatnumber/
2011-09-08 12:04 -!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton
2011-09-08 12:09 -!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 12:36 -!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 12:41 <Pander> Hi 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.co
2011-09-08 12:41 <Pander> m/GMRifapg Thanks
2011-09-08 12:41 <Pander> that is http://pastebin.com/GMRifapg
2011-09-08 12:56 -!- hoRn(~jan@dslb-178-005-153-093.pools.arcor-ip.net) has joined #tryton
2011-09-08 12:58 <bechamel> Pander: it seems ok
2011-09-08 12:58 <nicoe> Pander: I don't understand your issue
2011-09-08 13:00 <bechamel> the only file that is not needed is setup.py, except if you plan to release your module
2011-09-08 13:11 <cedk> Pander: you can remove from line 122
2011-09-08 13:12 <cedk> Pander: keep aikidoka.xml
2011-09-08 13:12 <cedk> Pander: remove configuration.py
2011-09-08 13:12 <cedk> Pander: remove configuration.xml
2011-09-08 13:13 <cedk> Pander: I think you will have the minimal requirement
2011-09-08 13:15 -!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has joined #tryton
2011-09-08 13:24 <Pander> cedk: Thanks. I will keep setup.py. How will I be able to create an "Aikidoka" in the client?
2011-09-08 13:27 <Pander> nicoe: I would like to have a class that is derived from Party and only has an extra field called dateofbirth
2011-09-08 13:27 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-09-08 13:37 <bechamel> Pander: does your new field appear when you open the party form ?
2011-09-08 13:41 -!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has joined #tryton
2011-09-08 13:50 <Pander> bechamel: No and why should it since I open something created as party and not as in instance of my derived class?
2011-09-08 13:51 <cedk> Pander: it should
2011-09-08 13:52 <cedk> Pander: change the line 188 and replace aikidoka.aikidoka by party.party
2011-09-08 13:52 <cedk> Pander: Tryton doesn't really use the Python inheritage but modules modify the existing object
2011-09-08 13:52 <cedk> Pander: so with your module you modify the Party object
2011-09-08 14:22 -!- smarro(~sebastian@190.51.100.70) has joined #tryton
2011-09-08 14:23 -!- elbenfreund(~elbenfreu@p54B924D6.dip.t-dialin.net) has joined #tryton
2011-09-08 14:40 -!- woakas(~woakas@200.106.218.64) has joined #tryton
2011-09-08 14:55 <Pander> cedk: because i replace streetbis in party.address, must this <field name="inherit" ref="party.party_view_form"/> also refer to party_address_view_form ?
2011-09-08 14:56 <cedk> Pander: i don't understand
2011-09-08 15:01 -!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has joined #tryton
2011-09-08 15:01 <Pander> cedk: 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 more
2011-09-08 15:04 <cedk> Pander: WTF you put a birthdate on an address?
2011-09-08 15:05 <Pander> cedk: just to put it somewhere for the moment to get it working
2011-09-08 15:14 <Pander> cedk: I will change all to put it in the view form of party.party /Je maintiendrai/ ;) more tomorrow, thanks for today
2011-09-08 15:17 -!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton
2011-09-08 15:21 -!- ready(ready@sitea.cc) has joined #tryton
2011-09-08 15:29 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-09-08 15:29 -!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has left #tryton
2011-09-08 15:32 -!- elbenfreund(~elbenfreu@p54B924D6.dip.t-dialin.net) has joined #tryton
2011-09-08 15:40 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-09-08 15:40 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-09-08 15:54 -!- gremly(~gremly@200.106.218.64) has joined #tryton
2011-09-08 16:00 -!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton
2011-09-08 16:23 -!- smarro(~sebastian@200.81.250.221) has joined #tryton
2011-09-08 16:46 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-09-08 17:00 -!- Babalau(~litcanu@188.25.46.62) has joined #tryton
2011-09-08 17:00 <Babalau> heya ppl
2011-09-08 17:00 <Babalau> can i get some help pls
2011-09-08 17:01 <Babalau> anyone here ?
2011-09-08 17:01 <nicoe> yes
2011-09-08 17:01 <nicoe> Don't ask to ask, just ask !
2011-09-08 17:01 <Babalau> i get this error: No option 'database' in section: 'localhost'
2011-09-08 17:02 <Babalau> i am required to have a tryton database on localhost
2011-09-08 17:02 <Babalau> to use localhost
2011-09-08 17:02 <Babalau> or how's working ?
2011-09-08 17:02 <nicoe> are you migrating from an old version ?
2011-09-08 17:03 <Babalau> nop
2011-09-08 17:03 <Babalau> first time user
2011-09-08 17:03 <nicoe> What have you done prior to this error ?
2011-09-08 17:03 <nicoe> Which version are you using ?
2011-09-08 17:04 <Babalau> 2.0.0
2011-09-08 17:04 <Babalau> well
2011-09-08 17:04 <Babalau> i tryed to create a new database on localhost
2011-09-08 17:04 <Babalau> or should i create it over the internet ?
2011-09-08 17:05 <nicoe> Do you have a tryton server running somewhere ?
2011-09-08 17:05 <Babalau> no
2011-09-08 17:05 <Babalau> i'm assuming i should... how do i do that ?
2011-09-08 17:06 <nicoe> You should install trytond
2011-09-08 17:06 <nicoe> http://code.google.com/p/tryton/wiki/Requirements
2011-09-08 17:08 -!- bechamel`(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-09-08 17:11 <Babalau> apparenty i already have trytond installed
2011-09-08 17:12 <nicoe> it is running ?
2011-09-08 17:12 <Babalau> [Thu Sep 08 18:12:14 2011] INFO:server:starting NetRPC protocol, port 8070
2011-09-08 17:12 <Babalau> [Thu Sep 08 18:12:14 2011] INFO:server:waiting for connections...
2011-09-08 17:12 <Babalau> [Thu Sep 08 18:12:14 2011] INFO:server:starting NetRPC protocol, port 8070
2011-09-08 17:12 <Babalau> [Thu Sep 08 18:12:14 2011] INFO:server:waiting for connections...
2011-09-08 17:12 <Babalau> [Thu Sep 08 18:12:14 2011] INFO:server:starting NetRPC protocol, port 8070
2011-09-08 17:12 <Babalau> [Thu Sep 08 18:12:14 2011] INFO:server:waiting for connections...
2011-09-08 17:13 -!- hoRn(~jan@dslb-092-078-071-230.pools.arcor-ip.net) has left #tryton
2011-09-08 17:13 <nicoe> If you just want to test, then you should install neso it's easier
2011-09-08 17:13 <Babalau> mmm
2011-09-08 17:13 <nicoe> But apparently the server is running
2011-09-08 17:13 <nicoe> so you should be able to connec to it
2011-09-08 17:13 <Babalau> actually i want it to manage my company's inventory
2011-09-08 17:13 <nicoe> ok
2011-09-08 17:15 <nicoe> which OS do you use ?
2011-09-08 17:17 <nicoe> What the error means is that there is no database information into the tryton config file
2011-09-08 17:17 <nicoe> Did you successfully created the database
2011-09-08 17:17 <nicoe> Is the database visible with psql -l ?
2011-09-08 17:19 <Babalau> ok
2011-09-08 17:19 <Babalau> linux
2011-09-08 17:19 <Babalau> psql: FATAL: Ident authentication failed for user "litcanu"
2011-09-08 17:20 <nicoe> I guess you can not connect to postgresql ;)
2011-09-08 17:21 <Babalau> :)
2011-09-08 17:21 <Babalau> so... what do i do ?
2011-09-08 17:24 <nicoe> http://www.postgresql.org/docs/current/interactive/app-createuser.html
2011-09-08 17:24 -!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton
2011-09-08 17:28 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2011-09-08 17:29 <Babalau> createuser: could not connect to database postgres: FATAL: Ident authentication failed for user "
2011-09-08 17:29 <cedk> Babalau: must be run with the user postgres or _postgres (depending of your OS)
2011-09-08 17:32 <Babalau> pfff
2011-09-08 17:32 <Babalau> ok
2011-09-08 17:32 <Babalau> i'm lost
2011-09-08 17:32 <Babalau> ...
2011-09-08 17:36 -!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has joined #tryton
2011-09-08 17:38 <nicoe> Babalau: You must switch to another user than the one you're currently using (litcanu I guess)
2011-09-08 17:38 <Babalau> why ?
2011-09-08 17:39 <Babalau> this is the admin account on my OS (linux)
2011-09-08 17:40 <cedk> Babalau: ask Postgres devs
2011-09-08 17:40 <nicoe> because there is a privilege separation between the admin of your computer and the admin of the database cluster
2011-09-08 17:41 <Babalau> createuser: could not connect to database postgres: FATAL: Ident authentication failed for user "root"
2011-09-08 17:42 <nicoe> of course you must use the postgres user
2011-09-08 17:42 <nicoe> I guess you're using an ubuntu
2011-09-08 17:43 <nicoe> If so please read: /usr/share/doc/postgresql-common/README.Debian.gz
2011-09-08 17:43 <Babalau> mmm Linux Mint based on Debian
2011-09-08 17:43 <nicoe> It's based on debian so the file is probably at the same place
2011-09-08 17:44 <nicoe> Babalau: (lots of people use ubuntu)
2011-09-08 17:44 <nicoe> In this file there is a section "First steps for the impatient"
2011-09-08 17:44 <nicoe> It explains what you have to do
2011-09-08 17:45 <nicoe> (althought you don't have to create a database, tryton will do it for you)
2011-09-08 17:46 <nicoe> A rule of thumb: always read stuff in /usr/share/doc/<name-of-the-package>, there are valuable information there
2011-09-08 17:48 <Babalau> nicoe: thx
2011-09-08 17:48 <Babalau> i do have the file
2011-09-08 17:48 <Babalau> it's a verry short file
2011-09-08 17:48 <Babalau> no first steps in there
2011-09-08 17:50 <nicoe> It's a gzipped file
2011-09-08 17:51 <nicoe> Did you manage to open it ?
2011-09-08 17:53 <Babalau> sorry i have opened the wrong file
2011-09-08 18:49 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-09-08 18:49 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-09-08 19:10 -!- gremly(~gremly@200.106.218.64) has joined #tryton
2011-09-08 19:41 -!- smarro(~sebastian@host100.190-136-175.telecom.net.ar) has joined #tryton
2011-09-08 20:14 -!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton
2011-09-08 21:49 -!- Babalau(~litcanu@188.25.46.62) has left #tryton
2011-09-08 22:05 -!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has joined #tryton
2011-09-08 22:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-09-08 23:31 -!- elbenfreund(~elbenfreu@g226224146.adsl.alicedsl.de) has joined #tryton
2011-09-08 23:31 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-09-08 23:45 -!- bvillasanti(~bvillasan@186-129-248-247.static.speedy.com.ar) has left #tryton

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