F-Droid server building Error

fdroidserver

#1

Hi!
I’m installing the fdroid server on a centos server using all steps into the documentation.
When i try to execute this command
python3 setup install
I have the following error:
error: can’t copy ‘locale/bo/LC_MESSAGES/fdroidserver.mo’: doesn’t exist or not a regular file
I notice that in all locale/*/LC_MESSAGES folders there isn’t the fdroidserver

How I can fix the problem and install the fdroid server?
I have gone through explainer videos to get a solution but nothing happens.
I did the whole process to install the fdroid server, but when I went to run the build command, this error occurred:
CRITICAL: No app metadata found, nothing to process!
What I do in this case?

Tnx!


#2

@eighthave you worked on this I think.

How do I ping here? @hans?


#3

you need to have python3-babel installed. Or gettext and make,
then run make -C locale.


#4

I’m trying to install fdroidserver@master on ubuntu xenial. AndI get this problem as well. Here is the full log, note this is after having python3-babel installed, and running make -C locale:

root@8a05a8ce96a1:/fdroidserver# python3 setup.py install
Using Markdown README
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
running install
Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing dependency_links to fdroidserver.egg-info/dependency_links.txt
writing requirements to fdroidserver.egg-info/requires.txt
writing top-level names to fdroidserver.egg-info/top_level.txt
writing fdroidserver.egg-info/PKG-INFO
reading manifest file 'fdroidserver.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'locale/bo/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/de/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/es_AR/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/es/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/fr/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/nb_NO/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/pt_BR/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/tr/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/uk/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/zh_Hans/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'locale/zh_Hant/LC_MESSAGES/fdroidserver.mo'
warning: no files found matching 'README.rst'
warning: no files found matching 'tests/repo/urzip-Rakhmaninov*.apk'
'tests/bad-unicode-\udccf\udc80\udcc3\udc87\udcc3\udc87\udce7\udc8e\udcb0\udce4\udcbb\udca3\udce9\udc80\udc9a\udce7\udc94\udca8\udce5\udcad\udc97-\udcd0\udcb1\udcd1\udc8a\udcd0\udcbb\udcd0\udcb3\udcd0\udcb0\udcd1\udc80\udcd1\udc81\udcd0\udcba\udcd0\udcb8-\udcd8\udcb9\udcd8\udcb1\udcd8\udca8\udcd9\udc8a1.apk' not utf-8 encodable -- skipping
writing manifest file 'fdroidserver.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
installing package data to build/bdist.linux-x86_64/egg
running install_data
error: can't copy 'locale/bo/LC_MESSAGES/fdroidserver.mo': doesn't exist or not a regular file

Now reported here: https://gitlab.com/fdroid/fdroidserver/issues/425


#5

@Williamhawk can you tell me how to set up Python 3 on CentOS? I’d like to set up a CI test, and I have no idea about CentOS. Here’s what I have so far:


#6