bugPSPP - Bugs: bug #53066, MacOS 1.0.1-1 Quartz version: Data...

 
 

bug #53066: MacOS 1.0.1-1 Quartz version: Data save problem with Umlaute

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Mon 05 Feb 2018 01:23:16 PM UTC
   
 
Category:  System/Portable File I/O Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 Nov 2018 08:28:36 PM UTC, comment #1: 

The cause of this problem was that the application bundle sets the environment variables for language settings. I removed all the code in the launcher script that changes these environment variables.

I tested this with pspp 1.2.0 release. This problem is not related to the pspp code. It is only related to the application bundle for MacOS.

I fixed the problem with

https://github.com/fredowski/osxbundler/commit/be6d1ed6f8c5238c64f201966ca5a44ea042b465

Friedrich Beckmann <beckmanf>
Group Member
Mon 05 Feb 2018 01:23:16 PM UTC, original submission:  

Meimuna Kahf reported a problem when saving data as .sav file when variable names contain german Umlaute like ä or ö. The bug report was here:

http://lists.gnu.org/archive/html/pspp-users/2018-02/msg00000.html

I could reproduce the problem on my Mac. The setup is:

MacOS El Capitan 10.11.6
PSPP 1.0.1-1 Application Bundle based on MacPorts Quartz version
PSPP 0.10.2 Application Bundle with Quartz has the same bug.
The problem does not show up in the default MacPorts 1.0.1 X11 Version.

To reproduce the problem:

a) Open a new file
b) Create a Variable Käse
c) Put in some data in the data view
d) Save the data as test.sav
e) Reopen pspp
f) Open test.sav
g) => The file does not open with error: Non Valid Variable Name K??SE

My guess is that there is some problem with the Quartz implementation and/or localization settings in the bundle. The problem is the file write. I can create and write
the file with the macports X11 version and then read this file with the Quartz version. This quartz version is build with a custom glib/gio to circumvent the mime handling problem in glib/gio as discussed here:

https://bugzilla.gnome.org/show_bug.cgi?id=788936#c51

However that was not the case with 0.10.2.

Thanks for reporting the bug!




Friedrich Beckmann <beckmanf>
Group 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 beckmanf (Submitted the item)
  • -email is unavailable- added by beckmanf (Original reporter)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-16 beckmanf StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-02-05 beckmanf Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code