IRC logs of #tryton for Monday, 2011-05-16

chat.freenode.net #tryton log beginning Mon May 16 00:00:02 CEST 2011
-!- elbenfreund(~elbenfreu@f055157007.adsl.alicedsl.de) has joined #tryton00:07
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton00:43
-!- elbenfreund1(~elbenfreu@f055157007.adsl.alicedsl.de) has joined #tryton01:14
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton03:01
-!- effenberg(~chlu@pD9E9C789.dip.t-dialin.net) has joined #tryton04:20
-!- gremly(~gremly@200.106.202.91) has joined #tryton04:37
-!- yangoon(~mathiasb@p549F377D.dip.t-dialin.net) has joined #tryton05:18
-!- predatell(~predatell@85.198.132.141) has joined #tryton07:04
-!- trifon(~trifon@p548C62D4.dip.t-dialin.net) has joined #tryton07:30
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton07:50
-!- gremly(~gremly@200.106.202.91) has joined #tryton08:04
-!- okko(~okko@62.58.29.41) has joined #tryton08:11
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton08:59
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton09:07
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton09:09
-!- elbenfreund(~elbenfreu@82.113.99.3) has joined #tryton09:13
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:28
-!- trifon(~trifon@p548C62D4.dip.t-dialin.net) has joined #tryton09:32
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton09:51
-!- trifon(~trifon@p548C6D2B.dip.t-dialin.net) has joined #tryton10:20
-!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton10:26
-!- helmor(~helmor@109.250.229.204) has joined #tryton11:10
-!- elbenfreund(~elbenfreu@p54B95164.dip.t-dialin.net) has joined #tryton11:18
-!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton11:44
udonoACTION back from India11:58
-!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton12:10
-!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton12:26
-!- silverfox1971(~sysadmin0@office.delfi2000.ru) has left #tryton12:53
-!- elbenfreund1(~elbenfreu@p54B95164.dip.t-dialin.net) has joined #tryton13:26
-!- silverfox1971(~sysadmin0@94.232.29.47) has joined #tryton14:17
-!- silverfox1971(~sysadmin0@94.232.29.47) has left #tryton14:55
-!- mrjbj(4c611c75@gateway/web/freenode/ip.76.97.28.117) has joined #tryton15:43
mrjbjGreetings, may I ask a question?15:44
mrjbjWell, here goes anyway.... I am new to tryton and am trying to get the HelloWorld tutorial working on the 2.0 source tree.15:45
mrjbjI am having trouble with the XML.  It says "view_type" not valid or found.15:45
mrjbjIs there an XSD available that I can validate against?15:46
cedkmrjbj: the record field name are defined in the Model code15:46
cedkmrjbj: but simply the field view_type has been dropped in 2.015:46
mrjbjI see, so the HelloWorld tutorial doesn't work in the 2.0 branch, correct?15:47
cedkmrjbj: I don't think15:48
mrjbjif I wanted to fire up 2.0 in a Pyton IDE, to trace (and learn) the source code, is there anything special I need to know?15:48
mrjbjlike where is the entry, any enviroment variables need to be setup, etc.15:49
cedkmrjbj: I don't know never use any Python IDE15:49
mrjbj(appreciate your help here, cedk.  Thank you for responding to the questions).  I'm familiar with several languages but just learning python.  I understand I have to dig into the code to start and learn tryton, but need some help to get started.  what tools/approach would you recommend?15:51
mrjbjalso, is there an XSD to document the XML syntax that tryton expects in its module config files?15:52
cedkmrjbj: there is the tryton.rnc15:53
cedkmrjbj: but it is very generic as record means a record of a Model15:53
cedkmrjbj: and Model are defined in python modules15:53
mrjbjokay. thank you for your help.  I will plow away throughout the 2.0 source as best as I can.15:55
mrjbjIf there is any links or file you suggest for me to start reading, i would appreciate any pointers you can suggest.15:55
mrjbjthank you.15:56
cedkmrjbj: what is your purpose?15:56
mrjbji want to use tryton to manage a business i am starting.15:56
mrjbji need to extend the data model to allow for 3 tiers (reseller, distributor, producer)15:57
mrjbjI really impressed with the development platform and the way it works and want to use it for all my database development work.15:57
mrjbjI have been using Window WPF but it is a pain.15:58
cedkmrjbj: so I suggest you to start reading some simple modules like currency, country and party16:01
cedkmrjbj: otherwise you can have a look at http://hg2.tryton.org/1.8/training/16:02
mrjbjthanks for the tip on the modules.16:02
cedkmrjbj: it is a mq repo that covers a large field of the devs16:02
cedkmrjbj: it is for 1.8 but almost everything is still valid16:03
mrjbjoooooh. that sounds good.16:03
mrjbjany tips on python dev tools?16:03
cedkwe need someone to port it on 2.0 :-)16:03
cedkmrjbj: vim :-)16:03
mrjbji will help o nthe port assuming I can climb the learning curve on my own.  I'll share whatever I learn.16:04
mrjbjI am familiar with vim but don't know how to use a 'non-integrated' debugger.16:05
mrjbji'm used to stepping through code and watchign it work16:05
mrjbjhow would I do that with tryton under ubuntu? do you have any thoughts there?16:05
cedkmrjbj: I don't use debugger with Python code16:06
cedkmrjbj: it is easier to just put print statement16:06
mrjbjhmmmmm.16:07
bechamelmrjbj: this may help http://docs.python.org/library/pdb.html16:07
cedkbechamel: not sure if it works under multi-threaded env16:09
mrjbji tried to use that last night but was not sure how to start it all up.  the trytond.sh file appears to be doing some environment setup stuff for different platform, etc that I didn't understand initially.  I can look at this again more fully later.16:10
bechamelcedk: never had problem, but I call it explicitly from inside a model method, so it was inside the current thread16:12
-!- trifon_(~trifon@p548C6DC6.dip.t-dialin.net) has joined #tryton16:13
bechameliirc with pdb.pm()16:13
cedkbechamel: this is not the normal usage16:15
mrjbjquick question: to get 1.8 training, I type "hg clone http://hg2.tryton.org/1.8/training", correct?16:22
mrjbjnevermind. i got it to work.16:22
-!- yangoon(~mathiasb@p549F377D.dip.t-dialin.net) has joined #tryton17:32
-!- elbenfreund2(~elbenfreu@p54B95794.dip.t-dialin.net) has joined #tryton17:43
-!- elbenfreund3(~elbenfreu@p54B95794.dip.t-dialin.net) has joined #tryton17:44
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton18:43
-!- elbenfreund(~elbenfreu@p54B95794.dip.t-dialin.net) has joined #tryton18:47
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton18:51
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton18:51
-!- silverfox1971(~sysadmin0@94.232.29.47) has joined #tryton19:44
-!- silverfox1971(~sysadmin0@94.232.29.47) has left #tryton19:45
-!- elbenfreund(~elbenfreu@f055198004.adsl.alicedsl.de) has joined #tryton19:54
-!- enlightx(~enlightx@dynamic-adsl-94-34-172-148.clienti.tiscali.it) has joined #tryton19:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:03
-!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton20:05
-!- enlightx(~enlightx@dynamic-adsl-94-34-172-148.clienti.tiscali.it) has joined #tryton20:28
-!- FWiesing(~franz@mail.tryton.at) has joined #tryton21:18
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton21:26
-!- trifon_(~trifon@p548C6DC6.dip.t-dialin.net) has joined #tryton21:35
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton21:42
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton21:59
-!- FWiesing(~franz@mail.tryton.at) has left #tryton23:21
-!- trifon__(~trifon@p548C3403.dip.t-dialin.net) has joined #tryton23:55

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