IRC logs of #tryton for Thursday, 2016-03-17

chat.freenode.net #tryton log beginning Thu Mar 17 00:00:01 CET 2016
2016-03-17 00:05 <cedk> shrox: for the GSoC, don't forget to fill your proposal
2016-03-17 00:05 -!- eeshangarg(~eeshangar@134.153.73.182) has joined #tryton
2016-03-17 00:07 <eeshangarg> I am trying to initialize an SQLite database using trytond, but I'm getting this exception. I'm just trying tryton out. <http://paste.ubuntu.com/15405005/>. it would mean a lot to me if someone could please tell why I am getting this
2016-03-17 00:08 <cedk> eeshangarg: are you sure you don't have old directory trytond/ir/module/
2016-03-17 00:11 <shrox> cedk: Yes, I'll start with it in a day or two. I'm interested in 'FODT support for relatorio' and 'Migration to ldap3'. I'll read up on these two more and ask you for clarifications, if any :)
2016-03-17 00:11 <eeshangarg> cedk: No I can't find any such directory. I just cloned the repo
2016-03-17 00:12 <eeshangarg> cedk: I installed it in a virtual env in develop mode. Could that have anything to do with it?
2016-03-17 00:17 <eeshangarg> cedk: Wait, if I'm not mistaken, isn't this directory supposed to be a part of the repo?
2016-03-17 00:19 <shrox> cedk: I'm having difficulty in understanding  the modifications I need to make view/configuration_form.xml. I understand that the attributes that I have used come under the xpath tag, so they are invalid. Do I use the <record> tag? However, I can't find <record> in trytond/ir/ui/form.rnc. So I'm not sure how to use it.
2016-03-17 00:27 <kstenger> eeshangarg: how did you clone the repo?
2016-03-17 00:28 <eeshangarg> kstenger: hg clone https://hg.tryton.org/trytond
2016-03-17 00:31 <kstenger> eeshangarg: that's weird... unless you did some 'hg update' at some point, you should be running 3.9. which version does the server say it's running?
2016-03-17 00:34 <cedk> shrox: no the view should just be view tags
2016-03-17 00:34 <cedk> shrox: so you just have to place the content of data inside the view
2016-03-17 00:37 <cedk> eeshangarg: it is an old directory but hg doesn't clean no empty old directory
2016-03-17 00:39 <eeshangarg> kstenger: I didn't make any updates. Cloned it again, still no trytond/ir/module directory. Are yo talking about hg's version?
2016-03-17 00:39 <shrox> cedk: The form tag, in this case?
2016-03-17 00:40 <kstenger> ah, no, if you cloned twice check what cedk just said
2016-03-17 00:40 <kstenger> eeshangarg: ^
2016-03-17 00:41 <cedk> eeshangarg: did yo follow: http://doc.tryton.org/3.8/trytond/doc/topics/setup_database.html#topics-setup-database
2016-03-17 00:44 <eeshangarg> cedk: I did. Although, when I use the --all option, trytond says that there is no such option.
2016-03-17 00:44 <eeshangarg> cedk: I do have a config file, but just to change the database path
2016-03-17 00:44 <cedk> eeshangarg: trunk changed recently, so read the doc from the source
2016-03-17 00:45 <cedk> eeshangarg: it is trytond-admin and some configuration section also
2016-03-17 00:47 <cedk> eeshangarg: or you can read from: https://tryton.readthedocs.org/projects/trytond/en/latest/topics/setup_database.html#topics-setup-database
2016-03-17 00:47 <eeshangarg> cedk: Yes, you are right. the docs in the source are different. I'll read them and let you know how it goes. Thanks so much! :-)
2016-03-17 01:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-17 01:14 -!- JosDzG(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-17 01:15 <shrox> cedk: When you said that I place the content of data inside the view, do you mean inside the form tag? I don't know what you mean by 'inside the view'.
2016-03-17 01:20 <kstenger> shrox: yes, that's the way to do it
2016-03-17 01:22 <shrox> kstenger: Thanks!
2016-03-17 01:29 <shrox> kstenger: When I use upload.py, how does it take into consideration files that I have deleted? Because I don't see files that I have deleted mentioned on rietveld.
2016-03-17 01:37 <kstenger> shrox: use 'hg remove <path to filename>' to remove a file (the information should stay linked to your next review), use hg --help for other options
2016-03-17 01:38 <kstenger> you can also use hg status for information on this at any time
2016-03-17 01:41 <shrox> kstenger: Ah, I knew that about hg. I just wasn't sure how upload.py works to be sure if I'm to use an hg command before running it. Thank you!
2016-03-17 01:44 <kstenger> yes, upload.py should take the information from hg, it should upload whatever 'hg diff' says
2016-03-17 01:44 <kstenger> shrox: just *don't* use hg commit for this
2016-03-17 01:45 <shrox> kstenger: Haha, sure. Confirmed with cedk that it was for seasoned developers earlier.
2016-03-17 01:46 -!- gytis_(~gytis@46.189.67.23) has joined #tryton
2016-03-17 01:52 <eeshangarg> kstenger, cedx: Thanks for the help! Got everything working!
2016-03-17 01:54 <kstenger> eeshangarg: glad to know :-)
2016-03-17 01:59 <eeshangarg> kstenger: BTW, my name is Eeshan Garg. I am a prospective GSOC applicant. Currently working on <https://bugs.tryton.org/issue5385>. Hoping to help out with the migration to ldap3.
2016-03-17 02:05 -!- JosDzGx(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-17 02:06 <kstenger> eeshangarg: ok, welcome! Dont forget to 1) assign to yourself the issues you are working on (except those related to the GSoC), and 2) Register yourself for the GSoC if you didn't, 3) start working on your proposal since the the period to apply already started. Ask out anything you need
2016-03-17 02:07 <eeshangarg> kstenger: Got it, thanks! Is there like any tutorial that I can go through, like a superficial introduction to tryton?
2016-03-17 02:23 <kstenger> eeshangarg: the best I can think of like a 'quick' start is the 'training' module, it is on the repos, and there you have the description of how it works, it's a mercurial queue, takes you step by step on the construction of a new module.
2016-03-17 02:27 <kstenger> eeshangarg: the description of the module explains you how to use the queue
2016-03-17 02:28 <eeshangarg> kstenger: I'm sorry, but where is it? Is it a part of the main repo?
2016-03-17 02:29 <kstenger> hg.tryton.org, there are all the modules listed, start there as it is where the description of the modules show
2016-03-17 02:30 <eeshangarg> kstenger: Found it, thanks a lot! :-)
2016-03-17 02:46 <eeshangarg> kstenger: Can you please give me a pointer as to how to find out how these modules are interacting with the database I just setup using trytond-admin?
2016-03-17 02:46 <kstenger> eeshangarg: I don't understand
2016-03-17 02:48 <kstenger> eeshangarg: which modules? and, which kind of interaction you want to find out?
2016-03-17 02:49 <eeshangarg> kstenger: Ok, I'm sort of new to this, so I may be missing something here entirely. I guess my question is more like, if I have the training module, how do I "run" and test it manually with an instance of the server running and see how it is interacting with one of the databases that have been setup?
2016-03-17 02:52 <kstenger> ah, yes, make sure your module is in the trytond/modules/ directory. Then treat it as any normal module, updating the database for this module particularly. Re-run the server and you should be able to see the changes from any of the clients.
2016-03-17 02:53 <kstenger> eeshangarg: updating the database for the module particularly should install it if it's not, but you can make sure of this from within the client going to Administration/Modules/Modules
2016-03-17 02:57 <eeshangarg> kstenger: Ok, it's starting to make sense. I did put the training directory in trytond/modules. And now with the server running, I should setup a new database with trytond-admin with -all, right?
2016-03-17 02:57 <eeshangarg> So that all the modules are updated?
2016-03-17 02:59 <eeshangarg> kstenger: Another question, what do you mean by "from any of the clients"?
2016-03-17 02:59 <kstenger> well, you could set up a new database, but for your testing purposes you can just update the current one, so do use -d <dbname> -m <modulename> (-m is to install/update any changes you made to the module) If you use --all it will just update the modules that are already installed.
2016-03-17 03:00 <kstenger> either the GTK or the web client sao
2016-03-17 03:03 <eeshangarg> kstenger: Alright, thanks! I'll do that and experiment a little. I'll post here if I have any questions.
2016-03-17 03:35 <shrox> kstenger: What does it mean when reviewbot gives me the following message - patch is not applicable?
2016-03-17 03:35 <shrox> kstenger: I guess it's because I have uploaded two modules for the same issue. Do I make a separate issue?
2016-03-17 03:36 <kstenger> shrox: I'm really not sure, I see it a lot, ask cedk tomorrow (no it has nothing to do with having two patches in the same issue, it is correct way to do it put the two patches together as they depend one on another)
2016-03-17 03:37 <shrox> kstenger: Okay, I shall :) Thanks!
2016-03-17 03:40 <shrox> kstenger: Do you know which time zone he is in, by the way?
2016-03-17 03:44 -!- shrox(shrox@nat/iiit/x-vcptofsgcejdilol) has left #tryton
2016-03-17 03:44 -!- shrox(shrox@nat/iiit/x-vcptofsgcejdilol) has joined #tryton
2016-03-17 03:44 -!- eeshangarg(~eeshangar@134.153.67.54) has joined #tryton
2016-03-17 03:45 -!- shrox(shrox@nat/iiit/x-vcptofsgcejdilol) has left #tryton
2016-03-17 03:45 -!- shrox(shrox@nat/iiit/x-vcptofsgcejdilol) has joined #tryton
2016-03-17 03:49 <eeshangarg> kstenger: I am getting this error when i try to run the server after putting the training module in trytond/modules. http://paste.ubuntu.com/15405851/
2016-03-17 04:04 -!- JosDzG(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-17 04:26 -!- shrox(shrox@nat/iiit/x-vcptofsgcejdilol) has left #tryton
2016-03-17 04:36 <kstenger> eeshangarg: when a module is installed with -m and there is some dependency module not installed you should also add it to the -m parameter so it get's installed altogether, so try -m party training (I think order matters). Or you can try each of them independently (order matters again, dependencies first)
2016-03-17 04:40 -!- JosDzG(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-17 04:43 <eeshangarg> kstenger: Is there a default server password?
2016-03-17 04:43 <kstenger> eeshangarg: no
2016-03-17 04:47 <eeshangarg> kstenger: Okay, I was able to do everything. I setup a database, passing the the modules as arguments to trytond-admin, and I ran the server specifying the database to connect to. And then I ran the client, logged in to the database as admin, but when I clicked ok on the module configuration wizard, it gave me an error that the database is locked.
2016-03-17 04:49 <kstenger> eeshangarg: never saw this before, would you give me the exact message ?
2016-03-17 04:50 <eeshangarg> kstenger: This is the exception in the terminal, <http://paste.ubuntu.com/15406012/>
2016-03-17 04:52 <kstenger> this is the error on the client's terminal, do you get any traceback on the server side ?
2016-03-17 04:53 <eeshangarg> kstenger: No traceback on the server side.
2016-03-17 04:57 <eeshangarg> kstenger: Everything seems okay, I'm running the server on verbose, but when I start the client and log in as admin, the same thing.
2016-03-17 04:58 <kstenger> you do not have more than one process running on this db do you?
2016-03-17 04:58 <kstenger> (altough I'm not sure this is the issue
2016-03-17 04:58 <kstenger> )
2016-03-17 05:00 <eeshangarg> kstenger: I don't think so, this is weird. Could it be that the gui is not working correctly or something?
2016-03-17 05:01 <kstenger> I'm trying to figure out, you are on linux, right?
2016-03-17 05:01 <eeshangarg> kstenger: yes, I'm on debian
2016-03-17 05:02 <kstenger> ok, then, in a terminal run "ps aux |grep tryton" and show me the output pls
2016-03-17 05:04 <eeshangarg> kstenger: Here: http://paste.ubuntu.com/15406050/
2016-03-17 05:04 <eeshangarg> kstenger: Here's a screenshot too: <http://ctrlv.in/728270> of the gui client
2016-03-17 05:06 <kstenger> ok, so it seems it's failing at the first attemt to make some change on the database. I just find it strange that the server doesn't complain
2016-03-17 05:06 <kstenger> what db did you say you were using?
2016-03-17 05:06 <eeshangarg> kstenger: sqlite
2016-03-17 05:06 <kstenger> ok
2016-03-17 05:06 <eeshangarg> kstenger: I did pass in a config file with a different path to the database to the server
2016-03-17 05:07 <eeshangarg> kstenger: If that means anything! Otherwise, I would complain that the database doesn't exist
2016-03-17 05:07 <kstenger> eeshangarg: what do you mean "with a different path to the database" ?
2016-03-17 05:08 <eeshangarg> kstenger: Well, according to the docs the default path to the database is /var/lib/trytond. So I put a different one in a config file
2016-03-17 05:09 <kstenger> why? did you create another db ?
2016-03-17 05:10 <kstenger> another sqlite db I mean
2016-03-17 05:11 <eeshangarg> kstenger: Ok, so I setup a database with a config file with a different path using trytond-admin and registered the training module using the -u option to trytond-admin. And then I ran the server, and passed it the same config file so it would know where the database is, otherwise it wouldn't. And then in a separate terminal window, I started the client and logged in as admin and then I got the error. No I did not create another one.
2016-03-17 05:12 <eeshangarg> kstenger: My apologies if this isn't making any sense.
2016-03-17 05:12 <kstenger> no problem, I'm just trying to figure out the puzzle in my mind
2016-03-17 05:13 <kstenger> I have to check one thing, give me a minute
2016-03-17 05:15 <eeshangarg> kstenger: When I open up the client and try to create a new database entirely, it asks me for the trytond server password, but I didn't set any.
2016-03-17 05:17 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 05:21 <kstenger> eeshangarg: I think you are missing this to set up the super_pwd which allows you to manage databases from tryton client (not sure if the lack this could block the db tho) check here https://tryton.readthedocs.org/projects/trytond/en/latest/topics/configuration.html#super-pwd
2016-03-17 05:22 <kstenger> this is the "tryton server password" it asks you for from the client when you manage db's
2016-03-17 05:23 <kstenger> it should be encrypted and saves into the config file
2016-03-17 05:23 <kstenger> the link explains
2016-03-17 05:25 <eeshangarg> kstenger: Do you have to remember it though?
2016-03-17 05:25 <eeshangarg> kstenger: Or does it automatically go into the config file
2016-03-17 05:26 <kstenger> eeshangarg: yes, if you want to be able to create or drop databases from the client that is :)
2016-03-17 05:26 <kstenger> you place the result of the encryption to the config file, but you remember the passwd not the encryption ;-)
2016-03-17 05:27 <eeshangarg> kstenger: Oh, I got it, so in the config file, it would look something like this, right?
2016-03-17 05:27 <eeshangarg> [session]
2016-03-17 05:28 <eeshangarg> super_pwd=the_encrypted_passwd
2016-03-17 05:28 <kstenger> eeshangarg: exactly
2016-03-17 05:29 <vivekjain> kstenger: I am not able to login in sao with the databse as testdb and login as admin and password as the password which set while setting up the database. I am able to login into gui with same credentials.
2016-03-17 05:30 <vivekjain> But when i connected the database i have not added the jsonpath in my config file.
2016-03-17 05:30 <kstenger> eeshangarg: so now, I suggest, drop the database from the sqlite prompt, and re-create it from tryton client using this password, plus an admin password to login. After that, run a database update, and then re-login
2016-03-17 05:30 <vivekjain> Should i connect the database again
2016-03-17 05:32 <kstenger> vivekjain: if you changed the configuration file, you have to restart the server, this should be enough
2016-03-17 05:32 <eeshangarg> kstenger: Okay, I'll do that. Thanks so much for your help! It means a lot.
2016-03-17 05:33 <kstenger> eeshangarg: I know :-), I hope I wasn't too confusing for you at times
2016-03-17 05:35 <vivekjain> kstenger: still am not able to login This is my config file Am i missing something http://pastebin.com/yeFKMVGr
2016-03-17 05:35 <eeshangarg> kstenger: No not at all. I think it was the other way around. It's still not working. If I try and create a new one from scratch, I get this <http://paste.ubuntu.com/15406172/>. This is going to be a long night. haha
2016-03-17 05:35 <vivekjain> i am able to login to tryton with same credentials
2016-03-17 05:40 <kstenger> vivekjain: jsonrpc needs to know where to 'listen' check this value on the docs
2016-03-17 05:40 <kstenger> vivekjain: also you'll need to follow this process as I see you haven't, https://tryton.readthedocs.org/projects/trytond/en/latest/topics/configuration.html#super-pwd it explains how to create an encrypted password for database management, the result of the encryption should go in your config file (maybe not the problem you are trying to solve, but still necessary)
2016-03-17 05:42 <eeshangarg> kstenger: I think I'll work on this with a fresher mind tomorrow morning. Thanks a lot for the help! I'll see you tomorrow! :-)
2016-03-17 05:43 <kstenger> eeshangarg: you put the database name on the config file, right?
2016-03-17 05:44 <eeshangarg> kstenger: Wait, what do you mean?
2016-03-17 05:45 <kstenger> no, nevermind me... I think I'm too tired already :-)
2016-03-17 05:45 <vivekjain> kstenger: I changed my config.ini to this http://pastebin.com/SKaLZ6Ng
2016-03-17 05:45 <vivekjain> Is this ok. Still i am not able to login
2016-03-17 05:46 <vivekjain> version of trytond installed on my system is 3.8
2016-03-17 05:46 <eeshangarg> kstenger: Haha, me too! We'll take a look at this in the morning. Have a good night!
2016-03-17 05:46 <vivekjain> therefore following these docs http://doc.tryton.org/3.8/trytond/doc/topics/configuration.html#topics-configuration
2016-03-17 05:46 <kstenger> cu eeshangarg!
2016-03-17 05:47 <kstenger> vivekjain: yes, your config file looks fine to me, and since I have not experience with sao it makes it impopssible for me to help you more on this point
2016-03-17 05:48 <kstenger> vivekjain: in about 4 or 5 hours you may find more help from the other side of the world, where they handle this better than me :)
2016-03-17 05:48 <vivekjain> kstenger: ok Thanks for your help.
2016-03-17 05:49 <kstenger> vivekjain: sorry I couldn't help you more, cu later, I'm off to sleep
2016-03-17 05:49 <vivekjain> kstenger: cu
2016-03-17 05:49 <kstenger> vivekjain: when you see cedk explain him your case
2016-03-17 05:49 <vivekjain> kstenger: ok
2016-03-17 06:32 -!- manipalsingh(manipalsin@nat/iiit/x-dtgxcxhebelsdntv) has joined #tryton
2016-03-17 07:29 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-03-17 07:33 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-17 07:40 -!- frispete_(~frispete@p54A90419.dip0.t-ipconnect.de) has joined #tryton
2016-03-17 07:51 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-03-17 08:13 -!- ChkDigit(~u388mw@74.3.144.66) has joined #tryton
2016-03-17 08:24 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-03-17 08:30 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-03-17 08:40 -!- kstenger1(~karla@r186-54-44-119.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-03-17 09:02 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-17 09:12 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 09:14 <vivekjain> cedk: Hi, I am not able to login to sao.This is my config.ini file Am i missing something http://pastebin.com/SKaLZ6Ng
2016-03-17 09:15 <vivekjain> I am able to login to tryton with the same credentials.
2016-03-17 09:15 <vivekjain> Also when i conected the database with tryton my config.ini was different, So do i need to drop the database and again connect it ?
2016-03-17 09:16 <vivekjain> Credentials with which i am logging are:
2016-03-17 09:16 <vivekjain> database: testdb
2016-03-17 09:16 <vivekjain> Login: admin
2016-03-17 09:16 <vivekjain> password: vivekjain
2016-03-17 09:20 -!- shrox(shrox@nat/iiit/x-yasiodyfvxflezkt) has joined #tryton
2016-03-17 09:21 -!- shrox(shrox@nat/iiit/x-yasiodyfvxflezkt) has left #tryton
2016-03-17 09:34 <cedk> vivekjain: have the same series for trytond and sao
2016-03-17 09:34 <cedk> vivekjain: same 2 first numbers
2016-03-17 09:38 <vivekjain> cedk: How to know the version of sao ?
2016-03-17 09:38 <cedk> vivekjain: in package.json
2016-03-17 09:38 <vivekjain> In th changelog it says 3.8.0 and trytond version is 3.8.5
2016-03-17 09:39 <cedk> vivekjain: the latest in 3.8 series is 3.8.4 for sao
2016-03-17 09:39 <vivekjain> cedk: ok thanks sao version is 3.9 that's why it was not working
2016-03-17 09:39 <cedk> vivekjain: you should use this one
2016-03-17 09:48 <vivekjain> cedk: I installed sao version 3.8.4
2016-03-17 09:48 <vivekjain> Still i am not able to login
2016-03-17 09:54 -!- gytis_(~gytis@p5099a051.dip0.t-ipconnect.de) has joined #tryton
2016-03-17 10:22 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-03-17 10:39 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-17 10:39 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-03-17 10:45 -!- jp111(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 11:08 <vivekjain> cedk: Hi when i run bin/trytond -c config,ini --verbose it shows following http://pastebin.com/S4Xs2W8q Is it normal behaviour ?
2016-03-17 11:09 <vivekjain> After that when i try to login it shows
2016-03-17 11:09 <vivekjain> 8181 139997478909696 [2016-03-17 10:08:44,311] INFO trytond.backend.postgresql.database connect to "testdb/"
2016-03-17 11:10 <vivekjain> cedk: Database to entered is testdb only or something else
2016-03-17 11:12 <cedk> vivekjain: the trailing '/' sounds wrong
2016-03-17 11:13 <vivekjain> cedk: Why it is entering trailing / by default. I am only entering testdb in the database name .
2016-03-17 11:16 <cedk> vivekjain: but it is a selection box on sao?
2016-03-17 11:17 <vivekjain> cedk: No it shows a text box http://awesomescreenshot.com/0735pvbzbb
2016-03-17 11:17 <cedk> vivekjain: which versions?
2016-03-17 11:17 <vivekjain> 3.8.4 sao versionm
2016-03-17 11:17 <vivekjain> *version
2016-03-17 11:18 <vivekjain> trytond version 3.8.5
2016-03-17 11:18 <vivekjain> cedk: ^
2016-03-17 11:19 <cedk> vivekjain: it looks like trytond can not list the databases
2016-03-17 11:19 <cedk> vivekjain: are you sure of your configuration?
2016-03-17 11:19 <cedk> vivekjain: especially database connection
2016-03-17 11:20 <vivekjain> cedk: It is getting connected in tryton
2016-03-17 11:20 <cedk> vivekjain: look in the browser console
2016-03-17 11:20 <vivekjain> cedk: my config.ini http://pastebin.com/SKaLZ6Ng
2016-03-17 11:22 <vivekjain> cedk: in browser console it shows post xhr http://localhost:8000/testdb/
2016-03-17 11:23 -!- manipalsingh(manipalsin@nat/iiit/x-gjluiqcuvpbunjtx) has joined #tryton
2016-03-17 11:25 <vivekjain> cedk: command by which i created database: sudo -u postgres createdb --owner=testuser testdb
2016-03-17 11:26 <vivekjain> after that i have to change this /etc/postgresql/9.3/main/pg_hba.conf file to allow non-default user testuser to login to PostgreSQL server,
2016-03-17 11:26 <vivekjain> local testdb testuser md5
2016-03-17 11:26 <vivekjain> added the above entry in the file
2016-03-17 11:26 <vivekjain> the command by which i created the user sudo -u postgres createuser --login --pwprompt testuser
2016-03-17 11:28 <cedk> vivekjain: I think you still are not running the same series
2016-03-17 11:28 <cedk> vivekjain: do you rebuild sao after update to 3.8.4 ?
2016-03-17 11:28 <vivekjain> cedk: yes i rebuilded sao
2016-03-17 11:29 <vivekjain> i used npm install
2016-03-17 11:29 <vivekjain> bower install
2016-03-17 11:29 <vivekjain> and then
2016-03-17 11:29 <vivekjain> grunt to rebuild it
2016-03-17 11:31 -!- shrox(shrox@nat/iiit/x-qowhyqouhmxaouaw) has joined #tryton
2016-03-17 11:31 <vivekjain> cedk: my npm version is 1,3,10
2016-03-17 11:31 <vivekjain> bower version 1.7.7
2016-03-17 11:33 <cedk> vivekjain: did you refresh your browser?
2016-03-17 11:34 <vivekjain> cedk: Finded the problem. Thanks. Sorry for missing out such a trivial mistake.
2016-03-17 11:39 <vivekjain> cedk: I would like to start contributing to tryton.
2016-03-17 11:39 <vivekjain> I would like to work on this issue https://bugs.tryton.org/issue5063
2016-03-17 11:40 <vivekjain> Could you help me get started.
2016-03-17 11:44 <cedk> vivekjain: you can pickup any issue by just assign it to yourself
2016-03-17 11:44 <cedk> vivekjain: then just follow: http://www.tryton.org/how-to-contribute.html
2016-03-17 11:52 <vivekjain> cedk: Also all the changes need to be done in the latest version, so i need to get the latest version of both trytond and sao
2016-03-17 11:52 <vivekjain> ?
2016-03-17 11:58 <cedk> vivekjain: yes
2016-03-17 12:02 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-17 12:02 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-03-17 12:04 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-17 12:07 -!- mariomop(~quassel@host213.190-30-193.telecom.net.ar) has joined #tryton
2016-03-17 12:10 <jp111> cedk: Hi, I am following this http://doc.tryton.org/3.8/trytond/doc/topics/modules/index.html for installing module account invoice. Do I have to manually make the __init__.py and tryton.cfg files
2016-03-17 12:11 <cedk> jp111: you don't need to follow this to install an existing module
2016-03-17 12:11 <cedk> jp111: this topic is about creating a module from scratch
2016-03-17 12:12 <jp111> cedk how do I install an existing module such as account invoice?
2016-03-17 12:14 <cedk> jp111: from the client in administration>modules
2016-03-17 12:16 <jp111> https://www.filepicker.io/api/file/N4z4LraSB22wKrrKeDyw?signature=e6746d70285e3af035b044d82a0d4d19acc75c860c813a85ee4b110fc085efd6&policy=eyJleHBpcnkiOjE0NTgyMTY2MDd9
2016-03-17 12:16 <jp111> cedk: I cannot see account invoice module here
2016-03-17 12:16 <cedk> jp111: you must install the corresponding python module
2016-03-17 12:23 -!- shrox(shrox@nat/iiit/x-mpsbzxrttwzndzsp) has joined #tryton
2016-03-17 12:29 <shrox> cedk: Do I have to update the .po files in the locale folder of the account module?
2016-03-17 12:31 <jp111> cedk: I am getting this error after installing the account invoice by apt-get
2016-03-17 12:31 <cedk> shrox: no
2016-03-17 12:32 <cedk> shrox: translation process is done one month before a release
2016-03-17 12:32 <jp111> cedk: http://pastebin.com/MQuQw4J8
2016-03-17 12:32 <shrox> cedk: Okay.
2016-03-17 12:32 -!- manipalsingh(manipalsin@nat/iiit/x-bxohotwpjquzguyv) has joined #tryton
2016-03-17 12:32 <cedk> jp111: you don't install same series modules
2016-03-17 12:32 <jp111> cedk: during login prompt
2016-03-17 12:32 <cedk> jp111: should have the same 2 first number
2016-03-17 12:38 <shrox> @cedk In the bug tracker, how do I mention the number of the second review? Right now I have one - 20851002. I also want to add 20871002 if it's possible to.
2016-03-17 12:39 <cedk> shrox: if you have correctly put issue number in the description, it will be added automaticaly
2016-03-17 12:40 <shrox> cedk: Okay
2016-03-17 12:40 <cedk> shrox: but also it is always good to drop a message on the issue refering the new review with the syntax: review12345
2016-03-17 12:40 <shrox> cedk: Sure.
2016-03-17 12:45 <shrox> cedk: Reviewbot has given me some basic (lack of) import errors. Which is funny because I had run the module tests before uploading the first time.
2016-03-17 13:02 -!- manipalsingh(manipalsin@nat/iiit/x-xjfrrbgqyvsppozo) has joined #tryton
2016-03-17 13:05 <cedk> shrox: please try to follow the schema for description from the howto contribute guide
2016-03-17 13:05 <cedk> shrox: you don't need to put the issue number in the title
2016-03-17 13:08 <shrox> cedk: Yes, I shall. Sorry for the mess.
2016-03-17 13:08 <vivekjain> cedk: While running the latest dev version of trytond I am getting the following error
2016-03-17 13:08 <vivekjain> ImportError: cannot import name CursorInterface
2016-03-17 13:11 <pokoli> vivekjain: which database backend? Have you installed the drivers?
2016-03-17 13:12 <vivekjain> pokoli: i have done sudo python setup.py
2016-03-17 13:13 <vivekjain> Doesn't it automatically install the prerequisites ?
2016-03-17 13:14 <pokoli> vivekjain: yes, but database drivers are not required as you can run it with sqlite
2016-03-17 13:14 <cedk> vivekjain: 'python setup.py' does nothing
2016-03-17 13:15 -!- shrox(shrox@nat/iiit/x-mpsbzxrttwzndzsp) has left #tryton
2016-03-17 13:17 <pokoli> vivekjain: so if you run with postgresql you must install psycopg2
2016-03-17 13:18 <vivekjain> pokoli: I have installed psycopg2I haven't run it with any database yet i am just trying to run bin/trytond --version
2016-03-17 13:19 <pokoli> vivekjain: can we see the full traceback (uploaded to pastebin or something similar)
2016-03-17 13:19 <pokoli> ???
2016-03-17 13:20 <vivekjain> pokoli: http://pastebin.com/2MCrbPsu
2016-03-17 13:24 <pokoli> vivekjain: it seems that you don't have the latest version of company module but you have the latest version on trytond
2016-03-17 13:29 -!- shrox(shrox@nat/iiit/x-otdphzyvralyolkv) has joined #tryton
2016-03-17 13:31 <cedk> I think it is better to avoid the Python package installer when begining, it is very buggy
2016-03-17 13:31 <cedk> so it is probably easier to download tgz or to use mercurial
2016-03-17 13:38 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-17 13:40 <pokoli> cedk: at least give and advice on the docs to install only modules and the package installer will download dependencies
2016-03-17 13:40 <cedk> vivekjain: also you should probably use virtualenv instead of installing as root at the OS level
2016-03-17 13:41 <pokoli> +1
2016-03-17 13:49 <shrox> cedk: For issue5386 (https://bugs.tryton.org/issue5386), I can find format_currency in report.py. But I can't find it being used anywhere. How does unit price use it for formatting then?
2016-03-17 14:01 <cedk> shrox: it is used in invoice.odt
2016-03-17 14:02 -!- nina(~nina@177.19.245.134) has joined #tryton
2016-03-17 14:06 <ccaz> I saw that in 2011 the GSOC project idea about GANTT views in the client. Does the project forward ?
2016-03-17 14:07 <shrox> cedk: Ah, no wonder I couldn't find it. So all that needs to be done is to replace format_currency with format_number in the odt?
2016-03-17 14:07 <cedk> ccaz: no
2016-03-17 14:07 <cedk> shrox: yes with correct parameters
2016-03-17 14:07 <shrox> cedk: And is this why we want to shift from odt to fodt? So that they can be searchable?
2016-03-17 14:13 <nina_> Hi! Could anyone explain me about this error "get_client() got an unexpected keyword argument 'factor'"?
2016-03-17 14:14 <cedk> nina_: looks like an incompatible field type and widget
2016-03-17 14:15 <nina_> cedk: Ok. I'll verify. Thanks
2016-03-17 14:33 <cedk> shrox: about reviewbot comment, you must fix them even if the code works
2016-03-17 14:41 -!- jp111(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 15:05 <ccaz> cedk: a blueprint somewhere?
2016-03-17 15:16 <cedk> ccaz: no
2016-03-17 15:17 <jp111> cedk: apt-get showpkg shows only 3.0.1 version of tryton-modules-account-invoice
2016-03-17 15:18 <cedk> jp111: and?
2016-03-17 15:18 <kstenger> jp111: if you are developing you need to download from repo
2016-03-17 15:19 <jp111> can you please point to a link
2016-03-17 15:19 <kstenger> jp111: and don't mix installs from repo and from package system of your OS
2016-03-17 15:19 <kstenger> jp111: hg.tryton.org
2016-03-17 15:19 <cedk> jp111: a link for what?
2016-03-17 15:19 <jp111> cedk: I meant for the modules
2016-03-17 15:20 <kstenger> jp111: hg.tryton.org/modules
2016-03-17 15:20 <jp111> thanks
2016-03-17 15:30 <jp111> cedk: I have pasted the account_invoice folder under trytond/modules but I keep getting this error-
2016-03-17 15:30 <jp111> http://pastebin.com/bTpKjfML
2016-03-17 15:30 <jp111> while logging in
2016-03-17 15:32 <cedk> jp111: it is now the currency module
2016-03-17 15:32 <cedk> jp111: all modules must have the same series as trytond
2016-03-17 15:32 <cedk> jp111: series == two same first number
2016-03-17 15:35 <jp111> how can I find series of specific module
2016-03-17 15:36 <kstenger> jp111: after you clone, you update to the series you want (by default it's development version)
2016-03-17 15:37 <kstenger> jp111: are you aware of the nested extension for mercurial that allows to handle server and modules at the same time ? (I don't know where in the docs this is mentioned)
2016-03-17 15:38 <jp111> kstenger: unfotunately not
2016-03-17 15:38 <cedk> jp111: series are branch in mercurial
2016-03-17 15:41 <jp111> is there any good documentation to hgnested that i can follow
2016-03-17 15:42 <kstenger> jp111: check it here https://www.mercurial-scm.org/wiki/HgNestedExtension
2016-03-17 16:03 -!- hectorh30(~hectorh30@190.149.223.38) has joined #tryton
2016-03-17 16:29 <vivekjain> cedk: When i installed the 3.9.0 version of sao with trytond version of 3.9.0 I am getting the following http://awesomescreenshot.com/0205pwws6b
2016-03-17 16:30 <vivekjain> The login is not showing
2016-03-17 16:33 <cedk> vivekjain: your browser seems strange because it appens always /
2016-03-17 16:33 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2016-03-17 16:33 <cedk> vivekjain: you get it works, what did you change?
2016-03-17 16:34 <vivekjain> cedk: I din't change anything. I just changed the version of trytond and sao to be 3.8.
2016-03-17 16:34 <vivekjain> Now the problem is occuring in 3.9.
2016-03-17 16:35 <vivekjain> This time it not even showing the login prompt.
2016-03-17 16:35 <vivekjain> just displaying whatever is the url
2016-03-17 16:37 <cedk> vivekjain: remove the ending backslash
2016-03-17 16:37 <vivekjain> cedk: I am not adding any backslah in the address bar.
2016-03-17 16:37 <vivekjain> It is what being displayed by the browser
2016-03-17 16:38 <vivekjain> cedk: Oh sorry i think i messed up by config.ini file.
2016-03-17 16:38 <cedk> vivekjain: I can not see the URL in your screenshot
2016-03-17 16:38 <vivekjain> In the version 3.9. the config file will be changed. ?
2016-03-17 16:39 <cedk> vivekjain: yes see doc folder
2016-03-17 16:42 <cedk> vivekjain: mainly the jsonrpc section is changed into web and data into root
2016-03-17 16:42 <vivekjain> cedk: yeah thanks it worked
2016-03-17 16:55 -!- bvillasanti(~bvillasan@138.117.20.246) has joined #tryton
2016-03-17 16:56 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-17 16:59 <vivekjain> cedk: In this issue https://bugs.tryton.org/issue5063 we need to remove the self.widget list present at /tryton/gui/window/view_board.py this file ?
2016-03-17 17:00 <cedk> vivekjain: widgets
2016-03-17 17:01 <vivekjain> yeah widgets so we need to remove it in tryton ?
2016-03-17 17:01 <cedk> vivekjain: but need to test if the assumption is correct
2016-03-17 17:03 <vivekjain> cedk: Isn't it used in line 90 of tryton/gui/window/board.py ?
2016-03-17 17:08 -!- bvillasanti(~bvillasan@138.117.20.246) has joined #tryton
2016-03-17 17:08 <cedk> vivekjain: I don't know, make tests
2016-03-17 17:09 <vivekjain> cedk: How to make tests. Are there any examples ?
2016-03-17 17:11 <cedk> vivekjain: run the application and make so it run the view board
2016-03-17 17:13 <cedk> vivekjain: you can find a board in the timesheet module
2016-03-17 17:13 <cedk> vivekjain: but maybe this is not the best issue to start with as it requires to know how to use the client
2016-03-17 17:14 <vivekjain> cedk: Can you point me to some easy issues from which i can start ?
2016-03-17 17:16 <cedk> vivekjain: https://bugs.tryton.org/issue5164
2016-03-17 17:20 <vivekjain> cedk: Ok so in this issue, When the user logins he can change his name. We don't want him to change his name. Is that what we want ?
2016-03-17 17:21 -!- hectorh30(~hectorh30@190.149.223.38) has joined #tryton
2016-03-17 17:23 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2016-03-17 17:24 <cedk> vivekjain: no the name is translatable (small flag) and it makes no sense to translate the name of someone
2016-03-17 17:38 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-03-17 17:52 -!- shivansh(~quassel@14.139.243.163) has joined #tryton
2016-03-17 17:53 <cedk> vivekjain: did you find?
2016-03-17 17:54 -!- ccaz(~ccr@125-117-190-109.dsl.ovh.fr) has joined #tryton
2016-03-17 17:54 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 17:55 -!- jp111(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 17:57 -!- flook(flook@nat/iiit/x-xelfrywnbpanyfvw) has joined #tryton
2016-03-17 17:57 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 17:57 -!- jp111(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 17:58 -!- shrox(shrox@nat/iiit/x-xuaffjqdvobojvbt) has joined #tryton
2016-03-17 17:58 -!- shivansh_(~quassel@14.139.243.163) has joined #tryton
2016-03-17 18:00 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-17 18:01 -!- toshad(uid150688@gateway/web/irccloud.com/x-hrsvkiynaoujllie) has joined #tryton
2016-03-17 18:03 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 18:05 -!- jp111(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 18:07 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 18:07 -!- jp111(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 18:07 -!- flook(flook@nat/iiit/x-lfcqqeidpvmcrzlv) has joined #tryton
2016-03-17 18:08 -!- shrox(shrox@nat/iiit/x-pdiyddnauenvevco) has joined #tryton
2016-03-17 18:20 -!- JosDzG(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-17 18:23 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 18:27 -!- shrox(shrox@nat/iiit/x-lyvptqdickznppys) has joined #tryton
2016-03-17 18:28 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-17 18:45 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has left #tryton
2016-03-17 18:53 -!- hectorh30(~hectorh30@190.149.223.38) has joined #tryton
2016-03-17 19:22 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-03-17 19:56 -!- frispete(~frispete@p54A90419.dip0.t-ipconnect.de) has joined #tryton
2016-03-17 20:05 -!- nicoe(~nicoe@2a02:a03f:30a9:300:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-03-17 20:18 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-17 20:43 -!- kstenger1(~karla@r186-49-250-94.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-03-17 21:38 <shrox> cedk: Did you have a look at review20871002 and review20851002. Do they seem okay at least superficially?
2016-03-17 22:04 <cedk> shrox: not yet checked
2016-03-17 22:04 <shrox> cedk: okay
2016-03-17 22:05 <cedk> shrox: you must fix all reviewbot comment
2016-03-17 22:06 <shrox> I did.
2016-03-17 22:09 <cedk> shrox: https://tryton-rietveld.appspot.com/20851002/#msg24
2016-03-17 22:14 <shrox> cedk: Since the difference is only of two characters, I thought that it wouldn't be a problem. Okay, I shall change this too.
2016-03-17 22:15 <cedk> shrox: did you run the tests?
2016-03-17 22:16 <cedk> shrox: because they should fail according to my remarks
2016-03-17 22:17 <shrox> cedk: I had run them for the first patch. I'll do them again. I'll have a look.
2016-03-17 22:31 <shrox> cedk: When I run ./trytond/tests/run-tests.py -vv -m account account_invoice it says - Ran 0 tests in 0.000s
2016-03-17 22:32 <cedk> shrox: yes because there is an import error
2016-03-17 22:32 <cedk> shrox: try to run just the server, you will see
2016-03-17 22:35 <shrox> cedk: I ran the test on the same modules after downloading them again on a different repo. But it still says the same thign
2016-03-17 22:35 <shrox> thing*
2016-03-17 22:35 <cedk> shrox: don't understand what you did
2016-03-17 22:35 <cedk> shrox: just run the code, you will see
2016-03-17 22:40 <shrox> cedk: just run the configuration.py? It doesn't show an error.
2016-03-17 22:40 <shrox> cedk: What I meant was I cloned another repo and run the module tests on them and it showed the same thing, that is, ran 0 tests in 0 seconds.
2016-03-17 22:43 <cedk> shrox: run the server
2016-03-17 22:44 <cedk> shrox: if the tests doesn't work in clean installation, it means the installation is broken
2016-03-17 22:44 <cedk> shrox: can you just run the server and connect to it with the client?
2016-03-17 22:53 <shrox> cedk: I haven't run the server from the source code before. Should I just ./trytond on the bin file or do I have to set up the database before?
2016-03-17 22:55 <cedk> shrox: see http://doc.tryton.org/3.8/trytond/doc/index.html#first-steps
2016-03-17 22:57 <shrox> cedk: I have seen this. For the purpose of checking these modules. Just running the trytond executable is enough, correct?
2016-03-17 23:00 <cedk> shrox: no running tests also
2016-03-17 23:00 -!- bvillasanti(~bvillasan@138.117.20.246) has joined #tryton
2016-03-17 23:03 <shrox> shrox: Yes, yes. I meant I don't need to make a database or configure it. Tests are essential, I know.
2016-03-17 23:05 <cedk> shrox: I think it is good to do it
2016-03-17 23:05 <cedk> shrox: and it will help you debugging
2016-03-17 23:10 <shrox> cedk: I wanted to do it after I start working on my proposal. It would take some time and I'm already a little later on it than I would have liked.
2016-03-17 23:10 <shrox> cedk: I installed trytond from the source code and ran the tests again and got this http://paste.ubuntu.com/15410644/
2016-03-17 23:28 <cedk> shrox: those modules are missing
2016-03-17 23:29 <cedk> shrox: I really think it is important to be able to run tryton if you want to develop on it
2016-03-17 23:31 -!- smarro(~sebastian@186.22.212.208) has joined #tryton

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