File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ using namespace pybind11::literals;
1717PYBIND11_MODULE (pymofka_client, m) {
1818 m.doc () = " Python binding for the MofkaDriver class" ;
1919
20- py::object DriverInterface = (py::object) py::module_::import (" pydiaspora_stream_api" ).attr (" Driver" );
20+ auto pydiaspora_stream_api = py::module_::import (" pydiaspora_stream_api" );
21+ std::cerr << " YYYYYYYY " << pydiaspora_stream_api << std::endl;
22+ py::object DriverInterface = (py::object)pydiaspora_stream_api.attr (" Driver" );
23+ std::cerr << " XXXXXXXX " << DriverInterface << std::endl;
2124
2225 py::class_<mofka::MofkaDriver,
2326 std::shared_ptr<mofka::MofkaDriver>>(m, " MofkaDriver" , DriverInterface)
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ $HERE/pre-test.sh
66
77echo " {\" group_file\" :\" mofka.json\" , \" margo\" :{\" use_progress_thread\" :true}}" > benchmark_config.json
88
9+ echo " PYTHONPATH=$PYTHONPATH "
10+ echo " LD_LIBRARY_PATH=$LD_LIBRARY_PATH "
11+
912echo " ==> Creating topic"
1013python -m mochi.mofka.mofkactl topic create my_topic -g mofka.json
1114r=" $? "
You can’t perform that action at this time.
0 commit comments