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

Classical Evaluation code cannot run #9

Open
PosoSAgapo opened this issue Feb 22, 2022 · 5 comments
Open

Classical Evaluation code cannot run #9

PosoSAgapo opened this issue Feb 22, 2022 · 5 comments

Comments

@PosoSAgapo
Copy link

I have tried on my macos laptop and a centos server with your classical evaluation code. It returns TypeError: cannot unpack non-iterable coroutine object in the classical_evaluation.py code. The problem seems to be caused by the multiprocess module in the code.

@chiragdaryani
Copy link

Same issue @PosoSAgapo @taoyds @ruiqi-zhong Does anybody know the fix?

@AdeelGH
Copy link

AdeelGH commented Nov 13, 2022

I'm having the same issue.

@sherlock30
Copy link

Any resolutions yet?

@wangzaistone
Copy link

have the same issue too ,evaluate_classical_test2.py:64: RuntimeWarning: coroutine 'exec_on_db' was never awaited
flg, gold_result = exec_on_db(testcase_path, gold_query, timeout=GOLD_TIMEOUT)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
0%| | 0/196 [00:00<?, ?it/s]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/anaconda/envs/RESDSQL/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "evaluate_classical_test2.py", line 64, in judge
flg, gold_result = exec_on_db(testcase_path, gold_query, timeout=GOLD_TIMEOUT)
TypeError: cannot unpack non-iterable coroutine object

@BahozHagi
Copy link

I Just mad a quick fix:

#22

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

6 participants