Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to solve Internal Server Error (database) werkzeug: Error on request: ?

    • 1
    • 0
    • 0
    • 2
    • 0
    • 0
    • 0
    • 4.63k
    Answer it

    Please help me with the error When I am restarting my OpenERP server. It is giving me below mentioned error..

    Internal Server Error (database) werkzeug: Error on request: 
    Traceback (most recent call last): 
      File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 159, in run_wsgi 
        execute(app) 
      File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 146, in execute 
        application_fiter = app(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/service/server.py", line 285, in app 
        return self.app(e, s) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/service/wsgi_server.py", line 216, in application 
        return application_unproxied(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/service/wsgi_server.py", line 202, in application_unproxied 
        result = handler(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/http.py", line 1280, in __call__ 
        return self.dispatch(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/http.py", line 1254, in __call__ 
        return self.app(environ, start_wrapped) 
      File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 411, in __call__ 
        return self.app(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/http.py", line 1412, in dispatch 
        ir_http = request.registry['ir.http'] 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/http.py", line 339, in registry 
        return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/modules/registry.py", line 337, in get 
        update_module) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/modules/registry.py", line 368, in new 
        openerp.modules.load_modules(registry._db, force demo, status, update module) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/modules/loading.py", line 297, in loadmodules 
        loaded modules, processed modules = load module  graph(cr, graph, status, perform checks=update  module, report=report) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/modules/loading.py", line 179, in load module graph 
        _load data(cr, module name, idref, mode, kind='demo') 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/modules/loading.py", line 118, in _load data 
        tools.convert file(cr, module name, filename, idref, mode, noupdate, kind, report) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/tools/convert.py", line 901, in convertfile 
        convert xml import(cr, module, fp, idref, mode, noupdate, report) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/tools/convert.py", line 987, in convert  xml import 
        obj.parse(doc.getroot(), mode=mode) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/tools/convert.py", line 853, in parse 
        self.tags[rec.tag](self.cr, rec, n, mode=mode) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/tools/convert.py", line 763, in _tagrecord 
        id = self.pool['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=reccontext ) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/api.py", line 241, in wrapper 
        return old api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/addons/base/ir/ir model.py", line 1077, in _update 
        res id = model obj.create(cr, uid, values, context=context) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/api.py", line 241, in wrapper 
        return old api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/api.py", line 336, in old api 
        result = method(recs, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/addons/base/res/res partner.py", line 573, in create 
        partner = super(res partner, self).create(vals) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/api.py", line 239, in wrapper 
        return new api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/models.py", line 4059, in create 
        record = self.browse(self._create(old_vals)) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/api.py", line 239, in wrapper 
        return new_api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/api.py", line 462, in new_api 
        result = method(self._model, cr, uid, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/models.py", line 4197, in _create 
        tuple([u[2] for u in updates if len(u) > 2]) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/sql_db.py", line 158, in wrapper 
        return f(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/sql_db.py", line 234, in execute 
        res = self._obj.execute(query, params) 
    ParseError: "null value in column "name" violates not-null constraint 
    " while parsing /home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/addons/base/res/res_partner_image_demo.xml:13, near 
    <record id="base.res_partner_address_4" model="res.partner"> 
                <field name="image" type="base64" file="base/static/img/res_partner_address_4-image.png"/> 
            </record> 
    

 2 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: