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 <module>
>     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=<redacted>
> gmail_address=gapps.sucks.cngn.ro...@gmail.com
> gmail_password=<redacted>
> 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] GPlayCli version 3.23 [Python3.5.3] 
> [INFO] Configuration file is /var/www/fdroid/.config/gplaycli/gplaycli.conf
> [INFO] Using cached token.
> [INFO] Using auto retrieved token to connect to API
> Traceback (most recent call last):
>   File "/var/www/fdroid/.local/bin/gplaycli", line 11, in <module>
>     sys.exit(main())
>   File
> "/var/www/fdroid/.local/lib/python3.5/site-packages/gplaycli/gplaycli.py", 
> line
> 702, in main
>     cli.download(args.packages_to_download)
>   File "/var/www/fdroid/.local/lib/python3.5/site-packages/gplaycli/hooks.py",
> line 8, in check_connection
>     self.connect()
>   File
> "/var/www/fdroid/.local/lib/python3.5/site-packages/gplaycli/gplaycli.py", 
> line
> 406, in connect
>     gsfid = int(self.gsfid, 16)
> ValueError: invalid literal for int() with base 16: 'reset'
>
> Only positive side I'm currently seeing is that the version in experimental 
> *does* work
> for me, however I don't think that'll be backportable to current stable with 
> all
> its dependencies.
>
> Regards,
> Lee
>
> -- System Information:
> Debian Release: 9.4
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.16.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_GB.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_GB.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages gplaycli depends on:
> ii  androguard              2.0-3
> ii  python                  2.7.13-2
> ii  python-clint            0.5.1-1
> ii  python-ndg-httpsclient  0.4.2-1
> ii  python-protobuf         3.0.0-9
> ii  python-pyasn1           0.1.9-2
> ii  python-requests         2.12.4-1
>
> Versions of packages gplaycli recommends:
> ii  dummydroid    1.1-1
> ii  fdroidserver  0.7.0-2
>
> gplaycli suggests no packages.
>
> -- no debconf information

-- 
Matlink - Sysadmin matlink.fr
Sortez couverts, chiffrez vos mails : https://café-vie-privée.fr/
XMPP/Jabber : matl...@matlink.fr
Clé publique PGP : 0x186BB3CA
Empreinte Off-the-record : 572174BF 6983EA74 91417CA7 705ED899 DE9D05B2

Reply via email to