Sven Hartrumpf | 27 Jan 2012 16:05
Picon

error from hop wizard

Hi all.

I am trying to use hop and bigloo from 2012-01-18.
Installation went smoothly.

Then, I try to setup hop as follows:
1.
start hop as a normal user:
> hop -g --repl

2.
fire up a browser (Konqueror 4.7.2):
> konqueror http://localhost:8080

3.
I enter the sections for admin, user, and guest (3 users in total).
When I press "Save", the browser presents the following server error:

localhost:8080
path:   /hop/wizard/save
Hop server stack:
*** ERROR:wizard/save:
Wrong number of arguments -- (wizard/save)
    1. &pool-scheduler1756
Hop client stack:
(hop_default_failure ...)
/usr/local/lib/hop/2.3.0/weblets/wizard/wizard.hop <at> 2261, (save-accounts ...)
(onclick ...)

Any ideas?
(Continue reading)

Manuel.Serrano | 27 Jan 2012 11:22
Picon
Picon
Favicon

Re: minor bug with dom-get-element-by-id

Hi David,

> In my code I prefer to use getElementById which is working until now.
> I build a publish subscribe system to communicate between server and
> client, the handlers that are used are all defined at client side.
> This system uses add-event-listener! and remove-event-listener!.
> 
> Example of a handler:
> 
> ~(define editor-update-handler
>                                        (lambda (h)
>                                          (let ((val (event-value h)))
>                                             (alert val)
>                                             (innerHTML-set!
> (getElementById "test") val))))
> 
> But I get the following error: ReferenceError: Can't find variable:
> getElementById
> However, when I use dom-get-element-by-id this code is working as
> expected. (I am using Safari on Mac OS X)
> 
> 
> PS: I was also wondering if you can estimate when you are going to
> release the next version of hop (with a solution to the error I mailed
> about yesterday). This is because I am using HOP for a project in my
> studies. (If it is going to take a while I will alert the other
> students that we should find a workaround for the deadline and change
> it for the defense).
Sorry for the late reply. I have just realized that I have fixed Hop but
I have forgotten to let you know about that correction. I agree with you.
(Continue reading)

Chuah Teong Leong | 15 Jan 2012 11:32
Picon

deployment of webpages

Hi can anyone jump start me to the deployment process of hop compiled webpages?
I'm going through the tutorials but I have yet to grasp how easy it is
to set up a server hosting hop webpages.

Chuah Teong Leong | 15 Jan 2012 08:15
Picon

hop 2.2.1 cannot find libhop_es-2.2.1.so

I've checked for libhop_es-2.2.1.so,
it is inside /usr/local/lib/ so i couldn't understand why it has
problem running.

This is what I get when I run hop.
hop: error while loading shared libraries: libhop_es-2.2.1.so: cannot
open shared object file: No such file or directory

my configure make install didn't complained about anything.

Chuah Teong Leong | 14 Jan 2012 20:44
Picon

Fwd: compilation failed on make step

---------- Forwarded message ----------
From: Chuah Teong Leong <teongleong <at> gmail.com>
Date: Sun, Jan 15, 2012 at 3:36 AM
Subject: Re: [hop] compilation failed on make step
To: Manuel.Serrano <at> inria.fr

thanks for the quick reply.
im not sure what was the first problem but i did a
sudo make clean
then
sudo make
again

i went a lot further this time
but ended with this

File "read.scm", line 941, character 32381:#
($evmeaning-byte-code-set! (current-dynamic-env) #f)#                     ^***
ERROR:hop-load-fileUnbound variable -- $evmeaning-byte-code-set!1
error occured, ending ...make[2]: *** [o/read.o] Error 255make[2]:
Leaving directory
`/home/terry/code/hop-temp/hop-2.2.0/runtime'make[1]: ***
[lib-c-static] Error 2make[1]: Leaving directory
`/home/terry/code/hop-temp/hop-2.2.0/runtime'make: *** [lib] Error 2
I have bigloo installed already and was able to at least run the
interpreter.On Sun, Jan 15, 2012 at 3:26 AM,
<Manuel.Serrano <at> inria.fr> wrote:
> Hi,
>
>> Hi all.
(Continue reading)

Chuah Teong Leong | 14 Jan 2012 20:22
Picon

compilation failed on make step

Hi all.
I'm using the stable release 2.2.0 source code and im on linux mint 12.
I have bigloo 3.7a-2 installed.

The problem is when i do sudo make it gives the following

sudo make
BIGLOO=bigloo
HOPC=/home/terry/code/hop-temp/hop-2.2.0/bin/hopc
BCFLAGS=-O2 -fsharing -Wall -wslots -L
/home/terry/code/hop-temp/hop-2.2.0/lib -srfi enable-threads -cc gcc
-copt -O3 -I/usr/local/lib/bigloo/3.7a -srfi hop-dynamic
BCFLAGSDEV=-O2 -fsharing -Wall -wslots -L
/home/terry/code/hop-temp/hop-2.2.0/lib -srfi enable-threads -cc gcc
-copt -O3 -I/usr/local/lib/bigloo/3.7a -srfi hop-dynamic
BJVMFLAGS=-O2 -fsharing -Wall -wslots -L
/home/terry/code/hop-temp/hop-2.2.0/lib -srfi enable-threads -jvm
BLFLAGS=-copt -fPIC -L /home/terry/code/hop-temp/hop-2.2.0/lib  $(BLIBFLAGS)
BLIBFLAGS=
BHFLAGS=-q -mkaddheap -mkaddlib
CCFLAGS=-O3  -I/usr/local/lib/bigloo/3.7a

mkdir -p bin
mkdir -p lib
make -C scheme2js build
make[1]: Entering directory `/home/terry/code/hop-temp/hop-2.2.0/scheme2js'
make /home/terry/code/hop-temp/hop-2.2.0/lib/libscheme2js_s-2.2.0.a \
               /home/terry/code/hop-temp/hop-2.2.0/lib/libscheme2js_u-2.2.0.a \
               /home/terry/code/hop-temp/hop-2.2.0/lib/libscheme2js_es-2.2.0.a \
               /home/terry/code/hop-temp/hop-2.2.0/lib/libscheme2js_eu-2.2.0.a
(Continue reading)

david meert | 2 Jan 2012 19:41
Picon

error with remove-event-listener!

Hello,

I am getting the following error in my browser when I click the
"Unsubscribe" button:

hop.js:6469 TypeError: 'undefined' is not an object (evaluating
'hop_servevt_proxy.httpreq.abort')

Is this a bug? Or am I doing something wrong?

(define-service (main)
  (<HTML>
   (<BODY>
     ~(define handler (lambda (h) (alert (event-value h))))
     (<BUTTON>
      :onclick ~(add-event-listener! "topic" "server"
                                     handler
                                     #f)
      "Subscribe")

     (<BUTTON>
      :onclick ~(remove-event-listener! "topic" "server"
                                        handler
                                        #f)
      "Unsubscribe"))))

--
David Meert

(Continue reading)

Sven Hartrumpf | 2 Jan 2012 15:35
Picon

Changing hop/ part in URLs

Hi all.

Is there a simple way to change the "hop/" part of URLs
served by a hop server to some other string?

Ciao
Sven

Manuel.Serrano | 8 Dec 2011 14:56
Picon
Picon
Favicon

hop-2.3.0-pre1

Hop-2.3.0-pre1 is now available. 

This is the first of the new branch. It contains many changes but most of
them are transparent and most hop-2.2.x programs should still work with the
new branch.

Please report any problem or comment to the mailing list.

Sincerely,

--

-- 
Manuel
Peter Kourzanov | 7 Dec 2011 09:20
Picon

hop problem

Dear Manual,

  I am trying the latest hop-2.2.1 with the latest bigloo 3.7a-2 with
gcc32 (IA32) on x86_64 machine. Here is what I get if I browse to
http://localhost:8080/hop/hz.

Hop server stack: 
*** ERROR:string->obj:
corrupted class -- $sqltiny-column
    1. \ <at> hz-db-init!
    2. hz-db-init!
    3. \ <at> toplevel
    4. &pool-scheduler1713

Is this a problem with my installation? Any ideas?

Kind regards,

Pjotr Kourzanov

Manuel.Serrano | 7 Nov 2011 07:57
Picon
Picon
Favicon

Re: Skribe

Dead David,

> I used Skribe a number of years ago and was thinking about using it again, but found:
> 
> > Manuel Serrano can no longer maintain and develop Skribe. Skribe is thus looking for a new maintainer. If
you feel interested, please contact Manuel Serrano that is willing to help anyone that will accept this charge.
> 
> 
> 
> I am wondering what would be involved in becoming a new maintainer,.....  How much time is required.
Before considering using Skribe again (I will help if this is really
what you want to do), may I suggest you to have a look at HopTeX? Hoptex
shares many similarities with Skribe but I think it is really superior
to Skribe. It's syntax is more pleasant and customizing the TeX and HTML
output is significantly easier. Lastly, it is more flexible. I have
written a short paper describing HopTeC, please find it enclosed here:

Attachment (serrano-scheme11.pdf): application/pdf, 216 KiB

To let you have a look at what it looks like to write a paper with HopTeX, here
is the source code of that paper:

Attachment (scheme11.tgz): application/x-gtar, 309 KiB

Cheers,

(Continue reading)


Gmane