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

Error in fp.py #17

Open
Baxterbunny opened this issue Dec 14, 2011 · 4 comments
Open

Error in fp.py #17

Baxterbunny opened this issue Dec 14, 2011 · 4 comments
Assignees

Comments

@Baxterbunny
Copy link

in current build I am getting

Traceback (most recent call last):
File "./lookup.py", line 21, in ?
import fp
File "/usr/lib/echoserver/API/fp.py", line 115
with solr.pooled_connection(_fp_solr) as host:

when I look at _fp_solr = solr.SolrConnectionPool("http://localhost:8502/solr/fp")

HTTP ERROR: 404
NOT_FOUND
RequestURI=/solr/fp/

but I can go to "http://localhost:8502/solr/fp/admin"

@ghost ghost assigned alnesbit Feb 8, 2012
@kpbird
Copy link

kpbird commented Jul 20, 2012

Hello,

I am having same issue,
I am using Mac OSX Lion

@Baxterbunny
Copy link
Author

its been so long now... but I re-wrote the whole thing since

@alnesbit
Copy link
Contributor

Hi GeneDynamics and kpbird,

You can go to http://localhost:8502/solr/fp/admin in your web browser to perform admin tasks on your Solr installation. But there is no functionality at http://localhost:8502/solr/fp which is accessible in a similar way in a web browser - this endpoint is meant to be accessed programmatically instead, via the fp.py module and, in turn, via solr.py So the responses you are seeing are normal, i.e., from your description Solr seems to be working fine.

I cannot reproduce the traceback you are getting from running lookup.py, i.e., it works just fine on my installation. It looks like in your situation lookup.py is unable to find fp.py and, as such, is unable to import it. Have you changed the directory layout of the Echoprint installation or changed the relative locations of fp.py and lookup.py compared to each other?

Best,

Andrew

@jtmeng
Copy link

jtmeng commented Mar 16, 2014

Finally, how can we Fix it? Or is this software can not work?

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

4 participants