[Newbies] squeakland plugin test fails

Jens Lincke jens at impara.de
Wed Apr 18 20:40:50 UTC 2007


"

subbukk schrieb:
> Hi,
>
> The test page in http://www.squeakland.org/plugin/launch.html throws up a 
> MessageNotUnderstood error in Deutsche(?):
>  Leider ist ein Fehler .....
>
> I am using squeakland_3.8-3u_all.deb on Konqueror 3.5.3. The test frame 
> refers to "http://www.squeakland.org/projects/test.001.pr" which doesn't 
> exist any more. Is this triggering the error?
>
>   

yes it does. By debugging into it I found, that the plugin tried to load 
the following text
as project:

"error occured retrieving 
http://www.squeakland.org/projects/test.001.pr: HTTP/1.1 404 Not Found

Date: Wed, 18 Apr 2007 20:28:44 GMT

Server: Apache

Content-Length: 218

Connection: close

Content-Type: text/html; charset=iso-8859-1<!DOCTYPE HTML PUBLIC 
"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /projects/test.001.pr was not found on this server.</p>
</body></html>'

And it came in as ByteString and not as Multibytestring, so the error 
message occured.

Perhaps the image or the plugin should handle this.

- Jens -

> I could fix my copy of SqueakPlugin.image by running squeakland from 
> command line, setting the language to English and saving the image. I was 
> then able to see projects in Etoys.
>
> Regards .. Subbu, K. K.
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>   
Bug report:


VM: unix - a SmalltalkImage
Image: Squeakland 3.8-05 [latest update: #479]

SecurityManager state:
Restricted: true
FileAccess: false
SocketAccess: true
Working Dir /home/jens/.npsqueak/My Squeak
Trusted Dir /home/jens/.npsqueak/secure
Untrusted Dir /home/jens/.npsqueak/My Squeak

RWBinaryOrTextStream(Object)>>doesNotUnderstand: 
#fileInObjectAndCodeForProject
    Receiver: a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 32 
111 99 99 117 114 101 100 32 114...etc...
    Arguments and temporary variables:
        t1:     fileInObjectAndCodeForProject
    Receiver's instance variables:
        collection:     'error occured retrieving 
http://www.squeakland.org/projects/test.0...etc...
        position:     0
        readLimit:     451
        writeLimit:     451
        isBinary:     true

[] in ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView: {[t5 := t5 
fileInObjectAndCodeForProject]}
    Arguments and temporary variables:
        t1:     nil
        t2:     a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 
32 111 99 99 117 114...etc...
        t3:     nil
        t4:     nil
        t5:     a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 
32 111 99 99 117 114...etc...
        t6:     nil
        t7:     false
        t8:     UnixFileDirectory on '/home/jens/.npsqueak/My 
Squeak/Squeaklets'
        t9:     a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 
32 111 99 99 117 114...etc...
        t10:     nil
        t11:     nil
        t12:     nil
        t13:     a ChangeSet named Unnamed1
        t14:     true
        t15:     TTCFont(BitstreamVeraSans 9 Bold)
        t16:     0
        t17:     a Set()
        t18:     nil
        t19:     nil
        t20:     nil
        t21:     nil

BlockContext>>on:do:
    Receiver: [] in ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView: {[t5 := t5 
file...etc...
    Arguments and temporary variables:
        t1:     FontSubstitutionDuringLoading
        t2:     [] in ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView: ...etc...
        t3:     true
    Receiver's instance variables:
        sender:     BlockContext>>on:do:
        pc:     604
        stackp:     0
        nargs:     0
        startpc:     601
        home:     ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView:

[] in ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView: {[[t5 := t5 
fileInObjectAndCodeForProject]   on: FontSubstitutionDuringLoadin...]}
    Arguments and temporary variables:
        t1:     nil
        t2:     a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 
32 111 99 99 117 114...etc...
        t3:     nil
        t4:     nil
        t5:     a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 
32 111 99 99 117 114...etc...
        t6:     nil
        t7:     false
        t8:     UnixFileDirectory on '/home/jens/.npsqueak/My 
Squeak/Squeaklets'
        t9:     a RWBinaryOrTextStream a ByteArray(101 114 114 111 114 
32 111 99 99 117 114...etc...
        t10:     nil
        t11:     nil
        t12:     nil
        t13:     a ChangeSet named Unnamed1
        t14:     true
        t15:     TTCFont(BitstreamVeraSans 9 Bold)
        t16:     0
        t17:     a Set()
        t18:     nil
        t19:     nil
        t20:     nil
        t21:     nil


--- The full stack ---
RWBinaryOrTextStream(Object)>>doesNotUnderstand: 
#fileInObjectAndCodeForProject
[] in ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView: {[t5 := t5 
fileInObjectAndCodeForProject]}
BlockContext>>on:do:
[] in ProjectLoading 
class>>openName:stream:fromDirectory:withProjectView: {[[t5 := t5 
fileInObjectAndCodeForProject]   on: FontSubstitutionDuringLoadin...]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BlockContext>>ensure:
ProjectLoading class>>openName:stream:fromDirectory:withProjectView:
CodeLoader>>installProject
[] in ProjectLauncher>>installProjectFrom: {[t1 installProject]}
BlockContext>>on:do:
[] in ProjectLauncher>>installProjectFrom: {[[t1 installProject]   on: 
ProjectViewOpenNotification   do: [:t2 | t2 resum...]}
BlockContext>>on:do:
[] in ProjectLauncher>>installProjectFrom: {[[[t1 installProject]   on: 
ProjectViewOpenNotification   do: [:t2 | t2 resu...]}
BlockContext>>on:do:
ProjectLauncher>>installProjectFrom:
ProjectLauncher>>startUpAfterLogin
ProjectLauncher>>doEtoyLogin
ProjectLauncher>>startUp
[] in AutoStart class>>startUp: {[t4 startUp]}
WorldState>>runStepMethodsIn:
PasteUpMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor 
yield.  false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}



More information about the Beginners mailing list