jcc not importable in some situations
Bug #1085256 reported by
Julian Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jcc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
jcc/__init__.py uses _jcc without directly importing importing it
this can cause import errors
this breaks e.g. the pylucene build in precise, see bug 935380 which again blocks bug 1085226
[Fix]
add to the __init__.py
from jcc import _jcc
as is done in quantal
[TEST CASE]
I have not managed to find a simple testcase, so for now the pylucene build is the testcase
apt-get --compile pylucene
you should _not_ get this type of error:
File "/usr/lib/
_jcc.CLASSPATH = CLASSPATH
NameError: name '_jcc' is not defined
[Regression potential]
low just a simple add of an import, it is already applied in quantal
Related branches
Changed in jcc (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
To post a comment you must log in.
Hello Julian, or anyone else affected,
Accepted jcc into precise-proposed. The package will build now and be available at http:// launchpad. net/ubuntu/ +source/ jcc/2.11- 3ubuntu0. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!