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

chat.freenode.net #tryton log beginning Mon May 16 00:00:02 CEST 2011
2011-05-16 00:07 -!- elbenfreund(~elbenfreu@f055157007.adsl.alicedsl.de) has joined #tryton
2011-05-16 00:43 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-16 01:14 -!- elbenfreund1(~elbenfreu@f055157007.adsl.alicedsl.de) has joined #tryton
2011-05-16 03:01 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-16 04:20 -!- effenberg(~chlu@pD9E9C789.dip.t-dialin.net) has joined #tryton
2011-05-16 04:37 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-16 05:18 -!- yangoon(~mathiasb@p549F377D.dip.t-dialin.net) has joined #tryton
2011-05-16 07:04 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-16 07:30 -!- trifon(~trifon@p548C62D4.dip.t-dialin.net) has joined #tryton
2011-05-16 07:50 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-05-16 08:04 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-16 08:11 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-05-16 08:59 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-05-16 09:07 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-05-16 09:09 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-05-16 09:13 -!- elbenfreund(~elbenfreu@82.113.99.3) has joined #tryton
2011-05-16 09:28 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-16 09:32 -!- trifon(~trifon@p548C62D4.dip.t-dialin.net) has joined #tryton
2011-05-16 09:51 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-05-16 10:20 -!- trifon(~trifon@p548C6D2B.dip.t-dialin.net) has joined #tryton
2011-05-16 10:26 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-16 11:10 -!- helmor(~helmor@109.250.229.204) has joined #tryton
2011-05-16 11:18 -!- elbenfreund(~elbenfreu@p54B95164.dip.t-dialin.net) has joined #tryton
2011-05-16 11:44 -!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton
2011-05-16 11:58 <udono> ACTION back from India
2011-05-16 12:10 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton
2011-05-16 12:26 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton
2011-05-16 12:53 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has left #tryton
2011-05-16 13:26 -!- elbenfreund1(~elbenfreu@p54B95164.dip.t-dialin.net) has joined #tryton
2011-05-16 14:17 -!- silverfox1971(~sysadmin0@94.232.29.47) has joined #tryton
2011-05-16 14:55 -!- silverfox1971(~sysadmin0@94.232.29.47) has left #tryton
2011-05-16 15:43 -!- mrjbj(4c611c75@gateway/web/freenode/ip.76.97.28.117) has joined #tryton
2011-05-16 15:44 <mrjbj> Greetings, may I ask a question?
2011-05-16 15:45 <mrjbj> Well, here goes anyway.... I am new to tryton and am trying to get the HelloWorld tutorial working on the 2.0 source tree.
2011-05-16 15:45 <mrjbj> I am having trouble with the XML. It says "view_type" not valid or found.
2011-05-16 15:46 <mrjbj> Is there an XSD available that I can validate against?
2011-05-16 15:46 <cedk> mrjbj: the record field name are defined in the Model code
2011-05-16 15:46 <cedk> mrjbj: but simply the field view_type has been dropped in 2.0
2011-05-16 15:47 <mrjbj> I see, so the HelloWorld tutorial doesn't work in the 2.0 branch, correct?
2011-05-16 15:48 <cedk> mrjbj: I don't think
2011-05-16 15:48 <mrjbj> if 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?
2011-05-16 15:49 <mrjbj> like where is the entry, any enviroment variables need to be setup, etc.
2011-05-16 15:49 <cedk> mrjbj: I don't know never use any Python IDE
2011-05-16 15:51 <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?
2011-05-16 15:52 <mrjbj> also, is there an XSD to document the XML syntax that tryton expects in its module config files?
2011-05-16 15:53 <cedk> mrjbj: there is the tryton.rnc
2011-05-16 15:53 <cedk> mrjbj: but it is very generic as record means a record of a Model
2011-05-16 15:53 <cedk> mrjbj: and Model are defined in python modules
2011-05-16 15:55 <mrjbj> okay. thank you for your help. I will plow away throughout the 2.0 source as best as I can.
2011-05-16 15:55 <mrjbj> If there is any links or file you suggest for me to start reading, i would appreciate any pointers you can suggest.
2011-05-16 15:56 <mrjbj> thank you.
2011-05-16 15:56 <cedk> mrjbj: what is your purpose?
2011-05-16 15:56 <mrjbj> i want to use tryton to manage a business i am starting.
2011-05-16 15:57 <mrjbj> i need to extend the data model to allow for 3 tiers (reseller, distributor, producer)
2011-05-16 15:57 <mrjbj> I really impressed with the development platform and the way it works and want to use it for all my database development work.
2011-05-16 15:58 <mrjbj> I have been using Window WPF but it is a pain.
2011-05-16 16:01 <cedk> mrjbj: so I suggest you to start reading some simple modules like currency, country and party
2011-05-16 16:02 <cedk> mrjbj: otherwise you can have a look at http://hg2.tryton.org/1.8/training/
2011-05-16 16:02 <mrjbj> thanks for the tip on the modules.
2011-05-16 16:02 <cedk> mrjbj: it is a mq repo that covers a large field of the devs
2011-05-16 16:03 <cedk> mrjbj: it is for 1.8 but almost everything is still valid
2011-05-16 16:03 <mrjbj> oooooh. that sounds good.
2011-05-16 16:03 <mrjbj> any tips on python dev tools?
2011-05-16 16:03 <cedk> we need someone to port it on 2.0 :-)
2011-05-16 16:03 <cedk> mrjbj: vim :-)
2011-05-16 16:04 <mrjbj> i will help o nthe port assuming I can climb the learning curve on my own. I'll share whatever I learn.
2011-05-16 16:05 <mrjbj> I am familiar with vim but don't know how to use a 'non-integrated' debugger.
2011-05-16 16:05 <mrjbj> i'm used to stepping through code and watchign it work
2011-05-16 16:05 <mrjbj> how would I do that with tryton under ubuntu? do you have any thoughts there?
2011-05-16 16:06 <cedk> mrjbj: I don't use debugger with Python code
2011-05-16 16:06 <cedk> mrjbj: it is easier to just put print statement
2011-05-16 16:07 <mrjbj> hmmmmm.
2011-05-16 16:07 <bechamel> mrjbj: this may help http://docs.python.org/library/pdb.html
2011-05-16 16:09 <cedk> bechamel: not sure if it works under multi-threaded env
2011-05-16 16:10 <mrjbj> i 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.
2011-05-16 16:12 <bechamel> cedk: never had problem, but I call it explicitly from inside a model method, so it was inside the current thread
2011-05-16 16:13 -!- trifon_(~trifon@p548C6DC6.dip.t-dialin.net) has joined #tryton
2011-05-16 16:13 <bechamel> iirc with pdb.pm()
2011-05-16 16:15 <cedk> bechamel: this is not the normal usage
2011-05-16 16:22 <mrjbj> quick question: to get 1.8 training, I type "hg clone http://hg2.tryton.org/1.8/training", correct?
2011-05-16 16:22 <mrjbj> nevermind. i got it to work.
2011-05-16 17:32 -!- yangoon(~mathiasb@p549F377D.dip.t-dialin.net) has joined #tryton
2011-05-16 17:43 -!- elbenfreund2(~elbenfreu@p54B95794.dip.t-dialin.net) has joined #tryton
2011-05-16 17:44 -!- elbenfreund3(~elbenfreu@p54B95794.dip.t-dialin.net) has joined #tryton
2011-05-16 18:43 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-05-16 18:47 -!- elbenfreund(~elbenfreu@p54B95794.dip.t-dialin.net) has joined #tryton
2011-05-16 18:51 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-05-16 18:51 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-05-16 19:44 -!- silverfox1971(~sysadmin0@94.232.29.47) has joined #tryton
2011-05-16 19:45 -!- silverfox1971(~sysadmin0@94.232.29.47) has left #tryton
2011-05-16 19:54 -!- elbenfreund(~elbenfreu@f055198004.adsl.alicedsl.de) has joined #tryton
2011-05-16 19:55 -!- enlightx(~enlightx@dynamic-adsl-94-34-172-148.clienti.tiscali.it) has joined #tryton
2011-05-16 20:03 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-16 20:05 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2011-05-16 20:28 -!- enlightx(~enlightx@dynamic-adsl-94-34-172-148.clienti.tiscali.it) has joined #tryton
2011-05-16 21:18 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-05-16 21:26 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-16 21:35 -!- trifon_(~trifon@p548C6DC6.dip.t-dialin.net) has joined #tryton
2011-05-16 21:42 -!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-16 21:59 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-05-16 23:21 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-05-16 23:55 -!- trifon__(~trifon@p548C3403.dip.t-dialin.net) has joined #tryton

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