[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#227652: gettext: msginit segfaults if input file has no header. (fwd
From: |
Santiago Vila |
Subject: |
Bug#227652: gettext: msginit segfaults if input file has no header. (fwd) |
Date: |
Wed, 14 Jan 2004 12:23:30 +0100 (CET) |
Hello.
Received this from the Debian bug system:
---------- Forwarded message ----------
From: Josep Puigdemont <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Wed, 14 Jan 2004 06:15:29 +0100
Subject: Bug#227652: gettext: msginit segfaults if input file has no header.
Package: gettext
Version: 0.13.1-1
Severity: normal
If I try to initialize the metainformation with msgint of a message catalog (po
file) that has no header it will produce a segmentation fault.
The complete command line I used, including its output, is this:
$ msginit -i original.pot -l ca -o pa.po
The new message catalog should contain your email address, so that users
can give you feedback about the translations, and so that maintainers can
contact you in case of unexpected technical problems.
Is the following your email address?
address@hidden
Please confirm by pressing Return, or enter your email address.
Exception in thread "main" java.lang.NoClassDefFoundError: gnu/gettext/GetURL
Please visit your translation team's homepage at
http://www.iro.umontreal.ca/translation/HTML/team-ca.html
http://www.iro.umontreal.ca/contrib/po/HTML/teams.html
http://www.iro.umontreal.ca/contrib/po/HTML/translators.html
http://www.iro.umontreal.ca/contrib/po/HTML/index.html
and consider joining your translation team's mailing list
<address@hidden>
Segmentation fault
$
The file original.pot begins like this:
msgid ""
msgstr ""
"Project-Id-Version: \n"
"PO-Revision-Date: YYYY-MM-DD HH:MM TZO DST\n"
"Last-Translator: \n"
"Language-Team: <address@hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8-bit\n"
It will work if I add a header like this one:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE
# package.
# FIRST AUTHOR <address@hidden>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
[...]
I filed this bug to gettext because
dpkg --search msginit
indicated gettext as the package it belongs to.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux deimos 2.4.24-1 #2 SMP Tue Jan 13 06:56:30 CET 2004 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages gettext depends on:
ii gettext-base 0.13.1-1 GNU Internationalization utilities
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
-- no debconf information
- Bug#227652: gettext: msginit segfaults if input file has no header. (fwd),
Santiago Vila <=