bugPSPP - Bugs: bug #59055, The pspp 1.4.0 released pspp.pot...

 
 

bug #59055: The pspp 1.4.0 released pspp.pot file is buggy.

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Wed 02 Sep 2020 07:41:03 PM UTC  
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 05 Sep 2020 03:02:53 AM UTC, comment #2: 

I fixed the underlying problem.

John Darrington <jmd>
Project Administrator
Thu 03 Sep 2020 05:28:03 AM UTC, comment #1: 

For some reason, the version in the 1.4.0 tarball is the wrong version!

If you look at the header it is the pspp.pot file for version 1.3.0:

"Project-Id-Version: pspp 1.3.0\n"

Somehow, the wrong version got bundled.  I wonder if this is a problem with the "make dist" target?

John Darrington <jmd>
Project Administrator
Wed 02 Sep 2020 07:41:03 PM UTC, original submission:  

During my poor attempt to change the three buggy translations in the nl.po file I figured out the the pspp.pot file on the translations page is different from the version that I build on MacOS. The version on the translations page is taken from the 1.4.0 release tgz file.

The released pspp.pot file has some problems. Problems I found:

multiline text

The following code

src/data/sys-file-reader.c: 2297
      sys_warn (r, offset,
                _("Weight variable index %d not in valid range 1...%zu.  "
                  "Treating file as unweighted."),
                idx, n_var_recs);

Produces on the MacOS build with gettext version 0.20.2 a pspp.pot file with:

#: src/data/sys-file-reader.c:2297
#, c-format
msgid ""
"Weight variable index %d not in valid range 1...%zu.  Treating file as "
"unweighted."
msgstr ""

The 1.4.0 released pot file contains

#: src/data/sys-file-reader.c:2289
#, c-format
msgid "Weight variable index %d not in valid range 1...%zu."
msgstr ""

=> The second line is missing.

metainfo.xml

The complete src/ui/gui/org.fsf.pspp.metainfo.xml.in msgids are missing.

Strange msgid which is not in the code

I could not find this in the source:

#: src/ui/gui/helper.c:210
msgid "Sorry. The help system hasn't yet been implemented."
msgstr ""

  • Version*

Release: "Project-Id-Version: pspp 1.3.0\n"
MacOS build: "Project-Id-Version: pspp 1.4.0\n"

Is the released pot file an old pot file?

The diff for the msgids:

Fredo:pspp fritz$ diff build/po/pspp.pot pspp-1.4.0/po/pspp.pot | grep msgid
> msgid "Sorry. The help system hasn't yet been implemented."
< msgid "Renaming variable with invalid name `%s' to `%s'."
< msgid "Value label variable index %d not in valid range 1...%zu."
> msgid "Variable index %d not in valid range 1...%zu."
< msgid "Value label variable index %d refers to long string continuation."
> msgid "Variable index %d refers to long string continuation."
< msgid "Suppressed %d additional warnings for value labels."
> msgid "Suppressed %d additional related warnings."
< msgid ""
> msgid "Weight variable index %d not in valid range 1...%zu."
< msgid ""
> msgid "Weight variable index %d refers to long string continuation."
< msgid "Suppressed %d additional related warnings."
< msgid "Variable Type and Format"
< msgid "GNU PSPP is a program for statistical analysis of sampled data"
< msgid ""
< msgid ""
< msgid "A brief list of some of the PSPP's features."
< msgid "Support for over 1 billion cases"
< msgid "Support for over 1 billion variables"
< msgid "Syntax and data files which are compatible with those of SPSS"
< msgid "A choice of terminal or graphical user interface"
< msgid "A choice of text, postscript, pdf, opendocument or html output formats"
< msgid ""
< msgid "Easy data import from spreadsheets, text files and database sources"
< msgid ""
< msgid "A user interface supporting all common character sets"
< msgid "A user interface has been translated to multiple languages"
< msgid "Very fast statistical procedures, even on very large data sets"
< msgid "No license fees and no expiration period"
< msgid "No unethical “end user license agreements”"
< msgid "A fully indexed user manual"
< msgid "Freedom ensured; It is licensed under the GPLv3 or later"
< msgid ""
< msgid ""
< msgid "GNU PSPP Variable View"
> msgid "pspp"
Fredo:pspp fritz$

Friedrich Beckmann <beckmanf>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by beckmanf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-05 jmd StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2020-09-03 jmd StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.5