Project

General

Profile

[Prewikka] Installation using setup.py

Added by yasey omal about 1 year ago

I'm running Prelude 4.1.0 on Ubuntu 17.04.
I have installed all the dependencies.
But I'm getting some errors when I run this command -> python setup.py install

root@ubuntu:~/prewikka-4.1.5# python setup.py install
running install
running build
running compile_catalog

error: prewikka/locale/pl/LC_MESSAGES/prewikka.po:1717: placeholders are incompatible
error: prewikka/locale/pl/LC_MESSAGES/prewikka.po:1794: placeholders are incompatible

compiling catalog prewikka/locale/pl/LC_MESSAGES/prewikka.po to prewikka/locale/pl/LC_MESSAGES/prewikka.mo
error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:1655: placeholders are incompatible
error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:1660: placeholders are incompatible
error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:1675: placeholders are incompatible
error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:2023: placeholders are incompatible

compiling catalog prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po to prewikka/locale/pt_BR/LC_MESSAGES/prewikka.mo
compiling catalog prewikka/locale/it/LC_MESSAGES/prewikka.po to prewikka/locale/it/LC_MESSAGES/prewikka.mo
error: prewikka/locale/es/LC_MESSAGES/prewikka.po:1657: placeholders are incompatible
error: prewikka/locale/es/LC_MESSAGES/prewikka.po:1662: placeholders are incompatible
error: prewikka/locale/es/LC_MESSAGES/prewikka.po:1677: placeholders are incompatible
error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2028: placeholders are incompatible
error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2128: placeholders are incompatible
error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2133: placeholders are incompatible

compiling catalog prewikka/locale/es/LC_MESSAGES/prewikka.po to prewikka/locale/es/LC_MESSAGES/prewikka.mo
compiling catalog prewikka/locale/en/LC_MESSAGES/prewikka.po to prewikka/locale/en/LC_MESSAGES/prewikka.mo
compiling catalog prewikka/locale/de/LC_MESSAGES/prewikka.po to prewikka/locale/de/LC_MESSAGES/prewikka.mo
error: prewikka/locale/ru/LC_MESSAGES/prewikka.po:138: unknown named placeholder u'version'

compiling catalog prewikka/locale/ru/LC_MESSAGES/prewikka.po to prewikka/locale/ru/LC_MESSAGES/prewikka.mo
compiling catalog prewikka/locale/fr/LC_MESSAGES/prewikka.po to prewikka/locale/fr/LC_MESSAGES/prewikka.mo
running build_custom
running build_py
copying prewikka/siteconfig.py -> build/lib.linux-x86_64-2.7/prewikka
copying prewikka/locale/pl/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/pl/LC_MESSAGES
copying prewikka/locale/pt_BR/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/pt_BR/LC_MESSAGES
copying prewikka/locale/it/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/it/LC_MESSAGES
copying prewikka/locale/es/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/es/LC_MESSAGES
copying prewikka/locale/en/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/en/LC_MESSAGES
copying prewikka/locale/de/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/de/LC_MESSAGES
copying prewikka/locale/ru/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/ru/LC_MESSAGES
copying prewikka/locale/fr/LC_MESSAGES/prewikka.mo -> build/lib.linux-x86_64-2.7/prewikka/locale/fr/LC_MESSAGES
running build_scripts
running install_lib
copying build/lib.linux-x86_64-2.7/prewikka/siteconfig.py -> /usr/local/lib/python2.7/dist-packages/prewikka
copying build/lib.linux-x86_64-2.7/prewikka/locale/pl/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/pl/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/pt_BR/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/pt_BR/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/it/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/it/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/es/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/es/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/en/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/en/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/de/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/de/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/ru/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/ru/LC_MESSAGES
copying build/lib.linux-x86_64-2.7/prewikka/locale/fr/LC_MESSAGES/prewikka.mo -> /usr/local/lib/python2.7/dist-packages/prewikka/locale/fr/LC_MESSAGES
byte-compiling /usr/local/lib/python2.7/dist-packages/prewikka/siteconfig.py to siteconfig.pyc
running install_scripts
running egg_info
writing prewikka.egg-info/PKG-INFO
writing top-level names to prewikka.egg-info/top_level.txt
writing dependency_links to prewikka.egg-info/dependency_links.txt
writing entry points to prewikka.egg-info/entry_points.txt
reading manifest file 'prewikka.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'prewikka.egg-info/SOURCES.txt'
changing mode of /usr/local/bin/prewikka-httpd to 755
changing mode of /usr/local/bin/prewikka-crontab to 755
running install_egg_info
removing '/usr/local/lib/python2.7/dist-packages/prewikka-4.1.5.egg-info' (and everything under it)
Copying prewikka.egg-info to /usr/local/lib/python2.7/dist-packages/prewikka-4.1.5.egg-info
root@ubuntu:~/prewikka-4.1.5#

Any help regarding this :)


Replies (1)

RE: [Prewikka] Installation using setup.py - Added by Thomas ANDREJAK about 1 year ago

errors during setup.py are normals

With ubuntu 18.04, all prelude packages are in the ubuntu repo. Can you update your ubuntu and use them ?

Howto : https://www.prelude-siem.org/projects/prelude/wiki/InstallingPackageUbuntu

    (1-1/1)