-
Notifications
You must be signed in to change notification settings - Fork 23.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LiveChat is not working on version 8 #190
Comments
Can you share with us how are you running the server? Regards. Written from my android
|
Hi, I download latest copy of openerp8 and run using the bellow command (after installing all dependencies): ./openerp-server.py –addons-path=/backup/odoo/addons Please note that I added the extension (.py) to the openerp-server file I tried many time, each time I remove/reinstall openerp database schema (each time I install new database, I use the bellow command so I don't get internal server error: Then, I installed LiveChat dependencies found in the bellow website (like python-gevent ...): Finally, I add the bellows lines within the tag in the /addons/website/views/website_templates.xml file (under bootstrap.js script link) as shown bellow: <script type="text/javascript" src="http://localhost:8069/im_livechat/static/ext/static/lib/requirejs/require.js"></script> <script type="text/javascript" src='http://localhost:8069/im_livechat/loader?p={"db": "openerp", "channel": 2}'></script>Please let me know if I missing something here? Thanks in advance, |
Run it with --workers=4. Written from my android
|
Hi, I just re-created openerp database, then run: and installed live chat, website builder (after added the livechat lines within the tag) but I still getting the same error... please see bellow: 2014-05-24 22:15:31,241 27462 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 22:15:31] "POST /web/action/load HTTP/1.1" 200 - I also notice more process are running after adding –workers=4 root@Debian:/backup/odoo/addons# ps -ef | grep openerp Thanks in advance, |
Hi, Please let me know if I missing something here? Is it a bug ? Thanks, |
Hi, I tried to start the server (and recreate openerp database), but got the bellow error: bader@Debian:/backup/odoo$ ./openerp-gevent.py -d openerp --addons-path=/backup/odoo/addons –workers=4 openerp-gevent.py: error: unrecognized parameters: '–workers=4' So I remove --workers command and tried again, but got the same error again: ./openerp-gevent.py -d openerp --addons-path=/backup/odoo/addons (longpolling) running on 0.0.0.0:8072 127.0.0.1 - - [2014-05-25 12:11:27] "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 500 21 "http://localhost:8072/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36" Please advice; Thanks, |
Kindly, let me know if I missed anything here? |
just tried and found no problems. you sure you're using up-to-date code and dependencies? |
Hi, These are the dependencies I installed to run livechat on odoo ver 8
Then I added the bellow lines in /addons/website/views/website_templates.xml : <script type="text/javascript" src="http://www.wellsautogroup.com/im_livechat/static/ext/static/lib/requirejs/require.js"></script> <script type="text/javascript" src='http://www.wellsautogroup.com/im_livechat/loader?p={"db": "openerp", "channel": 1}'></script>but got bellow Warning/Errors: 2014-05-26 16:42:30,740 16571 INFO openerp werkzeug: 127.0.0.1 - - [26/May/2014 16:42:30] "GET /logo.png HTTP/1.1" 200 - Do I need to install any other dependencies? Thanks, |
The livechat script apparently tries to login with the user 'public' with password 'public'.If you turn the public user active (not active by default) and set the password to public it might have an impact So try: update res_users set active = True where login = 'public' then set the password to 'public' and try again.Also add the public user to the channel you created |
I was following all the instructions here and in other threads and nothing, but then I discovered that I need to: 1 - Activate the public user 2 - Set its password as 'public' Then chat started working in the website and external websites :D |
It worked like a charm! |
email_to is a text field, not a list
Hello i was following all the steps:
I can have a live chat in the webpage when i access the site from internal network. When i use external network livechat is not appears. |
Had the same problem and found a couple possible solutions. The one that worked for me was to go into Settings > Parameters > System Parameters, and edited the value of "web.base.url". In my case everything was correct, except the "s" in "https" was missing. Either way, this needs to be the exact/full address of your website. Hope this helps! |
* IMP add afip resp on moves * REF
AYES-405: Report generation on the record set after the chunks import
…11_01 Merged from upstream 13 220311 01
I installed livechat for visitors, when I add the script livechat script link on my openerp 8 website, I got the bellow errors:
2014-05-24 16:54:25,021 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /web? HTTP/1.1" 404 -
2014-05-24 16:54:25,083 20081 INFO ? werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /im_livechat/static/ext/static/lib/requirejs/require.js HTTP/1.1" 200 -
2014-05-24 16:54:25,121 20081 WARNING openerp openerp.osv.orm: No field_values found for ids [2] in browse_record(im_livechat.channel, 2)
2014-05-24 16:54:25,257 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 500 -
2014-05-24 16:54:25,315 20081 ERROR openerp werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/backup/odoo/openerp/service/server.py", line 273, in app
return self.app(e, s)
File "/backup/odoo/openerp/service/wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1110, in call
return self.dispatch(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1248, in dispatch
result = ir_http._dispatch()
File "/backup/odoo/addons/website/models/ir_http.py", line 78, in _dispatch
return super(ir_http, self)._dispatch()
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 125, in _dispatch
return self._handle_exception(e)
File "/backup/odoo/addons/website/models/ir_http.py", line 186, in _handle_exception
return super(ir_http, self)._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 94, in _handle_exception
return request._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
result = request.dispatch()
File "/backup/odoo/openerp/http.py", line 544, in dispatch
r = self._call_function(*_self.params)
File "/backup/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/backup/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/backup/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/backup/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/backup/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 55, in loader
info = reg.get('im_livechat.channel').get_info_for_chat_src(cr, uid, channel)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 196, in get_info_for_chat_src
'buttonText': chan.button_text,
File "/backup/odoo/openerp/osv/orm.py", line 505, in getattr
return self[name]
File "/backup/odoo/openerp/osv/orm.py", line 435, in getitem
raise KeyError('Field %s not found in %s'%(name, self))
AttributeError: Got KeyError('Field button_text not found in browse_record(im_livechat.channel, 2)',) while trying to get attribute button_text on a im_livechat.channel record.
2014-05-24 16:54:25,684 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /web/css/web.assets_common HTTP/1.1" 200 -
2014-05-24 16:54:25,800 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /logo.png HTTP/1.1" 200 -
The text was updated successfully, but these errors were encountered: