CentreForDigitalHumanities / CentreForDigitalHumanities/AASP

"[Errno 2] No such file or directory: 'java'" when running AuToDi on selected files

Open
#45 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
R
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I am able to run docker-compose, upload files, but when I want to analyze them using AuToDi I get the following error:
```
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/code/analyze/views.py", line 93, in post
item.arff_file = get_features_ToDI(item, tier_name)
File "/code/analyze/analysis.py", line 37, in get_features_ToDI
subprocess.check_call(call)
File "/usr/local/lib/python3.9/subprocess.py", line 368, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/local/lib/python3.9/subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)

Exception Type: FileNotFoundError at /analyze/select_tier/autodi
Exception Value: [Errno 2] No such file or directory: 'java'
```

How can this error be solved? I am not familiar with docker or advanced programming, but would really like to be able to run AuToDi on my data. Would be very grateful for any solutions, thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.