IRC logs of #tryton for Tuesday, 2011-12-13

chat.freenode.net #tryton log beginning Tue Dec 13 00:00:01 CET 2011
2011-12-13 00:20 <jcm> jarray52: never seen this... maybe bad decimal separator?
2011-12-13 00:21 <jarray52> jcm: It occurred while installing modules.
2011-12-13 00:21 <jarray52> jcm: On OpenBSD5.0.
2011-12-13 00:22 <jarray52> jcm: using tryton packages in the repositories. There also seems to be an issue with _thread and thread naming. I'm using python2.7, but the calendar module is loading _thread, but perhaps the problem is with a python module loading _thread.
2011-12-13 00:37 <jarray52> jcm: In which module does rate in units of measure occur? I wonder if this is caused by a difference in size of floating point numbers in different OSes.
2011-12-13 00:41 <jcm> do you see this on starting the server?
2011-12-13 00:42 <jarray52> jcm: No. Only in the client
2011-12-13 00:42 <jcm> did you load the modules with Admin > Modules (selecting) then Activate modules action ?
2011-12-13 00:44 <jarray52> jcm: No. Administration->Modules->Modules(selected)
2011-12-13 00:45 <jarray52> jcm: After selection I selected Perform Pending Installation/Upgrade.
2011-12-13 00:46 <jarray52> jcm: Is that what you meant?
2011-12-13 00:51 <jarray52> jcm: Is there a way to install modules individually as opposed to all at once?
2011-12-13 00:53 <jcm> jarray52: yes, that 's the right action
2011-12-13 00:53 <jcm> jarray52: select only those you want to install
2011-12-13 00:57 <jarray52> jcm: One unmet dependency and this thing gives the user hell.
2011-12-13 00:58 <jarray52> jcm: Is it normal to have to restart both the client and server after an unmet dependency?
2011-12-13 00:59 <jcm> jarray52: I'm not advanced enough to answer sych question ;-)
2011-12-13 00:59 <jcm> such
2011-12-13 01:01 <jarray52> jcm: I suspect I'm doing something wrong. It asks me to file a bug report, and I try to close it, and it crashes. Perhaps it was intended. I should file the bug reports when they're automated.
2011-12-13 01:02 <jarray52> :)
2011-12-13 01:03 <jarray52> I successfully installed a module. Perhaps the problem is only with one module.
2011-12-13 01:09 <jarray52> jcm: I installed several modules. The problem arises with the product module. The server also gives an error. It states:
2011-12-13 01:09 <jarray52> ERROR:convert:Error while parsing xml file:
2011-12-13 01:09 <jarray52> In tag record: model product.uom with id uom_cubic_inch.
2011-12-13 01:13 <cedk> jarray52: the issue should come from MySQL backend
2011-12-13 01:13 <cedk> jarray52: please report a bug
2011-12-13 01:14 <jarray52> cedk: I'm using OpenBSD5.0 packages. OpenBSD uses version 2.0 if I'm not mistaken. Should I still report a bug?
2011-12-13 01:15 <cedk> jarray52: yes, MySQL is not very well tested because it is the worse database backend
2011-12-13 01:15 <cedk> jarray52: and so nobody is really using it
2011-12-13 01:15 <jarray52> worst in what sense?
2011-12-13 01:16 <cedk> jarray52: it is a poor database for data integrity
2011-12-13 01:17 <cedk> jarray52: read http://hg.tryton.org/trytond/file/6160399b1488/README#l39
2011-12-13 01:17 <cedk> jarray52: if you really think about using Tryton in production, you should think about using postgresql
2011-12-13 01:17 <jarray52> cedk: Thanks.
2011-12-13 01:22 <jcm> cedk: I cannot activate ssl on my 2.2 install: when I try and reload the server, the client says Errno54, Connection reset by peer
2011-12-13 01:22 <cedk> jcm: you must fix the fingerprint file in ~/.config/tryton/x.y/
2011-12-13 01:23 <jcm> ah, didn't think of this
2011-12-13 01:29 <jcm> cedk: thks, ssl activated
2011-12-13 04:58 <zxq9_> Given this code sample: http://fpaste.org/BYas/
2011-12-13 04:58 <zxq9_> I have two questions.
2011-12-13 04:59 <zxq9_> 1- Is this a correct use of Function fields? I am trying to include the contract_num in each level of view in the client (whether looking at tasks, projects or contracts)
2011-12-13 05:00 <zxq9_> 2- How can I make it possible to create a project and a task inside of that project from that view without running into the problem of the project not yet existing when the task is being saved?
2011-12-13 05:00 <zxq9_> (I may be explaining #2 poorly)
2011-12-13 05:02 <zxq9_> also, in tree view I cannot sort by clicking the contract_num column header. Why?
2011-12-13 05:06 <zxq9_> Hmmm... can't search by it, either. I'm doing something wrong in the view XML maybe? Do function fields require special handling for this?
2011-12-13 05:11 -!- jarray52(~solargrin@unaffiliated/jarray52) has left #tryton
2011-12-13 06:41 <jarray52> When I try to use python 2.7, I have problems with all the calendar modules. I get the error: File "/usr/local/lib/python2.7/site-packages/python_dateutil-2.0-py2.7.egg/dateutil/rrule.py", line 13, in <module> import _thread
2011-12-13 06:41 <jarray52> Python 3.2 renamed thread to _thread.
2011-12-13 07:30 <zxq9_> jarray52: What OS are you using?
2011-12-13 07:31 <zxq9_> jarray52: or, distro is probably the correct question.
2011-12-13 07:38 <zxq9_> jarray52: Hrm... maybe the "port to Python 3" effort is just going ahead and breaking stuff. If that's the case it'd be more normal to bind Tryton 2.x to Python 2.{5...7} and make Tryton 3 bound to Python 3.
2011-12-13 07:38 <zxq9_> The 2.2 modules should work fine with Python 2.7, though. Or at least mine works fine.
2011-12-13 07:46 <zxq9_> How can I make a tree view sortable/searchable by a value in a function field?
2011-12-13 07:50 <zxq9_> Let me rephrase that... what field should order_field be set on?
2011-12-13 08:27 <zxq9_> How do I use "order_field" to permit sorting/searching by function fields?
2011-12-13 10:13 <zxq9_> Is it possible to sort or search a function field column in a tree view?
2011-12-13 10:16 <bechamel> zxq9_: to search on a function field you have to provide a search function, grep for "searcher" in the modules for examples
2011-12-13 10:23 <zxq9_> Ah... Ok. Thanks!
2011-12-13 10:23 <sisalp> hi, is there a barcode solution for reports ?
2011-12-13 10:25 <zxq9_> hmmm... haven't heard of one, but wouldn't it be possible to feed a python module for creating barcodes a value and export an image, sort of how graphs work?
2011-12-13 10:36 <udono> sisalp: hi, paepke did some work on this, see http://www.tryton.org/~irclog/2011-06-27.log.html
2011-12-13 10:49 <sisalp> udono: thank you for the pointer.
2011-12-13 10:51 <udono> sisalp: welcome
2011-12-13 11:05 <jcm> sisalp: I'm interested to know wether this is a working solution ;-)
2011-12-13 17:19 <sampac> Hi! Can someone point me to how trigger_model and trigger_ids work in workflow transition ?
2011-12-13 17:23 <nicoe> It's complicated
2011-12-13 17:24 <nicoe> trigger_ids is a function that compute a list of ids
2011-12-13 17:25 <nicoe> trigger_model is the name of the model to use
2011-12-13 17:25 <sampac> but which trigger is it triggering ? :-)
2011-12-13 17:26 <sampac> create, modify, delete ?
2011-12-13 17:26 <nicoe> I have to read the code to remember it
2011-12-13 17:29 <nicoe> It creates a trigger on some ids of a model (computed as I explained)
2011-12-13 17:31 <nicoe> those object can then call workflow_trigger_trigger to "resume" the workflow that created the triggers
2011-12-13 17:31 <nicoe> reading the code makes it clear : trytond/model/modelstorage.py and trytond/workflow/workflow.py
2011-12-13 17:32 <sampac> ok I see. Like a stop point.
2011-12-13 17:32 <sampac> will check the code you pointed. Thanks for your help
2011-12-13 18:20 <jarray52> I can't seem to connect to the Online Demo of tryton linked through the website. Is there something I need to do?
2011-12-13 18:29 <cedk> jarray52: I can connect
2011-12-13 18:32 <jarray52> cedk: I click on the link and enter demo/demo?
2011-12-13 18:32 <cedk> jarray52: it is WebDAV only
2011-12-13 18:33 <jarray52> cedk: I'm talking about the links on this page: http://www.tryton.org/demo.html
2011-12-13 18:34 <jarray52> I just see Collection: /
2011-12-13 18:34 <jarray52> Powered by trytond version 2.2.1
2011-12-13 18:35 <jarray52> Presumably that is not what I'm suppose to see.
2011-12-13 18:36 <cedk> jarray52: it is
2011-12-13 18:36 <cedk> jarray52: it is the WebDAV
2011-12-13 18:37 <jarray52> cedk: Why even bother putting it up?
2011-12-13 18:37 <jarray52> An apache server printing the words Collection: / could replicate this.
2011-12-13 18:37 <cedk> jarray52: for testing the WebDAV
2011-12-13 18:38 <jarray52> I suspect there is a misunderstanding. There is nothing there even to test except the words Collection: /
2011-12-13 18:42 <bechamel> jarray52: to connect to the demo server you have to install the client
2011-12-13 18:43 <cedk> jarray52: connect with a caldav client
2011-12-13 18:49 <jarray52> cedk: I installed and tested a server locally.
2011-12-13 18:50 <jarray52> cedk: I know how the non-web based client works. It's a little clunky, but I see the functionality. What separates tryton from OpenERP's demo are fairly trivial cosmetic things, but they do have a big impact on useability.
2011-12-13 18:51 <jarray52> bechamel: So, the web interface is non-existent?
2011-12-13 18:52 <jarray52> bechamel: I know it's in development. There is no alpha or beta version, right?
2011-12-13 18:52 <bechamel> jarray52: more gamma
2011-12-13 18:52 <bechamel> or epsilon :)
2011-12-13 18:54 <jarray52> bechamel: beta=needs user testing; alpha=needs developer testing; gamma=needs developers; and epsilon=...
2011-12-13 18:54 <jarray52> ?
2011-12-13 18:54 <jarray52> :)
2011-12-13 18:54 <bechamel> jarray52: need time :)
2011-12-13 18:54 <jarray52> yes
2011-12-13 18:54 <jarray52> It's nice software.
2011-12-13 18:55 <jarray52> It's very close to being very useable.
2011-12-13 20:48 -!- jarray52(~solargrin@unaffiliated/jarray52) has left #tryton
2011-12-13 22:12 -!- sampac(~spaccoud@def92-7-82-231-203-127.fbx.proxad.net) has left #tryton

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