question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'Solr' object has no attribute 'ping'

See original GitHub issue

The latest version [3.8.1] installed via pip seems to be missing the ping() method:

$ pip install --no-cache pysolr
Collecting pysolr
  Downloading https://files.pythonhosted.org/packages/04/26/051cc17798937bd74358ce40e03b125ce21ae9aa018d89e718cb07a0e9e4/pysolr-3.8.1-py2.py3-none-any.whl
>>> solr = pysolr.Solr('http://localhost:8983/solr/mycore/')
>>> solr.ping()
AttributeError: 'Solr' object has no attribute 'ping'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
mcilraincommented, Jan 9, 2020

Issue is still present via pip, haven’t tried master.

1reaction
acdhacommented, May 29, 2019

That was added after the last release. You should be able to install from master & I can try to find time to ship a release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I check if solr is running or no using python?
A clean way is using pysolr import pysolr # Create a client instance. The timeout and authentication options are not required. solr =...
Read more >
How do I check if solr is running or no using python?
I am using pysolr library and I want to check if solr is running or no and ... I'm getting the error: 'Solr'...
Read more >
Easy indexing of data into Solr with ETL operations - Hue
Got below error when tying to index parquet table, could you please help on this. "Error: org.kitesdk.morphline.api.MorphlineRuntimeException: ...
Read more >
tiangolo/fastapi - Gitter
Trying to enable the ASGI middleware.. and im not understanding the problem. ... returns AttributeError: 'SentryAsgiMiddleware' object has no attribute ...
Read more >
Bug List - Univention Bugzilla
55451, UCS, App Cent, appcenter-maintainers, NEW, ---, appcenter/packages/query: AttributeError: 'NoneType' object has no attribute 'lookup', 2022-11-23.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found