IRC logs of #tryton for Wednesday, 2014-07-09

chat.freenode.net #tryton log beginning Wed Jul 9 00:00:02 CEST 2014
2014-07-09 01:19 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-09 01:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-09 03:58 -!- sharoonthomas(~sharoonth@122.177.180.176) has joined #tryton
2014-07-09 05:37 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-07-09 06:41 -!- frispete(~frispete@p54A910E0.dip0.t-ipconnect.de) has joined #tryton
2014-07-09 06:59 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-09 07:01 -!- yangoon(~mathiasb@p549F07DA.dip0.t-ipconnect.de) has joined #tryton
2014-07-09 07:15 -!- elcashout(~elcashout@cpe-174-105-253-71.insight.res.rr.com) has joined #tryton
2014-07-09 07:49 -!- rpit(~ralf@dslb-088-070-155-043.pools.arcor-ip.net) has joined #tryton
2014-07-09 07:56 -!- marius__(~marius@84.240.8.12) has joined #tryton
2014-07-09 08:12 -!- rpit(~ralf@dslb-088-070-155-043.pools.arcor-ip.net) has joined #tryton
2014-07-09 08:21 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-07-09 08:29 -!- vaab(~vaab@cha28-1-82-240-147-17.fbx.proxad.net) has joined #tryton
2014-07-09 08:30 -!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2014-07-09 08:34 <vaab> HI, I've seen some development on tryton for angular.js... what are the plans ?
2014-07-09 08:35 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-07-09 08:36 <vaab> Repeating my question for sharronthomas ;) : Hi, I've seen some development on tryton for angular.js... what are the plans ?
2014-07-09 08:36 <vaab> argl
2014-07-09 08:36 <vaab> never going to make it ;)
2014-07-09 08:44 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-07-09 09:04 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-07-09 09:08 -!- Streward(~quassel@85.183.31.24) has joined #tryton
2014-07-09 09:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-09 09:18 -!- udono(~udono@ip-109-90-216-79.unitymediagroup.de) has joined #tryton
2014-07-09 09:27 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-07-09 09:30 -!- nicoe(~nicoe@balisto.office.b2ck.com) has joined #tryton
2014-07-09 09:46 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-07-09 09:52 <sharoonthomas> hello vaab
2014-07-09 09:54 <sharoonthomas> do you have a question about angular-tryton ?
2014-07-09 09:55 -!- tarunbhardwaj(~pfuser@118.91.181.250) has joined #tryton
2014-07-09 09:56 -!- GauravButola(765bb5fa@gateway/web/freenode/ip.118.91.181.250) has joined #tryton
2014-07-09 09:57 -!- GauravButola(~gauravbut@118.91.181.250) has joined #tryton
2014-07-09 10:22 -!- prksh(~prksh@118.91.181.250) has left #tryton
2014-07-09 10:22 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-09 10:45 -!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2014-07-09 11:12 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-07-09 11:15 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton
2014-07-09 11:18 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-07-09 11:30 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-07-09 11:38 <vaab> sharoonthomas: Yes, hi, I've seen some development on tryton for angular.js... what are the plans ?
2014-07-09 11:39 <vaab> sharoothomas: and what about nereid ? Is it supposed to be a new start ?
2014-07-09 11:39 <sharoonthomas> vaab: we already use it to build mobile apps powered by ionic and other web applications
2014-07-09 11:39 <sharoonthomas> vaab: both have different purposes in life
2014-07-09 11:39 <sharoonthomas> vaab: nereid is useful to build apps like commerce, CRM etc where the user would not be a tryton user (like customers, suppliers etc)
2014-07-09 11:40 <sharoonthomas> vaab: while angular-tryton could be used to build a tryton client and would need a tryton username and password
2014-07-09 11:41 <vaab> sharoonthomas: ok, I'm really new to tryton universe, so sorry if my question are noob's one ;)
2014-07-09 11:41 <sharoonthomas> vaab: there is also a angular-nereid-auth if you are interested in using angular js with nereid
2014-07-09 11:42 <sharoonthomas> vaab: don't worry about it.... If a newbie has a bad time, it's a bug... https://twitter.com/sharoonthomas/status/486701761894174720
2014-07-09 11:42 <vaab> sharoonthomas: and what are the states of these 2 projects ? beta ? do you use them in production ?
2014-07-09 11:42 <sharoonthomas> vaab: we use both in production
2014-07-09 11:43 <sharoonthomas> vaab: if you need to hear big names, the Government of Greenland uses nereid
2014-07-09 11:45 <vaab> sharoonthomas: I'm a developper, I'm already convinced by things like: testability, code quality, avoidance of NIH syndrome and things like this.
2014-07-09 11:45 <sharoonthomas> vaab: :)
2014-07-09 11:46 <sharoonthomas> vaab: what do you plan on using nereid for ? if you mention what you are thinking of developing I might be able to reason with you on what's best
2014-07-09 11:46 <vaab> sharoonthomas: but I'm a contract developer, and I was paid to work on openerp/odoo code a lot. https://github.com/0k/web_fullcalendar ... And it's a pain in the ass.
2014-07-09 11:47 <vaab> sharoonthomas: I'd like to get arguments to convince the people that usually pay me to convince them that tryton community is better ;)
2014-07-09 11:48 <sharoonthomas> vaab: we still get paid to develop on odoo/openerp and we convince customers that Tryton is a better choice
2014-07-09 11:49 <sharoonthomas> vaab: customers who pay due diligence before choosing their system, usually do not use openerp
2014-07-09 11:49 <sharoonthomas> vaab: its when a non tech person in a customer company makes the choice... they fall for openerp marketing
2014-07-09 11:50 <vaab> sharoonthomas: How can I set up a working interface that mimick the functionality of core modules of openerp/odoo ? Should I still stick to GTK client ? Has SAO something to do with this ?
2014-07-09 11:50 <sharoonthomas> vaab: são is meant to be the web client
2014-07-09 11:55 <vaab> sharoonthomas: thx for the answers...
2014-07-09 11:55 <sharoonthomas> vaab: feel free to ask if you have questions
2014-07-09 12:02 -!- sharoonthomas(~sharoonth@118.91.181.250) has joined #tryton
2014-07-09 12:08 <cedk> sharoonthomas: I don't see where you manage the non-json types?
2014-07-09 12:13 <sharoonthomas> cedk: that part would be stolen from Sao and injected here: https://github.com/openlabs/angular-tryton/blob/develop/src/tryton.js#L209
2014-07-09 12:14 <sharoonthomas> cedk: the trytonResponseTransformer is like a middleware and its meant to to transparently convert the type before sending to server and change back to native types to the caller.
2014-07-09 13:44 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-07-09 14:04 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-07-09 14:47 <vaab> I did a 'pip install tryton' and when launching 'tryton' I had a glib.GError: Failed to open file '/usr/share/pixmaps/tryton/tryton-icon.png': No such file or directory
2014-07-09 14:48 <vaab> Did I miss something ?
2014-07-09 14:48 <vaab> I'm on Ubuntu14.04
2014-07-09 14:48 <vaab> I did not install trytond nor anything else
2014-07-09 14:48 <vaab> (client is not on same host than server).
2014-07-09 14:57 -!- sarthor(~sarthor@unaffiliated/sarthor) has joined #tryton
2014-07-09 14:59 <sarthor> HI, Is there any tutorial how to configure tryton for some comapny. like creating suppliers, customers, Items, payroll etc.
2014-07-09 14:59 <cedk> vaab: where share data were installed?
2014-07-09 15:02 <cedk> vaab: it should be installed in prefix
2014-07-09 15:02 <vaab> cedk: I usually use a virtualenv, but gtk apps don't like virtualenv, so I made an exception and installed from root with 'pip install tryton', it seems that this command installed it in /usr/local/share/pixmaps/tryton ... Shouldn't I expect that it works out of the box ? ;)
2014-07-09 15:03 <cedk> vaab: I guess issue3515 fix it
2014-07-09 15:04 <cedk> vaab: otherwise you can install in virtualenv if you pass --system-site-packages option
2014-07-09 15:04 <vaab> cedk: I guess that sys.prefix is not /usr/local/bin ... I'm looking your issue 3515...
2014-07-09 15:04 <vaab> I'll try the system-site-packages
2014-07-09 15:05 <vaab> It's true I usually try to use --no-site-packages to avoid unwanted leaking between system and my virtualenv
2014-07-09 15:05 <cedk> sarthor: not really, each module tries to define its object
2014-07-09 15:05 <cedk> sarthor: but you can see that everything follows the same pattern in Tryton
2014-07-09 15:05 <cedk> list - form etc.
2014-07-09 15:06 <cedk> sarthor: for suppliers, customers == parties (no distinction)
2014-07-09 15:06 <cedk> items == product
2014-07-09 15:06 <cedk> payroll doesn't exist for now
2014-07-09 15:09 <sarthor> I am not an expert, and tried to learn OpenERP, but i think that is not free anymore, and I found tryton erp while reading on sorryopenerp.com, tryton looking good, but no tutorial. one can create screen capture video, that will help alot. and also that is not a bit or tough task to do.
2014-07-09 15:14 <vaab> cedk: Ouch, my virtualenv with actually quite old. Thanks, now it work in its dedicated virtualenv ! ;)
2014-07-09 15:16 <cedk> vaab: but it will be good to know if trunk works in your previous setup
2014-07-09 15:16 <pokoli> sarthor: feel free to ask here whatever you need :)
2014-07-09 15:17 <vaab> cedk: ok... I'll tell you that in a few minutes...
2014-07-09 15:25 <vaab> cedk: humm, with 'pip install tryton' I get 3.2.2 and it definitively triggers the error. It looks in '/usr/share/pixmaps/tryton/tryton-icon.png' but icon is in /usr/local/share/pixmaps/tryton ... but
2014-07-09 15:26 <vaab> cedk: using source code from git, and moving to tag 3.2.2, and launching 'python setup.py install' will work ... and image is in a third location:
2014-07-09 15:27 <vaab> cedk: in '/usr/local/lib/python2.7/dist-packages/tryton-3.2.2-py2.7.egg/...'
2014-07-09 15:28 <vaab> cedk: additionaly, 'pip uninstall' seems to fails finding this bogus installed version.
2014-07-09 15:28 <vaab> $ pip uninstall tryton
2014-07-09 15:28 <vaab> Can't uninstall 'tryton'. No files were found to uninstall.
2014-07-09 15:29 <vaab> But:
2014-07-09 15:29 <vaab> pip install tryton
2014-07-09 15:29 <vaab> Requirement already satisfied (use --upgrade to upgrade): tryton in /usr/local/lib/python2.7/dist-packages
2014-07-09 15:29 <vaab> Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python2.7/dist-packages (from tryton)
2014-07-09 15:29 <vaab> Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from python-dateutil->tryton)
2014-07-09 15:29 <vaab> Cleaning up...
2014-07-09 15:29 <cedk> vaab: tryton is on mercurial
2014-07-09 15:30 <vaab> cedk: https://github.com/tryton/tryton doesn't seem to be really of track
2014-07-09 15:31 <vaab> cedk: but if you think this will really change things, I could change ... notice I'm not reporting a bug on this source code, but on the PyPI package ...
2014-07-09 15:31 <vaab> off track
2014-07-09 15:35 <cedk> vaab: for trunk: pip install --pre --find-links http://trydevpi.tryton.org/ tryton==3.3.dev0
2014-07-09 15:37 <vaab> cedk: this fails also...
2014-07-09 15:37 <vaab> cedk: same exception...
2014-07-09 15:38 <vaab> cedk: notice that I had do uninstall by hand the previous version as it won't uninstall cleanly. So I hope this won't break the test.
2014-07-09 15:39 <vaab> cedk: All this go away, and it seems to work fine if I use "python setup.py install" in the source tree ... (version 3.2.2 or current github trunk).
2014-07-09 15:39 <cedk> vaab: probably you must be root to uninstall
2014-07-09 15:40 <cedk> vaab: pip is a strange monster
2014-07-09 15:40 <sarthor> pokoli: cedk also there is no arabic language listed. better to add arabic language in translate section, I hope people will help to write translation.
2014-07-09 15:41 <vaab> python packaging history is not so clean neither ;)
2014-07-09 15:42 -!- refnode_(~refnode@refnode.com) has joined #tryton
2014-07-09 15:43 <pokoli> sarthor: you can work on a patch to add translations, but we prefer full translations
2014-07-09 15:44 <cedk> sarthor: as far as nobody has translated, we can not add anything
2014-07-09 15:45 -!- buxy_bak(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2014-07-09 15:45 <sarthor> pokoli: I am sorry to mention openerp here again and again, In Openerp it was possible to translate while using Openerp, If there is an easy way to translate so I Will help in that, But as I said I am not an expert.
2014-07-09 15:47 <sarthor> pokoli: cedk : in frontaccounting there is separate folder for languages, and that was really easy to write translate. If somthing like that, So I will try in Arabic and Urdu Translation,
2014-07-09 15:47 <pokoli> sarthor: have a look at # -*- coding: latin-1 -*-
2014-07-09 15:47 <pokoli> sarthor: https://code.google.com/p/tryton/wiki/HowtoTranslate (sorry wrong link)
2014-07-09 15:48 <pokoli> sarthor: the wiki link is the correct one
2014-07-09 15:48 <sarthor> pokoli: OK. got that.
2014-07-09 15:50 <vaab> cedk: for information, as a noob, I'm looking for database configuration, and can't find any such thing. So I'm stuck with a trytond working, and a client up and running... but no help to go to next step (and next steps in various help I found is about structural or developper related stuff...). What did I miss ?
2014-07-09 15:51 <cedk> vaab: from the client, you should be able to create a database
2014-07-09 15:51 <cedk> vaab: in file menu
2014-07-09 15:54 -!- sisalp(~sisalpuse@gratoox.sisalp.net) has joined #tryton
2014-07-09 15:54 <vaab> cedk: ok, this login window can be bypassed. That's not clear, and maybe a simple button in the login window to the "New database" could be a good idea. Or if you don't think it's a good idea, mention that in the installation process, I feel configuring your first database should definitively be mentionned. (if it not already the case).
2014-07-09 15:54 -!- woakas(~woakas@static.13.240.46.78.clients.your-server.de) has joined #tryton
2014-07-09 15:54 <vaab> How can I make modification to the doc ?
2014-07-09 15:55 <pokoli> vaab: which doc? and wich modification?
2014-07-09 15:55 -!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2014-07-09 15:56 <cedk> vaab: all that will be removed as trytond should no more be multi-database
2014-07-09 15:56 <cedk> so for me, database should be created from command line
2014-07-09 15:57 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-09 15:57 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2014-07-09 15:57 <vaab> cedk: I can understand this, but right now there's no hints to how to create a database. A single quick mention of what you've told me seems enough to unlock the dead-end.
2014-07-09 15:58 <vaab> pokoli: well I found various doc, and none of them mentionned a process to create a new database (as far as my research led me).
2014-07-09 16:00 <pokoli> vaab: for http://tryton-documentation.readthedocs.org/en/latest/ you can send pull request on https://github.com/tryton/tryton-documentation
2014-07-09 16:00 <cedk> vaab: if you find someone to make the dev that will be removed soon, feel free
2014-07-09 16:01 <vaab> pokoli: http://tryton-administration-manual.readthedocs.org/en/latest/introduction.html#presumptions, http://doc.tryton.org/3.2/trytond/doc/index.html#first-steps, http://doc.tryton.org/3.2/trytond/doc/topics/install.html#topics-install, http://doc.tryton.org/3.2/tryton/doc/installation.html ...
2014-07-09 16:01 <pokoli> vaab: same repo :)
2014-07-09 16:02 <vaab> pokoli: these are the links I was reading ;)
2014-07-09 16:02 -!- cjbarnes18(~craig@213.131.188.214) has joined #tryton
2014-07-09 16:02 <pokoli> vaab: and for doc.tryton.org is on http://hg.tryton.org/doc.tryton.org/
2014-07-09 16:03 <sharoonthomas> vaab: http://tryton-documentation.readthedocs.org/en/latest/ is a community effort and we will be happy to help you to contribute to it
2014-07-09 16:03 <vaab> pokoli: and I was here also ;) http://tryton-documentation.readthedocs.org/en/latest/installation_configuration/database_management.html
2014-07-09 16:03 <sharoonthomas> vaab: you just have to send a pull request and we can review there
2014-07-09 16:05 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-07-09 16:07 -!- pjstevns(~Thunderbi@2001:981:7170:1:ec65:3b85:2fd9:22ba) has joined #tryton
2014-07-09 16:10 -!- udono(~udono@ip-109-90-216-79.unitymediagroup.de) has joined #tryton
2014-07-09 16:11 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-07-09 16:12 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton
2014-07-09 16:21 <vaab> I can't remember where I've read this, but it seems that some version of postgres are better than others ? can you confirm this ?
2014-07-09 16:21 <vaab> Or any version > 8.4 would do ?
2014-07-09 16:22 <pokoli> vaab: if i remember well 8.4 is the least supported version
2014-07-09 16:25 <sharoonthomas> vaab: 9.3 is what we currently have on our deployments and the most important feature for us is the streaming replication.
2014-07-09 16:25 <sharoonthomas> vaab: we use repmgr to have an automated failover
2014-07-09 16:26 <vaab> sharoonthomas: so it seems to make sense to advise upon installing >9.3 postgres in the manual.
2014-07-09 16:26 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-09 16:26 -!- prksh(~prksh@118.91.181.250) has left #tryton
2014-07-09 16:27 <sharoonthomas> vaab: I don't see a harm in being opinionated about postgres and the version. Of the backends supported by tryton you should really be using postgres.
2014-07-09 16:29 <cedk> vaab: Tryton supports all the supported version of PostgreSQL
2014-07-09 16:32 <vaab> I can't find the place where the list of backend supported by tryton is listed. Of my memory it would be MySQL, postgres, SQLlite3 ... is MariaDB supported ?
2014-07-09 16:32 <cedk> vaab: MariaDB simulate MySQL so yes
2014-07-09 16:41 <vaab> cedk: can we actually create an empty database (with createdb for instance) and use it directly ? Will it fill automatically ?
2014-07-09 16:41 <sharoonthomas> vaab: yes
2014-07-09 16:41 <sharoonthomas> vaab: you can then init the database using trytond command
2014-07-09 16:42 <sharoonthomas> vaab: `trytond -d dbname -i all`
2014-07-09 16:42 <sharoonthomas> cedk: I remember there was some place where you had listed the annoying things about MySQL when used with Tryton
2014-07-09 16:42 <sharoonthomas> cedk: does Maria DB fix that ?
2014-07-09 16:43 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton
2014-07-09 16:44 <cedk> sharoonthomas: no
2014-07-09 16:45 <cedk> tests run on MariaDB: http://tests.tryton.org/~test/mysql.html
2014-07-09 16:47 <cedk> sharoonthomas: http://hg.tryton.org/trytond/file/62f1b9747e9f/README#l39
2014-07-09 16:50 <sharoonthomas> cedk: vaab: thanks, we should not recommend mysql
2014-07-09 16:50 <vaab> cedk: I have never seen a mention of the "Tryton Server Password" in the doc. Did I miss it ? or any contribution on this side is accepted ?
2014-07-09 16:51 <vaab> sharoonthomas: ok, changing my contribution to reflect that.
2014-07-09 16:52 <udono> vaab: hi, you can set the server password in your trytond.conf file
2014-07-09 16:53 <vaab> udono: ok, any objection if I include a new section mentioning this in the installation procedure ?
2014-07-09 16:54 <udono> vaab: which installation procedure you are talking about?
2014-07-09 16:55 <vaab> udono: currently editing http://tryton-documentation.readthedocs.org/en/latest/installation_configuration/database_management.html and other pages in the same location.
2014-07-09 16:55 <vaab> but the documentation on the official site is not better.
2014-07-09 16:56 <udono> vaab: Yes, I would Include a ..note:: about the server password
2014-07-09 16:56 <vaab> udono: it'll will go well beyond ;)
2014-07-09 17:08 <vaab> For some reason, the "Create" button is disabled in the "Create new database" window of the GTK client. There are no obvious reason why... Any suggestions ?
2014-07-09 17:10 <vaab> I have no "Default Language" selected, that might be it... but, hmm, I have no values available to fill this field.
2014-07-09 17:11 -!- frispete(~frispete@p54A910E0.dip0.t-ipconnect.de) has joined #tryton
2014-07-09 17:11 <vaab> udono, cedk, sharoothomas, pokoli: any suggestions for my last issue ?
2014-07-09 17:13 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-07-09 17:14 <cedk> vaab: is the server configuration correct?
2014-07-09 17:16 <vaab> cedk: yup, as far as I can tell... It's quite easy. Do it silently check this before enabling or not the "Create" button ?
2014-07-09 17:17 <vaab> I don't seem to be able to netcat to the port of my LXC... despite trytond outputing:
2014-07-09 17:17 <vaab> $ trytond
2014-07-09 17:17 <vaab> [Wed Jul 09 15:06:33 2014] INFO:server:using default configuration
2014-07-09 17:17 <vaab> [Wed Jul 09 15:06:33 2014] INFO:server:initialising distributed objects services
2014-07-09 17:17 <vaab> [Wed Jul 09 15:06:33 2014] INFO:server:starting JSON-RPC protocol on localhost:8000
2014-07-09 17:17 <cedk> vaab: please no copy/paste in channel
2014-07-09 17:17 <pokoli> vaab: by default trytond listens to localhost, and you can see in the logs that it's not listening to all ip
2014-07-09 17:17 <vaab> cedk: ah ok, sorry. my bad
2014-07-09 17:17 <pokoli> vaab: so if you're connecting for another machine you can not connect to trytond
2014-07-09 17:18 <pokoli> vaab: just open your trytond.conf file and change jsonrpc config to *:8000
2014-07-09 17:18 <pokoli> vaab: this will listen to all interfaces
2014-07-09 17:19 <pokoli> vaab: you must restart your server in order to apply the changes
2014-07-09 17:21 <vaab> pokoli: I have no trytond.conf file, and I had to guess it's very existence (and location) despite reading the official docs I could find. I have further no idea of what format is supposed to be used in this file. But https://code.google.com/p/tryton/wiki/SetupAndStart does contain some information (in the comments). I'm trying to gather all this and will propose a PR on the tryton-documentation project.
2014-07-09 17:22 <pokoli> vaab: I will prefer if you add more small PR that are easier to review than a big one :)
2014-07-09 17:23 <pokoli> vaab: and regarding the issue, de default file is in the etc/ dir where you have trytond
2014-07-09 17:23 <vaab> pokoli: I'm used to separate my work in very small commits, and if you want I'll do a lot of small PR
2014-07-09 17:23 <pokoli> vaab: yes, please, just create branches for each commit and send small PR :)
2014-07-09 17:24 <pokoli> vaab: you can copy the default trytond.conf file to wherever you want, and run trytond with -c <path_to_config_file>
2014-07-09 17:24 <vaab> pokoli: ok. I'll do this when I'll finish.
2014-07-09 17:24 <vaab> pokoli: and where's that default trytond.conf ?
2014-07-09 17:25 <pokoli> vaab: i think it doesn't get copied when installing
2014-07-09 17:25 <pokoli> vaab: so http://hg.tryton.org/trytond/file/62f1b9747e9f/etc/trytond.conf
2014-07-09 17:26 <pokoli> vaab: i can confirm you don't get in the packaged version
2014-07-09 17:26 <pokoli> vaab: also you can create a new file with only the setting you want and use it
2014-07-09 17:30 <vaab> pokoli: there's a section named: "Preparing Application Servers"... with TODO in it, and I've no idea what this section was meant to cover.
2014-07-09 17:31 <pokoli> vaab: you can explain all the config file stuff in there :)
2014-07-09 17:40 <vaab> pokoli: https://github.com/tryton/tryton-documentation/pull/45
2014-07-09 17:41 <vaab> pokoli: not much content, but required if you want to see more ! ;) there was a lot of typos, markup issues I wanted to clear up. I can't make clean PR with only content before fixing these.
2014-07-09 17:42 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-07-09 17:42 -!- tarunbhardwaj_(~tb__@117.198.213.249) has joined #tryton
2014-07-09 17:53 <Pilou> despite there are 2 comments, I got "error: old chunk mismatch" with http://codereview.tryton.org/7401002/diff/100001/trytond/protocols/dispatcher.py :-/
2014-07-09 17:54 <pokoli> vaab: merged. Thanks!
2014-07-09 17:54 <vaab> more is coming, you are sure you don't want me to put more than one commit in a PR ?
2014-07-09 17:55 <pokoli> vaab: for me yes
2014-07-09 17:55 <cedk> args! PR :-)
2014-07-09 17:56 <vaab> cedk: ?
2014-07-09 17:59 <cedk> vaab: for me, PR is the wrong workflow
2014-07-09 18:01 <vaab> cedk: we all have our windmills
2014-07-09 18:11 <Pilou> cedk: about review 7401002, should I add related comment to the issue 3627 instead ? Or should I send a mail with the comments to the tryton-dev ML ?
2014-07-09 18:21 <cedk> Pilou: to the issue
2014-07-09 18:23 <vaab> pokoli: https://github.com/tryton/tryton-documentation/pull/46
2014-07-09 18:24 <pokoli> vaab: will review it ASAP :)
2014-07-09 18:24 <vaab> take your time ;)
2014-07-09 18:27 <vaab> cedk: Should I suppose that I'll burn to hell if I dare make a PR containing a link to mercurial AND GIT ;) ? If this could appease you, I'll put a mention of "non-official" and in second place compared to the hg repo.
2014-07-09 18:36 <vaab> where is the module's source code if not on the "hg.tryton.org" ?
2014-07-09 18:38 -!- prksh(~prksh@223.184.75.129) has joined #tryton
2014-07-09 18:40 <pokoli> vaab: depends on the module but if it's not on hg.tryton.org it's not an official module
2014-07-09 18:40 <vaab> http://hg.tryton.org/
2014-07-09 18:40 <vaab> I can't see modules ... or it's not obvious enough for me...
2014-07-09 18:44 -!- sharoonthomas(~sharoonth@122.177.180.176) has joined #tryton
2014-07-09 18:45 <cedk> vaab: http://hg.tryton.org/modules
2014-07-09 18:45 <vaab> cedk: ok thanks.
2014-07-09 18:47 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-07-09 18:57 <vaab> pokoli: what do you prefer for update of the PR ? an amend or a new commit in the same PR ?
2014-07-09 18:58 <pokoli> vaab: amend :)
2014-07-09 18:59 <pokoli> vaab: not sure if ammend works on PR, i usully make some commits and then squash them
2014-07-09 18:59 <vaab> it works ;)
2014-07-09 18:59 <vaab> I use them quite often
2014-07-09 19:00 <pokoli> vaab: so I will use ammend next time ;)
2014-07-09 19:03 <vaab> pokoli: I understand why you want to change the link, but what's displayed on this page is rough... lots of unrelated stuff and numbers (X11 Applications, Web Environment, Developments Status, OSI Approved...) ... You'll frighten peoples... especially MacOSX, Windows peoples ;) ... A page with the actual list names of what they can actually ``pip install`` was my intention... And we are far from this in your link... Does my explanation mak
2014-07-09 19:04 <vaab> e sense for you ?
2014-07-09 19:04 <pokoli> vaab: i haven't found a better listing, so that's why i proposed this link
2014-07-09 19:05 <pokoli> vaab: what I mean, is your list is not exaustive, so I will prefer only a mention to the Framework:tryton classifier on pypi
2014-07-09 19:05 <vaab> pokoli: my listing had the actual list of all modules, alphabetically sorted, with description of each ;)
2014-07-09 19:08 <vaab> pokoli: and that was the first aim: be simple and direct. It's not exhaustive, I understand, but it's close to be. I don't think being exhaustive is really important, what was important for me is to get a quick picture of what was roughly available. Are there very important modules that are not listed in the link I gave ?
2014-07-09 19:10 <vaab> pokoli: your list is not usable for people not having a level of knowledge on PyPI. Even some tech people won't know enough and just want to copy paste "pip install ...", but they don't know what is a classifier in PyPI.
2014-07-09 19:10 <pokoli> vaab: checking the list :)
2014-07-09 19:10 <pokoli> vaab: can we agree on this https://pypi.python.org/pypi?:action=browse&show=all&c=551
2014-07-09 19:10 <pokoli> vaab: and I found a module in my list that it's not in yours :)
2014-07-09 19:11 <pokoli> https://pypi.python.org/pypi/openlabs_payment_gateway_authorize_net/3.0.1.0
2014-07-09 19:11 <vaab> pokoli: I won't fight on this, your last list is perfect for me...
2014-07-09 19:11 <pokoli> vaab: 3 modules that you missed :P
2014-07-09 19:12 <pokoli> vaab: it will be great if you can also mention the tryton classifier on pypi :P
2014-07-09 19:13 <vaab> pokoli: I don't think that being exhaustive is important to be honest. This doc is missing so much important information and is failing helping even advanced users a start without being helped by you guys. Your last list is perfect.
2014-07-09 19:14 <vaab> pokoli: a great doc is a doc up to the point. Advanced users don't need this doc. This is exactly why I think so much important basic information where not in this doc in the first place.
2014-07-09 19:14 <vaab> pokoli: so I would avoid teaching how PyPI works ;) ...
2014-07-09 19:15 <vaab> pokoli: and now that you are mentionning this... I would also avoid making a course on how to setup/quit a virtualenv... I don't feel it's the correct place to do this to be honest.
2014-07-09 19:15 -!- sharoonthomas(~sharoonth@122.177.180.176) has joined #tryton
2014-07-09 19:16 <vaab> So in my upcoming PR, there's the deletion of this part to be honest... So if you are not keen to remove it, tell me, and I'll avoid making the PR ;)
2014-07-09 19:17 <vaab> I'm not proposing to remove all mention of virtualenv, but actually just remove the lengthy tutorial on how to isntall virtualenv, activate it, deactivate it.
2014-07-09 19:17 <pokoli> vaab: for the virtualenv just a link to the docs is enough but you can skip if you want
2014-07-09 19:17 <vaab> pokoli: glad that you share my view on this point.
2014-07-09 19:18 <pokoli> vaab: i share, but i will wait for other maintainers opinions before merging it
2014-07-09 19:18 <pokoli> vaab: so i can not guarantee anything :)
2014-07-09 19:18 <vaab> yep of course ! ;)
2014-07-09 19:19 <vaab> It's a bit painfull as my PR are stacked ;)
2014-07-09 19:20 <pokoli> vaab: you can't rebase them to master so they are not stacked?
2014-07-09 19:20 <vaab> But I think it's essential that the PR get reviewed by more than one people ;)
2014-07-09 19:20 <pokoli> vaab: which timezone are you?
2014-07-09 19:21 <vaab> no because I move parts that I'm changing so that you understand. One commit to remove obvious typos, One commit to add contents, One commit to move sections around (without modifying content)... These can't be rebase and must wait each previous PR to be accepted ;)
2014-07-09 19:21 <vaab> unless you accept multi commit PR ;)
2014-07-09 19:22 <vaab> pokoli: I'm in france right now
2014-07-09 19:26 <pokoli> vaab: you can squash the commits that move content to the previous ones that add if they are related
2014-07-09 19:27 <pokoli> vaab: i wil accept, but prefer to get only one :P
2014-07-09 19:27 <pokoli> vaab: ok, so your in my time zone, i was afraid you where in the states and got me here till midnight :P
2014-07-09 19:29 <vaab> pokoli: hmm, well I've a lot to push, so I think you'll need to stop at one moment, especially because I'll be quickly blocked by the stacking issue.
2014-07-09 19:30 <pokoli> vaab: for now we can get the next :)
2014-07-09 19:30 <vaab> pokoli: I'll probably add a configuration.rst file, just to separate Installation from configuration. We can try 2 commit at once this time, and you'll tell me if it's manageable.
2014-07-09 19:30 <pokoli> vaab: ok
2014-07-09 19:49 <vaab> pokoli: https://github.com/tryton/tryton-documentation/pull/47
2014-07-09 19:54 <vaab> pokoli: a friend of mine tells me that your list is not so perfect: there several times the same modules. ;)
2014-07-09 19:55 <vaab> pokoli: one for each version... I would add that it's not alphabetically sorted.
2014-07-09 19:57 <vaab> pokoli: it's quite difficult to get a general idea of the number of module and how they are named ;) ... my given friend is a perfect candidate: he will know how to do a 'pip install ..' but doesn't know what is a python classifier (and don't care), but he could care about tryton itself as he sells openerp services and spend his time complaining...
2014-07-09 20:00 <pokoli> vaab: diferent versions of same module :)
2014-07-09 20:01 <pokoli> vaab: i can say that the list is not specific, as we have a lot of modules not pushed to pypi
2014-07-09 20:03 <vaab> pokoli: If I put a mention on this fact and put back the alphabetical list, would you be happy ?
2014-07-09 20:05 <pokoli> vaab: i prefer this list as your list misses some packages
2014-07-09 20:05 <pokoli> vaab: and the more packages uploaded to pypi the more packages you will miss
2014-07-09 20:51 <vaab> pokoli: this wiki https://code.google.com/p/tryton/wiki/InstallationMercurial seems more documented than what I'm modifying, but I didn't fall on it except by doing specific google research... What is the current status of this doc ?
2014-07-09 21:03 <pokoli> vaab: of which doc? the wiki?
2014-07-09 21:03 <pokoli> vaab: yes, the wiki is older
2014-07-09 21:04 <vaab> pokoli: it is in more than one aspect much better than the proposed docs...
2014-07-09 21:06 <pokoli> vaab: so that's why i propose to link to the wiki :)
2014-07-09 21:09 <vaab> pokoli: well if you want the github doc to remain incomplete on crucial point (which I didn't commit right now because all this process is taking really long)... Should the wiki be updated then ? Why having 3 incomplete or partly obsolete docs where you could have one that is up to date and complete, and the defacto standard ?
2014-07-09 21:13 <cedk> vaab: it is like that because people don't want to take the time to contribute to the main documentation and prefer quick edition via wiki or github
2014-07-09 21:17 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-07-09 21:24 <kstenger> cedk: any docs on how cache works in tryton that I can look at?
2014-07-09 21:25 <cedk> kstenger: no
2014-07-09 21:26 <vaab> cedk: so shouldn't we come to the conclusion that the main documentation process is somewhat broken ?
2014-07-09 21:29 <cedk> vaab: for now, I require doc for each new feature but there is a gap that must be filled
2014-07-09 21:30 <cedk> vaab: I don't think the process is broken, it is just documentation is boring and almost nobody wants to do that job
2014-07-09 21:30 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-07-09 21:32 <cedk> kstenger: but cache is global per context for simple field and per instance for complex
2014-07-09 21:33 <cedk> kstenger: cache is cleared on each write
2014-07-09 21:34 -!- perilla(~perilla@corp-190-12-30-226-cue.puntonet.ec) has joined #tryton
2014-07-09 21:35 <kstenger> cedk: ok, so what does LRU on LRUDict stand for?
2014-07-09 21:37 <cedk> kstenger: https://en.wikipedia.org/wiki/Least_Recently_Used#LRU
2014-07-09 21:41 <kstenger> cedk: thanks
2014-07-09 21:54 <vaab> Consider what follows as a feedback... very basic information is lacking to install, configure, and get your first database up...
2014-07-09 21:54 <vaab> cedk: Contrary to what you think, it happens some people like to do documentation but there are excellent way to discourage them. It might be of interests to change strategies just to see if your theory holds.
2014-07-09 21:55 <vaab> cedk: There are plenty of project that are well documented, why tryton would be worse ?.
2014-07-09 21:56 <vaab> To replace the feedback and hopefully give you the maximum information, I use git every day, I'm a seasoned python developper, I used mercurial several years also.
2014-07-09 21:56 <vaab> You are all very helpfull and welcoming in this IRC chat. No doubt.
2014-07-09 21:56 <vaab> But the doc effort of the project seems to me incoherent:
2014-07-09 21:58 <vaab> a lot of work is made to support Windows packaging, MacOSX, as if you target a broad audience: admin, possible partners, curious... people with a need: Testing Tryton and having a minimum quite small technical skill. A possible partner for instance that would resell or use Tryton to sell services to his customers.
2014-07-09 21:59 <vaab> A lot of work was duplicated : there are 3 semi-official documentations, the best is the wiki from google... seemingly being held as "obsolete" as far as I understood.
2014-07-09 22:01 <cedk> vaab: I prefer no doc then wrong doc
2014-07-09 22:01 <cedk> vaab: and many of the «well» documented projects have wrong doc
2014-07-09 22:01 <vaab> A broad and long documentation is given on hard technical details on how models are thoughts and implemented, just after the skinny "First steps" that barely tell you that to install tryton you only need to do "pip install tryton". Forgetting a lot of steps that you must follow to get something to work.
2014-07-09 22:02 <vaab> cedk: well it happens that you have 3 wrong docs ...
2014-07-09 22:02 <cedk> vaab: problem is that they are not one unique way to do it
2014-07-09 22:02 <cedk> vaab: the *real* is normally accurate
2014-07-09 22:02 <cedk> it is the only one maintained proactively by the core developpers
2014-07-09 22:04 <vaab> cedk: and they are completely lacking the basic information while being quite proficient in obscure topics (that probably are outdated or inaccurate? I've not had the opportunity to try them... I need to install this product before knowing If the project is viable)
2014-07-09 22:05 <vaab> anyway I won't argue, this is not a debate. Just a feedback. It's up to you to just ignore it.
2014-07-09 22:05 <cedk> vaab: personnly I prefer to focus on other things that I like to do
2014-07-09 22:05 <vaab> I'm available if you want more information or more docs (I've written down a big part of this basic information I feel is missing).
2014-07-09 22:06 <cedk> vaab: https://code.google.com/p/tryton/wiki/HowtoContribute
2014-07-09 22:11 <vaab> I'm already contributing with a PR on documentation, and sharing feedback. Probably the most lacking feature actually in tryton. But I don't feel that you share this last point with me ;)
2014-07-09 22:37 <vaab> I'm trying to understand things... If I correctly understood you, the github version is not the "real" documentation ?
2014-07-09 22:38 <vaab> cedk: so the real documentation is the one on the main website. How come the github version have come to life ? especially if it's not the "real" one ? I don't get why it was fragmented in the first place.
2014-07-09 22:39 <vaab> same question for the google one ... ;)
2014-07-09 22:42 <vaab> and who decides of things as the DVCS choices ? Is it a community decision ?
2014-07-09 22:52 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-07-09 23:56 <cedk> vaab: people are free to do what they want
2014-07-09 23:56 <cedk> vaab: but only what is hosted on tryton.org is «official»

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