IRC logs of #tryton for Friday, 2015-07-17

chat.freenode.net #tryton log beginning Fri Jul 17 00:00:02 CEST 2015
2015-07-17 00:03 -!- smarro(~sebastian@181.109.252.36) has joined #tryton
2015-07-17 01:22 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 01:27 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 01:55 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 02:16 -!- udono(~udono@p50938317.dip0.t-ipconnect.de) has joined #tryton
2015-07-17 02:49 -!- smarro(~sebastian@181.192.57.21) has joined #tryton
2015-07-17 02:53 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 03:23 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 03:35 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 03:37 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 03:39 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 05:25 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 05:32 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-07-17 06:41 -!- frispete_(~frispete@p54A91EC0.dip0.t-ipconnect.de) has joined #tryton
2015-07-17 07:01 -!- yangoon1(~mathiasb@p549F1F92.dip0.t-ipconnect.de) has joined #tryton
2015-07-17 07:22 -!- rainer_sonstwo(~rainer@pd956864b.dip0.t-ipconnect.de) has joined #tryton
2015-07-17 07:22 -!- woakas1(~woakas@static.13.240.46.78.clients.your-server.de) has joined #tryton
2015-07-17 08:11 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-07-17 08:40 -!- rpit(~rpit@2a02:908:e670:6ac0:b4b0:a28b:f238:fba1) has joined #tryton
2015-07-17 09:02 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-07-17 09:18 -!- udono(~udono@ip-178-202-238-79.hsi09.unitymediagroup.de) has joined #tryton
2015-07-17 09:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-07-17 09:52 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2015-07-17 10:46 -!- Telesight(~anthony@4dafe0c0.ftth.telfortglasvezel.nl) has joined #tryton
2015-07-17 10:46 -!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton
2015-07-17 10:46 <Jitesh_Nair> how to update a db from a server with xml
2015-07-17 10:46 <Jitesh_Nair> ?
2015-07-17 10:47 <cedk> Jitesh_Nair: not sure to understand the question
2015-07-17 10:47 <cedk> Jitesh_Nair: especialy the "with XML"
2015-07-17 10:48 <Jitesh_Nair> ohh how can we update a client db from the server???
2015-07-17 10:48 <cedk> Jitesh_Nair: what is a "client db" ?
2015-07-17 10:48 <cedk> Jitesh_Nair: Tryton only uses database on the server side
2015-07-17 10:48 <Jitesh_Nair> cedk, a trytond running on the client side
2015-07-17 10:48 <cedk> Jitesh_Nair: you mean neso ?
2015-07-17 10:49 <Jitesh_Nair> cedk, i dont think its neso iam trying with trytond
2015-07-17 10:49 <cedk> trytond has no database on client side
2015-07-17 10:50 <Jitesh_Nair> lets say trytond servers are running independently on the client systems
2015-07-17 10:50 <Jitesh_Nair> and we will update them in time from server in regular intervals?
2015-07-17 10:50 <cedk> Jitesh_Nair: what are you calling "server" and "client" ?
2015-07-17 10:51 <Jitesh_Nair> cedk, sorry for the confusion
2015-07-17 10:51 <Jitesh_Nair> every client side a trytond server running independently
2015-07-17 10:52 <Jitesh_Nair> and the centralized server(not necessary trytond) will update it in intervals
2015-07-17 10:52 <Jitesh_Nair> i learnt that xmls are used in module
2015-07-17 10:52 <Jitesh_Nair> i learnt that xmls are used in modules like in party and group creations
2015-07-17 10:52 <Jitesh_Nair> but for that we need to update the trytond server
2015-07-17 10:53 <Jitesh_Nair> i was thinking is there any way we can pass xml files through the network and the trytond will update the data while it is running
2015-07-17 10:53 <cedk> Jitesh_Nair: first you should not talk about client side as the side of your customer (or what ever)
2015-07-17 10:53 <cedk> Jitesh_Nair: where trytond is running is the server side
2015-07-17 10:54 <cedk> Jitesh_Nair: it can be the same side as the client side (where tryton is running)
2015-07-17 10:54 <cedk> Jitesh_Nair: managing instances of trytond is out of the scope of Tryton
2015-07-17 10:55 <cedk> Jitesh_Nair: it is IT-management and you should look for tool with this purpose
2015-07-17 10:55 <cedk> like probably puppet or chief etc.
2015-07-17 10:55 <Jitesh_Nair> cedk, ok.. so let me make it simple how to update or communicate with trytond and update it with xml data
2015-07-17 10:56 <pokoli> Jitesh_Nair: you want to update data from a trytond to another trytond instances?
2015-07-17 10:56 <cedk> Jitesh_Nair: run: trytond -d <db> --all
2015-07-17 10:56 <Jitesh_Nair> no not like that
2015-07-17 10:56 <Jitesh_Nair> we have some data in xml files and we need to update it in the trytond server
2015-07-17 10:56 <nicoe> Jitesh_Nair: What do you want to do? What is your problem?
2015-07-17 10:57 <Jitesh_Nair> oh let me say what i tried
2015-07-17 10:57 <cedk> Jitesh_Nair: FYI, you don't need to update the database if you did not change the source code (XML included)
2015-07-17 10:58 <Jitesh_Nair> i wrote a tryton.conf file in a custom module and wrote the xml file name
2015-07-17 10:58 <Jitesh_Nair> then i wrote the data in the xml file and updated the trytond with trytond -d <db> --all
2015-07-17 10:58 <Jitesh_Nair> that was successfull
2015-07-17 10:59 <Jitesh_Nair> now for that we need to update the db, i was asking if there is any way to do it while the server is running
2015-07-17 11:00 <cedk> Jitesh_Nair: but you allready updated the database
2015-07-17 11:01 <nicoe> Jitesh_Nair: You can update a database of a running tryton instance
2015-07-17 11:01 <Jitesh_Nair> through the code eg:we are receiving the xml code from the network and we adding this new data to the database
2015-07-17 11:01 <cedk> Jitesh_Nair: don't use XML files for that
2015-07-17 11:01 <cedk> Jitesh_Nair: XML files are for static data
2015-07-17 11:01 <cedk> Jitesh_Nair: write a wizard or a cron task to fetch and process the data
2015-07-17 11:01 <Jitesh_Nair> ohh sorry for the confusion, updating==adding new data like new fields (sorry again for the confusion)
2015-07-17 11:03 <Jitesh_Nair> eg: a new company named : sony and its other parameters will be passed through the network and we would update/add it to the trytond
2015-07-17 11:03 <cedk> Jitesh_Nair: What!!!
2015-07-17 11:03 <nicoe> Jitesh_Nair: As cedk said XML is for static data
2015-07-17 11:04 <cedk> Jitesh_Nair: I realy don't understand what you try to acheive
2015-07-17 11:04 <Jitesh_Nair> i minute i shall show what i wrote
2015-07-17 11:05 -!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton
2015-07-17 11:06 <Jitesh_Nair> http://dpaste.com/3QK9BXH
2015-07-17 11:07 <Jitesh_Nair> guys this will be my code
2015-07-17 11:08 <Jitesh_Nair> let say while my trytond is running i will get this code and i need to add this data to my trytond server while it is running.
2015-07-17 11:09 <nicoe> Jitesh_Nair: Let me repeat: XML is for static data
2015-07-17 11:09 <cedk> Jitesh_Nair: WTF creating user with XML file !?!
2015-07-17 11:09 <Jitesh_Nair> while cedk said xml is not for such purpose. i may think of some other alternatives, and what will be the better way?
2015-07-17 11:09 <Jitesh_Nair> cedk, that was a n example :/
2015-07-17 11:09 <cedk> Jitesh_Nair: to create user, use the user form
2015-07-17 11:12 <Jitesh_Nair> thank you for time guys....
2015-07-17 11:28 <pokoli> Jitesh_Nair: or use a proteus script that connects to the server and creates the user ;)
2015-07-17 11:31 <Jitesh_Nair> pokoli, it was not about creating a server, eg: from the network we get a new company detail or a list of new companies, i was thinking to create a xml file that will add the new data to the trytond
2015-07-17 11:31 <Jitesh_Nair> creating a user*(not server)
2015-07-17 11:32 <Jitesh_Nair> i wont create user with xml
2015-07-17 11:32 <Jitesh_Nair> that was just a small example
2015-07-17 11:36 <pokoli> Jitesh_Nair: use proteus with xml-rpc
2015-07-17 11:37 <Jitesh_Nair> ohh kk now thats a good suggestion i shall look into it!! :)
2015-07-17 13:09 -!- mariomop(~quassel@host132.186-125-111.telecom.net.ar) has joined #tryton
2015-07-17 13:16 -!- rpit1(~rpit@2a02:908:e670:6ac0:151a:aa62:bba1:b125) has joined #tryton
2015-07-17 13:43 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2015-07-17 13:52 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-07-17 13:52 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-07-17 14:22 -!- smilicic(~smilicic@141-136-233-139.dsl.iskon.hr) has joined #tryton
2015-07-17 14:43 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 14:43 -!- smarro(~sebastian@181.192.57.21) has joined #tryton
2015-07-17 14:46 -!- pablovannini(~pablo@181.47.148.245) has joined #tryton
2015-07-17 14:48 -!- VaticanCameos(~pritishc@103.47.164.254) has joined #tryton
2015-07-17 15:16 -!- FvD(~Thunderbi@ip95-153-64-186.ct.co.cr) has joined #tryton
2015-07-17 16:23 -!- smarro(~sebastian@181.16.124.164) has joined #tryton
2015-07-17 16:24 -!- Telesight(~anthony@4dafe0c0.ftth.telfortglasvezel.nl) has joined #tryton
2015-07-17 16:24 -!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton
2015-07-17 16:35 -!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton
2015-07-17 17:32 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 18:17 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 18:25 -!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton
2015-07-17 18:38 -!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton
2015-07-17 20:04 -!- cinik(~smilicic@203-174.dsl.iskon.hr) has joined #tryton
2015-07-17 20:05 -!- sunny_dealmeida(~quassel@203.115.83.43) has joined #tryton
2015-07-17 20:15 -!- rpit(~rpit@2a02:908:e670:6ac0:4d7c:87ca:c9cb:1854) has joined #tryton
2015-07-17 21:33 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton
2015-07-17 21:34 -!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton
2015-07-17 23:25 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton

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