problems loading first weblocks application

2 views
Skip to first unread message

Eric Schulte

unread,
Dec 6, 2008, 2:09:16 AM12/6/08
to weblocks
Hi,

I'm very new to common lisp so this question may just be a general
common lisp issue and not specific to weblocks.

I have downloaded, installed, and compiled weblocks using the excellent
instructions at http://weblocks.viridian-project.de/

I have also, been able to run the weblocks-demo application which worked
with ajax out of the box.

My problems came when trying to create a fresh application to start
playing around with.

Using both the stable and dev versions of weblocks I ran the following,
and (with the dev version) ran into the following errors.

;; load everything
(push #p"/home/eschulte/src/weblocks/weblocks-dev" asdf:*central-registry*)
(asdf:operate 'asdf:load-op :weblocks)
(asdf:operate 'asdf:load-op :weblocks-scripts)
(asdf:operate 'asdf:load-op :weblocks-test)
(asdf:operate 'asdf:load-op :weblocks-store-test)

;; create fresh application
(weblocks-scripts:make-application 'eric)
(push #p"/home/eschulte/src/weblocks/eric/" asdf:*central-registry*)

;; then trying to load the application with
(asdf:operate 'asdf:load-op :eric)

generated the following error

: The function ERIC::SET-WEBLOCKS-DEFAULT-PUBLIC-FILES-PATH is undefined.

commenting out this portion of eric/eric.lisp and reloading resulted in
the following error

: 'ERIC::ERIC is not a legal class name.

Any suggestions as to what I'm doing wrong would be much appreciated.

Thanks -- Eric

Leslie P. Polzer

unread,
Dec 6, 2008, 4:29:36 AM12/6/08
to weblocks
On Dec 6, 8:09 am, "Eric Schulte" <schulte.e...@gmail.com> wrote:
>
> I have downloaded, installed, and compiled weblocks using the excellent
> instructions athttp://weblocks.viridian-project.de/

Thank you. :)


> : The function ERIC::SET-WEBLOCKS-DEFAULT-PUBLIC-FILES-PATH is undefined.
>
> commenting out this portion of eric/eric.lisp and reloading resulted in
> the following error
>
> : 'ERIC::ERIC is not a legal class name.
>
> Any suggestions as to what I'm doing wrong would be much appreciated.

Nothing. Only you're probably the first one to actually use the app
generator for the first time since ages. :/

I'll fix this and push it today.

Leslie

Leslie P. Polzer

unread,
Dec 6, 2008, 4:44:27 AM12/6/08
to weblocks
On Dec 6, 10:29 am, "Leslie P. Polzer" <leslie.pol...@gmx.net> wrote:
>
> I'll fix this and push it today.

Fixed in stable/778384ad4830; not yet in -dev.

Sorry for the inconvenience, I hope everything's fine with the app
template now.

We should think about unifying the template with weblocks-demo since
the latter one is usually kept up to date with all changes.

Leslie

Eric Schulte

unread,
Dec 6, 2008, 11:54:59 AM12/6/08
to webl...@googlegroups.com
"Leslie P. Polzer" <leslie...@gmx.net> writes:

> On Dec 6, 10:29 am, "Leslie P. Polzer" <leslie.pol...@gmx.net> wrote:
>>
>> I'll fix this and push it today.
>
> Fixed in stable/778384ad4830; not yet in -dev.
>
> Sorry for the inconvenience, I hope everything's fine with the app
> template now.
>

I just got an application up and running with the latest from
weblocks-stable.

Thanks -- Eric

Reply all
Reply to author
Forward
0 new messages