question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jython - Internal error detected.

See original GitHub issue

Environment data

  • VS Code version: 1.30.0
  • Extension version (available under the Extensions sidebar): 2018.12.1
  • OS and version: W10 Pro 1803 build 17134.471
  • Python version (& distribution if applicable, e.g. Anaconda): Jython 2.7.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Relevant/affected Python packages and their versions: XXX

Expected behaviour

XXX

Actual behaviour

XXX

Steps to reproduce:

  1. debugging hello world example

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

PS D:\Users\koste\vs\hello> cd 'd:\Users\koste\vs\hello'; ${env:PYTHONIOENCODING}='UTF-8'; ${env:PYTHONUNBUFFERED}='1'; & 'C:\jython2.7.0\bin\jython.exe' 'd:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\ptvsd_launcher.py' '--default' '--client' '--host' 'localhost' '--port' '51023' 'd:\Users\koste\vs\hello\hello.py'
Traceback (most recent call last):
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\ptvsd_launcher.py", line 21, in <module>
    import ptvsd
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\ptvsd_launcher.py", line 21, in <module>
    import ptvsd
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\__init__.py", line 15, in <module>
    from ptvsd.attach_server import (
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\attach_server.py", line 5, in <module>
    from ptvsd._remote import (
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\_remote.py", line 11, in <module>
    from ptvsd.pydevd_hooks import install
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\pydevd_hooks.py", line 15, in <module>
    from ptvsd.daemon import Daemon, DaemonStoppedError, DaemonClosedError
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\daemon.py", line 12, in <module>
    from .exit_handlers import (
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\exit_handlers.py", line 28, in <module>
    class ExitHandlers(object):
  File "d:\Users\koste\.vscode\extensions\ms-python.python-2018.12.1\pythonFiles\lib\python\ptvsd\exit_handlers.py", line 36, in ExitHandlers
    SIGNALS = [
AttributeError: 'module' object has no attribute 'SIGHUP'

Internal error detected. Please copy the above traceback and report at
https://github.com/Microsoft/vscode-python/issues/new

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
minkir014commented, Mar 14, 2019
1reaction
kostermwcommented, Mar 14, 2019

It did not work. Gave up and not sure if it is now solved either

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jython - Internal error detected. · Issue #3715 · microsoft/vscode ...
Environment data VS Code version: 1.30.0 Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: W10 Pro 1803 build 17134.471 ...
Read more >
6. Built-in Exceptions — Jython v2.5.2 documentation
Raised when an error is detected that doesn't fall in any of the other categories. The associated value is a string indicating what...
Read more >
WASX7143E errors when running Jython scripts that contain ...
The error occurs because Jython always converts the NLS string (SBCS) to its own python escaped string (i.e. \xE0,\xE8) which is different from ......
Read more >
Getting error in Jython Procedure - Oracle Communities
'jython' is not recognized as an internal or external command, operable program or batch file. then i tried bin>startcmd jython D: ...
Read more >
jythonc is not recognized as an internal or external command
That error indicates that jythonc is not on the PATH . You will need to set the PATH environment variable so that it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found