Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bergie opened this issue Jun 1, 2010 · 0 comments
Open

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

bergie opened this issue Jun 1, 2010 · 0 comments

Comments

@bergie
Copy link
Member

bergie commented Jun 1, 2010

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.

(copied from http://trac.midgard-project.org/ticket/1759)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant