IRC logs of #tryton for Tuesday, 2015-08-18

chat.freenode.net #tryton log beginning Tue Aug 18 00:00:01 CEST 2015
2015-08-18 01:12 -!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton
2015-08-18 02:33 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-08-18 03:52 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-08-18 04:00 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-08-18 04:48 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-08-18 05:18 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton
2015-08-18 07:40 -!- frispete_(~frispete@p54A90EA5.dip0.t-ipconnect.de) has joined #tryton
2015-08-18 08:01 -!- rpit(~rpit@2a02:908:e670:6ac0:4c67:99ee:6f8d:d2ae) has joined #tryton
2015-08-18 08:09 -!- udono(~udono@ip-178-202-238-79.hsi09.unitymediagroup.de) has joined #tryton
2015-08-18 09:31 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton
2015-08-18 09:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-08-18 09:40 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-08-18 10:17 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2015-08-18 10:21 -!- Nean(54842453@gateway/web/freenode/ip.84.132.36.83) has joined #tryton
2015-08-18 10:22 <Nean> hi, can someone tell me how to set the timezone in the trytond conf file? tried it with timezone = CEST
2015-08-18 10:22 <Nean> thats not working
2015-08-18 10:28 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2015-08-18 10:28 -!- sharoonthomas(~sharoonth@122.174.237.148) has joined #tryton
2015-08-18 10:36 <cedk> Nean: you can not
2015-08-18 10:36 <cedk> Nean: trytond now always run on UTC
2015-08-18 10:37 <cedk> Nean: but you can configure a timezone per company to retrieve the current date
2015-08-18 10:37 <Nean> Okay, i get an error when he tries to initialice the mysql database
2015-08-18 10:38 <Nean> like "Unknown or incorrect time zone
2015-08-18 10:38 <Nean> "
2015-08-18 10:45 <sharoonthomas> cedk: struggling with the mac build again.. do you build the client on virtual machine ? would you be willing to share an image on which the client can be built ?
2015-08-18 10:46 <Nean> Seems like mysql does not know what UTC is. is there a way to fix that?
2015-08-18 10:46 <cedk> Nean: don't use MySQL
2015-08-18 10:47 <Nean> i thought there is a choice wich database you wanna use?
2015-08-18 10:47 <cedk> Nean: the support is not really usable and we will certainly move it to external
2015-08-18 10:47 <Nean> ohh ok
2015-08-18 10:47 <cedk> Nean: yes but it requires a real database which MySQL is not
2015-08-18 10:47 <cedk> Nean: of course you can try but be prepare to deal with some weird issue due to MySQL fault
2015-08-18 10:48 <cedk> Nean: so it is probably not the best starting option
2015-08-18 10:48 <Nean> okay, then ill go with postgresql.
2015-08-18 10:48 <cedk> sharoonthomas: no it is on an old laptop
2015-08-18 10:48 <Nean> cedk: thx :)
2015-08-18 10:49 <sharoonthomas> cedk: did we raise enough for the mac mini we were planning on buying ?
2015-08-18 10:50 <cedk> sharoonthomas: almost so I was planning to request the buy soon when I will have time to manage it
2015-08-18 10:50 <sharoonthomas> cedk: cool
2015-08-18 10:50 <cedk> sharoonthomas: what is your issue?
2015-08-18 10:50 <sharoonthomas> cedk: dependency hell :)
2015-08-18 10:50 <sharoonthomas> cedk: but I got through it and now the client requires an extra click for new windows to appear
2015-08-18 10:51 <sharoonthomas> cedk: so if I have to rebuild again, I need to get all packages sorted again, but with home-brew the packaged version always has some problem or other
2015-08-18 10:54 <cedk> sharoonthomas: I don't use home-brew but just jhbuild
2015-08-18 10:55 <sharoonthomas> cedk: ok, and which version of OS X ?
2015-08-18 10:58 <cedk> sharoonthomas: I don't remember but an old one
2015-08-18 10:58 <cedk> which is why we need a new machine to keep following jhbuild because they are removing support
2015-08-18 10:59 <sharoonthomas> cedk: ah! probably why it works for you. more recent versions and jhbuild don't seem to be going well
2015-08-18 10:59 <sharoonthomas> cedk: yep I agree
2015-08-18 11:00 <cedk> sharoonthomas: for sure you must not be too bleeding edge
2015-08-18 11:00 <sharoonthomas> cedk: such a pain to use my everyday use mac for building the client.
2015-08-18 11:01 <sharoonthomas> cedk: I am on 10.10.4
2015-08-18 11:01 <sharoonthomas> cedk: I think the problem is brew built packages conflicting with jhbuild
2015-08-18 11:02 <cedk> sharoonthomas: for sure don't mix build system, it never works
2015-08-18 11:03 <sharoonthomas> cedk: the funny thing is it works when I run the tryton client, but has all kind of issues once packaged using py2app
2015-08-18 11:03 <sharoonthomas> cedk: anyway, thanks :) and I hope you get the mac mini soon
2015-08-18 12:38 -!- sharoonthomas(~sharoonth@122.174.237.148) has joined #tryton
2015-08-18 13:11 -!- mariomop(~quassel@host32.190-229-167.telecom.net.ar) has joined #tryton
2015-08-18 13:12 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2015-08-18 13:49 -!- hiaselhans(~Thunderbi@212-186-50-97.cable.dynamic.surfer.at) has joined #tryton
2015-08-18 13:56 -!- mariomop(~quassel@host32.190-229-167.telecom.net.ar) has joined #tryton
2015-08-18 14:02 -!- Nean(54843b53@gateway/web/freenode/ip.84.132.59.83) has joined #tryton
2015-08-18 14:04 <Nean> When i try to create a new database i get the wrong password error. I changed the password in trytond.conf several times. still not working.
2015-08-18 14:05 <Nean> iam running tryton server 3.4.0 on debian
2015-08-18 14:13 <cedk> Nean: probably a database connection issue
2015-08-18 14:17 <Nean> the database connection works now with postgre sql. i try to create new databases via the client.
2015-08-18 14:17 <cedk> Nean: it is easier with: http://doc.tryton.org/3.6/trytond/doc/topics/setup_database.html#topics-setup-database
2015-08-18 14:24 <Nean> when i do that i dont see the databases in the client
2015-08-18 14:27 <Nean> but they are accesable directly via psql
2015-08-18 14:28 <cedk> Nean: so you did not create the database with the same database user than the one configured for trytond
2015-08-18 14:29 <Nean> i did at double checked that, ownership is at the tryton user
2015-08-18 14:30 <cedk> Nean: so you just need to connect to this server and put the name of the database
2015-08-18 14:33 <Nean> thats not working.
2015-08-18 14:33 <Nean> is there a way to enable the client way of creating a db
2015-08-18 14:34 <Nean> set the trytond adminpw?
2015-08-18 14:35 -!- rainer_(~rainer@pd956864b.dip0.t-ipconnect.de) has joined #tryton
2015-08-18 14:41 <sharoonthomas> Nean: https://groups.google.com/d/msg/tryton/SW0xB4dkkI8/pPBuCsbjbPMJ
2015-08-18 14:45 -!- rpit(~rpit@2a02:908:e670:6ac0:1930:4963:577d:9f5e) has joined #tryton
2015-08-18 14:54 <Nean> sharoonthomas: allready tried that. worked.
2015-08-18 14:54 <Nean> for some reason it worked after i set the pw in the conf back to the default.
2015-08-18 14:56 <Nean> after that i changed the config regarding json restartet the server, wanted to create an other database just to test. and now he is not accepting the password again.
2015-08-18 14:58 <Nean> but i can still connect to the allready created databses...
2015-08-18 15:07 <Nean> ill try that again tomorrow. thanks for the help so far...
2015-08-18 15:16 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-08-18 15:17 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2015-08-18 15:18 -!- bvillasanti(~bvillasan@190.105.64.171) has joined #tryton
2015-08-18 15:28 -!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton
2015-08-18 15:35 -!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton
2015-08-18 15:35 -!- pablovannini(~pablo@181.47.148.245) has joined #tryton
2015-08-18 16:48 -!- alimon(alimon@nat/intel/x-xxtbkqimwmqmxcez) has joined #tryton
2015-08-18 17:12 -!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton
2015-08-18 17:42 -!- smarro(~sebastian@181.16.4.44) has joined #tryton
2015-08-18 18:13 -!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton
2015-08-18 18:28 -!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton
2015-08-18 18:29 -!- smarro(~sebastian@181.109.142.40) has joined #tryton
2015-08-18 18:36 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-08-18 18:40 <meanmicio> cedk: Thanks. Instead of using an icon as a new field on the tree, I like more the idea of using it as a prefix on the same field
2015-08-18 18:42 <meanmicio> cedk : using the view_attributes method
2015-08-18 18:44 <cedk> meanmicio: don't understand
2015-08-18 18:47 <meanmicio> cedk : To conform with the 3.8, we'll be using icons instead of colors on tree views. But, instead of using the icon attribute directly, I think we'd better use the prefix attribute
2015-08-18 18:48 <cedk> meanmicio: it is the same for the client, icon attribute is just a shortcut
2015-08-18 18:50 <meanmicio> cedk : but from the documentation, if we use the icon attribute, we need to have a field with the icon. On the other hand, if we use the prefix, it allow us to directly use any icon that has been registered
2015-08-18 18:51 <cedk> meanmicio: but indeed it is the same
2015-08-18 18:52 <cedk> meanmicio: but if you use a fixed icon name, I don't see the point
2015-08-18 18:54 <meanmicio> cedk: They don't have to be fixed.... you can use one for "warning" (most of the time), but also, some for "forbidden"
2015-08-18 18:55 <cedk> meanmicio: I don't understand
2015-08-18 18:55 -!- sharoonthomas(~sharoonth@122.174.237.148) has joined #tryton
2015-08-18 18:57 <meanmicio> cedk : take a look at http://hg.savannah.gnu.org/hgweb/health/file/5da870dab0f2/tryton/health/health.py#l1554 . I would change the colors by using prefix and the icon and string
2015-08-18 19:00 <cedk> meanmicio: I don't see how
2015-08-18 19:00 <meanmicio> cedk : So, for pregnancy_category C and D, I would use a "warning" icon, and for X, I would use a "forbidden" icon, as prefix. I could also include the string
2015-08-18 19:01 <cedk> meanmicio: without adding a field for the icon
2015-08-18 19:03 <meanmicio> cedk: It might be a misunderstanding, but the documentation of prefix attribute says : The name of the field that contains the name of the icon to display _or* the name of the icon.
2015-08-18 19:04 <cedk> meanmicio: yes so if you don't use a field, you will have always the same icon
2015-08-18 19:06 <meanmicio> cedk : I thought I could use a conditional to specify the different icon names depending on the value of the field, similar to "colors"
2015-08-18 19:08 <cedk> meanmicio: no the documentation says the name of the icon
2015-08-18 19:08 <cedk> meanmicio: not an expression returning the name of the icon
2015-08-18 19:09 -!- smarro(~sebastian@190.105.53.232) has joined #tryton
2015-08-18 19:09 <cedk> meanmicio: and this is good for modularity because such expression can not be extended but the value of a function field do
2015-08-18 19:10 <meanmicio> cedk : ok. So the solution would be to have a function field that returns the name of the icon, depending on the value of a field ...
2015-08-18 19:11 <cedk> meanmicio: yes
2015-08-18 19:12 <meanmicio> cedk : ok ! Thanks. I'll play with this concept and let you know .
2015-08-18 19:13 <cedk> meanmicio: we have it on journal-period
2015-08-18 19:13 <meanmicio> cedk : Great ! I'll look on it. Thanks !!
2015-08-18 19:42 -!- sharoonthomas(~sharoonth@122.174.237.148) has joined #tryton
2015-08-18 21:18 -!- sunny_dealmeida(~quassel@203.115.74.166) has joined #tryton
2015-08-18 21:27 <meanmicio> cedk : Just sent a pic on twitter with the example and the new concept :)
2015-08-18 21:27 <meanmicio> cedk : Looks quite nice, thanks !
2015-08-18 21:57 -!- cman(~perturbed@75.144.9.45) has joined #tryton
2015-08-18 23:56 -!- cman(~perturbed@75.144.9.45) has joined #tryton

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