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

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  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

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

    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
    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.3