[
https://issues.apache.org/jira/browse/ZOOKEEPER-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759352#action_12759352
]
Mahadev konar commented on ZOOKEEPER-420:
-----------------------------------------
henry I tried the patch but I still get the error:
python-test:
[exec] dirname: too few arguments
[exec] Try `dirname --help' for more information.
[exec] Running src/test/clientid_test.py
[exec] Traceback (most recent call last):
[exec] File "src/test/clientid_test.py", line 21, in ?
[exec] import zookeeper, zktestbase
[exec] ImportError: No module named zookeeper
[exec] Running src/test/connection_test.py
[exec] Traceback (most recent call last):
[exec] File "src/test/connection_test.py", line 21, in ?
[exec] import zookeeper, zktestbase
[exec] ImportError: No module named zookeeper
[exec] Running src/test/create_test.py
[exec] Traceback (most recent call last):
[exec] File "src/test/create_test.py", line 19, in ?
[exec] import zookeeper, zktestbase, unittest, threading
[exec] ImportError: No module named zookeeper
[exec] Running src/test/delete_test.py
[exec] Traceback (most recent call last):
[exec] File "src/test/delete_test.py", line 19, in ?
[exec] import zookeeper, zktestbase, unittest, threading
[exec] ImportError: No module named zookeeper
[exec] Running src/test/exists_test.py
[exec] Traceback (most recent call last):
[exec] File "src/test/exists_test.py", line 19, in ?
[exec] import zookeeper, zktestbase, unittest, threading
[exec] ImportError: No module named zookeeper
[exec] Running src/test/get_set_test.py
[exec] Traceback (most recent call last):
[exec] File "src/test/get_set_test.py", line 19, in ?
[exec] import zookeeper, zktestbase, unittest, threading
[exec] ImportError: No module named zookeeper
These are steps I run the tests in -
# ant test-core-cppunit
# cd src/contrib
# ant test
and I get the above error. I can help debug if you do not have access to a
linux machine. Let me know.
> build/test should not require install in zkpython
> -------------------------------------------------
>
> Key: ZOOKEEPER-420
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-420
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Reporter: Patrick Hunt
> Assignee: Henry Robinson
> Fix For: 3.3.0
>
> Attachments: build.jpg, ZOOKEEPER-420.patch, ZOOKEEPER-420.patch,
> ZOOKEEPER-420.patch
>
>
> Currently you cannot just build and test the zkpython contrib, you need to
> actually install the zookeeper client c library as well
> as the zkpython lib itself.
> There really needs to be 2 steps:
> 1) build/test zkpython "encapsulated" within the src repository, there should
> be no requirement to actually install anything
> (this is esp the case for automated processes and for review by PMC during
> release time for example)
> 2) build an egg that can be distributed/installed by end user
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.