I can't add much more, than to confirm what Ben says.

The open file dialogs filter by mime types, so if the OS
doesn't recognise a file as application/x-spss-* then you
won't see it, except when "All Files" is selected.

Different operating systems have different ways of associating files
with their mime types.  On GNU/Linux for example, it's done through the 
mime-info database, which looks inside the file to check if it really is
a .sav file.  On Windows, there is a registry setting.  

I've heard that Mac has things called "UTI"s which are supposed to be 
better than mime-types.  Presumably there's a way to map from UTIs to 
mimetypes, but I have exhausted my knowlege of the subject.

J'


On Fri, Oct 26, 2012 at 08:55:27PM -0700, Ben Pfaff wrote:
     [adding pspp-dev and John because I think John might know how to
     install mime types]
     
     Yes.
     
     The likely problem here is that the dialog is selecting files,
     other than .sps files, by their mime type.  I think that you need
     to install the mime type files for application/x-spss-sav and
     application/x-spss-por in appropriate places.  I'm not exactly
     sure how to do that.
     
     I know that the Windows maintainer had to do something similar
     for the Windows build.
     
     Jeremy Lavergne <jer...@lavergne.gotdns.org> writes:
     
     > The open dialog he mentions is likely from gtk, right?
     >
     > Begin forwarded message:
     >
     >     Sorry that it took me a few days to get to this; I was traveling 
over the
     >     weekend and have only now caught up.
     >    
     >     I loaded the new test image and it loads and runs fine.  I tested it
     >     against some data and scripts I had run in SPSS and it provided 
consistent
     >     results.
     >    
     >     The only issue I'd point out is on the Open File screen.  On the file
     >     browse screen that is supposed to filter for "Data and Syntax Files" 
it
     >     only seems to identify .sps files (i.e., syntax files).  The only 
way you
     >     can see data files is to use the "All Files" filter.  I recognize 
that
     >     this is probably not an issue related to the builds that you manage, 
but I
     >     thought I'd pass it along anyway.

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
pspp-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to