openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23022
[Bug 1116080] Re: DataError: date/time field value out of range: "2013-02-30" when try to install modules in OpenERP 7.0
When I try to update using apt-get (with "deb
http://nightly.openerp.com/7.0/deb/ ./" source), it says I have the
newest version. See the following.
openbig@openerp:~/nightly/openerp-7.0-20130205-000102$ sudo apt-get install openerp-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openerp-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
openbig-openerp7
E: Package 'openerp-server' has no installation candidate
openbig@openerp:~/nnightly/openerp-7.0-20130205-000102$ sudo apt-get install openbig-openerp7
Reading package lists... Done
Building dependency tree
Reading state information... Done
openbig-openerp7 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
--
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/1116080
Title:
DataError: date/time field value out of range: "2013-02-30" when try
to install modules in OpenERP 7.0
Status in OpenERP Addons (modules):
Incomplete
Bug description:
Hi, I am running OpenERP 7.0 under Ubuntu 12.04.1 LTS and I am
experiencing this error when trying to install module.
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/openerp-server/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/openerp-server/openerp/addons/web/controllers/main.py", line 1082, in call_button
action = self._call_kw(req, model, method, args, {})
File "/usr/lib/openerp-server/openerp/addons/web/controllers/main.py", line 1070, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/usr/lib/openerp-server/openerp/addons/web/session.py", line 40, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/usr/lib/openerp-server/openerp/addons/web/session.py", line 28, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/usr/lib/openerp-server/openerp/addons/web/session.py", line 101, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/openerp-server/openerp/addons/web/session.py", line 87, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/netsvc.py", line 281, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/openerp-7.0-20121221-222259/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/openerp-server/openerp/addons/base/module/module.py", line 425, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/usr/lib/openerp-server/openerp/addons/base/module/module.py", line 476, in _button_immediate_function
_, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/modules/registry.py", line 214, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/modules/loading.py", line 349, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/modules/loading.py", line 260, 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/openerp-7.0-20121221-222259/openerp/modules/loading.py", line 196, in load_module_graph
load_demo(module_name, idref, mode)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/modules/loading.py", line 78, in <lambda>
load_demo = lambda *args: _load_data(cr, *args, kind='demo')
File "/usr/lib/openerp-7.0-20121221-222259/openerp/modules/loading.py", line 128, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/tools/convert.py", line 954, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/lib/openerp-7.0-20121221-222259/openerp/tools/convert.py", line 847, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/lib/openerp-7.0-20121221-222259/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/openerp-server/openerp/addons/base/ir/ir_model.py", line 956, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/usr/lib/openerp-server/openerp/addons/mail/mail_thread.py", line 240, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/osv/orm.py", line 4433, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
File "/usr/lib/openerp-7.0-20121221-222259/openerp/sql_db.py", line 162, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/openerp-7.0-20121221-222259/openerp/sql_db.py", line 227, in execute
res = self._obj.execute(query, params)
DataError: date/time field value out of range: "2013-02-30"
LINE 1: ..._uid,create_date,write_uid,write_date) values (32,'2013-02-3...
^
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1116080/+subscriptions
References