-
Notifications
You must be signed in to change notification settings - Fork 26
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
File not found error in validator call in sbol3 to 2 conversion #300
Comments
I need more information than this to be able to reproduce and debug the error. |
I can give you this code and the file being read in but not sure it will necessarily help you reproduce the error: `from sbol_utilities import conversion doc3 = sbol3.Document() I have attached it but renamed it as json. |
Were you able to recreate the error? I think this relates: https://stackoverflow.com/questions/73193119/python-filenotfounderror-winerror-2-the-system-cannot-find-the-file-specifie |
I was not able to reproduce the error, though I did get a validation error:
This capability is known to work on windows - it's part of the standard CI testing, so my suspicion is that it's likely to be something to do with the differences between your installation environment and the GitHub Windows test environment. What versions of the libraries do you have installed?
|
I am using those same versions. Maybe something else installed is interferring? |
This error makes me think that it's not being able to find the binary required to be installed by the converter. I notice that your error says "sbol_utilities\conversion.py", a relative path, rather than an absolute path in the installed site packages. Did you pip install the package, and is that what's actually being run? |
sbol_utilities\conversion.py", line 237, in convert3to2
result = doc2.validate()
sbol2\document.py", line 831, in validate
response = validate(self, config.options)
sbol2\document.py", line 1128, in validate
result = do_validation(json_request)
sbol2\validator.py", line 174, in do_validation
result = run.execute()
sbol2\validator.py", line 64, in execute
output = subprocess.check_output(command, universal_newlines=True, stderr=subprocess.STDOUT)
subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: