IRC logs of #tryton for Saturday, 2013-10-05 #tryton log beginning Sat Oct 5 00:00:01 CEST 2013
2013-10-05 06:36 -!- plantian( has left #tryton
2013-10-05 10:53 <vezjakv> cedk: hi, I noticed that you found duplicate translations in account and account_invoice. when I export them I again have these duplicates there. how to get rid of them? It seems using Set/Clean/Update Translations doesnot help, any tip?
2013-10-05 11:31 <cedk> vezjakv: run the query:
2013-10-05 11:31 <cedk> vezjakv: and update the database to get the constraint
2013-10-05 11:33 <cedk> vezjakv: or just create a new database
2013-10-05 11:36 <vezjakv> cedk: thanks for the tip, it helps a lot. I have .po's that have been already exported with duplicates, making new db probably won't fit the best. updating existing db will do
2013-10-05 12:14 <cedk> vezjakv: be careful to always translate based on tip
2013-10-05 12:15 <vezjakv> cedk: yes, learned from recent attempts.
2013-10-05 12:16 <vezjakv> cedk: regarding website translation, is it possible to push into its repo? or, additional permission needed?
2013-10-05 12:16 <cedk> vezjakv: website is a little bit different, I manage it
2013-10-05 12:17 <cedk> vezjakv: so you can just send me the exported patches
2013-10-05 12:18 <vezjakv> cedk: ok, it's nikola based? I've tried a site recently, hope not to complicated to translate. let u know when some patches will be available
2013-10-05 12:22 <cedk> vezjakv: translation is done by duplicate the original file and append the language code in the name
2013-10-05 12:23 <cedk> vezjakv: we use a version number to ease the update
2013-10-05 12:25 <vezjakv> cedk: I see, :Version: field in the file
2013-10-05 12:34 <vezjakv> cedk: maybe 1 question re translation in ir module: each time I sync translations 2 translation records for selected lang (sl_SI) are cleared (recursion_error and selection_validation_error). What could cause this? I've tried fresh db, but no luck
2013-10-05 14:04 <cedk> vezjakv: find the problem for recursion_error
2013-10-05 14:05 <cedk> vezjakv: I don't find selection_validation_error, where do you see it?
2013-10-05 14:06 <cedk> vezjakv: do you mean selection_validation_record ?
2013-10-05 14:11 <cedk> vezjakv: fixed with
2013-10-05 14:14 <vezjakv> cedk: ql, yes, I meant selection_validation_record, typo: (
2013-10-05 14:24 <vezjakv> cedk: is it possible to create locale/ dir for account_dunning_*?
2013-10-05 14:31 <cedk> vezjakv: yes hg doesn't care about directories
2013-10-05 14:32 <vezjakv> cedk: ok, good to know. thnx
2013-10-05 16:11 <jvblasco> guys i'm having some trouble using proteus with a user other than the tryton user in a system
2013-10-05 16:12 <jvblasco> i have issues, as far as i could understand connecting to the postgres
2013-10-05 16:12 <cedk> jvblasco: normal if you use trytond option
2013-10-05 16:12 <jvblasco> cedk: what do u mean?
2013-10-05 16:12 <jvblasco> cedk: and where can i configure that?
2013-10-05 16:13 <cedk> jvblasco: 2 options for proteus: trytond or xmlrpc
2013-10-05 16:13 <jvblasco> cedk: didn't notice that. I read all the proteus code though
2013-10-05 16:14 <jvblasco> cedk: is it configured in a config file, or when instantiating proteus?
2013-10-05 16:15 <cedk> jvblasco: config.set_trytond or config.set_xmlrpc
2013-10-05 16:16 <jvblasco> cedk: that may be what's causing me that amount of trouble. I will need to review the code and check that.
2013-10-05 16:16 <jvblasco> cedk: as always, i couldn't be more gratefull with all the help ;)
2013-10-05 17:01 <jvblasco> i did so it may use xmlrpc as backend and configured the xmlrpc protocol in the server
2013-10-05 17:01 <jvblasco> what may be the URL i need to pass set_xmlrpc function?
2013-10-05 17:01 <jvblasco> i always get xmlrpclib.ProtocolError: <ProtocolError for admin:abes00@localhost:8069/try: 401 Unauthorized>
2013-10-05 17:02 <jvblasco> the url i've seen in the example in the wiki
2013-10-05 18:01 <cedk> jvblasco: unauthorized means something wrong with the authentication
2013-10-05 18:10 <jvblasco> cedk: authentication against tryton?
2013-10-05 18:10 <cedk> jvblasco: trytond
2013-10-05 18:12 <jvblasco> cedk: ok thnx
2013-10-05 18:13 <jvblasco> cedk: Anyway just to know about it, how would i need to setup postgres to allow a system user other than tryton access it using config.set_trytond()?
2013-10-05 18:15 <jvblasco> cedk: I tried with this: the alternative method in the page
2013-10-05 18:15 <jvblasco> cedk: but it says that the database is not found
2013-10-05 18:15 <jvblasco> cedk: it seems the user logs but cannot access the databases created by tryton user
2013-10-05 18:18 <jvblasco> cedk: I also tried using the ident method mapping my user the tryton user with the same results
2013-10-05 18:18 <cedk> jvblasco: I think you have to give access to this new user for every table of the database
2013-10-05 18:18 <jvblasco> cedk: The error i get with psycopg2 is that the database does not exist
2013-10-05 18:19 <jvblasco> cedk: ValueError: Database Prueba not found
2013-10-05 18:19 <cedk> jvblasco: so also to the database
2013-10-05 18:19 <cedk> jvblasco: the best will be to ask to PostgreSQL guys
2013-10-05 18:20 <jvblasco> cedk: what channel may i go for that?
2013-10-05 18:20 <jvblasco> cedk: #postgres?
2013-10-05 18:20 <cedk> jvblasco: don't know
2013-10-05 18:21 <jvblasco> cedk: ok, thnx
2013-10-05 18:25 <cedk> jvblasco: but from experiences, it is a lot of management
2013-10-05 18:32 <jvblasco> cedk: I c. The problem is that i'm trying to make the tryton-pos-presik work with no luck
2013-10-05 19:56 <jvblasco> may i ask what database backend uses tryton-neso?
2013-10-05 19:56 <jvblasco> sqlite?
2013-10-05 20:30 <Pilou> jvblasco: sqlite
2013-10-05 21:35 <jvblasco> Pilou: Thnx ;)

Generated by 2.17.3 by Marius Gedminas - find it at!