Hello,

I have faced the same problem with 6.1 when cron jobs run with multi-threading.
I have faced this problem when in my database more then schedule action with 
same time. 

I have tried this with trunk also but I don't know why I didn't face problem on 
trunk.
As I seen the trunk as 6.1 has same code.
    next_call = calendar.timegm(time.strptime(next_call, 
DEFAULT_SERVER_DATETIME_FORMAT)).

I want to say that it's hard to reproduce.That's why I have attached the 
screen-shot where I have faced the problem.
Here in trunk and 6.1 has a same code as well as two bug are reported foe this.

I am going to confirm this issue and assign to framework team. I would
like to request with framework team, If you not able to reproduce it (as
I said  it's hard to reproduce) please double check it because I have
faced this issue more then 3 times.

Thank you!

-- 
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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to