Bug#877405: jython: 'import socket' fails

Michael Büsch m at bues.ch
Sun Oct 1 13:09:19 UTC 2017


Package: jython
Version: 2.7.1+repack-2
Severity: normal

Jython 2.7.1 (, Sep 30 2017, 13:31:09) 
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_144
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/jython/Lib/socket.py", line 3, in <module>
    from _socket import (
  File "/usr/share/jython/Lib/_socket.py", line 2, in <module>
    import encodings.idna
  File "/usr/share/jython/Lib/encodings/idna.py", line 9, in <module>
    from com.ibm.icu.text import StringPrep, StringPrepParseException
ImportError: No module named ibm


-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages jython depends on:
ii  antlr3.2                                         3.2-16
ii  libasm-java                                      6.0~alpha-1
ii  libguava-java                                    19.0-1
ii  libjffi-java                                     1.2.7-10
ii  libjline2-java                                   2.11-4
ii  libjnr-constants-java                            0.9.9-2
ii  libjnr-netdb-java                                1.1.6-1
ii  libjnr-posix-java                                3.0.37-2
ii  libjnr-x86asm-java                               1.0.2-5
ii  liblivetribe-jsr223-java                         2.0.6-1
ii  openjdk-8-jre-headless [java5-runtime-headless]  8u144-b01-2
ii  perl                                             5.26.0-8
ii  python                                           2.7.14-1

Versions of packages jython recommends:
ii  openjdk-8-jdk [java-compiler]  8u144-b01-2

Versions of packages jython suggests:
pn  jython-doc               <none>
pn  libmysql-java            <none>
pn  libpostgresql-jdbc-java  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list