[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import
From: |
Andreas Lappe |
Subject: |
PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import |
Date: |
Mon, 09 Aug 2010 09:10:09 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/534.5+ (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8 |
Follow-up Comment #2, bug #30690 (project pspp):
I'm not sure if I can provide the appropriate aswers as I'm completely new to
both SPSS and PSPP and I'm not used to write syntax either.
I pasted the combined syntax+data-file from my survey into a new syntax
window and selected run->all. This brought up:
The error is: Syntax1:12: syntax error: Input format DATETIME0.0
specifies width 0, but DATETIME requires a width between 17 and 40.
When changed to DATETIME20 (John Darrington helped me with that) it still
brought up the following:
Syntax1:70: data file warning: (columns 33-32, DATETIME field) Syntax error
in date field.
Syntax1:71: data file warning: (columns 33-32, DATETIME field) Syntax error
in date field.
Syntax1:72: data file warning: (columns 36-35, DATETIME field) Syntax error
in date field.
Syntax1:73: data file warning: (columns 3-2, F field) Field contents are not
numeric.
Syntax1:73: data file warning: (columns 36-35, F field) Field contents are
not numeric.
Syntax1:73: data file warning: (columns 62-61, DATETIME field) Delimiter
expected between fields in date.
Syntax1:73: data file warning: (columns 71-70, F field) Field contents are
not numeric.
The gui tells me there are 1770 messages in total, it displays 110 and I just
selected the first seven of them above.
Even though these messages come up, it loads them but the fields are wrong
(as in every line has a offset).
That's where I switched to SPSS-demo, imported the file, wrote a .sav and
imported that into PSPP. Worked fine.
To your other questions: It is a DATA LIST FREE(TAB) and one line out of it
looks like that (I replaced Tabs my ' t ' to make the list a bit more readable
in this webview):
1 t t t 11 t surveyname t interview t 24-07-2010 14:22:05 t 1 t 2 t 3 t 2 t
3 t t 2 t t 1 t 1 t 2 t 2 t 1 t t t t t t t t 1 t 1 t 2 t 1 t 3 t 2 t
2 t 1 t t t t t t t t t t t t 1 t 2 t 2 t 1 t 1 t t
I hope that helps... if you need more informations, tell me.
All this was happening in PSPP 0.6.2 on Ubuntu (straight from repository).
For performance reasons I left the vm out now and build PSPP via Macports,
which brought up some more problems but with the .sav file it works fine.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30690>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, anonymous, 2010/08/08
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, Ben Pfaff, 2010/08/08
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import,
Andreas Lappe <=
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, Ben Pfaff, 2010/08/12
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, Andreas Lappe, 2010/08/12
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, Ben Pfaff, 2010/08/12
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, Andreas Lappe, 2010/08/13
- PSPP-BUG: [bug #30690] DATETIME without width and quotes fails to import, Ben Pfaff, 2010/08/13