Package Details: gplaycli 3.10-1

Git Clone URL: https://aur.archlinux.org/gplaycli.git (read-only)
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: https://github.com/matlink/gplaycli
Licenses: AGPL
Submitter: fordprefect
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 9
Popularity: 0.175398
First Submitted: 2016-04-22 21:01
Last Updated: 2017-10-31 19:54

Latest Comments

tengu commented on 2017-11-20 15:37

@fordprefect: Yes, I am on version local/gplaycli 3.10-1

fordprefect commented on 2017-11-20 12:50

@tengu: are you on the latest version?

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/gplaycli.py", line 504, in main
success, error = cli.connect_to_googleplay_api()
File "/usr/lib/python3.6/site-packages/gplaycli/gplaycli.py", line 194, in connect_to_googleplay_api
gsfId=gsfId)
File "/usr/lib/python3.6/site-packages/gpapi/googleplay.py", line 185, in login
self.search('firefox', 1, None)
File "/usr/lib/python3.6/site-packages/gpapi/googleplay.py", line 249, in search
data = self.executeRequestApi2(currentPath)
File "/usr/lib/python3.6/site-packages/gpapi/googleplay.py", line 225, in executeRequestApi2
message = googleplay_pb2.ResponseWrapper.FromString(response.content)
File "/usr/lib/python3.6/site-packages/google/protobuf/internal/python_message.py", line 757, in FromString
message.MergeFromString(s)
File "/usr/lib/python3.6/site-packages/google/protobuf/internal/python_message.py", 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.

All comments