Data file location?


Data file location?

Author
Message
tarcarter
tarcarter
Associate Member
Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)

Group: Forum Members
Posts: 2, Visits: 7
Using a Mac, I've been trying to get Inquisit to save the data files in a subfolder, rather than in the folder where the script is located. I can get it to work with surveys like so:

<data>
/ file = "Data/"
</data>

Which saves the data file into the Data folder, but I can't seem to specify what the file should be called. So if I use

<data>
/ file = "Data/DataFile.iqdat"
</data>

It gives me an error saying that the file doesn't exist. Plus, when I try this approach on a more complex script like an IAT, replacing the default filename with "Data/" the data file does not save in the folder at all, just names the file "DataData_1_2014-03-07-22-35-20-723.iqdat". What am I doing wrong? There's precious little in the documentation about how to define a file path, especially on the Mac side.

Thanks!

Dave
Dave
Supreme Being
Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)

Group: Administrators
Posts: 8.8K, Visits: 37K
Does

/ file = "./Data/DataFile.iqdat"

work?

tarcarter
tarcarter
Associate Member
Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)

Group: Forum Members
Posts: 2, Visits: 7
No, that doesn't work -- it won't run the script with "./" at the front. I tried it several different ways (with and without the directory, with and without a file after the directory), and it always returns an error:

"Unable to access the data file at "./Data/". Verify this is a valid path.



Dave
Dave
Supreme Being
Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)

Group: Administrators
Posts: 8.8K, Visits: 37K
Thanks -- sounds like some sort of bug may be involved here. I'll make sure this gets looked into.

gaumarjos
gaumarjos
Associate Member
Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)Associate Member (142 reputation)

Group: Forum Members
Posts: 2, Visits: 11
Was this ever resolved? I am having the same problem. v 4.0.8.0
Dave
Dave
Supreme Being
Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)Supreme Being (395K reputation)

Group: Administrators
Posts: 8.8K, Visits: 37K
No, not yet. For the time being, it's best to simply use the default data file location, i.e., don't specify a custom path / subdirectory.

seandr
seandr
Supreme Being
Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)Supreme Being (59K reputation)

Group: Administrators
Posts: 1.2K, Visits: 888
To clarify, if all you want is data to appear in a subfolder, the following will work: 
<data>
/ file = "subfolder/"
</data>

What doesn't work in Inquisit 4 is specifying the subfolder and
file name. This has been fixed in Inquisit 5.

-Sean


GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search