Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Problem installing openerp 7. Server error

By
Miguel jimenez berni
on 5/23/13, 1:49 PM 4,060 views

I'm newbie here, and I'm having this error when trying to install any module. Thanks in advance. I get the following message:

OpenERP Server Error Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1134, in call_button action = self._call_kw(req, model, method, args, {}) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1122, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 513, in button_immediate_upgrade return self._button_immediate_function(cr, uid, ids, self.button_upgrade, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 475, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 218, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 345, in load_modules processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in <lambda> load_data = lambda *args: _load_data(cr, *args, kind='data') File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import obj.parse(doc.getroot()) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse self._tagsrec.tag File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 814, in _tag_record id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 963, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/mail/mail_group.py", line 137, in create mail_group_id = super(mail_group, self).create(cr, uid, vals, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/mail/mail_thread.py", line 242, in create thread_id = super(mail_thread, self).create(cr, uid, values, context=context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4478, in create self.pool.get(object)._store_set_values(cr, user, ids, fields2, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4601, in _store_set_values result = self._columns[val[0]].get(cr, self, ids, val, SUPERUSER_ID, context=context) File "/usr/lib/pymodules/python2.7/openerp/osv/fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/usr/lib/pymodules/python2.7/openerp/addons/mail/mail_group.py", line 41, in _get_image result[obj.id] = tools.image_get_resized_images(obj.image) File "/usr/lib/pymodules/python2.7/openerp/tools/image.py", line 165, in image_get_resized_images return_dict[medium_name] = image_resize_image_medium(base64_source, avoid_if_small=avoid_resize_medium) File "/usr/lib/pymodules/python2.7/openerp/tools/image.py", line 103, in image_resize_image_medium return image_resize_image(base64_source, size, encoding, filetype, avoid_if_small) File "/usr/lib/pymodules/python2.7/openerp/tools/image.py", line 88, in image_resize_image image.save(background_stream, filetype) File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1435, in save self.load() File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 192, in load d = Image._getdecoder(self.mode, d, a, self.decoderconfig) File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 381, in _getdecoder raise IOError("decoder %s not available" % decoder_name) IOError: decoder zip not available

1
ahmed
On 6/15/13, 2:24 PM

It might be that u are not filling the form with right password: the default password is: admin

0
Benoy P P
On 5/23/13, 5:28 PM

I am not sure but i hope it could be solved, if u install the python dependencies which are required for openerp to run.

sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \ python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \ python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \ python-webdav python-werkzeug python-xlwt python-yaml python-zsi

Thanks Benoy P P For the phyton repositories, some of the packages cannot be found. I get the following:

Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package python-jinja2 E: Unable to locate package python-psycopg2 E: Unable to locate package python-reportlab E: Unable to locate package python-webdav

Miguel jimenez berni
on 5/23/13, 7:30 PM

python-jinja, python-psycopg2, python-reportlab, python-webdav are python libraries. Try it using "sudo apt-get..." If it didn't work, search on internet for the library name, corresponding to your operating system and instruction set size(32 / 64 bit).

Benoy P P
on 5/24/13, 7:45 AM

They are included in Debian, but you have to remove the "/ " which confuse apt-get

Yann Kempf
on 5/30/13, 2:44 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/23/13, 1:49 PM
Seen: 4060 times
Last updated: 3/16/15, 8:10 AM