On 25 Jun., 18:19, Nandan Bagchee <[email protected]> wrote: > I am going to assume that it's because the class employee is not defined. Can > you (using C-c C-c) ensure that the defclass is evaluated before running the > create-view-from-class forms?
Sorry that it took me so long to answer, I've been abroad. You are right, if I evaluate employee it is not defined, and the call to create-view-from-class gives the same exception when called with NIL. However, C-c C-c or M-C-x in the employee.lisp file (containing the clsql:def-view-class form) does not change this. Should there be a defclass? I couldn't find one in the directory tree of the clsql demo. > Please also let us know where you installed weblocks from, and how you > obtained the dependencies (clbuild?). > I am using clbuild. The procedure I used to install everything in Ubuntu 9.10 is roughly as below. Thanks for your help, Felix #Install procedure: sudo aptitude install xemacs slime sbcl sudo aptitude install darcs curl git-core mercurial -R darcs get http://common-lisp.net/project/clbuild/clbuild cd clbuild/ darcs gzcrcs --check darcs gzcrcs --repair chmod u+x clbuild ./clbuild check ./clbuild install weblocks cl-prevalence ./clbuild install trivial-backtrace #set asd-file links for the weblock demos #CLSQL-Fluid patch: pushd ./source/clsql/ git remote add s11 git://repo.or.cz/clsql/s11.git git fetch s11 git checkout -b fluid-pools s11/fluid-pools popd cd ./systems/ ln -s ../source/clsql/clsql-fluid.asd -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
