featurebasedb / getting-started Goto Github PK
View Code? Open in Web Editor NEWCode and Data for Getting Started documentation
License: BSD 3-Clause "New" or "Revised" License
Code and Data for Getting Started documentation
License: BSD 3-Clause "New" or "Revised" License
Hi I ran into trouble running the getting started example because of the following:
Calling client.status() failed with the following error:
>>> client.status()
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/Users/gireeshramji/PycharmProjects/getting-started/python/venv/lib/python2.7/site-packages/pilosa/client.py", line 188, in status
client_response=Client.__ERROR_CHECKED_RESPONSE)
File "/Users/gireeshramji/PycharmProjects/getting-started/python/venv/lib/python2.7/site-packages/pilosa/client.py", line 320, in __http_request
raise PilosaError("Server error (%d): %s" % (response.status, content))
PilosaError: Server error (406): JSON only acceptable response
Calling client._Client__client.request without headers also fails:
r = client._Client__client.request("GET",uri)
r.status
406
Calling client._Client__client.request with 'Accept':'application/json' succeeds
r = client._Client__client.request("GET",uri,headers = {'Accept':'application/json'})
r.status
200
Sounds like the default header in the __http_request method needs to be changed from None to {"Accept":"application/json"}?
The download link(https://raw.githubusercontent.com/pilosa/getting-started/master/language.txt) returns not found response.
The tutorial website is https://www.pilosa.com/docs/latest/getting-started/
.
It should be a .txt file with the content of language.
Just open the download url and a not found response returns.
MacOS, Chrome
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.