application doesn't sync, it needs to be updated.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
galileo (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Dylan Aïssi |
Bug Description
[Impact]
The galileo package is unusable in Yakkety. It can not be able to connect to fitbit server.
The version 0.5.0 of galileo target a wrong fitbit server.
[Test Case]
Try to synchronize a fitbit device will produce the bug.
[Regression Potential]
No potential regression since the patch only change the URL of the fitbit server.
The "new" url of the fitbit server is the same as in galileo < 0.5.0 and galileo > 0.5.0.
The wrong fitbit server was only set in galileo 0.5.0.
=======
I did report the bug to the developer, you can read it here:
https:/
Now I copy the information of the link above, here:
-------
-------
$ sudo galileo
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
# Python: 3.5.2+ (default, Sep 22 2016, 12:18:14) [GCC 6.2.0 20160927]
# Platform: Linux willy 4.8.0-31-generic #33-Ubuntu SMP Wed Dec 7 15:14:02 UTC 2016 x86_64 x86_64
# pyusb: 1.0.0
# requests: 2.10.0
# yaml: 3.11 (with libyaml)
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
2016-12-14 11:24:29,
Traceback (most recent call last):
File "/usr/lib/
}[config.
File "/usr/lib/
for tracker in syncAllTrackers
File "/usr/lib/
if not galileo.
File "/usr/lib/
self.
File "/usr/lib/
r.raise_
File "/usr/lib/
raise HTTPError(
requests.
-------
-------
The response for the developer Benoît Allard is:
I see you are using an older version with a wrong url builtin to connect to the fitbit server. The url should be corrected to client.fitbit.com. Either use a newer version (0.5.1) or modify the url in the code.
-----
I followed his instructions and now I can sync the device.
------
Thank you very much, now it is working. This is what I did, step by step:
$ cd /usr/lib/
$ sudo grep -rl "api.fitbit.com" ./
./main.py
./__pycache_
$ sudo vim main.py
on line 37:
galileo = GalileoClient(
I made the suggested change, so now it is:
galileo = GalileoClient(
The saved the file.
------
So, please, could you check on this and update the package to its latest version, so everyone can benefit.
Thank you very much.
Eduardo
affects: | hep-galileo → ubuntu |
Changed in ubuntu: | |
status: | New → Confirmed |
Changed in galileo (Ubuntu Yakkety): | |
status: | New → Triaged |
description: | updated |
no longer affects: | Ubuntu Yakkety |
no longer affects: | ubuntu |
Changed in galileo (Ubuntu): | |
importance: | Undecided → Medium |
Changed in galileo (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
tags: | added: bitesize |
Hi Eduardo,
thank you for reporting this issue and for your help to make Ubuntu better.
In Zesty (17.04) we have a newer version:
Version 0.5.1-4 uploaded on 2016-11-11
It should be fix in 17.04 by default.
Bests,
Torsten