Skip to Content
Menu
This question has been flagged
2916 Views

Hello ,

i have a problem that i can not solve i have well followed alfaodoo documentation for integriri api alfresco but i have not found the same result yet if i create a folder i find it in alfresco but i have not found any buttons to import files like the expected result at the end of the documentation

*********************************************************

3web.assets_common.js:3028 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 641, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 683, in dispatch\n result = self._call_function(**self.params)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 941, in __call__\n return self.method(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/addons/bus/controllers/main.py\", line 35, in poll\n raise Exception(\"bus.Bus unavailable\")\nException: bus.Bus unavailable\n","exception_type":"internal_error","message":"bus.Bus unavailable","name":"exceptions.Exception","arguments":["bus.Bus unavailable"]}}

(anonymous) @ web.assets_common.js:3028

web.assets_common.js:3028 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 641, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 683, in dispatch\n result = self._call_function(**self.params)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 941, in __call__\n return self.method(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/addons/web/controllers/main.py\", line 894, in call_button\n action = self._call_kw(model, method, args, {})\n File \"/home/ikram/odoo/odoo-10/odoo/addons/web/controllers/main.py\", line 882, in _call_kw\n return call_kw(request.env[model], method, args, kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/api.py\", line 689, in call_kw\n return call_kw_multi(method, model, args, kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/api.py\", line 680, in call_kw_multi\n result = method(recs, *args, **kwargs)\n File \"/home/ikram/odoo/custom/connector-cmis-10.0/cmis/models/cmis_backend.py\", line 85, in check_directory_of_write\n _(\"The test file already exists in the DMS. \"\nCMISError: (u'Le fichier de test exite d\\xe9j\\xe0 dans le DMS. Supprimez le et r\\xe9essayer \\xe0 nouveau.', '')\n","exception_type":"user_error","message":"Le fichier de test exite déjà dans le DMS. Supprimez le et réessayer à nouveau.\n","name":"odoo.addons.cmis.exceptions.CMISError","arguments":["Le fichier de test exite déjà dans le DMS. Supprimez le et réessayer à nouveau.",""]}}

(anonymous) @ web.assets_common.js:3028

12web.assets_common.js:3028 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 641, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 683, in dispatch\n result = self._call_function(**self.params)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 941, in __call__\n return self.method(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/addons/bus/controllers/main.py\", line 35, in poll\n raise Exception(\"bus.Bus unavailable\")\nException: bus.Bus unavailable\n","exception_type":"internal_error","message":"bus.Bus unavailable","name":"exceptions.Exception","arguments":["bus.Bus unavailable"]}}

(anonymous) @ web.assets_common.js:3028

2localhost:8082/alfresco/api/-default-/public/cmis/versions/1.1/browser/:1 Failed to load resource: the server responded with a status of 403 (Interdit)

:8080/web?#id=1&view_type=form&model=cmis.test.model&menu_id=286&action=386:1 Failed to load http://localhost:8082/alfresco/api/-default-/public/cmis/versions/1.1/browser/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://0.0.0.0:8080' is therefore not allowed access. The response had HTTP status code 403.

web.assets_common.js:3028 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 641, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 683, in dispatch\n result = self._call_function(**self.params)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 941, in __call__\n return self.method(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/addons/bus/controllers/main.py\", line 35, in poll\n raise Exception(\"bus.Bus unavailable\")\nException: bus.Bus unavailable\n","exception_type":"internal_error","message":"bus.Bus unavailable","name":"exceptions.Exception","arguments":["bus.Bus unavailable"]}}

(anonymous) @ web.assets_common.js:3028

2localhost:8082/alfresco/api/-default-/public/cmis/versions/1.1/browser/:1 Failed to load resource: the server responded with a status of 403 (Interdit)

:8080/web?#id=1&view_type=form&model=cmis.test.model&menu_id=286&action=386:1 Failed to load http://localhost:8082/alfresco/api/-default-/public/cmis/versions/1.1/browser/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://0.0.0.0:8080' is therefore not allowed access. The response had HTTP status code 403.

6web.assets_common.js:3028 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 641, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 683, in dispatch\n result = self._call_function(**self.params)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 941, in __call__\n return self.method(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/addons/bus/controllers/main.py\", line 35, in poll\n raise Exception(\"bus.Bus unavailable\")\nException: bus.Bus unavailable\n","exception_type":"internal_error","message":"bus.Bus unavailable","name":"exceptions.Exception","arguments":["bus.Bus unavailable"]}}

(anonymous) @ web.assets_common.js:3028

web.assets_common.js:3028 Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 641, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 683, in dispatch\n result = self._call_function(**self.params)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/service/model.py\", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 941, in __call__\n return self.method(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/http.py\", line 506, in response_wrap\n response = f(*args, **kw)\n File \"/home/ikram/odoo/odoo-10/odoo/addons/bus/controllers/main.py\", line 35, in poll\n raise Exception(\"bus.Bus unavailable\")\nException: bus.Bus unavailable\n","exception_type":"internal_error","message":"bus.Bus unavailable","name":"exceptions.Exception","arguments":["bus.Bus unavailable"]}}

(anonymous) @ web.assets_common.js:3028

(anonymous) @ web.assets_common.js:547

fire @ web.assets_common.js:541

fireWith @ web.assets_common.js:546

done @ web.assets_common.js:937

callback @ web.assets_common.js:957

XMLHttpRequest.send (async)

send @ web.assets_common.js:954

ajax @ web.assets_common.js:930

(anonymous) @ web.assets_common.js:3030

genericJsonRpc @ web.assets_common.js:3028

jsonRpc @ web.assets_common.js:3030

(anonymous) @ web.assets_common.js:3164

(anonymous) @ web.assets_common.js:547

fire @ web.assets_common.js:541

add @ web.assets_common.js:542

(anonymous) @ web.assets_common.js:547

each @ web.assets_common.js:370

(anonymous) @ web.assets_common.js:547

Deferred @ web.assets_common.js:548

then @ web.assets_common.js:547

rpc @ web.assets_common.js:3161

poll @ web.assets_backend.js:5082

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
262
1
Oct 24
328
4
Oct 24
323
2
Oct 24
360
2
Dec 24
661