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
    • 7.36k
    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/", line 159, in run_wsgi 
      File "/usr/local/lib/python2.7/dist-packages/werkzeug/", line 146, in execute 
        application_fiter = app(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/service/", line 285, in app 
        return, s) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/service/", line 216, in application 
        return application_unproxied(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/service/", line 202, in application_unproxied 
        result = handler(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 1280, in __call__ 
        return self.dispatch(environ, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 1254, in __call__ 
        return, start_wrapped) 
      File "/usr/local/lib/python2.7/dist-packages/werkzeug/", line 411, in __call__ 
        return, start_response) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 1412, in dispatch 
        ir_http = request.registry['ir.http'] 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", 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/", line 337, in get 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/modules/", 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/", 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/", 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/", 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/", 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/", line 987, in convert  xml import 
        obj.parse(doc.getroot(), mode=mode) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/tools/", line 853, in parse 
        self.tags[rec.tag](, rec, n, mode=mode) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/tools/", line 763, in _tagrecord 
        id = self.pool[''].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/", line 241, in wrapper 
        return old api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/addons/base/ir/ir", line 1077, in _update 
        res id = model obj.create(cr, uid, values, context=context) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 241, in wrapper 
        return old api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 336, in old api 
        result = method(recs, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/addons/base/res/res", line 573, in create 
        partner = super(res partner, self).create(vals) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 239, in wrapper 
        return new api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 4059, in create 
        record = self.browse(self._create(old_vals)) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 239, in wrapper 
        return new_api(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", line 462, in new_api 
        result = method(self._model, cr, uid, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", 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/", line 158, in wrapper 
        return f(self, *args, **kwargs) 
      File "/home/shiva/workspace/openerp/odoo-8.0-Mary/openerp/", 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"/> 

 2 Answer(s)

Sign In

Sign up using

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: