Package Details: gplaycli 3.26-1

Git Clone URL: (read-only, click to copy)
Package Base: gplaycli
Description: command line tool to search/install/update Android applications Google PlayStore able to run with cronjob, in order to automatically update an F-Droid server instance
Upstream URL:
Licenses: AGPL
Submitter: fordprefect
Maintainer: fordprefect (lightdot)
Last Packager: fordprefect
Votes: 13
Popularity: 0.000095
First Submitted: 2016-04-22 21:01
Last Updated: 2019-09-08 20:33

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

tengu commented on 2017-11-20 12:47

Whatever I do with gplaycli (gplaycli -s, -d, -v...) I get this output:

Traceback (most recent call last):
File "/usr/bin/gplaycli", line 11, in <module>
load_entry_point('GPlayCli==3.10', 'console_scripts', 'gplaycli')()
File "/usr/lib/python3.6/site-packages/gplaycli/", line 504, in main
success, error = cli.connect_to_googleplay_api()
File "/usr/lib/python3.6/site-packages/gplaycli/", line 194, in connect_to_googleplay_api
File "/usr/lib/python3.6/site-packages/gpapi/", line 185, in login'firefox', 1, None)
File "/usr/lib/python3.6/site-packages/gpapi/", line 249, in search
data = self.executeRequestApi2(currentPath)
File "/usr/lib/python3.6/site-packages/gpapi/", line 225, in executeRequestApi2
message = googleplay_pb2.ResponseWrapper.FromString(response.content)
File "/usr/lib/python3.6/site-packages/google/protobuf/internal/", line 757, in FromString
File "/usr/lib/python3.6/site-packages/google/protobuf/internal/", line 1072, in MergeFromString
raise message_mod.DecodeError('Unexpected end-group tag.')
google.protobuf.message.DecodeError: Unexpected end-group tag.

Any help?

fordprefect commented on 2017-10-20 08:14

@kyak: maybe take the slowness to the bugtracker, so the devs are aware of it. I'll do when I have time, but…

kyak commented on 2017-10-20 06:03

@fordperfect: gplaycli 3.9 works fine now. Thank you!

It has become really slow, analyzing apks takes more time than it used to. Perhaps it has to do with switching away from androguard. But it works, and that's more important.

fordprefect commented on 2017-10-18 06:23

@kyak: I forgot that the AUR cannot do dependency resolution beyond package names, provides is not supported.
I introduced the package yesterday, but since there is no release yet, I went for the vcs version for now. As soon as there is a release, I will package it as well. In the meantime maybe its a good idea to depend on the vcs version directly. Will push soon.
Thanks also for the lxml catch.
python-cryptodome provides python-crypto and should work as a replacement. I tested this yesterday and it worked for me, but I admittedly did not much time in it. Will test again tonight.

kyak commented on 2017-10-18 03:20

@fordperfect: Thank you!

1) The package requires python-pyaxmlparser now, which is not available (only python-pyaxmlparser-git is). It causes problems to AUR helpers:

:: no results found for python-pyaxmlparser (dependency tree: gplaycli python-pyaxmlparser)

This is really strange, because python-pyaxmlparser-git provides python-pyaxmlparser. Perhaps i should bring it to pacaur developer.

I've installed python-pyaxmlparser-git for now.

2) pkg_resources.DistributionNotFound: The 'lxml' distribution was not found and is required by pyaxmlparser. This must be a missing dependency of python-pyaxmlparser. Installed python-lxml manually.

3) pkg_resources.DistributionNotFound: The 'pycrypto' distribution was not found and is required by gpapi. This is strange, because I have aur/python-pycryptodome installed. I've also installed python-pycryptodomex, but the error didn't go away. I can't install python-crypto either, because it conflicts with aur/python-pycryptodome.

The third problem is a stopper, i can't go further.

fordprefect commented on 2017-10-17 22:02

I just pushed a new commit, which should make gplaycli working again.
The main thing is that we now use python3 and abandon androguard.
@kyak: could you test this, I hope this is all working now, but I only testet a quick run.

fordprefect commented on 2017-10-15 19:35

@kyak: 1) no, i can reproduce this, 2) you are completely right, I'll take it to their bugtracker.

EDIT: The offending commit is found, I expect a fix soon. Stay tuned!

kyak commented on 2017-10-15 04:45

@fordperfect: your conclusion seems right, however, two things bother me.
1) Am i the only one experiencing the problem? If so, it could be a problem in my configuration.
2) This wasn't a problem until 3.3 release (i.e. 3.2 release worked well). However, python2-androguard didn't change at all since May 2017. So it must be something with gplaycli.

fordprefect commented on 2017-10-14 21:05

@kyak: upon closer inspection this message means the following: a dependency of gplaycli - androguard - seems to require distribute.
this first means that this is not an issue of gplaycli and should be fixed in the python2-androguard package.
also, the distribute package (which does not exist in AUR) makes absolutely no sense because it "is a simple compatibility layer that installs Setuptools 0.7+" (quote from the website [0], last updated 2013).
this definitely should not be required.

I don't actually know how to resolve this at the moment, there seems to be no obvious solution that makes sense. Does anyone have an idea?


kyak commented on 2017-10-14 10:13

@fordperfect: sorry for not being clear. I'm getting this error when trying to run gplaycli.
Even gplaycli -h throws this error. It used to work before upgrade to 3.3. Now, with 3.4 the error is the same.