← Back to team overview

openerp-india team mailing list archive

[Bug 1096877] Re: Failure to install eInvoicing module

 

2013-01-07 12:07:36,063 30225 DEBUG ? openerp.cron: Database 'openerp_ch01' wake-up! Firing multi-threaded cron job processing
2013-01-07 12:07:36,067 30225 DEBUG ? openerp.addons.base.ir.ir_cron: cron.object.execute('openerp_ch01', 1, '*', u'fetchmail.server', u'_fetch_mails')
2013-01-07 12:07:36,067 30225 DEBUG ? openerp.addons.base.ir.ir_cron: Cron execution thread for job `Fetchmail Service` spawned
2013-01-07 12:07:36,072 30225 DEBUG ? openerp.addons.base.ir.ir_cron: 0.005s (fetchmail.server, _fetch_mails)
2013-01-07 12:07:36,073 30225 DEBUG ? openerp.addons.base.ir.ir_cron: cron.object.execute('openerp_ch01', 1, '*', u'calendar.alarm', u'do_run_scheduler',\
 False)
2013-01-07 12:07:36,074 30225 DEBUG ? openerp.addons.base.ir.ir_cron: Cron execution thread for job `Run Event Reminder` spawned
2013-01-07 12:07:36,075 30225 DEBUG ? openerp.addons.base.ir.ir_cron: 0.001s (calendar.alarm, do_run_scheduler)
2013-01-07 12:07:36,075 30225 DEBUG ? openerp.cron: Wake-up scheduled for database 'openerp_ch01' @ 1357561321
2013-01-07 12:07:36,076 30225 DEBUG ? openerp.cron: Going to sleep for 60s
2013-01-07 12:07:36,076 30225 DEBUG ? openerp.cron: Wake-up scheduled for database 'openerp_ch01' @ 1357560514
2013-01-07 12:07:36,287 30225 ERROR ? openerp.sql_db: bad query: delete from res_users where id IN (3)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "act_to" violates not-null constraint
DETAIL:  Failing row contains (1, 1, 2013-01-07 11:51:58.560669, null, null, null, ASUSTEK-Subject, null, null, 1, res.partner,2, draft, 1, null, t, null\
, null).
CONTEXT:  SQL statement "UPDATE ONLY "public"."res_request" SET "act_to" = NULL WHERE $1 OPERATOR(pg_catalog.=) "act_to""

2013-01-07 12:07:36,289 30225 DEBUG openerp_ch01 openerp.osv.osv: IntegrityError
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/python2.7/site-packages/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/python2.7/site-packages/openerp/addons/base/res/res_users.py", line 404, in unlink
    return super(users, self).unlink(cr, uid, ids, context=context)
  File "/usr/lib/python2.7/site-packages/openerp/osv/orm.py", line 3720, in unlink
    'where id IN %s', (sub_ids,))
  File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "act_to" violates not-null constraint
DETAIL:  Failing row contains (1, 1, 2013-01-07 11:51:58.560669, null, null, null, ASUSTEK-Subject, null, null, 1, res.partner,2, draft, 1, null, t, null\
, null).
CONTEXT:  SQL statement "UPDATE ONLY "public"."res_request" SET "act_to" = NULL WHERE $1 OPERATOR(pg_catalog.=) "act_to""

2013-01-07 12:07:36,301 30225 ERROR openerp_ch01 openerp.netsvc: Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: res.request - res.request]

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1096877

Title:
  Failure to install eInvoicing module

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  1) Steps to reproduce the issue you have observed

  fresh install of OpenERP 6.1.1
  poking around with it, namely removing all suppliers and all customers.

  Then clicking on "install" eInvoicing & Payments

  2) The result you observed

  File "/usr/lib/python2.7/site-packages/openerp/addons/base/ir/ir_model.py", line 640, in _get_id
      raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
  ValueError: No such external ID currently defined in the system: base.res_partner_asus

  3) The result you expected

  Installation of the module

  
  4) The platform you are using (and browser version, if relevant)

  Linux, Chromium 24

  5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if
  possible including the specific revision (e.g. r.2824) if you use the
  source repositories.

  Server runs on Gentoo Linux from regular emerge install. Version 6.1.1

  ---------------------

  From the error above I assume it still saw some dangling reference to
  a supplier.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1096877/+subscriptions


References