Ok, found a solution to this one: restart slime. I first copied the
file instead of symbolic linking it. Tried, failed, made it a link,
but didn't restart slime.

New Problem:
The readme of the clsql-demo:
1. Go into conf/stores.lisp and configure the CLSQL store to point to
   your database.
2. Load WEBLOCKS-CLSQL-DEMO into the Lisp environment.
3. Run (START-WEBLOCKS) command.
4. Create appropriate tables in the database by evaluating the
   following expressions:
     (clsql-sys:create-view-from-class 'employee)
     (clsql-sys:create-view-from-class 'company)
     (clsql-sys:create-view-from-class 'address)

These expressions from 4 fail:
There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION CLSQL-SYS:DATABASE-TYPE (3)>
when called with arguments
  (NIL).
   [Condition of type SIMPLE-ERROR]

I understand, that it resolves 'employee to NIL,
but I have no more ideas how to change that.

I configured the database, loaded the demo with
(require 'WEBLOCKS-CLSQL-DEMO) and start
with (weblocks:start-weblocks).
I also tried
(asdf:operate 'asdf:load-op 'weblocks-clsql-demo)
and
(in-package :weblocks-clsql-demo)
and I tried to prepend the package in the command:
(clsql-sys:create-view-from-class 'weblocks-clsql-demo:employee)

Any ideas? I guess it is an easy problem for someone
with more knowledge about lisp. For me it's a roadblock.

In the browser I get a poem about steve russel and
an error message on the "next" page: "An error has occured."
This is probably because of the missing tables...

Regards,
Felix

On Jun 25, 1:38 pm, fendres <[email protected]> wrote:
> Hi all,
> I am trying to get started with weblocks (and lisp, emacs-slime all at
> once). I got the demo and the simple blog to work. To be able to
> (require ...) the latter I had to create a link in clbuild/systems to
> clbuild/source/weblocks/examples/simple-blog/simple-blog.asd.
> This procedure did not work for the clsql demo. I get the following
> error:
>
> (require 'weblocks-clsql-demo)
> failed to find the TRUENAME of /home/lakritze/endres/clbuild/systems/
> weblocks-clsql-demo.lisp:
>   No such file or directory
>    [Condition of type SB-INT:SIMPLE-FILE-ERROR]
>
> I do not know how useful the Backtrace is, just to make sure:
>
(...)
>
> The file is not in that location but in the clbuild/source tree. I
> compared the asd files of simple-blog and ...clsql-demo and do not
> find any significant difference. I am using SBCL and emacs-slime. I
> googled for the truename error message, but didn't find anything
> related. Maybe this is more a symptom than a cause?
>
> Does anybody know what I am doing wrong? My understanding of asdf is
> quite limited.
>
> Regards,
> Felix

-- 
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.

Reply via email to