30 Jan 20:38
28 Jan 21:26
Removal of http-request-user breaks (not so) old code
Sven Hartrumpf <hartrumpf <at> gmx.net>
2012-01-28 20:26:36 GMT
2012-01-28 20:26:36 GMT
Hi Manuel. You have removed http-request-user, except for one (now outdated?) occurrence in a tutorial: > grep -r http-request-user hop-2.3.0-pre1 hop-2.3.0-pre1/weblets/doc/tutorials/04-authentication.wiki: (user? (http-request-user req)) > I have some applications that rely on http-request-user. What should I do now? Is there a recommended alternative? Ciao Sven
27 Jan 16:05
error from hop wizard
Sven Hartrumpf <hartrumpf <at> gmx.net>
2012-01-27 15:05:44 GMT
2012-01-27 15:05:44 GMT
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)
27 Jan 11:22
Re: minor bug with dom-get-element-by-id
<Manuel.Serrano <at> inria.fr>
2012-01-27 10:22:36 GMT
2012-01-27 10:22:36 GMT
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)
15 Jan 11:32
15 Jan 08:15
hop 2.2.1 cannot find libhop_es-2.2.1.so
Chuah Teong Leong <teongleong <at> gmail.com>
2012-01-15 07:15:40 GMT
2012-01-15 07:15:40 GMT
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.
14 Jan 20:44
Fwd: compilation failed on make step
Chuah Teong Leong <teongleong <at> gmail.com>
2012-01-14 19:44:19 GMT
2012-01-14 19:44:19 GMT
---------- 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)
14 Jan 20:22
compilation failed on make step
Chuah Teong Leong <teongleong <at> gmail.com>
2012-01-14 19:22:43 GMT
2012-01-14 19:22:43 GMT
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)
2 Jan 19:41
error with remove-event-listener!
david meert <meertdavid <at> gmail.com>
2012-01-02 18:41:12 GMT
2012-01-02 18:41:12 GMT
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)
2 Jan 15:35
8 Dec 14:56
hop-2.3.0-pre1
<Manuel.Serrano <at> inria.fr>
2011-12-08 13:56:52 GMT
2011-12-08 13:56:52 GMT
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
RSS Feed