Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1759 closed defect (duplicate)

Using Midgard.mgdschema.schema(int(id)) causes hangup

Reported by: duge Owned by: piotras
Priority: critical Milestone:
Component: Midgard Python Version: 9.09 Mjolnir
Keywords: Cc:


This problem occurs when using python-midgard with sqlite.

When object is updated/created somewhere else (example some other process), using Midgard.mgdschema.schema(int(id)) to fetch object later causes this call to hangup totally. Application must be then terminated by force. Using o = Midgard.mgdschema.schema() o.get_by_id(int(id)) wont work either. Only when the other process is closed first, this won't happen.

NOTE: Using midgard query builder to fetch the object works fine.

Change History (4)

comment:1 Changed 7 years ago by duge

When using query builder to fetch some object(s) and deleting every object one by one has the effect, that if you then try to use create() on anykind(!) of new object, the application hangs up. The object gets created, but application cannot do anything else anymore and has to be terminated.

comment:2 Changed 7 years ago by piotras

  • Milestone changed from 9.09.3 Mjolnir to 10.05.1 Ratatoskr

comment:3 Changed 7 years ago by bergie

  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 7 years ago by anonymous

  • Milestone 10.05.1 Ratatoskr deleted

Milestone 10.05.1 Ratatoskr deleted

Note: See TracTickets for help on using tickets.