Log Data - Error 10 & 86.

129 views
Skip to first unread message

Bo Arleth

unread,
Apr 15, 2012, 3:07:30 PM4/15/12
to E-Prime
Hello E-primepeople

I am having a problem with my experiment, and as luck would have it,
it is the last thing that needs doing. I've been searching everywhere
for a solution, but now i need some assistance. I have attached my
experiment, so you can see the code.
But whenever i go to the procedure, and try to disable "Log Data" for
my FeedbackScript (An inline object that comes before the Feedback-
slide), the .txt file will not convert to the .edat2, and gives me an
error - Illegal number of levels logged or the datafile did not
convert. Either Error 10 or 86. This msg ofcourse comes right at the
end of the experiment. As soon as i enable "Log Data" for the
feedbackscript it succesfully converts the .txt file to .edat2.
Is there any way to bypass this? Or any suggestions on how to fix it?
The reason I want to disable the logging for this script is because it
has alot of useless attributes set for coordinates and such, and these
attributes clutter up the data file, and ruins its already streamlined
look :)

Please write if you need more infomation from me.

David McFarlane

unread,
Apr 16, 2012, 10:52:17 AM4/16/12
to e-p...@googlegroups.com
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at
http://support.pstnet.com/e%2Dprime/support/login.asp , and they
strive to respond to all requests in 24-48 hours -- this is pretty
much their substitute for proper documentation, so make full use of
it. 3) In addition, PST takes questions at their Facebook page
(http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683
), and offers several instructional videos there and on their YouTube
channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet,
though). 4) If you do get an answer from PST staff, please extend
the courtesy of posting their reply back here for the sake of others.

That said, here is my take...

First, are you sure that you are disabling LogData on only the InLine
object, and not for the entire Procedure that contains the InLine? I
just checked, and even the latest release of EP (2.0.10.182) shows no
way to disable LogData for an InLine.

In that case, I suspect that you have actually disabled LogData for
the entire Procedure. As you have discovered, disabliing LogData for
a Procedure requires a great deal of finesse, and should be done only
by the most advanced users under unusual circumstances. And AFAIK
LogData is not documented anywhere.

So, just leave LogData enabled. Yes, all the c.SetAttrib commands
will leave extra junk in your .edat file, we have all just had to
live with that. Although, according to
http://www.pstnet.com/support/kb.asp?TopicID=3618 , the latest
release of EP2 now includes a way to disable logging of specified
Context attributes.

-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (twitter.com/EPrimeMaster)

Bo Arleth

unread,
Apr 17, 2012, 9:55:46 AM4/17/12
to E-Prime
Ok, I'll guess I'll just have to live with as you said. But I checked
once again, and it is just the Inline Script, which is disabled.
So maybe in the future E-prime will add this function, so you have
more control over your datafile.

Kind Regards
Bo Arleth

On 16 Apr., 16:52, David McFarlane <mcfar...@msu.edu> wrote:
> Stock reminder:  1) I do not work for PST.  2) PST's trained staff
> take any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they
> strive to respond to all requests in 24-48 hours -- this is pretty
> much their substitute for proper documentation, so make full use of
> it.  3) In addition, PST takes questions at their Facebook page
> (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683
> ), and offers several instructional videos there and on their YouTube
> channel (http://www.youtube.com/user/PSTNET) (no Twitter feed yet,
> though).  4) If you do get an answer from PST staff, please extend
> the courtesy of posting their reply back here for the sake of others.
>
> That said, here is my take...
>
> First, are you sure that you are disabling LogData on only the InLine
> object, and not for the entire Procedure that contains the InLine?  I
> just checked, and even the latest release of EP (2.0.10.182) shows no
> way to disable LogData for an InLine.
>
> In that case, I suspect that you have actually disabled LogData for
> the entire Procedure.  As you have discovered, disabliing LogData for
> a Procedure requires a great deal of finesse, and should be done only
> by the most advanced users under unusual circumstances.  And AFAIK
> LogData is not documented anywhere.
>
> So, just leave LogData enabled.  Yes, all the c.SetAttrib commands
> will leave extra junk in your .edat file, we have all just had to
> live with that.  Although, according tohttp://www.pstnet.com/support/kb.asp?TopicID=3618, the latest

Bo Arleth

unread,
Apr 17, 2012, 9:56:15 AM4/17/12
to E-Prime
And thanks David for the answer.

David McFarlane

unread,
Apr 17, 2012, 10:11:48 AM4/17/12
to e-p...@googlegroups.com
Bo,

You're welcome. I am curious about how you disabled LogData for only
your InLine object, could you please provide details?

Also, just to re-emphasize that E-Prime *has* added the feature you
describe, only at a more granular attribute-by-attribute basis -- see
http://www.pstnet.com/support/kb.asp?TopicID=3618 .

Regards,
-- David McFarlane

Susan Campbell

unread,
Apr 17, 2012, 10:17:37 AM4/17/12
to e-p...@googlegroups.com
Hi Bo,

I agree with David that there isn't any way (that I've ever heard of, anyway) to turn logging off for just an InLine -- whatever you actually type in an InLine just goes directly into the script.

I can think of three ways you could try to deal with the problem you describe, off the top of my head:
1. Turn off logging for particular attributes (columns in your list, done in the list view).
2. Log the data before you turn logging off, by using a c.Log command or something.
3. Create your own data file that only has the stuff you want and ignore the default E-Prime data file.

HTH,
Susan

David McFarlane

unread,
Apr 17, 2012, 10:25:10 AM4/17/12
to e-p...@googlegroups.com
Never mind, I see at http://www.pstnet.com/forum/Topic5903-2-1.aspx
that, as I suspected, Log Data was disabled for an entire
*Procedure*, not just for an InLine object.

(Note to all, although I check the PST Forum almost daily (as a sort
of personal brain teaser), I almost never respond there because
people confuse the PST Forum with PST Web Support, and I do not wish
to contribute to that confusion. If people want my attention then
they need to post here, as Bo did).

-- David McFarlane

>--
>You received this message because you are subscribed to the Google
>Groups "E-Prime" group.
>To post to this group, send email to e-p...@googlegroups.com.
>To unsubscribe from this group, send email to
>e-prime+u...@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/e-prime?hl=en.

David McFarlane

unread,
Apr 17, 2012, 10:38:52 AM4/17/12
to e-p...@googlegroups.com
Susan,

Thanks for weighing in. Just a few clarifiers, in reverse order...

Your #3, done with care, clearly will accomplish whatever you program it to do.

#2 is clever, and might work if applied with finesse -- one would
disable Log Data for the whole Procedure, then apply c.Log *before*
running any c.SetAttrib commands. A problem arises, however, if
later in the Procdure you have additional data to log, e.g., a
subject response. Then you would have to run c.Log again, and at
that time it would log all of the attributes defined by the earlier
c.SetAttrib commands. Until EP2.0.10.182, there was absolutely no
way around that.

#1 would indeed work for ordinary List attributes, but does not quite
apply to Bo's case, because he is using Context attributes in inline
statements (i.e., c.SetAttrib commands). Up until EP2.0.10.182, EP
provided no way to disable logging of Context attributes -- I know,
because I asked PST about this (sorry, I can't find a link for that
right now). But as I have posted here, EP2.0.10.182 now provides a
way to disable logging of individual Context attributes.

Thanks for contributing,
-- David McFarlane

> athttp://<http://support.pstnet.com/e%2Dprime/support/login.asp>support.pstnet.com/e%2Dprime/support/login.asp,

> and they
> > strive to respond to all requests in 24-48 hours -- this is pretty
> > much their substitute for proper documentation, so make full use of
> > it. 3) In addition, PST takes questions at their Facebook page
> >

> (<http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683>http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683

>
> > ), and offers several instructional videos there and on their YouTube
> > channel

> (<http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET)

> (no Twitter feed yet,
> > though). 4) If you do get an answer from PST staff, please extend
> > the courtesy of posting their reply back here for the sake of others.
> >
> > That said, here is my take...
> >
> > First, are you sure that you are disabling LogData on only the InLine
> > object, and not for the entire Procedure that contains the InLine? I
> > just checked, and even the latest release of EP (2.0.10.182) shows no
> > way to disable LogData for an InLine.
> >
> > In that case, I suspect that you have actually disabled LogData for
> > the entire Procedure. As you have discovered, disabliing LogData for
> > a Procedure requires a great deal of finesse, and should be done only
> > by the most advanced users under unusual circumstances. And AFAIK
> > LogData is not documented anywhere.
> >
> > So, just leave LogData enabled. Yes, all the c.SetAttrib commands
> > will leave extra junk in your .edat file, we have all just had to
> > live with that. Although, according

> tohttp://<http://www.pstnet.com/support/kb.asp?TopicID=3618>www.pstnet.com/support/kb.asp?TopicID=3618,

> the latest
> > release of EP2 now includes a way to disable logging of specified
> > Context attributes.
> >
> > -----
> > David McFarlane
> > E-Prime training
> >
> online:

> <http://psychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx
>
> > Twitter: @EPrimeMaster
> (<http://twitter.com/EPrimeMaster>twitter.com/EPrimeMaster)

> athttp://<http://support.pstnet.com/e%2Dprime/support/login.asp>support.pstnet.com/e%2Dprime/support/login.asp,

> and they
> > strive to respond to all requests in 24-48 hours -- this is pretty
> > much their substitute for proper documentation, so make full use of
> > it. 3) In addition, PST takes questions at their Facebook page
> >

> (<http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683>http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683

>
> > ), and offers several instructional videos there and on their YouTube
> > channel

> (<http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET)

> (no Twitter feed yet,
> > though). 4) If you do get an answer from PST staff, please extend
> > the courtesy of posting their reply back here for the sake of others.
> >
> > That said, here is my take...
> >
> > First, are you sure that you are disabling LogData on only the InLine
> > object, and not for the entire Procedure that contains the InLine? I
> > just checked, and even the latest release of EP (2.0.10.182) shows no
> > way to disable LogData for an InLine.
> >
> > In that case, I suspect that you have actually disabled LogData for
> > the entire Procedure. As you have discovered, disabliing LogData for
> > a Procedure requires a great deal of finesse, and should be done only
> > by the most advanced users under unusual circumstances. And AFAIK
> > LogData is not documented anywhere.
> >
> > So, just leave LogData enabled. Yes, all the c.SetAttrib commands
> > will leave extra junk in your .edat file, we have all just had to
> > live with that. Although, according

> tohttp://<http://www.pstnet.com/support/kb.asp?TopicID=3618>www.pstnet.com/support/kb.asp?TopicID=3618,

> the latest
> > release of EP2 now includes a way to disable logging of specified
> > Context attributes.
> >
> > -----
> > David McFarlane
> > E-Prime training
> >
> online:

> <http://psychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx
>
> > Twitter: @EPrimeMaster
> (<http://twitter.com/EPrimeMaster>twitter.com/EPrimeMaster)

Susan Campbell

unread,
Apr 17, 2012, 11:29:15 AM4/17/12
to e-p...@googlegroups.com
Hi David,

Oh, good point on #1. I had to check for myself, because it's actually pretty unexpected behavior -- even if you have a list attribute, and you tell it not to log, it will still log it if you change the value in your code. Learn something new every day.

You're absolutely right about #2, of course, though I guess I assumed that since the OP referred to feedback that it was just the tail end of the procedure. (It looks like the c.Log at the end of the procedure is all that "turning logging off" affects anyway. Hm.)

I vote #3 is the one that actually solves the OP's problem -- E-Prime data files aren't, by their nature, streamlined. They're bloated with (what's usually) extra stuff so it's easy to go back and check that things went the way you expected.

(I might say something else on the forum post, but forum verification emails appear to be hosed.)

Thanks for the clarifications!
Susan

Bo Arleth

unread,
Apr 18, 2012, 9:58:21 AM4/18/12
to E-Prime
Thank you both for the replys and the claryfication
I will try your #2 option, when I get the chance. It might work, but
I'm not sure, how you turn off logging for the entire procedure.
Maybe you could clarify this? I'm talking about BlockProc.
Otherwise option #3 is the best solution. But this requires a bit more
coding on my part, and knowledge about the commands.
Is it possible, that one of you have an experiment, where the code for
logging is included, that I could have for reference?

Kind Regards
Bo
> ...
>
> læs mere »

David McFarlane

unread,
Apr 18, 2012, 11:18:48 AM4/18/12
to e-p...@googlegroups.com
Bo,

BlockProc *is* a Procedure. When you disabled Log Data for BlockProc,
you disabled logging for that entire Procedure. Hope that clarifies
matters.

Your best option is actually #4, upgrade to EP2.0.10.182 where it
includes facilities to disable logging of individual Context attributes.
Otherwise, I think your best option is #0, just log everything and
deal with it later in the .edat file. In fact, if you get proper
training in the use of E-DataAid, you will see how to use E-DataAid to
filter out extraneous columns and focus on data of interest. I include
a lesson on this in my online course.

Regards,


-----
David McFarlane
E-Prime training online:
http://psychology.msu.edu/Workshops_Courses/eprime.aspx

Twitter: @EPrimeMaster (twitter.com/EPrimeMaster)

>> l�s mere �
>

Susan Campbell

unread,
Apr 18, 2012, 3:36:29 PM4/18/12
to e-p...@googlegroups.com
Hi Bo,

What David said about turning logging off -- you've already done that in the code you posted.

There is an example of writing your own data file that PST provides:
http://www.pstnet.com/support/samples.asp?Mode=View&SampleID=13

To be honest, I just deal with any extra columns, personally. No one else is going to see the raw data file anyway, so it doesn't matter how ugly it is. 

HTH,
Susan
Reply all
Reply to author
Forward
0 new messages