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

Error: FileLock.acquire: poll_intervall is not present. #6

Open
khodabakhshih opened this issue May 17, 2021 · 0 comments
Open

Error: FileLock.acquire: poll_intervall is not present. #6

khodabakhshih opened this issue May 17, 2021 · 0 comments

Comments

@khodabakhshih
Copy link

i ran the demo in google colab and get the following error? would you please tell me, how can i fix it?

Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/dist-packages/allencv/service/server_simple.py", line 36, in
from allennlp.common import JsonDict
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/init.py", line 1, in
from allennlp.common.from_params import FromParams
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/from_params.py", line 22, in
from allennlp.common.lazy import Lazy
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/lazy.py", line 5, in
from allennlp.common.params import Params
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/params.py", line 33, in
from allennlp.common.file_utils import cached_path
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/file_utils.py", line 78, in
class FileLock(_FileLock):
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/file_utils.py", line 96, in FileLock
def acquire(self, timeout=None, poll_interval=0.05):
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/usr/local/lib/python3.7/dist-packages/overrides/signature.py", line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static, method_name
File "/usr/local/lib/python3.7/dist-packages/overrides/signature.py", line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}: {name} is not present.")
TypeError: FileLock.acquire: poll_intervall is not present.

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

1 participant