Bug#903718: gplaycli currently unusable in stable/backport/testing/unstable

2018-07-30 Thread Andres Salomon

As you discovered, the version in experimental works. Unfortunately,
googleplay-api (which gplaycli uses) has a strict dependency on
newer versions of protobuf, which are available only in experimental.
So we've been stuck waiting on protobuf 3.6 to transition to
unstable.  It is not the only package stuck waiting on protobuf to
transition.  See https://bugs.debian.org/901015 for transition status.





Bug#903718: gplaycli currently unusable in stable/backport/testing/unstable

2018-07-13 Thread Matlink
debian's version of gplaycli is outdated. I made lot of changes since
0.2.10.

However, the pip version (3.23) should work. I had some server issue
lately, and because gplaycli is fetching token trough my server, it can
explain why.

Could you retry soon with the pip version? I tested on a fresh
debian/sid and it work. You need to copy the gplaycli.conf either from
github or from
/usr/local/lib/python3.6/dist-packages/root/.config/gplaycli/gplaycli.conf.
I'll need to fix this to install it in /root/.config/gplaycli if possible.

Hope it helps,

Matlink


Le 13/07/2018 à 18:55, Lee Garrett a écrit :
> Package: gplaycli
> Version: 0.2.10-1~bpo9+1
> Severity: grave
> Justification: renders package unusable
>
> Hi,
>
> I'm currently having a hard time to get gplaycli running again. It seems as
> though the version in Debian is currently unusable:
>
> # with stable-backports:
> $ gplaycli -d com.imgur.mobile -v
> GPlayCli version 0.2.10
> Configuration file is /etc/gplaycli/gplaycli.conf
> Using cached token.
> Using token to connect to API
> Token has expired or is invalid. Retrieving a new one...
> Retrieving token ...
> Token: gplayclia...@gmail.com
> 1 / 1 com.imgur.mobile
> Error while downloading com.imgur.mobile : this package does not exist, try to
> search it via --search before
> A few packages could not be downloaded :
> com.imgur.mobile
> list index out of range
>
> # on testing/unstable
> $ gplaycli -d com.imgur.mobile -v
> Traceback (most recent call last):
>   File "/usr/bin/gplaycli", line 28, in 
> from androguard.core.bytecodes import apk as androguard_apk  # Androguard
> ImportError: No module named androguard.core.bytecodes
>
> And stable currently doesn't have the token feature. However, even with my own
> generated credentials it doesn't work:
>
> $ cat credentials.conf
> [Credentials]
> # created with raccoon
> android_ID=
> gmail_address=gapps.sucks.cngn.ro...@gmail.com
> gmail_password=
> language=en_US
>
> $ gplaycli -d com.imgur.mobile -v -c credentials.conf 
> Using credentials.conf from current directory...
> Cannot login to GooglePlay ( server says: BadAuthentication )
>
> I'd love to have this working in Debian, but in it's current shape and form 
> IMHO
> it's not fit for inclusion.
>
> Unfortunately the latest upstream via pip3 isn't usable either:
> fdroid@packages:~$ pip3 install --upgrade-strategy only-if-needed gplaycli
> Collecting gplaycli
> Collecting gpapi==0.4.2 (from gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/ba/5e/b20066f6e0f69aab0fca832770371eb4579cf26393286b7f58641a011ac2/gpapi-0.4.2-py3-none-any.whl
> Collecting pyaxmlparser (from gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/82/e6/2a024e09a16281e0039b1aa38400c0ad35a8edb2c2aa59988aa1e3a77845/pyaxmlparser-0.3.9-py3-none-any.whl
> Collecting pycryptodome (from gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/bf/60/520c09d88138bdef60a4d8911d3375521b3c30f41c57fce73a51a01b9318/pycryptodome-3.6.4-cp35-cp35m-manylinux1_x86_64.whl
> Collecting protobuf (from gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/11/c4/8a35f5af5f26040ae7f3d521875e43429d2955d598fa3f2d0b6b88133bb1/protobuf-3.6.0-cp35-cp35m-manylinux1_x86_64.whl
> Collecting requests (from gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
> Collecting lxml (from pyaxmlparser->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/5c/ee/e4acac810a85da614a60bf2221535bc2517d553b8d733cfd2dd644e2ab15/lxml-4.2.3-cp35-cp35m-manylinux1_x86_64.whl
> Collecting click==6.7 (from pyaxmlparser->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
> Collecting six>=1.9 (from protobuf->gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
> Collecting setuptools (from protobuf->gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl
> Collecting certifi>=2017.4.17 (from requests->gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
> Collecting urllib3<1.24,>=1.21.1 (from requests->gpapi==0.4.2->gplaycli)
>   Using cached
> https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
> Collecting chardet<3.1.0,>=3.0.2 (from requests->gpapi==0.4.2->gplaycli)
>   Using cached
> 

Bug#903718: gplaycli currently unusable in stable/backport/testing/unstable

2018-07-13 Thread Lee Garrett
Package: gplaycli
Version: 0.2.10-1~bpo9+1
Severity: grave
Justification: renders package unusable

Hi,

I'm currently having a hard time to get gplaycli running again. It seems as
though the version in Debian is currently unusable:

# with stable-backports:
$ gplaycli -d com.imgur.mobile -v
GPlayCli version 0.2.10
Configuration file is /etc/gplaycli/gplaycli.conf
Using cached token.
Using token to connect to API
Token has expired or is invalid. Retrieving a new one...
Retrieving token ...
Token: gplayclia...@gmail.com
1 / 1 com.imgur.mobile
Error while downloading com.imgur.mobile : this package does not exist, try to
search it via --search before
A few packages could not be downloaded :
com.imgur.mobile
list index out of range

# on testing/unstable
$ gplaycli -d com.imgur.mobile -v
Traceback (most recent call last):
  File "/usr/bin/gplaycli", line 28, in 
from androguard.core.bytecodes import apk as androguard_apk  # Androguard
ImportError: No module named androguard.core.bytecodes

And stable currently doesn't have the token feature. However, even with my own
generated credentials it doesn't work:

$ cat credentials.conf
[Credentials]
# created with raccoon
android_ID=
gmail_address=gapps.sucks.cngn.ro...@gmail.com
gmail_password=
language=en_US

$ gplaycli -d com.imgur.mobile -v -c credentials.conf 
Using credentials.conf from current directory...
Cannot login to GooglePlay ( server says: BadAuthentication )

I'd love to have this working in Debian, but in it's current shape and form IMHO
it's not fit for inclusion.

Unfortunately the latest upstream via pip3 isn't usable either:
fdroid@packages:~$ pip3 install --upgrade-strategy only-if-needed gplaycli
Collecting gplaycli
Collecting gpapi==0.4.2 (from gplaycli)
  Using cached
https://files.pythonhosted.org/packages/ba/5e/b20066f6e0f69aab0fca832770371eb4579cf26393286b7f58641a011ac2/gpapi-0.4.2-py3-none-any.whl
Collecting pyaxmlparser (from gplaycli)
  Using cached
https://files.pythonhosted.org/packages/82/e6/2a024e09a16281e0039b1aa38400c0ad35a8edb2c2aa59988aa1e3a77845/pyaxmlparser-0.3.9-py3-none-any.whl
Collecting pycryptodome (from gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/bf/60/520c09d88138bdef60a4d8911d3375521b3c30f41c57fce73a51a01b9318/pycryptodome-3.6.4-cp35-cp35m-manylinux1_x86_64.whl
Collecting protobuf (from gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/11/c4/8a35f5af5f26040ae7f3d521875e43429d2955d598fa3f2d0b6b88133bb1/protobuf-3.6.0-cp35-cp35m-manylinux1_x86_64.whl
Collecting requests (from gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting lxml (from pyaxmlparser->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/5c/ee/e4acac810a85da614a60bf2221535bc2517d553b8d733cfd2dd644e2ab15/lxml-4.2.3-cp35-cp35m-manylinux1_x86_64.whl
Collecting click==6.7 (from pyaxmlparser->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting six>=1.9 (from protobuf->gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting setuptools (from protobuf->gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests->gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests->gpapi==0.4.2->gplaycli)
  Using cached
https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Installing collected packages: pycryptodome, six, setuptools, protobuf, certifi,
urllib3, chardet, idna, requests, gpapi, lxml, click, pyaxmlparser, gplaycli
Successfully installed certifi-2018.4.16 chardet-3.0.4 click-6.7 gpapi-0.4.2
gplaycli-3.23 idna-2.7 lxml-4.2.3 protobuf-3.6.0 pyaxmlparser-0.3.9
pycryptodome-3.6.4 requests-2.19.1 setuptools-40.0.0 six-1.11.0 urllib3-1.23
You have new mail in /var/mail/fdroid
fdroid@packages:~$ gplaycli -d com.imgur.mobile -v
[INFO]