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

pyswip cannot work with flask #140

Open
gamblerltl opened this issue Jan 20, 2022 · 1 comment
Open

pyswip cannot work with flask #140

gamblerltl opened this issue Jan 20, 2022 · 1 comment

Comments

@gamblerltl
Copy link

when i use pyswip in flask func like this:
@app.route("...")
def lala():
p = Prolog()
p.consult('somepath')
it will raise :
OSError: exception: access violation reading 0x0000000000000050
it seems like pyswip cannot work well with asyn
so i try to use a lock
but this problem still exist when i used a lock
:(

@allComputableThings
Copy link

allComputableThings commented Jan 20, 2022 via email

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

No branches or pull requests

2 participants