babel.core.UnknownLocaleError: unknown locale 'ast'
hello there,
i try to build wicd-1.7.2.4 from the tarball but i get error when running:
python setup.py configure
Error importing wpath.py. You can safely ignore this
message. It is probably because you haven't run python setup.py
configure yet or you are running it for the first time.
Using init file name 'wpath' is not defined
Error setting up data array. This is normal if
python setup.py configure has not yet been run.
running configure
Distro is: auto
NOTICE: Automatic distro detection found: slackware, retrying with that...
Distro is: slackware
lib is /usr/lib/wicd/
share is /usr/share/wicd/
etc is /etc/wicd/
scripts is /etc/wicd/scripts/
pixmaps is /usr/share/pixmaps/
images is /usr/share/
encryption is /etc/wicd/
bin is /usr/bin/
sbin is /usr/sbin/
backends is /usr/share/
daemon is /usr/share/
curses is /usr/share/
gtk is /usr/share/
cli is /usr/share/
networks is /var/lib/
log is /var/log/wicd/
resume is /etc/acpi/resume.d/
suspend is /etc/acpi/
pmutils is /usr/lib64/
dbus is /etc/dbus-
dbus-service is /usr/share/
systemd is /lib/systemd/
logrotate is /etc/logrotate.d/
desktop is /usr/share/
icons is /usr/share/
translations is /usr/share/locale/
autostart is /etc/xdg/autostart/
varlib is /var/lib/wicd/
init is /etc/rc.d/
docdir is /usr/doc/
mandir is /usr/man/
kdedir is /usr/share/
python is /usr/bin/python
pidfile is /var/run/
initfile is init/slackware/
initfilename is wicd
wicdgroup is netdev
distro is slackware
loggroup is
logperms is 0600
Found switch ('no-install-init', None, 'do not install the init file') False
Found switch ('no-install-man', None, 'do not install the man files') False
Found switch ('no-install-
Found switch ('no-install-kde', None, 'do not install the kde autostart file') True
Found switch ('no-install-acpi', None, 'do not install the suspend.d and resume.d acpi scripts') True
Found switch ('no-install-
Found switch ('no-install-docs', None, 'do not install the auxiliary documentation') False
Found switch ('no-install-
Found switch ('no-install-cli', None, 'do not install the command line executable') False
Found switch ('no-install-gtk', None, 'do not install the gtk client') False
Found switch ('no-use-
Replacing values in template files...
Replacing values in man=wicd-
Replacing values in other=50-
Replacing values in other=wicd.conf.in other/wicd.conf
Replacing values in init=pld=wicd.in (mkdir init/pld) init/pld/wicd
Replacing values in init=arch=wicd.in (mkdir init/arch) init/arch/wicd
Replacing values in man=wicd-cli.8.in man/wicd-cli.8
Replacing values in other=wicd.
Replacing values in wicd=wpath.py.in wicd/wpath.py
Replacing values in init=suse=wicd.in (mkdir init/suse) init/suse/wicd
Replacing values in init=lunar=wicd.in (mkdir init/lunar) init/lunar/wicd
Replacing values in man=wicd-
Replacing values in scripts=
Replacing values in init=gentoo=wicd.in (mkdir init/gentoo) init/gentoo/wicd
Replacing values in wpath.py.in wpath.py
Replacing values in scripts=wicd-gtk.in scripts/wicd-gtk
Replacing values in other=55wicd.in other/55wicd
Replacing values in scripts=wicd-cli.in scripts/wicd-cli
Replacing values in man=wicd.8.in man/wicd.8
Replacing values in scripts=
Replacing values in other=80-
Replacing values in init=debian=wicd.in (mkdir init/debian) init/debian/wicd
Replacing values in man=nl=
Replacing values in other=WHEREAREM
Replacing values in scripts=wicd.in scripts/wicd
Replacing values in man=nl=
Replacing values in init=default=
Replacing values in man=nl=
Replacing values in init=slackware=
Replacing values in man=nl=wicd.8.in man/nl/wicd.8
Replacing values in man=wicd-
Replacing values in init=redhat=wicd.in (mkdir init/redhat) init/redhat/wicd
Replacing values in man=nl=
Replacing values in man=wicd-
compiling catalog 'po/nn.po' to 'translations/
compiling catalog 'po/te.po' to 'translations/
compiling catalog 'po/tr.po' to 'translations/
compiling catalog 'po/vi.po' to 'translations/
compiling catalog 'po/ru.po' to 'translations/
compiling catalog 'po/fa.po' to 'translations/
compiling catalog 'po/sl.po' to 'translations/
compiling catalog 'po/zh_HK.po' to 'translations/
compiling catalog 'po/ml.po' to 'translations/
compiling catalog 'po/pt.po' to 'translations/
compiling catalog 'po/lv.po' to 'translations/
compiling catalog 'po/da.po' to 'translations/
compiling catalog 'po/eu.po' to 'translations/
compiling catalog 'po/id.po' to 'translations/
compiling catalog 'po/es.po' to 'translations/
compiling catalog 'po/hu.po' to 'translations/
compiling catalog 'po/zh_CN.po' to 'translations/
compiling catalog 'po/nl.po' to 'translations/
compiling catalog 'po/pl.po' to 'translations/
compiling catalog 'po/sk.po' to 'translations/
compiling catalog 'po/hr.po' to 'translations/
compiling catalog 'po/bg.po' to 'translations/
compiling catalog 'po/uk.po' to 'translations/
compiling catalog 'po/fr.po' to 'translations/
compiling catalog 'po/sr.po' to 'translations/
compiling catalog 'po/ka.po' to 'translations/
compiling catalog 'po/el.po' to 'translations/
compiling catalog 'po/nb.po' to 'translations/
compiling catalog 'po/fi.po' to 'translations/
compiling catalog 'po/ro.po' to 'translations/
compiling catalog 'po/sv.po' to 'translations/
compiling catalog 'po/de.po' to 'translations/
compiling catalog 'po/ja.po' to 'translations/
compiling catalog 'po/ko.po' to 'translations/
compiling catalog 'po/pt_BR.po' to 'translations/
Traceback (most recent call last):
File "/usr/bin/pybabel", line 9, in <module>
load_
File "/usr/lib64/
return CommandLineInte
File "/usr/lib64/
return getattr(self, cmdname)(args[1:])
File "/usr/lib64/
catalog = read_po(infile, locale)
File "/usr/lib64/
catalog = Catalog(
File "/usr/lib64/
locale = Locale.
File "/usr/lib64/
return cls(*parse_
File "/usr/lib64/
raise UnknownLocaleEr
babel.core.
compiling catalog 'po/gl.po' to 'translations/
compiling catalog 'po/lt.po' to 'translations/
compiling catalog 'po/he.po' to 'translations/
compiling catalog 'po/en.po' to 'translations/
compiling catalog 'po/ca.po' to 'translations/
compiling catalog 'po/it.po' to 'translations/
compiling catalog 'po/cs.po' to 'translations/
compiling catalog 'po/et.po' to 'translations/
compiling catalog 'po/zh_TW.po' to 'translations/
compiling catalog 'po/eo.po' to 'translations/
compiling catalog 'po/kk.po' to 'translations/
if i run
python setup.py install
this ends up with:
error: can't copy 'translations/
can someone, please, advise me what to do in order to build wicd?
i really can't see if i didn't properly install babel or if there some dependencies missing.
thanks in advance,
--
nirinA
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- wicd Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- David Paleino
- Solved:
- 2012-11-18
- Last query:
- 2012-11-18
- Last reply:
- 2012-11-18
|
#1 |
Just delete po/ast.po.
Unfortunately, Asturian (ast) is not yet supported by pybabel (so it's really a bug in pybabel).
Thus, it requires some workarounds, like either deleting it, or compiling it by hand. So, unless you need the Asturian translation, just delete it :)
I'm planning on switching back from pybabel, and just use the old plain "msgfmt" from gettext.
yes, i deletde po/ast.po and the installation succeeded.
thanks a lot,
--
nirinA