[Debian-med-packaging] Bug#823842: python-fitbit: cannot generate auth token

Ritesh Raj Sarraf rrs at debian.org
Mon May 9 14:28:49 UTC 2016


Package: python-fitbit
Version: 0.2-1
Severity: normal

As per the documentation, the ./gather_keys_oauth2.py should help in
generating an auth token. But when using the same, I get the following
error from the fitbit server

"The app you're trying to connect did not provide valid information to
Fitbit. Please report this issue to them.

Developer information: invalid_request - Invalid redirect_uri parameter
value"


On the terminal, I get the following:


rrs at learner:/var/tmp/Debian-Build/temp/python-fitbit-0.2$ ./gather_keys_oauth2.py XXXXXX xxxxxxxxxxxxxxxxxxx
[09/May/2016:19:53:44] ENGINE Listening for SIGHUP.
[09/May/2016:19:53:44] ENGINE Listening for SIGTERM.
[09/May/2016:19:53:44] ENGINE Listening for SIGUSR1.
[09/May/2016:19:53:44] ENGINE Bus STARTING
CherryPy Checker:
The Application mounted at '' has an empty config.

[09/May/2016:19:53:44] ENGINE Started monitor thread 'Autoreloader'.
[09/May/2016:19:53:44] ENGINE Started monitor thread '_TimeoutMonitor'.
[09/May/2016:19:53:44] ENGINE Serving on http://127.0.0.1:8080
[09/May/2016:19:53:44] ENGINE Bus STARTED
Created new window in existing browser session.
[14429:14456:0509/195345:ERROR:nss_util.cc(839)] After loading Root Certs, loaded==false: NSS error code: -8018



PS: Also, could you please ship gather_keys_oauth2.py in the binary
package ?


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-fitbit depends on:
ii  libjs-jquery              1.11.3+dfsg-4
ii  libjs-underscore          1.7.0~dfsg-1
ii  python-dateutil           2.4.2-1
ii  python-pkg-resources      20.10.1-1
ii  python-requests-oauthlib  0.4.0-1
pn  python:any                <none>

python-fitbit recommends no packages.

python-fitbit suggests no packages.

-- debconf-show failed



More information about the Debian-med-packaging mailing list