Community mailing list archives
community@mail.odoo.com
Browse archives
Re: custom folder addons
byHi!- If I do newlines and whitespaces, etc.. The same error appears- Without whitespaces between two path. The icons on the website disappear and the backend appears in white x_X>_<Thanks for the answers but it seems that the problem persists
Laura Muñoz
Departament de Disseny
administracio@syc-cylinders.euSYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat
BarcelonaT 93 336 36 17
F 93 335 81 22
info@syc-cylinders.eu
www.syc-cylinders.eu
El 20 jun 2016, a las 13:12, Khaled Hamed <khaled.hamed@grandtk.com> escribió:Try removing the whitespace from the line between the two paths as below:addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/usr/lib/python2.7/dist-packages/openerp/custom-addonsRegards...On Mon, Jun 20, 2016 at 1:02 PM, Ronald Wopereis <woepwoep@gmail.com> wrote:In the last error line right after directory it says : forwardslash, then whitespace, and then the directory name.
Perhaps you backslashed the newline?Try the following:
Right after the original addons directory you type a comma, then a newline, and then perhaps some whitespace and finally your custom addons path.R
Op 20 jun. 2016 12:22 schreef "Administracio" <administracio@syc-cylinders.eu>:When I update. This error appears:Odoo Server ErrorTraceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 540, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 577, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 313, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 806, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 406, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 439, in old_api result = new_api(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 443, in new_api result = [method(rec, *args, **kwargs) for rec in self] File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/wizard/base_module_update.py", line 15, in update_module self.updated, self.added = self.env['ir.module.module'].update_list() File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 266, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 508, in new_api result = method(self._model, cr, uid, *args, **old_kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 615, in update_list for mod_name in modules.get_modules(): File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 351, in get_modules plist.extend(listdir(ad)) File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 346, in listdir return map(clean, filter(is_really_module, os.listdir(dir))) OSError: [Errno 2] No such file or directory: '/ /usr/lib/python2.7/dist-packages/openerp/custom-addons'
Laura Muñoz
Departament de Disseny
administracio@syc-cylinders.euSYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat
BarcelonaT 93 336 36 17
F 93 335 81 22
info@syc-cylinders.eu
www.syc-cylinders.eu
El 20 jun 2016, a las 12:09, Administracio <administracio@syc-cylinders.eu> escribió:<span id="cid:6AA6D148-3685-4A61-9190-D6BBCC652F39@Home"><PastedGraphic-2.tiff>Hi!I want to add a custom folder for addons but Odoo doesn’t recognize line added.In my case I have the “conf” file on /etc/odooAnd the file is: opener-server.conf——————[options]; This is the password that allows database operations:admin_passwd = ******db_host = Falsedb_port = Falsedb_user = odoodb_password = Falseaddons_path = /usr/lib/python2.7/dist-packages/openerp/addonslogfile = /var/log/odoo/odoo-server.log
————-On the line “addons_path” I add the next information:
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons, /usr/lib/python2.7/dist-packages/openerp/custom-addonsI reboot the server and I put any module, I go to backend Odoo, I update modules, and it doesn’t appears.What is happening?Thank you!
Laura Muñoz
Departament de Disseny
administracio@syc-cylinders.euSYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat
BarcelonaT 93 336 36 17
F 93 335 81 22
info@syc-cylinders.eu
www.syc-cylinders.eu
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe