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

chat.freenode.net #tryton log beginning Fri Jul 17 00:00:02 CEST 2015
-!- smarro(~sebastian@181.109.252.36) has joined #tryton00:03
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton01:22
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton01:27
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton01:55
-!- udono(~udono@p50938317.dip0.t-ipconnect.de) has joined #tryton02:16
-!- smarro(~sebastian@181.192.57.21) has joined #tryton02:49
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton02:53
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:23
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:35
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:37
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:39
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton05:25
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton05:32
-!- frispete_(~frispete@p54A91EC0.dip0.t-ipconnect.de) has joined #tryton06:41
-!- yangoon1(~mathiasb@p549F1F92.dip0.t-ipconnect.de) has joined #tryton07:01
-!- rainer_sonstwo(~rainer@pd956864b.dip0.t-ipconnect.de) has joined #tryton07:22
-!- woakas1(~woakas@static.13.240.46.78.clients.your-server.de) has joined #tryton07:22
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:11
-!- rpit(~rpit@2a02:908:e670:6ac0:b4b0:a28b:f238:fba1) has joined #tryton08:40
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:02
-!- udono(~udono@ip-178-202-238-79.hsi09.unitymediagroup.de) has joined #tryton09:18
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:36
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton09:52
-!- Telesight(~anthony@4dafe0c0.ftth.telfortglasvezel.nl) has joined #tryton10:46
-!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton10:46
Jitesh_Nairhow to update a db from a server with xml10:46
Jitesh_Nair?10:46
cedkJitesh_Nair: not sure to understand the question10:47
cedkJitesh_Nair: especialy the "with XML"10:47
Jitesh_Nairohh how can we update a client db from the server???10:48
cedkJitesh_Nair: what is a "client db" ?10:48
cedkJitesh_Nair: Tryton only uses database on the server side10:48
Jitesh_Naircedk, a trytond running on the client side10:48
cedkJitesh_Nair: you mean neso ?10:48
Jitesh_Naircedk, i dont think its neso iam trying with trytond10:49
cedktrytond has no database on client side10:49
Jitesh_Nairlets say trytond servers are running independently on the client systems10:50
Jitesh_Nairand we will update them in time from server in regular intervals?10:50
cedkJitesh_Nair: what are you calling "server" and "client" ?10:50
Jitesh_Naircedk, sorry for the confusion10:51
Jitesh_Nairevery client side a trytond server running independently10:51
Jitesh_Nairand the centralized server(not necessary trytond) will update it in intervals10:52
Jitesh_Nairi learnt that xmls are used in module10:52
Jitesh_Nairi learnt that xmls are used in modules like in party and group creations10:52
Jitesh_Nairbut for that we need to update the trytond server10:52
Jitesh_Nairi was thinking is there any way we can pass xml files through the network and the trytond will update the data while it is running10:53
cedkJitesh_Nair: first you should not talk about client side as the side of your customer (or what ever)10:53
cedkJitesh_Nair: where trytond is running is the server side10:53
cedkJitesh_Nair: it can be the same side as the client side (where tryton is running)10:54
cedkJitesh_Nair: managing instances of trytond is out of the scope of Tryton10:54
cedkJitesh_Nair: it is IT-management and you should look for tool with this purpose10:55
cedklike probably puppet or chief etc.10:55
Jitesh_Naircedk, ok.. so let me make it simple how to update or communicate with trytond and update it with xml data10:55
pokoliJitesh_Nair: you want to update data from a trytond to another trytond instances?10:56
cedkJitesh_Nair: run: trytond -d <db> --all10:56
Jitesh_Nairno not like that10:56
Jitesh_Nairwe have some data in xml files and we need to update it in the trytond server10:56
nicoeJitesh_Nair: What do you want to do? What is your problem?10:56
Jitesh_Nairoh let me say what i tried10:57
cedkJitesh_Nair: FYI, you don't need to update the database if you did not change the source code (XML included)10:57
Jitesh_Nairi wrote a tryton.conf file in a custom module and wrote the xml file name10:58
Jitesh_Nairthen i wrote the data in the xml file and updated the trytond with trytond -d <db> --all10:58
Jitesh_Nairthat was successfull10:58
Jitesh_Nairnow for that we need to update the db, i was asking if there is any way to do it while the server is running10:59
cedkJitesh_Nair: but you allready updated the database11:00
nicoeJitesh_Nair: You can update a database of a running tryton instance11:01
Jitesh_Nairthrough the code eg:we are receiving the xml code from the network and we adding this new data to the database11:01
cedkJitesh_Nair: don't use XML files for that11:01
cedkJitesh_Nair: XML files are for static data11:01
cedkJitesh_Nair: write a wizard or a cron task to fetch and process the data11:01
Jitesh_Nairohh sorry for the confusion, updating==adding new data like new fields (sorry again for the confusion)11:01
Jitesh_Naireg: a new company named : sony and its other parameters will be passed through the network and we would update/add it to the trytond11:03
cedkJitesh_Nair: What!!!11:03
nicoeJitesh_Nair: As cedk said XML is for static data11:03
cedkJitesh_Nair: I realy don't understand what you try to acheive11:04
Jitesh_Nairi minute i shall show what i wrote11:04
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton11:05
Jitesh_Nairhttp://dpaste.com/3QK9BXH11:06
Jitesh_Nairguys this will be my code11:07
Jitesh_Nairlet 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.11:08
nicoeJitesh_Nair: Let me repeat: XML is for static data11:09
cedkJitesh_Nair: WTF creating user with XML file !?!11:09
Jitesh_Nairwhile cedk said xml is not for such purpose. i may think of some other alternatives, and what will be the better way?11:09
Jitesh_Naircedk, that was a n example :/11:09
cedkJitesh_Nair: to create user, use the user form11:09
Jitesh_Nairthank you for time guys....11:12
pokoliJitesh_Nair: or use a proteus script that connects to the server and creates the user ;)11:28
Jitesh_Nairpokoli, 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 trytond11:31
Jitesh_Naircreating a user*(not server)11:31
Jitesh_Nairi wont create user with xml11:32
Jitesh_Nairthat was just a small example11:32
pokoliJitesh_Nair: use proteus with xml-rpc11:36
Jitesh_Nairohh kk now thats a good suggestion i shall look into it!! :)11:37
-!- mariomop(~quassel@host132.186-125-111.telecom.net.ar) has joined #tryton13:09
-!- rpit1(~rpit@2a02:908:e670:6ac0:151a:aa62:bba1:b125) has joined #tryton13:16
-!- kstenger(~karla@200.124.209.158) has joined #tryton13:43
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton13:52
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton13:52
-!- smilicic(~smilicic@141-136-233-139.dsl.iskon.hr) has joined #tryton14:22
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton14:43
-!- smarro(~sebastian@181.192.57.21) has joined #tryton14:43
-!- pablovannini(~pablo@181.47.148.245) has joined #tryton14:46
-!- VaticanCameos(~pritishc@103.47.164.254) has joined #tryton14:48
-!- FvD(~Thunderbi@ip95-153-64-186.ct.co.cr) has joined #tryton15:16
-!- smarro(~sebastian@181.16.124.164) has joined #tryton16:23
-!- Telesight(~anthony@4dafe0c0.ftth.telfortglasvezel.nl) has joined #tryton16:24
-!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton16:24
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton16:35
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton17:32
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton18:17
-!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton18:25
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton18:38
-!- cinik(~smilicic@203-174.dsl.iskon.hr) has joined #tryton20:04
-!- sunny_dealmeida(~quassel@203.115.83.43) has joined #tryton20:05
-!- rpit(~rpit@2a02:908:e670:6ac0:4d7c:87ca:c9cb:1854) has joined #tryton20:15
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton21:33
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton21:34
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton23:25

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