Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError #3

Open
jaskaran87 opened this issue Apr 18, 2017 · 1 comment
Open

AssertionError #3

jaskaran87 opened this issue Apr 18, 2017 · 1 comment

Comments

@jaskaran87
Copy link

I did not get how to use this, Can you please give any documentation, I have implement sphinx search in php now i am going to implement this in python but geting error

python3

import sphinxapi

client = sphinxapi.SphinxClient()

client.SetServer('127.0.0.1',9312)

client.Query("english","language_index")

geting error
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.4/dist-packages/sphinxapi/init.py", line 579, in Query
assert (len(self._reqs) == 0)
AssertionError

Please can anyone help me to sort this

@jsocol
Copy link
Owner

jsocol commented Apr 18, 2017

This repo is something like 6 years out of date—it's definitely never been tested with Python 3. Originally it was just a pip-installable mirror of another source, but unfortunately I can't find it on sphinxsearch.com anymore.

It's probably best to try to find a more up-to-date Python client, or maybe fork this and update it. Unfortunately I'm not able to spend time on this one anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants