IRC logs of #tryton for Thursday, 2012-06-28

chat.freenode.net #tryton log beginning Thu Jun 28 00:00:01 CEST 2012
2012-06-28 09:15 <shalabhaggarwal> Hi, how can i install a module from proteus using xmlrpc in tryton 2.4?
2012-06-28 09:16 <zenith> hi guys, where can i found trytond.conf file?
2012-06-28 09:23 <shalabhaggarwal> zenith: http://hg2.tryton.org/2.4/trytond/file/7731de3f1eba/etc/trytond.conf
2012-06-28 09:26 <cedk> shalabhaggarwal: look at any scenario
2012-06-28 09:29 <shalabhaggarwal> cedk: i saw, but they are not done using xmlrpc, i.e., set_xmlprc but they are done using set_trytond
2012-06-28 09:29 <cedk> shalabhaggarwal: it is the same
2012-06-28 09:32 <shalabhaggarwal> it blows up saying: AttributeError: type object 'ir.module.module' has no attribute 'install'
2012-06-28 09:33 <shalabhaggarwal> i see that the rpc methods have been removed from tryton 2.4
2012-06-28 09:33 <shalabhaggarwal> http://hg2.tryton.org/2.4/trytond/file/7731de3f1eba/trytond/ir/module/module.py#l46
2012-06-28 09:33 <shalabhaggarwal> http://hg.tryton.org/2.0/trytond/file/3df676309a7a/trytond/ir/module/module.py#l41
2012-06-28 09:34 <cedk> shalabhaggarwal: so follow the way according the version you use
2012-06-28 09:37 <shalabhaggarwal> cedk: ok, then how do i call buttons using rpc?
2012-06-28 09:37 <cedk> shalabhaggarwal: as show in any scenario
2012-06-28 09:40 <shalabhaggarwal> cedk: tried again, works with set_trytond and not with set_xmlrpc
2012-06-28 09:44 <cedk> shalabhaggarwal: so fill an issue
2012-06-28 10:00 <cedk> sharoonthomas: hi, where are you with the active record migration of calendar_todo?
2012-06-28 10:00 <sharoonthomas> cedk: halfway :( it seems to be one of the most complex modules
2012-06-28 10:01 <cedk> sharoonthomas: it is just like calendar
2012-06-28 10:48 <sharoonthomas> cedk: in proteus you get the version of preoteus by importing proteus and python does it since there is a folder called proteus and it has an __init__.py
2012-06-28 10:48 <sharoonthomas> cedk: but this __init__.py imports classes from other modules inside proteus and it happens before the dependencies are installed
2012-06-28 10:49 <sharoonthomas> cedk: in this case setup.py will always break with an import error if dateutil is not installed before installing proteus
2012-06-28 10:49 <sharoonthomas> cedk: http://hg2.tryton.org/2.4/proteus/file/181a9b5ad4b4/setup.py#l7
2012-06-28 10:50 <cedk> sharoonthomas: fill an issue
2012-06-28 10:50 <sharoonthomas> cedk: if you have any suggestions on how to get around this, i can send a patch too
2012-06-28 10:51 <sharoonthomas> cedk: what do you think of exception handling of ImportError around http://hg2.tryton.org/2.4/proteus/file/181a9b5ad4b4/proteus/__init__.py#l23
2012-06-28 10:53 <cedk> sharoonthomas: no, it is a petty of package management in Python
2012-06-28 10:53 <sharoonthomas> cedk: yep the worst part in python is packaging :)
2012-06-28 12:44 -!- pjstevns(~pjstevns@nfg3.nfgs.net) has left #tryton
2012-06-28 14:16 <sharoonthomas> cedk: I am testing the production module, is there an extra module (or existing functionality) which will create production requests ?
2012-06-28 14:16 <sharoonthomas> cedk: like purchase requests functionality ?
2012-06-28 14:18 <cedk> sharoonthomas: production_supply
2012-06-28 14:19 <sharoonthomas> cedk: thanks
2012-06-28 14:23 <sharoonthomas> cedk: i am not able to find the module
2012-06-28 14:23 <sharoonthomas> cedk: also the production module is there in 2.4 repo, but not in trunk
2012-06-28 14:24 <cedk> sharoonthomas: http://hg.tryton.org/2.4/modules/stock_supply_production/
2012-06-28 14:24 <sharoonthomas> cedk: sory act that, thanks again
2012-06-28 15:49 <sharoonthomas> cedk: i did not understand what you meant by your update on issue2688
2012-06-28 15:51 <cedk> sharoonthomas: don't use url but just the shortcut
2012-06-28 15:51 <sharoonthomas> cedk: got it, thanks will do from future
2012-06-28 15:51 <cedk> sharoonthomas: if we move one day the codreview...
2012-06-28 15:52 <sharoonthomas> cedk: got it, we don't want links to be broken
2012-06-28 16:14 <__efx__> Hello
2012-06-28 16:14 <__efx__> I try to use the caldav with thunderbird
2012-06-28 16:15 <__efx__> I can add the calendar from thunderbird
2012-06-28 16:15 <__efx__> but when I cannot add events
2012-06-28 16:15 <__efx__> I got this response from the server
2012-06-28 16:15 <__efx__> localhost - - [28/Jun/2012 16:14:23] "REPORT /testNEW/Calendars/ HTTP/1.1" 207 -
2012-06-28 16:15 <__efx__> localhost - - [28/Jun/2012 16:14:23] "PROPFIND /testNEW/Calendars/Florin/ HTTP/1.1" 207 -
2012-06-28 16:16 <__efx__> does anyone have an Idea of what could be the problem
2012-06-28 16:17 <ciupicri> can the tryton client be used as a Point of Sale system where all I need to do is scan some barcodes then print a receipt?
2012-06-28 16:22 <cedk> __efx__: you don't have access right?
2012-06-28 16:22 <cedk> ciupicri: not really, but maybe a wizard can do the job
2012-06-28 16:24 <ciupicri> ok, thanks
2012-06-28 16:24 <__efx__> cedk: actually thunderbird does not complain when I enter the password
2012-06-28 16:25 <__efx__> but I can not see the events I added using the tryton client
2012-06-28 16:29 <cedk> __efx__: I mean on the calendar
2012-06-28 16:35 <__efx__> cedk: The calendar asked me for a username/password so I assume that yes I have the access right
2012-06-28 16:41 <__efx__> maybe the problem comes from thunderbird
2012-06-28 16:42 <cedk> __efx__: not necessary, you have access to the server by not sure about the calendar
2012-06-28 16:44 <__efx__> with a navigator I can access to localhost:8080/DBNAME/Calendars/ entering the username/password I gave to the calendar
2012-06-28 16:57 <__efx__> I added the access security tab of the calendar detail in the tryton client is that correct ?
2012-06-28 17:01 <cedk> __efx__: yeps
2012-06-28 17:03 <__efx__> cedk: and this kind of address for accessing the calendar looks ok : http://localhost:8080/testNEW/Calendars/test
2012-06-28 17:03 <__efx__> ?
2012-06-28 17:05 <__efx__> cedk: I just noticed that my calendar version is the 2.4.1 and the calendar_scheduling is 2.4.0 could this cause trouble ?
2012-06-28 17:05 <cedk> __efx__: yes if your database is named "testNEW"
2012-06-28 17:05 <cedk> __efx__: no
2012-06-28 17:06 <__efx__> cedk: I also have an SQL error when I try to add a task
2012-06-28 17:07 <__efx__> cedk: * from the calendar (e.g. thunderbird)
2012-06-28 17:11 <__efx__> also after adding the calendar when I press the synchronisation button the trytond server starts an infinite loop (that don't stop even if I close thunderbird). The messages I got (~20 per second) are the following
2012-06-28 17:11 <__efx__> localhost - - [28/Jun/2012 17:09:41] "OPTIONS /testNEW/Calendars/ HTTP/1.1" 200 -
2012-06-28 17:12 <__efx__> localhost - - [28/Jun/2012 17:09:41] "PROPFIND /testNEW/Calendars/ HTTP/1.1" 207 -
2012-06-28 17:12 <__efx__> localhost - - [28/Jun/2012 17:09:41] "REPORT /testNEW/Calendars/ HTTP/1.1" 207 -
2012-06-28 17:12 <__efx__> localhost - - [28/Jun/2012 17:09:41] "PROPFIND /testNEW/Calendars/test/ HTTP/1.1" 207 -
2012-06-28 18:59 <sharoonthomas> cedk: was looking into the problem shalabhaggarwal was talking about in the morning
2012-06-28 18:59 <sharoonthomas> cedk: it seems the issue is that server.system.listMethods() does not return the methods not in the _rpc disctionary
2012-06-28 19:13 <cedk> sharoonthomas: ha an buttons are not in _rpc
2012-06-28 19:14 <sharoonthomas> cedk: yep
2012-06-28 19:26 <cedk> sharoonthomas: could you fill an issue as shalabhaggarwal did not do it
2012-06-28 22:30 <version2beta> cedk: I see that sale-opportunity is available for download, but not listed in the modules under 2.4. Is it recommended for production?
2012-06-28 22:37 <cedk> version2beta: yes where is it missing?
2012-06-28 22:37 <version2beta> It's not in the list on http://doc.tryton.org/2.4/.
2012-06-28 22:37 <cedk> version2beta: because it doesn't have documentation
2012-06-28 22:38 <version2beta> cedk: I see. Thank you. It's good to talk to you again, been a while since I got to try to sell a Tryton system. Very happy to be back.
2012-06-28 22:39 <cedk> version2beta: yes that's great
2012-06-28 22:39 <cedk> version2beta: it has been a lot of changes since
2012-06-28 22:40 <cedk> version2beta: and also many new contributors
2012-06-28 22:40 <version2beta> cedk: I get the emails and the software looks very good. And I've really tried to ramp up my programming skills over the last year. I look forward to working with Tryton.
2012-06-28 22:41 <version2beta> cedk: I wonder, have you tried Openlab's Nereid? Or looked at it?
2012-06-28 22:42 <cedk> version2beta: just had a quick overview
2012-06-28 22:43 <cedk> version2beta: it looks promizing but I'm missing some modularity point that Tryton has
2012-06-28 22:44 <version2beta> cedk: Have you seen enough to share an opinion? I don't wish to put you in - ah, thank you.
2012-06-28 22:45 <cedk> version2beta: I already talked to sharoon about that
2012-06-28 22:48 <version2beta> cedk: I can ask him, too. It's functionality I've advocated for, but as I've improved my programming I've leaned further toward json APIs. As I recall, you preferred that Tryton primarily provide JSON; a web framework beyond that was out of scope for the project. Is that a fair statement?
2012-06-28 22:50 <cedk> version2beta: no, for a web client that will be similar to the GTK, I think it must talk json-rpc directly with the server
2012-06-28 22:51 <cedk> version2beta: but for a e-commerce website, I think html templating is good enough
2012-06-28 22:52 <version2beta> cedk: which part do you think should put the data in the template, a Tryton module or an external program communicating over json-rpc?
2012-06-28 22:52 <cedk> version2beta: I guess a tryton module
2012-06-28 22:53 <cedk> version2beta: what I miss in nereid is an inheritage of jinja template just like we have for views
2012-06-28 22:53 <version2beta> cedk: I was curious about that. I like the Tryton module / Nereid approach and see a lot of benefit in small and mid size applications. But I think Sharoon has made it work on large scale too.
2012-06-28 22:54 <version2beta> cedk: Oh, I can see where a Jinja2 integration would be a pretty thing to have!
2012-06-28 22:54 <cedk> version2beta: yes I can imagine it can run on large scale
2012-06-28 22:56 <version2beta> cedk: he's shown me an impressive setup, and we talked about how they were using Celery, Redis, and Mongo. I'm not familiar with all the details but what I saw looked great.
2012-06-28 22:57 <cedk> version2beta: yes large setup needs some sort of caching
2012-06-28 22:58 <version2beta> cedk: I'd be inclined now to consider how it could be done asynchronously.
2012-06-28 23:00 <cedk> version2beta: what should be done asynchronously?
2012-06-28 23:02 <version2beta> cedk: Most or perhaps all client interaction with the server. As I recall the GTK client and typically a web client would block while waiting for a result, isn't that correct?
2012-06-28 23:08 <cedk> version2beta: mostly, but most of the time we need the result to allow any other actions
2012-06-28 23:09 <cedk> version2beta: but the 2.4 client now let GTK process other events when waiting answer
2012-06-28 23:09 <version2beta> cedk: oh, cool!
2012-06-28 23:09 <cedk> version2beta: which gives the feeling of more responsiveness
2012-06-28 23:10 <version2beta> cedk: One question my employer had when discussing the proposal I'm writing is who can do the work if I'm gone. Do you know if there are new people in the US working with Tryton? I know we can use Openlabs. What about B2CK?
2012-06-28 23:14 <cedk> version2beta: we don't have office in US but of course we can work offshore
2012-06-28 23:15 <version2beta> cedk: It's a relatively small project. I wonder if I could get an idea of what you charge per hour, if you work by the hour? Perhaps this discussion belongs on a private channel.
2012-06-28 23:19 <cedk> version2beta: could you send me an email about it
2012-06-28 23:20 <version2beta> cedk: yes of course. Thank you.

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