[ACT-R-users] Trouble with Experiment Window in CCL

db30 at andrew.cmu.edu db30 at andrew.cmu.edu
Tue Mar 26 14:42:38 EDT 2013


That should work just fine, and does on my Windows 7 machine with the same
CCL and ACT-R 6 r1227.  There are basically three things that would lead
to it reporting "Cannot make a visible window" as far as I can tell:

- The environment isn't connected or the connection has been dropped.
- The option to use windows in the environment GUI has been disabled.
- Something has been modified in the ACT-R code which breaks things.

Looking at the trace you show I suspect that it's the third of those.
The reason I suspect that is the line that says:

Loading ./devices/virtual/uwi.lisp

right after you load the ACT-R load file.  That looks to me like you're
loading a custom version of the code that handles the virtual windows
instead of the default code because when I load r1227 it looks like this:

? (load "C:/users/db30/desktop/test/1227/actr6/load-act-r-6.lisp")
;Compiler warnings for "C:/users/db30/desktop/test/1227/actr6/environment/env-de
vice.lisp" :
;   In an anonymous lambda form at position 3313: Duplicate definitions of VISIB
LE-VIRTUALS-AVAILABLE?, in this file and in "C:/users/db30/desktop/test/1227/act
r6/devices/virtual/uwi.lisp"

##################################
ACT-R Version Information:
...

I don't know why you're loading a custom uwi.lisp file, but the first thing
I'd recommend is checking out a fresh version of r1227 and then not loading
that file to see if the problem still persists.

Dan

PS
You can save yourself some typing when loading models in the ACT-R 6
distribution by using the logical host ACT-R6 which is created for the
directory in which the ACT-R load file is located.  Thus, you could just
do this to load the bst-nolearn model:

? (load "ACT-R6:tutorial;unit6;bst-nolearn.lisp")
#P"C:/users/db30/desktop/test/1227/actr6/tutorial/unit6/bst-nolearn.lisp"


PPS
The bst problem you've set up in that call is unsolvable. :)

--On Tuesday, March 26, 2013 1:06 PM -0400 Stu Rodgers <stu10887 at gmail.com> 
wrote:

>
> Dear ACT-R Users Mailing List,
>  
>   I am having a bit of trouble getting experiment windows to display when
> running CCL.
>   Below is the lisp trace.  I am running ACT-R 6 r1227.  Also, I am using
> the tutorial from unit 6. Lastly, I am running the start-environment.exe that
> ships with r1227.
>   Operating system is Windows 7.
>   Any ideas would be appreciated.
> Thank you!
> Stu
>  
> *****************************************************************************
> *********
>
> ; Loading home ccl-init file.
> Welcome to Clozure Common Lisp Version 1.8-r15286M  (Windowsx8664)!
> ? (load
> "C:/Users/stuart.rodgers/palm/branches/cl/synavo/synavo/tools/actr6_r1227/loa
> d-act-r-6.lisp")
>  Loading ./devices/virtual/uwi.lisp
>##################################
> ACT-R Version Information:
> Framework             : 1.4 [r1227]
> production-compilation: 1.5        A module that assists the primary
> procedural module with compiling productions
> declarative           : 1.3        The declarative memory
> module stores chunks from the buffers for retrieval
> central-parameters    : 1.1        a module that maintains
> parameters used by other modules
> procedural            : 2.0a1      The procedural module
> handles production definition and execution
> retrieval-history     : 1.1        Module to record retrieval
> history for display in the environment.
> goal                  : 1.1        The goal module
> creates new goals for the goal buffer
> buffer-trace          : 1.0        A module that provides a
> buffer based tracing mechanism.
> buffer-history        : 1.0        Module to record buffer
> change history for display in the environment.
> device                : 1.2        The device interface
> for a model
> random-module         : 1.0        Provide a good and
> consistent source of pseudorandom numbers for all systems
> naming-module         : 1.3        Provides safe and
> repeatable new name generation for models.
> bold                  : 2.0        A module to
> produce BOLD response predictions from buffer request activity.
> temporal              : 1.0b5      The temporal module is
> used to estimate short time intervals
> utility               : 2.2        A module that
> computes production utilities
> vision                : 3.1        A module to provide
> a model with a visual attention system (which now uses chunks internally)
> buffer-params         : 1.0        Module to hold and control
> the buffer parameters
> environment           : 3.0        A module to handle the
> environment connection if opened
> production-history    : 1.1        Module to record production
> history for display in the environment.
> audio                 : 2.3        A module which
> gives the model an auditory attentional system
> speech                : 2.2        A module to provide
> a model with the ability to speak
> printing-module       : 1.0        Coordinates output of the
> model.
> imaginal              : 1.2        The imaginal module
> provides a goal style buffer with a delay and an action buffer for
> manipulating the imaginal chunk
> motor                 : 2.3        Module to provide a
> model with virtual hands
>######### Loading of ACT-R 6 is complete #########
># P"C:/Users/stuart.rodgers/palm/branches/cl/synavo/synavo/tools/actr6_r1227/l
># oad-act-r-6.lisp"
> ? (start-environment)
># S(environment-connection :stream #<basic-tcp-stream iso-8859-1 (socket/1148)
># #x21011D52BD> :local 1 :process #<process Environment-Connection(2) [Active]
># #x21011D359D> :handlers #<hash-table :test eq
> l size 0/60 #x21011D452D> :hooks #<hash-table :test eql size 0/60
> #x21011D3F1D>)
> ? (load
> "C:/Users/stuart.rodgers/palm/branches/cl/synavo/synavo/tools/actr6_r1227/tut
> orial/unit6/bst-nolearn.lisp")
># P"C:/Users/stuart.rodgers/palm/branches/cl/synavo/synavo/tools/actr6_r1227/t
># utorial/unit6/bst-nolearn.lisp"
> ? (do-experiment '(12 6 18 20) 'human)
> Cannot make a visible window, you must use virtual.
>> Error: There is no applicable method for the generic function:
>>           #<standard-generic-function select-rpm-window
>> #x2100F20A7F>         when called with arguments:
>>           (nil)
>> While executing: #<ccl::standard-kernel-method no-applicable-method (t)>, in
>> process listener(1). Type :GO to continue, :POP to abort, :R for a list of
>> available restarts. If continued: Try calling it again
>> Type :? for other options.
> 1 >








More information about the ACT-R-users mailing list