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

UnicodeEncodeError from schrödinger library #3

Open
maurobedoya opened this issue Jan 31, 2024 · 0 comments
Open

UnicodeEncodeError from schrödinger library #3

maurobedoya opened this issue Jan 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@maurobedoya
Copy link
Member

If the working directory contains a special character, such as an accent (´) the following error will occur:

[1/1] Failed ifd/proteinx/ligandx with output:
      Traceback (most recent call last):
        File "/data/software/schrodinger/schrodinger2023-4/psp-v7.4/bin/Linux-x86_64/ifd_startup.py", line 289, in <module>
          jobc.launch()
        File "/data/software/schrodinger/schrodinger2023-4/internal/lib/python3.8/site-packages/schrodinger/job/launcher.py", line 915, in launch
          cmd_args = self.getCommandArgs()
        File "/data/software/schrodinger/schrodinger2023-4/internal/lib/python3.8/site-packages/schrodinger/job/launcher.py", line 798, in getCommandArgs
          cmd.encode('ascii')).decode('ascii')
      UnicodeEncodeError: 'ascii' codec can't encode character '\xed' in position 96: ordinal not in range(128)
WARNING: Some commands have failed. Please check the output.

The error also occurs with older versions of schrödinger.

One possible implementation/enhancement is to add a check for the working directory path to warn about special characters found.

@maurobedoya maurobedoya added the enhancement New feature or request label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant