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

openambit doesn't sync with movescount #253

Closed
mklopotnuk opened this issue Jun 28, 2020 · 10 comments
Closed

openambit doesn't sync with movescount #253

mklopotnuk opened this issue Jun 28, 2020 · 10 comments

Comments

@mklopotnuk
Copy link

mklopotnuk commented Jun 28, 2020

Hello! I've updated Qt few days ago - from 5.14.2-3 to 5.15.0. Perhaps after that openambit doesn't sync with movescount. Error:
Failed to upload log (err code: QNetworkReply::ProtocolInvalidOperationError ), movescount.com replied with " "" "

OS Archlinux, Openambit-cli 0.5

@mklopotnuk
Copy link
Author

Today i've downgraded qt and icu. Now openambit can sync with movescount. But now i cant upgrade qt.

@centic9
Copy link
Contributor

centic9 commented Jul 7, 2020

Which distribution are you using for getting this version of Qt?

Debian/Ubuntu does not seem to have it available yet in the latest unstable versions.

@mklopotnuk
Copy link
Author

mklopotnuk commented Jul 8, 2020

I've written that in the first message:
"OS Archlinux, Openambit-cli 0.5"

@centic9
Copy link
Contributor

centic9 commented Jul 9, 2020

This is a regression in QT 5.15, see item 2.) in https://bugreports.qt.io/browse/QTBUG-85264 or https://bugreports.qt.io/browse/QTBUG-84495

Both got closed as "will not be changed again" :(

There is now some "auto-conversion to base64 happening which means Openambit/Qt actually encodes the data twice now due to this and as a consequence uploading to Movescount fails with an error.

@zander
Copy link

zander commented Jul 9, 2020

check https://bugreports.qt.io/browse/QTBUG-84739

which is open P1 (meaning its a showstopper for 5.15.1)

@miir01
Copy link

miir01 commented Jul 22, 2020

Hi,

I get this error: Upload error: "Invalid CompressedValues: Invalid length for a Base-64 char array or string."
Is this what you are talking about? Will there be a solution for that?

@centic9
Copy link
Contributor

centic9 commented Jul 28, 2020

Hopefully it will be fixed in the next bugfix version of Qt, the issue is still set to revert to the previous behavior in Qt 5.15.1.

@PrzemekRychter
Copy link

PrzemekRychter commented Sep 3, 2020

Hi, i followed readme in order to install openAmbit and synch with movescount, but it doesn't work (It is not syncing but openAmbit see the watch and sync, but i cannot sync with site)
I tried to change qt version but i dont know how exacly.

$ qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu

How do I change 5.12.8 to other ?

EDIT: somhow I managed to change qt version : https://askubuntu.com/questions/1062046/how-to-update-qt-from-5-5-1-to-5-9-5-on-ubuntu-16-04

$ qmake -v
QMake version 3.1
Using Qt version 5.14.2 in /opt/qt514/lib

but still after syncing with openambit my watch cant sync with moveslink site

@strawpants
Copy link

Hi all,
I faced the same issue on a Arch linux installation with qt 5.15.0, but I can confirm the movescount sync works again with qt version 5.15.1-1 (which just arrived in the Arch repositories).

So the moral of the story is indeed: don't install qt 5.15.0 (downgrade or wait for 5.15.1)

@centic9
Copy link
Contributor

centic9 commented Feb 19, 2021

So I think we can close this one as it was fixed in Qt itself since some time now.

Please note that movescount recently stopped accepting connections with the current "APPKEY", see the discussion at #216, there seems to be some way to continue to use it, but it is not yet fully analysed yet.

@centic9 centic9 closed this as completed Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants