Your message dated Wed, 15 May 2013 05:18:26 +0000
with message-id <[email protected]>
and subject line Bug#683048: fixed in python-jpype 0.5.4.2-3
has caused the Debian Bug report #683048,
regarding python-jpype: JAVA_HOME has moved
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
683048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683048
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-jpype
Version: 0.5.4.2-2
Severity: important
Tags: upstream

I'm on a freshly-installed wheezy release and jpype can't find the path to
java.  The error originates from jpype/_linux.py.  Here's a reproducible
traceback:

>>> import jpype
>>> jpype.getDefaultJVMPath()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/jpype/_core.py", line 96, in 
getDefaultJVMPath
    return _linux.getDefaultJVMPath()
  File "/usr/lib/python2.7/dist-packages/jpype/_linux.py", line 36, in 
getDefaultJVMPath
    jvm = _getJVMFromJavaHome()
  File "/usr/lib/python2.7/dist-packages/jpype/_linux.py", line 55, in 
_getJVMFromJavaHome
    if os.path.exists(java_home+"/bin/javac") :
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'


Java (both Oracle and OpenJVM) is installed in /usr/lib/jvm/foobarbaz and the
code appears to be checking in /usr/lib/jvm.  

As a temporary workaround setting the JAVA_HOME enviroment variable
explicitly will help jpype find Java and everything works fine.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-jpype depends on:
ii  default-jre                                      1:1.6-47
ii  default-jre-headless [java6-runtime-headless]    1:1.6-47
ii  libc6                                            2.13-33
ii  libgcc1                                          1:4.7.1-2
ii  libstdc++6                                       4.7.1-2
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b24-1.11.3-2
ii  python                                           2.7.3~rc2-1
ii  python2.6                                        2.6.8-0.2
ii  python2.7                                        2.7.3~rc2-2.1

python-jpype recommends no packages.

python-jpype suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: python-jpype
Source-Version: 0.5.4.2-3

We believe that the bug you reported is fixed in the latest version of
python-jpype, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
TANIGUCHI Takaki <[email protected]> (supplier of updated python-jpype package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 15 May 2013 13:30:55 +0900
Source: python-jpype
Binary: python-jpype
Architecture: source amd64
Version: 0.5.4.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: TANIGUCHI Takaki <[email protected]>
Description: 
 python-jpype - Binding the worlds of Java and Python
Closes: 683048 684278
Changes: 
 python-jpype (0.5.4.2-3) unstable; urgency=low
 .
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 .
   [ TANIGUCHI Takaki ]
   * Bump Standards Version to 3.9.4 (with no changes).
   * debian/patches/default_jvm_path: Set default JVM path. (Closes: #683048)
   * debian/control: B-D depends on only default-jdk. (Closes: #684278)
Checksums-Sha1: 
 ed752c4af126cfc8ad6050161f456ed2ff33fdde 2029 python-jpype_0.5.4.2-3.dsc
 623ba66763a2314371cc5dd4aad55f6b5b576f55 3137 
python-jpype_0.5.4.2-3.debian.tar.gz
 eb7d70c3ac48c3cdae2aa40f618d30ade7b0d71d 239806 
python-jpype_0.5.4.2-3_amd64.deb
Checksums-Sha256: 
 fac7106fb5c84af6a5055ad36ead8ebd7ec45db579d2c75bc624b6295419f1cf 2029 
python-jpype_0.5.4.2-3.dsc
 78e648c385aab5e9026848d24d646c4957159140a8ff402f830d4f9a9fed222f 3137 
python-jpype_0.5.4.2-3.debian.tar.gz
 3e0ff0d742f47f9cccf7b090bf9cb307e5476bf3562be283df4a39a50041afd9 239806 
python-jpype_0.5.4.2-3_amd64.deb
Files: 
 d3275a2dc9dc791585a599b7a44b9457 2029 python extra python-jpype_0.5.4.2-3.dsc
 97891159ab7bd2a12ed7f98baaa0da72 3137 python extra 
python-jpype_0.5.4.2-3.debian.tar.gz
 76cee160d8342e9f87273654df0a6f8c 239806 python extra 
python-jpype_0.5.4.2-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRkxVVAAoJEMwUn2wopeJX1/UQALveBm09Z/rVLwqoxF7u//Z+
Fm0MRzOVnKPl69KdZ3e4Yohttsj78IiOuCUOIeK+Ib+sAsrlY5UgE5sj/ejW5LT2
Wov9lLKEjihb0B+Vg+bZeYt5ExZBDv9wG3J/68QEDWhIShu2p4QdRcy3ipYPFass
Cj/tE5sd6++BmeY9KfdcykytlYubGEGu3d0wTozvwQNW3yHAiT6DnvU84ZmX37wq
cJMMloPiwPbQpGog9SXia7uKOgPKJO7ObrOxiab6XEenf1Z3764nu3OmX0bOj1VU
BptvCLkbiMORV8hbKaLst0mK2TyoHAg4bLccb+oe6z1U/L+ron5Uu4FWmWxBc29c
lQVCaRf4YmVOP6FDeJufgzBxb72SFvodpHpc+60fb5gOCHg9c+S6bLZFX/rfjTzA
Ht2e/l5fT56R/GvK62tMT9Vwg/sJlm9EAc7Zkhk/ZHu7m2WcjuSVzU3Q3PTzXjwG
xX+WJYPh2uffZJo4IZzxc6qIDWYzBDz5hh2NIj6NyATOLXAUW1P/ekM+xdjhpe9O
NWaJ5tfwqbluio/ztbRh9iv8DVwnPy5a9jZFkwQljki9/O7CjBjYEhsOQ51VdoPB
S5IaH/93eM1VsK9Kwr/Utir2uiErvp1jNsMWBP2kIXjcpmnsMvgQUi3G1dYEC964
MlZDswF60AfmILQC9HlB
=YJBz
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to