IRC logs of #tryton for Tuesday, 2017-07-11

chat.freenode.net #tryton log beginning Tue Jul 11 00:00:01 CEST 2017
2017-07-11 01:15 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-07-11 02:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-11 02:40 -!- theviajerock(~victor@190.159.161.228) has joined #tryton
2017-07-11 02:43 -!- theviajerock(~victor@190.159.161.228) has joined #tryton
2017-07-11 02:46 -!- theviajerock(~victor@190.159.161.228) has joined #tryton
2017-07-11 03:16 -!- thaneor1(~ldlc6@179.26.133.34) has joined #tryton
2017-07-11 05:10 -!- kstenger1(~karla@r186-50-63-114.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-11 06:38 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton
2017-07-11 07:17 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-07-11 08:58 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-07-11 09:36 -!- scrapper(~scrapper@mail.alpmine.com) has joined #tryton
2017-07-11 09:48 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-07-11 10:00 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2017-07-11 10:07 -!- rpit(~rpit@2a02:908:e671:9f80:56ee:75ff:fe0d:d3c7) has joined #tryton
2017-07-11 10:58 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-07-11 11:17 <sisalp> Hello, follow-up of the problems I had on Sunday, regarding configuration of a new database using sao 4.4
2017-07-11 11:19 <sisalp> I built a machine to run python 2.4.9 and the tryton-client. and I succeeded in getting a company set.
2017-07-11 11:23 <sisalp> The method : 1- I pass the first step (adding new users)
2017-07-11 11:24 <sisalp> 2- then I select account-fr for install
2017-07-11 11:25 <sisalp> 3- when prompted to creat a company, I can create the missing party, the indicate the currency and complete the setup.
2017-07-11 11:25 <sisalp> Now when I try the same from sao, at step 3, I cannot create the party and cannot write in the field party.
2017-07-11 11:26 <pokoli> sisalp: form is readonly?
2017-07-11 11:26 <sisalp> pokoli: not really, I changed my keyboard twice :-)
2017-07-11 11:27 <sisalp> I made another try. after step 1, I created the party, then I could complete step 3 because I could select that party
2017-07-11 11:27 <pokoli> sisalp: IIRC correctly there is some issue in sao when installing new modules with the wizard, that model permisions are not updated
2017-07-11 11:28 <pokoli> sisalp: refreshing the page should fix it
2017-07-11 11:28 <sisalp> I had some messages about permissions indeed.
2017-07-11 11:29 <sisalp> pokoli: do you know another method to setup a database ?
2017-07-11 11:30 <sisalp> I mean it is not obvious to select account-fr at first, but then I cannot add it correctly on my company
2017-07-11 11:31 <sisalp> I mean I cannot add it after the initial setup
2017-07-11 11:32 <sisalp> pokoli: I will make a try with your recommendation (refreshing)
2017-07-11 11:32 <pokoli> sisalp: I usually create the database with all the modules installed and then permisions are loaded correctly
2017-07-11 11:33 <sisalp> pokoli : you install modules with proteus ?
2017-07-11 11:36 <pokoli> sisalp: until http://hg.tryton.org/trytond/rev/8d4fb855d813 yes
2017-07-11 11:40 <pokoli> sisalp: And when using multiple servers, installing with the wizard causes problems as not all the pools are restarted
2017-07-11 11:41 <sisalp> pokoli: interesting, can you tell more ? I run multiple servers , but didn't figure out they could be linked by internals
2017-07-11 11:42 <pokoli> sisalp: I mean multiple server process on the same database
2017-07-11 11:42 <pokoli> sisalp: each process has its pool loaded in memory, and when you update a module the pool is restarted
2017-07-11 11:43 <pokoli> sisalp: but the other server process are not updated
2017-07-11 11:44 <pokoli> sisalp: and then you can request a class from the pool that is not loaded on the current server instance, which causes a KeyError which is raised to the client
2017-07-11 11:45 <sisalp> pokoli: ok, I understand. I 'm not in this case yet. Thank you for explaining.
2017-07-11 11:45 <sisalp> pokoli: I had a look at trytond-admin patch
2017-07-11 11:45 <sisalp> pokoli: looks like what I need ;-)
2017-07-11 11:46 <sisalp> pokoli: what is the tytpicall use for setting an empty database with pre-installed modules ?
2017-07-11 11:46 -!- csotelo(~csotelo@2001:1388:49c7:32d5:c390:e3f4:bf8f:a93a) has joined #tryton
2017-07-11 11:47 <pokoli> sisalp: we decide for our customers which modules they will use
2017-07-11 11:47 <sisalp> pokoli: I mean are there additional option on createdb command ? or the same createdb then an update command on the module list you need ?
2017-07-11 11:48 <pokoli> sisalp: no aditional option. Just createdb & trytond-admin -u <module_list> --install-dependencies
2017-07-11 11:49 <sisalp> pokoli: just awesome. Can it be backported to 4.4 ?
2017-07-11 11:49 <pokoli> sisalp: new features are not backported to released versions ;)
2017-07-11 11:50 <sisalp> pokoli: but maybe the same patch would apply ?
2017-07-11 11:54 <sisalp> pokoli: than you, I think I have the point and will go back to my customer's case.
2017-07-11 11:56 <pokoli> sisalp: but probably the patch will apply without problems
2017-07-11 11:57 <sisalp> Another problem I had was to get a usable tryton client, while I had only a xubuntu 14.04 machine. I couldn't find a simple solution to get python2.7.9+ on it. I rurrended and update that machine to xubuntu 16.04
2017-07-11 11:57 <pokoli> sisalp: IIRC the first version of this patch was developed against 4.2
2017-07-11 11:58 <sisalp> pokoli: I will make a try to apply the patch on 4.4. If it works, I post here.
2017-07-11 11:59 <sisalp> pokoli: but if I can write a short instruction to overcome this problem, then I can stay with the standard.
2017-07-11 11:59 <pokoli> sisalp: you can use a proteus script to do the same with older versions
2017-07-11 12:02 <sisalp> pokoli: and my initial problem can turn to be a bug finaly. And, yes, proteus is an alternative, probably the way to go for more complex projects than my initial profiles of databases.
2017-07-11 12:09 <pokoli> sisalp: I have the idea to create something to manage tryton instances, and one of it's functionalities is to activate modules
2017-07-11 12:13 <cedk> if there is a bug in sao, it should be filled
2017-07-11 12:14 <sisalp> pokoli: would be happy to share my exeperience with the script I use. It is old/specific techno, but does the job.
2017-07-11 12:14 <sisalp> cedk: do you think it is a bug ?
2017-07-11 12:21 <pokoli> sisalp: I think so
2017-07-11 12:27 <cedk> if a wizard can not be used, it is a bug
2017-07-11 13:29 -!- mariomop(~quassel@181.95.246.189) has joined #tryton
2017-07-11 13:58 <sisalp> pokoli: cedk: issue 6635 created
2017-07-11 14:02 -!- flachtassekasse(~flachtass@5.104.149.54) has joined #tryton
2017-07-11 14:02 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-07-11 15:19 -!- thaneor(~ldlc6@179.26.143.2) has joined #tryton
2017-07-11 16:18 -!- kstenger(~karla@r186-50-63-114.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-11 17:11 -!- kstenger1(~karla@r190-133-126-15.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-07-11 17:22 -!- udono1(~udono@078-058-210-188.ip-addr.inexio.net) has joined #tryton
2017-07-11 19:03 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-07-11 20:14 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:42 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2017-07-11 20:43 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:46 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:49 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:52 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:53 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:54 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:56 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:57 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 20:57 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:03 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:08 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:14 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:17 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:22 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:25 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:32 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:47 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:51 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 21:54 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 22:00 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2017-07-11 22:10 -!- Xevi(~Greg@95.106.19.95.dynamic.jazztel.es) has joined #tryton
2017-07-11 22:14 <Xevi> hi , I'm starting developing with tryton and I'm looking for examples
2017-07-11 22:14 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2017-07-11 22:15 <Xevi> I tried this one https://github.com/tryton/tryton-documentation/tree/master/library_demo_module but it don't work as is
2017-07-11 22:15 <Xevi> anyone knows simple exapmles of tryton modules?
2017-07-11 22:32 <kstenger> hi Xevi, the link you show has an example 3 years old, it will just work with tryton 3.2 (check the tryton.cfg file to know this). Explaining what is not working would be a good start. Even when it's a bit outdated, it will give you a good catch of the tryton concepts I think.
2017-07-11 22:33 <kstenger> Xevi: there is also http://hg.tryton.org/training (the description to use it is at http://hg.tryton.org/ on the training description), it's more up to date, it should at least work with 3.8
2017-07-11 22:33 <Xevi> thank yo kstenger now i know why it fails with tryton 4.4.0
2017-07-11 22:33 <kstenger> Xevi: that was my first guess :)
2017-07-11 22:35 <kstenger> Xevi: of course, after you had your first intro to the modules construction, just dive in to any of the available modules (officials or not) and you will learn tons
2017-07-11 22:35 <Xevi> i supose there is no updated version of this example but i will check the changes
2017-07-11 22:35 <kstenger> Xevi: just use it with the right tryton version
2017-07-11 22:36 <Xevi> thank you a lot :)
2017-07-11 22:39 <kstenger> there is also this Xevi http://downloads.tryton.org/TUL2014/crash-course.pdf
2017-07-11 22:40 <kstenger> it contains a lot of info about other tools that you may need in the future around tryton
2017-07-11 22:40 <Xevi> I will check this perhaps with this i can update the example
2017-07-11 22:50 -!- JosDzG(~Thunderbi@189.250.45.130) has joined #tryton
2017-07-11 22:54 -!- lukio(~lukio@200.68.72.41) has joined #tryton
2017-07-11 22:54 -!- lukio(~lukio@200.68.72.41) has left #tryton

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