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 error when trying to runany iepy command #76

Closed
jmansilla opened this Issue May 13, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@jmansilla
Contributor

jmansilla commented May 13, 2015

(scipyla)jmansilla@altair:~$ iepy -h
Traceback (most recent call last):
  File "/home/jmansilla/.virtualenvs/scipyla/bin/iepy", line 9, in <module>
    load_entry_point('iepy==0.9.4', 'console_scripts', 'iepy')()
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/pkg_resources/__init__.py", line 521, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2632, in load_entry_point
    return ep.load()
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2312, in load
    return self.resolve()
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2318, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/iepy/instantiation/command_line.py", line 27, in <module>
    from iepy.preprocess.corenlp import download as download_corenlp
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/iepy/preprocess/corenlp.py", line 28, in <module>
    JAVA_VERSION = detect_java_version()
  File "/home/jmansilla/.virtualenvs/scipyla/lib/python3.4/site-packages/iepy/preprocess/corenlp.py", line 25, in detect_java_version
    return int(jversion.strip())
ValueError: invalid literal for int() with base 10: b'Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar \n8'
@Brayden-Arthur

This comment has been minimized.

Show comment
Hide comment
@Brayden-Arthur

Brayden-Arthur Jun 18, 2015

 (limo) limo@limo-ubuntu:~/limo$ iepy -h
Traceback (most recent call last):
  File "/home/limo/limo/bin/iepy", line 9, in <module>
    load_entry_point('iepy==0.9.4', 'console_scripts', 'iepy')()
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 521, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2632, in load_entry_point
    return ep.load()
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2312, in load
    return self.resolve()
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2318, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/limo/limo/lib/python3.4/site-packages/iepy/instantiation/command_line.py", line 27, in <module>
    from iepy.preprocess.corenlp import download as download_corenlp
  File "/home/limo/limo/lib/python3.4/site-packages/iepy/preprocess/corenlp.py", line 28, in <module>
    JAVA_VERSION = detect_java_version()
  File "/home/limo/limo/lib/python3.4/site-packages/iepy/preprocess/corenlp.py", line 25, in detect_java_version
    return int(jversion.strip())
ValueError: invalid literal for int() with base 10: b'Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar \n7' 

Also having this issue

Brayden-Arthur commented Jun 18, 2015

 (limo) limo@limo-ubuntu:~/limo$ iepy -h
Traceback (most recent call last):
  File "/home/limo/limo/bin/iepy", line 9, in <module>
    load_entry_point('iepy==0.9.4', 'console_scripts', 'iepy')()
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 521, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2632, in load_entry_point
    return ep.load()
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2312, in load
    return self.resolve()
  File "/home/limo/limo/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2318, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/limo/limo/lib/python3.4/site-packages/iepy/instantiation/command_line.py", line 27, in <module>
    from iepy.preprocess.corenlp import download as download_corenlp
  File "/home/limo/limo/lib/python3.4/site-packages/iepy/preprocess/corenlp.py", line 28, in <module>
    JAVA_VERSION = detect_java_version()
  File "/home/limo/limo/lib/python3.4/site-packages/iepy/preprocess/corenlp.py", line 25, in detect_java_version
    return int(jversion.strip())
ValueError: invalid literal for int() with base 10: b'Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar \n7' 

Also having this issue

@jmansilla jmansilla closed this Mar 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment