openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11754
[Bug 947231] Re: ImportError: Failed to import _strptime because the import lockis held by another thread.
This is happening to me on an Ubuntu 11.10 os with 6.1.1 released.
Serge - is your fix to add:
datetime.strptime('2012-01-01', '%Y-%m-%d')
?
Does this just go above the task_thread line?
What is the impact of this error?
I am noticing it on a generic install with sample data installed in the
database - no changes to any server actions via cron.
Ray.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/947231
Title:
ImportError: Failed to import _strptime because the import lockis held
by another thread.
Status in OpenERP Server:
Confirmed
Bug description:
2012-03-05 16:05:20,044 7205 DEBUG ? openerp.cron: Database 'tl61_test_uos' wake-up! Firing multi-threaded cron job processing
2012-03-05 16:05:20,049 7205 DEBUG ? openerp.addons.base.ir.ir_cron: Cron execution thread for job `Run Event Reminder` spawned
2012-03-05 16:05:20,050 7205 WARNING ? openerp.addons.base.ir.ir_cron: Exception in cron:
Traceback (most recent call last):
File "/srv/openerp/instances/61XA/src/server/openerp/addons/base/ir/ir_cron.py", line 254, in _run_jobs_multithread
next_call = calendar.timegm(time.strptime(next_call, DEFAULT_SERVER_DATETIME_FORMAT))
ImportError: Failed to import _strptime because the import lockis held by another thread.
2012-03-05 16:05:20,051 7205 DEBUG ? openerp.cron: Going to sleep for 60s
is this a warning or a real error?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/947231/+subscriptions
References