matlink / gplayweb Goto Github PK
View Code? Open in Web Editor NEWGPlayWeb: A Web interface for GPlayCli
License: Other
GPlayWeb: A Web interface for GPlayCli
License: Other
I believe gplayweb.conf.example
needs to be updated with the new gplaycli credentials gmail_password=83b0c70a7b7a824c
I'm trying to install it on windows
i used git method but i got some errors on installing gplaycli requirements
how can i fix this issue ?
C:\Users\JMDMahdi\Desktop>pip install -r gplaycli/requirements.txt
Collecting requests>=0.12 (from -r gplaycli/requirements.txt (line 1))
Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
100% |################################| 471kB 12kB/s
Collecting protobuf>=2.4 (from -r gplaycli/requirements.txt (line 2))
Downloading protobuf-2.6.1.tar.gz (188kB)
100% |################################| 188kB 76kB/s
Complete output from command python setup.py egg_info:
Installed c:\users\jmdmahdi\appdata\local\temp\pip-build-esughn\protobuf\.eggs\google_apputils-0.4.2-py2.7.egg
Searching for pytz>=2010
Reading https://pypi.python.org/simple/pytz/
Best match: pytz 2015.4
Downloading https://pypi.python.org/packages/2.7/p/pytz/pytz-2015.4-py2.7.egg#md5=4698c08f18f5cecba09b7e85d8e9328e
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "c:\users\jmdmahdi\appdata\local\temp\pip-build-esughn\protobuf\setup.py", line 200, in <module>
"Protocol Buffers are Google's data interchange format.",
File "C:\Python27\lib\distutils\core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Python27\lib\site-packages\setuptools\dist.py", line 268, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "C:\Python27\lib\site-packages\setuptools\dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 830, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 1087, in obtain
return installer(requirement)
File "C:\Python27\lib\site-packages\setuptools\dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line 617, in easy_install
not self.always_copy, self.local_index
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 601, in fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 517, in download
found = self._download_url(scheme.group(1), spec, tmpdir)
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 758, in _download_url
return self._attempt_download(url, filename)
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 764, in _attempt_download
headers = self._download_to(url, filename)
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 664, in _download_to
fp = self.open_url(strip_fragment(url))
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 714, in open_url
% (url, v.reason))
distutils.errors.DistutilsError: Download error for https://pypi.python.org/packages/2.7/p/pytz/pytz-2015.4-py2.7.egg#md5=4698c08f18f5cecba09b7e85d8e9328e: [Errno 11002] getaddrinfo failed
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\jmdmahdi\appdata\local\temp\pip-build-esughn\protobuf
gplayweb throws errors when attempting to use with latest gplaycli, even when using the version from requirements.txt there are other errors and the result is a "500 internal server error"
hello can you make a yunohost app for gplayweb
thanks
Bonjour , j'ai fais l'installation de gplayweb ,gplaycli,fdroiserver, mais j'ai un problème, je crois avec les ''Google credentials " de Google.
Voici le message que me sort gplaycli et gplayweb quand je lance le binaire dans mon terminal ssh .
/usr/bin/gplaycli -s canal
Traceback (most recent call last):
File "/usr/bin/gplaycli", line 343, in
main()
File "/usr/bin/gplaycli", line 323, in main
success, error = cli.connect_to_googleplay_api()
File "/usr/bin/gplaycli", line 45, in connect_to_googleplay_api
api.login(self.config["gmail_address"], self.config["gmail_password"], AUTH_TOKEN)
File "/usr/lib/python2.7/dist-packages/ext_libs/googleplay_api/googleplay.py", line 126, in login
response = requests.post(self.URL_LOGIN, data=params, headers=headers, verify=ssl_verify)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 94, in post
return request('post', url, data=data, json=json, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 420, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError
Hi,
On debian jessie ( and I think on every systems based on systemd), gplayweb fail to start with message :
Failed to start gplayweb.service: Unit gplayweb.service failed to load: No such file or directory.
I created a working file that work :
[Unit]
Description=GplayWeb
After=network.target
[Service]
ExecStart=/usr/local/bin/gplayweb
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
I don't know how to make the corresponding pull request.
The file should be created as : /lib/systemd/system/gplayweb.service
Make easy to export/import applications list.
When importing an application list, gplayweb should download every app in this list.
Eventually showing the progression of downloads.
After running docker run --name gplayweb -p 127.0.0.1:8888:8888 matlink/gplayweb
and loading http://localhost:8888
I get 500: Internal Server Error
.
The console where docker is running shows
ERROR:tornado.application:Uncaught exception GET /?page=list (172.17.0.1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/?page=list', version='HTTP/1.1', remote_ip='172.17.0.1', headers={'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate', 'Host': 'localhost:8888', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xOuKCjiMF2QnhPLRFYW69xnl4yflqDbnnafhYNFHSOgaqCVA6A7IoslVSR6zrrl8; nc_sameSiteCookielax=true; nc_sameSiteCookiestrict=true; ochaq8ufvkcr=204296a2e197a1b2c75289978d84868b; oc_sessionPassphrase=pcMSrYdWMv9dhhPK7aXsEU6CXfjJjrhKw3JbdyMLhyvVebLMprTeAplwfrl2uGu0zOrizQ32Yu%2FHuUV4w75%2Bn20kBu2aPzl2Slz7hFE6NAh3uAahWZDNRG3dBiIaEUmC; grafana_sess=c7d1953ee0edab26', 'Cache-Control': 'max-age=0', 'Upgrade-Insecure-Requests': '1'})
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1467, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/gplayweb/gplayweb", line 41, in get
self.list()
File "/opt/gplayweb/gplayweb", line 75, in list
cached_infos = self.get_infos(results)
File "/opt/gplayweb/gplayweb", line 93, in get_infos
details = self.cli.get_bulk_details(apks)
File "/usr/local/lib/python2.7/dist-packages/gplaycli/gplaycli.py", line 71, in get_bulk_details
results = self.playstore_api.bulkDetails(list_of_apks)
AttributeError: 'GPlaycli' object has no attribute 'playstore_api'
ERROR:tornado.access:500 GET /?page=list (172.17.0.1) 9.39ms
Hello,
Freshly cloned and installed gplaycli and gplayweb (with python setup.py install), and I get that 👍
~# gplayweb
Traceback (most recent call last):
File "/usr/local/bin/gplayweb", line 4, in
import('pkg_resources').run_script('GPlayWeb==0.1', 'gplayweb')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/GPlayWeb-0.1-py2.7.egg/EGG-INFO/scripts/gplayweb", line 6, in
ImportError: No module named gplaycli.gplaycli
Bonjour matlink, avant te recontacter, j'ai essayé dans mon coin de trouver la solution, mais je sèche.
Le service gplayweb tourne sous son user "gplayweb", bon la première fois ,la commande "fdroid init" est lancé en root.
Je fais un " chown" pour corriger l'user et mettre tout en user "gplayweb", je fais un téléchargement sur gplayweb, les apk arrive sur le repo avec le bon user. ( les fichiers: icones, index sont générées)
J'utilise le client pour voir le repo, soit il voit rien ou il ne voit pas les mises a jours.
Hi,
I have installed GPlayWeb from pip on Debian Jessie everythings works fine exepted that CSS is not charging. I have no style on the GPlayWeb UI.
I have verified rights, and all what I can.
Matlink, I send you mails some month ago in french for the same issue on an other server.
Thanks for this uselfull soft =)
Have a good day !
Julian
pablo@siphilis2 ~/src/gplayweb $ docker build -t gplayweb .
Sending build context to Docker daemon 624.6kB
Step 1/20 : FROM ubuntu:16.04
[...]
Step 4/20 : RUN apt-get update && apt-get upgrade -y
---> Running in c406adfd126a
[...]
Step 5/20 : RUN apt-get install -y software-properties-common
[...]
Step 6/20 : RUN add-apt-repository ppa:guardianproject/ppa
[...]
Step 7/20 : RUN apt-get update && apt-get install -y fdroidserver git lib32stdc++6 lib32gcc1 lib32z1 lib32ncurses5 libffi-dev libssl-dev libjpeg-dev python-dev python-pip python3 python3-pip openjdk-8-jdk virtualenv wget zlib1g-dev
---> Running in a7d124757cd6
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ppa.launchpad.net/guardianproject/ppa/ubuntu xenial InRelease [17.5 kB]
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:6 http://ppa.launchpad.net/guardianproject/ppa/ubuntu xenial/main amd64 Packages [9684 B]
Fetched 27.2 kB in 0s (36.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.5.1-3).
python3 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fdroidserver : Depends: python3-qrcode but it is not installable
Recommends: android-sdk but it is not going to be installed
Recommends: apksigner but it is not installable
Recommends: opensc but it is not going to be installed
Recommends: s3cmd but it is not going to be installed
Recommends: zipalign but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get update && apt-get install -y fdroidserver git lib32stdc++6 lib32gcc1 lib32z1 lib32ncurses5 libffi-dev libssl-dev libjpeg-dev python-dev python-pip python3 python3-pip openjdk-8-jdk virtualenv wget zlib1g-dev' returned a non-zero code: 100
fdroid update will fail if python-imaging is not installed on the system (ubuntu 14.04), maybe it should be mentionned in the docs.
Even if you add the init.d/gplayweb with update-rc.d gplayweb defaults/enable, the script doesn't seem to work.
I've edited the gplayweb init.d script, replacing this:
no luck.
i have this message
debian wheezy
sudo pip install -r gplaycli/requirements.txt
Downloading/unpacking requests>=0.12 from https://pypi.python.org/packages/source/r/requests/requests-2.7.0.tar.gz#md5=29b173fd5fa572ec0764d1fd7b527260 (from -r gplaycli/requirements.txt (line 1))
Downloading requests-2.7.0.tar.gz (451Kb): 451Kb downloaded
Running setup.py egg_info for package requests
Downloading/unpacking protobuf>=2.4 (from -r gplaycli/requirements.txt (line 2))
Running setup.py egg_info for package protobuf
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/beudbeud/gplayweb/build/protobuf/setup.py", line 212, in <module>
"Protocol Buffers are Google's data interchange format.",
File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 263, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 288, in fetch_build_eggs
replace_conflicting=True,
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 618, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 863, in best_match
dist = working_set.find(req)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 492, in find
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (six 1.1.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.5'))
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/beudbeud/gplayweb/build/protobuf/setup.py", line 212, in <module>
"Protocol Buffers are Google's data interchange format.",
File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 263, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 288, in fetch_build_eggs
replace_conflicting=True,
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 618, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 863, in best_match
dist = working_set.find(req)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 492, in find
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (six 1.1.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.5'))
A failure is triggered when an apk is downloaded:
/usr/share/gplayweb/static
Download complete
Traceback (most recent call last):
File "/usr/local/bin/gplayweb", line 173, in updateFdroidRepo
self.fdroid_update.create_metadata_and_update()
File "/usr/local/lib/python2.7/dist-packages/fdroidserver-0.4.0-py2.7.egg/fdroidserver/update.py", line 1022, in create_metadata_and_update
main(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/fdroidserver-0.4.0-py2.7.egg/fdroidserver/update.py", line 1154, in main
apks, cachechanged = scan_apks(apps, apkcache, repodirs[0], knownapks)
File "/usr/local/lib/python2.7/dist-packages/fdroidserver-0.4.0-py2.7.egg/fdroidserver/update.py", line 552, in scan_apks
dt_obj = datetime(*info.date_time)
ValueError: month must be in 1..12
It's probably the same kind of reason as in #199
It seems fixed in fdroidserver 0.7 but the fork for gplayweb is 0.4.
Is fdroidserver 0.7 now compatible with gplayweb without needing a modification?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.