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

java 9 failed to detect version number in python3 #22

Closed
binblee opened this issue Mar 8, 2018 · 1 comment
Closed

java 9 failed to detect version number in python3 #22

binblee opened this issue Mar 8, 2018 · 1 comment
Assignees

Comments

@binblee
Copy link
Contributor

binblee commented Mar 8, 2018

python2.7 works.

Reason that Python 3 fails is:

Regex search in JavaVersionDetector.get_most_relative_version() will report 'TypeError: cannot use a string pattern on a bytes-like object' error.

matches = re.search(regex, version)

@ringtail ringtail self-assigned this Mar 9, 2018
@ringtail
Copy link
Member

fix in 0.0.15

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

2 participants