I tried the things shown on the Getting started page.
I downloaded Amber. I installed Node.js. I started Amber server. I started the server (./bin/server) I fired up Amber. But clicking the Class Browser button nothing happens. (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) What's going wrong? joh |
Silly question: Did you go to http://localhost:4000 ?
-- Sent from my Palm Pre 2, wohoo! On Dec 4, 2011 1:43, joh <[hidden email]> wrote: I tried the things shown on the Getting started page. I downloaded Amber. I installed Node.js. I started Amber server. I started the server (./bin/server) I fired up Amber. But clicking the Class Browser button nothing happens. (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) What's going wrong? joh |
In reply to this post by jb
On Sat, 2011-12-03 at 16:43 -0800, joh wrote:
> I tried the things shown on the Getting started page. > I downloaded Amber. > I installed Node.js. > I started Amber server. > I started the server (./bin/server) > I fired up Amber. > But clicking the Class Browser button nothing happens. > > (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) Can you open the JavaScript console and tell us if you get an error there? Cheers, Nico |
In reply to this post by gokr
of course!
Am 04.12.2011 um 10:25 schrieb Göran Krampe:
Silly question: Did you go to http://localhost:4000 ? Staatlich anerkannte private Fachhochschule NORDAKADEMIE Gemeinnützige Aktiengesellschaft Köllner Chaussee 11 25337 Elmshorn Vorstand: Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand) Vorsitzender des Aufsichtsrats: Dr. h.c. Hans-Heinrich Bruns Sitz: Elmshorn, Amtsgericht Elmshorn, HRB 1682 |
In reply to this post by Nicolas Petton
Am 04.12.2011 um 13:36 schrieb Nicolas Petton:
I used firebug console. This is what I get after having clicked "Class Browser": receiver._doesNotUnderstand_ is not a function
withContextSend()boot.j...3368921
(Zeile 327)
receiver = [Object
{ className="Object",
iVarNames=[0],
pkg=SmalltalkPackage,
},
Object
{ className="Smalltalk",
superclass={...},
iVarNames=[0],
},
Object
{ className="Package",
superclass={...},
iVarNames=[2],
},
]
selector = "_do_"
klass = undefined
sendWithContext()boot.j...3368921
(Zeile 303)
receiver = [Object
{ className="Object",
iVarNames=[0],
pkg=SmalltalkPackage,
},
Object
{ className="Smalltalk",
superclass={...},
iVarNames=[0],
},
Object
{ className="Package",
superclass={...},
iVarNames=[2],
},
]
selector = "_do_"
klass = undefined
Staatlich anerkannte private Fachhochschule NORDAKADEMIE Gemeinnützige Aktiengesellschaft Köllner Chaussee 11 25337 Elmshorn Vorstand: Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand) Vorsitzender des Aufsichtsrats: Dr. h.c. Hans-Heinrich Bruns Sitz: Elmshorn, Amtsgericht Elmshorn, HRB 1682 |
What if you open the index.html file in your browser. Does it work then?
Cheers, Nico On Sun, 2011-12-04 at 18:33 +0000, Johannes Brauer wrote: > > Am 04.12.2011 um 13:36 schrieb Nicolas Petton: > > > On Sat, 2011-12-03 at 16:43 -0800, joh wrote: > > > I tried the things shown on the Getting started page. > > > I downloaded Amber. > > > I installed Node.js. > > > I started Amber server. > > > I started the server (./bin/server) > > > I fired up Amber. > > > But clicking the Class Browser button nothing happens. > > > > > > (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) > > > > Can you open the JavaScript console and tell us if you get an error > > there? > > > I used firebug console. This is what I get after having clicked "Class > Browser": > > > > receiver._doesNotUnderstand_ is not a function > messageNotUnderstood()boot.j...3368921 (Zeile 363) > receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > selector = "_category" > args = [] > withContextSend()boot.j...3368921 (Zeile 336) > receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > selector = "_category" > args = [] > klass = undefined > sendWithContext()boot.j...3368921 (Zeile 303) > receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > selector = "_category" > args = [] > klass = undefined > (?)()IDE.js...3368921 (Zeile 799) > each = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > fn()Kernel...3368921 (Zeile 192) > aBlock = function() > withContextSend()boot.j...3368921 (Zeile 327) > receiver = [Object{ className="Object",iVarNames=[0],pkg=SmalltalkPackage,mehr...},Object{ className="Smalltalk",superclass={...},iVarNames=[0],mehr...},Object{ className="Package",superclass={...},iVarNames=[2],mehr...},88 mehr...] > selector = "_do_" > args = [function()] > klass = undefined > sendWithContext()boot.j...3368921 (Zeile 303) > receiver = [Object{ className="Object",iVarNames=[0],pkg=SmalltalkPackage,mehr...},Object{ className="Smalltalk",superclass={...},iVarNames=[0],mehr...},Object{ className="Package",superclass={...},iVarNames=[2],mehr...},88 mehr...] > selector = "_do_" > args = [function()] > klass = undefined > fn()IDE.js...3368921 (Zeile 799) > withContextSend()boot.j...3368921 (Zeile 327) > receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > selector = "_packages" > args = [] > klass = undefined > sendWithContext()boot.j...3368921 (Zeile 303) > receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > selector = "_packages" > args = [] > klass = undefined > fn()IDE.js...3368921 (Zeile 1603) > withContextSend()boot.j...3368921 (Zeile 327) > receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > selector = "_initialize" > args = [] > klass = undefined > sendWithContext()boot.j...3368921 (Zeile 303) > receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > selector = "_initialize" > args = [] > klass = undefined > fn()Kernel...3368921 (Zeile 10) > withContextSend()boot.j...3368921 (Zeile 327) > receiver = Object{ className="Browser",superclass={...},iVarNames=[15],mehr...} > selector = "_new" > args = [] > klass = undefined > sendWithContext()boot.j...3368921 (Zeile 305) > receiver = Object{ className="Browser",superclass={...},iVarNames=[15],mehr...} > selector = "_new" > args = [] > klass = undefined > fn()IDE.js...3368921 (Zeile 1927) > onclick()onclick (Zeile 2) > event = click clientX=351, clientY=313 > ._arguments_(args) > boot.j...3368921 (Zeile 363) > > > > ______________________________________________________________________ > > > Staatlich anerkannte private Fachhochschule > NORDAKADEMIE > Gemeinnützige Aktiengesellschaft > Köllner Chaussee 11 > 25337 Elmshorn > > Vorstand: > Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. > Vorstand) > > Vorsitzender des Aufsichtsrats: > Dr. h.c. Hans-Heinrich Bruns > > Sitz: > Elmshorn, Amtsgericht Elmshorn, HRB 1682 > |
No, there is no difference
Johannes Am 04.12.2011 um 21:53 schrieb Nicolas Petton: > What if you open the index.html file in your browser. Does it work then? > > Cheers, > Nico > > On Sun, 2011-12-04 at 18:33 +0000, Johannes Brauer wrote: >> >> Am 04.12.2011 um 13:36 schrieb Nicolas Petton: >> >>> On Sat, 2011-12-03 at 16:43 -0800, joh wrote: >>>> I tried the things shown on the Getting started page. >>>> I downloaded Amber. >>>> I installed Node.js. >>>> I started Amber server. >>>> I started the server (./bin/server) >>>> I fired up Amber. >>>> But clicking the Class Browser button nothing happens. >>>> >>>> (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) >>> >>> Can you open the JavaScript console and tell us if you get an error >>> there? >>> >> I used firebug console. This is what I get after having clicked "Class >> Browser": >> >> >> >> receiver._doesNotUnderstand_ is not a function >> messageNotUnderstood()boot.j...3368921 (Zeile 363) >> receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} >> selector = "_category" >> args = [] >> withContextSend()boot.j...3368921 (Zeile 336) >> receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} >> selector = "_category" >> args = [] >> klass = undefined >> sendWithContext()boot.j...3368921 (Zeile 303) >> receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} >> selector = "_category" >> args = [] >> klass = undefined >> (?)()IDE.js...3368921 (Zeile 799) >> each = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} >> fn()Kernel...3368921 (Zeile 192) >> aBlock = function() >> withContextSend()boot.j...3368921 (Zeile 327) >> receiver = [Object{ className="Object",iVarNames=[0],pkg=SmalltalkPackage,mehr...},Object{ className="Smalltalk",superclass={...},iVarNames=[0],mehr...},Object{ className="Package",superclass={...},iVarNames=[2],mehr...},88 mehr...] >> selector = "_do_" >> args = [function()] >> klass = undefined >> sendWithContext()boot.j...3368921 (Zeile 303) >> receiver = [Object{ className="Object",iVarNames=[0],pkg=SmalltalkPackage,mehr...},Object{ className="Smalltalk",superclass={...},iVarNames=[0],mehr...},Object{ className="Package",superclass={...},iVarNames=[2],mehr...},88 mehr...] >> selector = "_do_" >> args = [function()] >> klass = undefined >> fn()IDE.js...3368921 (Zeile 799) >> withContextSend()boot.j...3368921 (Zeile 327) >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} >> selector = "_packages" >> args = [] >> klass = undefined >> sendWithContext()boot.j...3368921 (Zeile 303) >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} >> selector = "_packages" >> args = [] >> klass = undefined >> fn()IDE.js...3368921 (Zeile 1603) >> withContextSend()boot.j...3368921 (Zeile 327) >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} >> selector = "_initialize" >> args = [] >> klass = undefined >> sendWithContext()boot.j...3368921 (Zeile 303) >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} >> selector = "_initialize" >> args = [] >> klass = undefined >> fn()Kernel...3368921 (Zeile 10) >> withContextSend()boot.j...3368921 (Zeile 327) >> receiver = Object{ className="Browser",superclass={...},iVarNames=[15],mehr...} >> selector = "_new" >> args = [] >> klass = undefined >> sendWithContext()boot.j...3368921 (Zeile 305) >> receiver = Object{ className="Browser",superclass={...},iVarNames=[15],mehr...} >> selector = "_new" >> args = [] >> klass = undefined >> fn()IDE.js...3368921 (Zeile 1927) >> onclick()onclick (Zeile 2) >> event = click clientX=351, clientY=313 >> ._arguments_(args) >> boot.j...3368921 (Zeile 363) >> >> >> >> ______________________________________________________________________ >> >> >> Staatlich anerkannte private Fachhochschule >> NORDAKADEMIE >> Gemeinnützige Aktiengesellschaft >> Köllner Chaussee 11 >> 25337 Elmshorn >> >> Vorstand: >> Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. >> Vorstand) >> >> Vorsitzender des Aufsichtsrats: >> Dr. h.c. Hans-Heinrich Bruns >> >> Sitz: >> Elmshorn, Amtsgericht Elmshorn, HRB 1682 >> > > ________________________________ Staatlich anerkannte private Fachhochschule NORDAKADEMIE Gemeinnützige Aktiengesellschaft Köllner Chaussee 11 25337 Elmshorn Vorstand: Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand) Vorsitzender des Aufsichtsrats: Dr. h.c. Hans-Heinrich Bruns Sitz: Elmshorn, Amtsgericht Elmshorn, HRB 1682 |
On Mon, 2011-12-05 at 12:43 +0000, Johannes Brauer wrote:
> No, there is no difference Sébastien has the same issue. I'll take a look tomorrow. Cheers, Nico > > Johannes > Am 04.12.2011 um 21:53 schrieb Nicolas Petton: > > > What if you open the index.html file in your browser. Does it work then? > > > > Cheers, > > Nico > > > > On Sun, 2011-12-04 at 18:33 +0000, Johannes Brauer wrote: > >> > >> Am 04.12.2011 um 13:36 schrieb Nicolas Petton: > >> > >>> On Sat, 2011-12-03 at 16:43 -0800, joh wrote: > >>>> I tried the things shown on the Getting started page. > >>>> I downloaded Amber. > >>>> I installed Node.js. > >>>> I started Amber server. > >>>> I started the server (./bin/server) > >>>> I fired up Amber. > >>>> But clicking the Class Browser button nothing happens. > >>>> > >>>> (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) > >>> > >>> Can you open the JavaScript console and tell us if you get an error > >>> there? > >>> > >> I used firebug console. This is what I get after having clicked "Class > >> Browser": > >> > >> > >> > >> receiver._doesNotUnderstand_ is not a function > >> messageNotUnderstood()boot.j...3368921 (Zeile 363) > >> receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > >> selector = "_category" > >> args = [] > >> withContextSend()boot.j...3368921 (Zeile 336) > >> receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > >> selector = "_category" > >> args = [] > >> klass = undefined > >> sendWithContext()boot.j...3368921 (Zeile 303) > >> receiver = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > >> selector = "_category" > >> args = [] > >> klass = undefined > >> (?)()IDE.js...3368921 (Zeile 799) > >> each = Object{ className="Hello",superclass={...},iVarNames=[0],mehr...} > >> fn()Kernel...3368921 (Zeile 192) > >> aBlock = function() > >> withContextSend()boot.j...3368921 (Zeile 327) > >> receiver = [Object{ className="Object",iVarNames=[0],pkg=SmalltalkPackage,mehr...},Object{ className="Smalltalk",superclass={...},iVarNames=[0],mehr...},Object{ className="Package",superclass={...},iVarNames=[2],mehr...},88 mehr...] > >> selector = "_do_" > >> args = [function()] > >> klass = undefined > >> sendWithContext()boot.j...3368921 (Zeile 303) > >> receiver = [Object{ className="Object",iVarNames=[0],pkg=SmalltalkPackage,mehr...},Object{ className="Smalltalk",superclass={...},iVarNames=[0],mehr...},Object{ className="Package",superclass={...},iVarNames=[2],mehr...},88 mehr...] > >> selector = "_do_" > >> args = [function()] > >> klass = undefined > >> fn()IDE.js...3368921 (Zeile 799) > >> withContextSend()boot.j...3368921 (Zeile 327) > >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > >> selector = "_packages" > >> args = [] > >> klass = undefined > >> sendWithContext()boot.j...3368921 (Zeile 303) > >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > >> selector = "_packages" > >> args = [] > >> klass = undefined > >> fn()IDE.js...3368921 (Zeile 1603) > >> withContextSend()boot.j...3368921 (Zeile 327) > >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > >> selector = "_initialize" > >> args = [] > >> klass = undefined > >> sendWithContext()boot.j...3368921 (Zeile 303) > >> receiver = Object{ @selectedTab="instance",methods={...},inheritedMethods={...},mehr...} > >> selector = "_initialize" > >> args = [] > >> klass = undefined > >> fn()Kernel...3368921 (Zeile 10) > >> withContextSend()boot.j...3368921 (Zeile 327) > >> receiver = Object{ className="Browser",superclass={...},iVarNames=[15],mehr...} > >> selector = "_new" > >> args = [] > >> klass = undefined > >> sendWithContext()boot.j...3368921 (Zeile 305) > >> receiver = Object{ className="Browser",superclass={...},iVarNames=[15],mehr...} > >> selector = "_new" > >> args = [] > >> klass = undefined > >> fn()IDE.js...3368921 (Zeile 1927) > >> onclick()onclick (Zeile 2) > >> event = click clientX=351, clientY=313 > >> ._arguments_(args) > >> boot.j...3368921 (Zeile 363) > >> > >> > >> > >> ______________________________________________________________________ > >> > >> > >> Staatlich anerkannte private Fachhochschule > >> NORDAKADEMIE > >> Gemeinnützige Aktiengesellschaft > >> Köllner Chaussee 11 > >> 25337 Elmshorn > >> > >> Vorstand: > >> Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. > >> Vorstand) > >> > >> Vorsitzender des Aufsichtsrats: > >> Dr. h.c. Hans-Heinrich Bruns > >> > >> Sitz: > >> Elmshorn, Amtsgericht Elmshorn, HRB 1682 > >> > > > > > > > ________________________________ > > > Staatlich anerkannte private Fachhochschule > NORDAKADEMIE > Gemeinnützige Aktiengesellschaft > Köllner Chaussee 11 > 25337 Elmshorn > > Vorstand: > Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand) > > Vorsitzender des Aufsichtsrats: > Dr. h.c. Hans-Heinrich Bruns > > Sitz: > Elmshorn, Amtsgericht Elmshorn, HRB 1682 > |
In reply to this post by jb
Hi!
I can't figure out what's wrong. One question though, does the online website work for you? (http://www.amber-lang.net). If it does, then my guess is that something's wrong with your setup. Cheers, Nicolas On Sat, 2011-12-03 at 16:43 -0800, joh wrote: > I tried the things shown on the Getting started page. > I downloaded Amber. > I installed Node.js. > I started Amber server. > I started the server (./bin/server) > I fired up Amber. > But clicking the Class Browser button nothing happens. > > (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) > > What's going wrong? > > joh |
On 12/14/2011 04:01 PM, Nicolas Petton wrote:
> Hi! > > I can't figure out what's wrong. One question though, does the online > website work for you? (http://www.amber-lang.net). If it does, then my > guess is that something's wrong with your setup. > > Cheers, > Nicolas > > On Sat, 2011-12-03 at 16:43 -0800, joh wrote: >> I tried the things shown on the Getting started page. >> I downloaded Amber. >> I installed Node.js. >> I started Amber server. >> I started the server (./bin/server) >> I fired up Amber. >> But clicking the Class Browser button nothing happens. >> >> (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) >> >> What's going wrong? A few wild guesses: - Permissions on files? - What does the javascript console say? I presume there is one in Safari. - I presume you pointed Safari at http://localhost:4000 - and you do get the first page with the "Welcome aboard" heading, right? - Mmmm, and when you started the server it said "Starting file server on port 4000"? - If you go to http://localhost:4000/js/amber.js - do you see a lot of javascript source code in the browser? regards, Göran |
Hi,
I have managed to set it up following the documentation on Windows with Firefox. The only problem is that the welcome message is not displaying on the button click. I wonder what's wrong there. Regards, laci |
In reply to this post by gokr
Am 14.12.2011 um 19:32 schrieb Göran Krampe: > On 12/14/2011 04:01 PM, Nicolas Petton wrote: >> Hi! >> >> I can't figure out what's wrong. One question though, does the online >> website work for you? (http://www.amber-lang.net). If it does, then my >> guess is that something's wrong with your setup. >> >> Cheers, >> Nicolas >> >> On Sat, 2011-12-03 at 16:43 -0800, joh wrote: >>> I tried the things shown on the Getting started page. >>> I downloaded Amber. >>> I installed Node.js. >>> I started Amber server. >>> I started the server (./bin/server) >>> I fired up Amber. >>> But clicking the Class Browser button nothing happens. >>> >>> (Mac OS 10.7.2, Safari 5.1.2, same behaviour with other browsers) >>> >>> What's going wrong? > > A few wild guesses: > > - Permissions on files? > - What does the javascript console say? I presume there is one in Safari. > - I presume you pointed Safari at http://localhost:4000 - and you do get the first page with the "Welcome aboard" heading, right? > - Mmmm, and when you started the server it said "Starting file server on port 4000"? > - If you go to http://localhost:4000/js/amber.js - do you see a lot of javascript source code in the browser? yes, I see In the meantime I downloaded amber once more (maybe for the third or fourth time) and suddenly the class browser reappears. Sorry, but I cannot reproduce the problem anymore. But there is a new one. I am trying to write my first app. I've done all the steps described at https://github.com/NicolasPetton/amber/wiki/Writing-my-first-app. But after reloading index.html the error message "a JQuery does not understand #click:". Any hints? Regards Johannes ________________________________ Staatlich anerkannte private Fachhochschule NORDAKADEMIE Gemeinnützige Aktiengesellschaft Köllner Chaussee 11 25337 Elmshorn Vorstand: Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand) Vorsitzender des Aufsichtsrats: Dr. h.c. Hans-Heinrich Bruns Sitz: Elmshorn, Amtsgericht Elmshorn, HRB 1682 |
On 12/15/2011 11:12 AM, Johannes Brauer wrote:
> > Am 14.12.2011 um 19:32 schrieb Göran Krampe: >> A few wild guesses: >> >> - Permissions on files? >> - What does the javascript console say? I presume there is one in Safari. >> - I presume you pointed Safari at http://localhost:4000 - and you do get the first page with the "Welcome aboard" heading, right? >> - Mmmm, and when you started the server it said "Starting file server on port 4000"? > yes, it does >> - If you go to http://localhost:4000/js/amber.js - do you see a lot of javascript source code in the browser? > yes, I see > > In the meantime I downloaded amber once more (maybe for the third or fourth time) and suddenly the class browser reappears. I really wonder if this could have been some issue with local storage... but no, you said it didn't matter which browser you used. Baffled. > Sorry, but I cannot reproduce the problem anymore. But there is a new one. I am trying to write my first app. I've done all the steps described at https://github.com/NicolasPetton/amber/wiki/Writing-my-first-app. > But after reloading index.html the error message "a JQuery does not understand #click:". > > Any hints? Not sure, I haven't written nor tried that tutorial. Nicolas got any idea? regards, Göran |
Free forum by Nabble | Edit this page |