-
Notifications
You must be signed in to change notification settings - Fork 30
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
Failing to log in to SkySpark with correct credentials #14
Comments
Thanks for reaching us. I've tried your snippet using niagara client and it works. Unfortunately, I don't have actually an access to a Skyspark server. |
Hi, I might be able to create an account on the demo project and hand you the details. I'll see if I can get permission to do this. |
Hi Christian, I have just created a temp account and sent you the details |
Actively working on |
Is there any publicly visible documentation for SkySpark? I'll admit I ported the old I recall looking on their website for details but didn't see any. |
beyon-d.net seems to be up to date |
Ahh, that's why I didn't spot it, completely different site. :-) https://www.beyon-d.net/doc/docSkySpark/Rest.html#auth would have been a big help. |
@candronikos Please have a look to : https://github.com/ChristianTremblay/pyhaystack/tree/skyspark_login I'm able to login, retrieve site, about... but I have some problems with find_entity. Seems to be related to hszinc... I'll give credentials to @sjlongland so he can make tests. |
Forgot one detail : it works on Python 3.... we'll have a look to make it work with Python 2 |
Tested the code on my machine. Looks good so far! I removed the details of the response body for privacy but they're correct. Also, I'm using Python 3 anyway so it's not a problem for me
|
Troubles appears with : You can join gitter to share more details : |
I've grabbed a copy of the offending grid and I'll have a look when I get a chance. In the meantime, you can force
This is not ideal, but it might get you going. |
Remaining bug : Make Python 2 & 3 work |
Solve the Python 2/3 compatibility |
Hello. I need a Python 2.6 to Skyspark interface. I try long to make it runable. But i have the same Problem with failed |
I can't guaranty it'll work on 2.6 as we use a lot of features that are 2.7-3. If it appears to be version related, please open another issue. |
I would seriously not bother with Python 2.6. Most platforms have moved on from that release, the only OSes I can think of that depend on that release are circa 2010 or earlier, which should be considered unsupported security liabilities. Python 2.7 is still supported because Python 3.x support was in its infancy until very recently on most Linux distributions (IMO it's a mess in Debian even in Jessie), and really is on borrowed time: the upstream Python project wants to kill off the 2.x branch. If you're starting from scratch, I'd seriously recommend going to Python 3.4 or later if possible, as this was the first of the 3.x series that was particularly well supported. If backward compatibility with Python 2 modules is needed, then recent 2.7 is the best option. |
Thanks, but the system i will connect runs under SLES 11 (python 2.6.5). I only will get a points-list from SkysPark and perhaps import points from My idea is to minimize your pyhaystack (only communication to SyksPark).. I Are my reflections OK ? 2016-10-30 3:19 GMT+01:00 Stuart Longland notifications@github.com:
|
On 31/10/16 20:50, jjproe wrote:
Won't make a sceric of difference. The same classes are used to represent values in both modes. There's talk of a Python 2.7 binary as part of the OpenSuSE distribution: SLES 11 is quite dated by the looks of things, so you likely won't see newer Python environment in a container.Stuart Longland (aka Redhatter, VK4MSL) I haven't lost my mind... |
Locking the issue and linking here : #31 |
Tried testing with some simple code with skyspark with the code at the bottom of this issue. The result is posted below:
RESULT
CODE
The text was updated successfully, but these errors were encountered: