bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #41475] underscores in variable names break import with '


From: anonymous
Subject: PSPP-BUG: [bug #41475] underscores in variable names break import with 'duplicate variable name' error
Date: Wed, 05 Feb 2014 23:32:01 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1626.0 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?41475>

                 Summary: underscores in variable names break import with
'duplicate variable name' error
                 Project: PSPP
            Submitted by: None
            Submitted on: Wed 05 Feb 2014 11:32:00 PM UTC
                Category: System/Portable File I/O
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

The bug I ran into is probably similar to this old email on the mailinglist:

http://lists.gnu.org/archive/html/pspp-users/2013-04/msg00049.html

I have a .sav file that has a few variables with very similar names including
underscores in the name. SPSS opens the file fine, but PSPP breaks with an
error: Duplicate variable name.

I'm attaching a file with a few variables of type string with a wifth  of >
700 characters. Trying to reproduce the bug, the width of the variable seems
to be the culprit, since I've tried changing the widths to lower values and
there was no issue.

The issue seems to be related to the way long string variables are broken up
and stored internally. I assume this is done via a stem and an appended
integer separated by an underscore. When the original variable name already
includes a combination of stem and integer separated by an underscore, the I/O
process breaks on import with a 'duplicate variable name' error.

This was confirmed on OS X 10.8.4 in 

pspp --version
pspp (GNU PSPP) 0.8.1
Packaged by snc (0.8.1)

and on Ubuntu 12.04 in
pspp --version
pspp (GNU PSPP) 0.7.9





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 05 Feb 2014 11:32:00 PM UTC  Name: testfile.sav  Size: 71kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=30468>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41475>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]