AssertionError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 23
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sphinxapi/init.py at Query, especially the assertion involving _reqs, and reproduce the Python 3.4 snippet against the configured Sphinx server. Determine whether the reported call or client state causes the AssertionError; done should include a confirmed explanation or correction and usable documentation for the Python client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100