help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] POP and SMTP assistance


From: Stephen
Subject: Re: [Help-smalltalk] POP and SMTP assistance
Date: Wed, 05 Sep 2007 17:13:02 +1200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)


I believe this is actually a bug; tokens were removed from the kernel some time ago, as the ANSI #subStrings: method suffices. Please replace "tokensBasedOn:" with "subStrings:" and let us know whether it worked.


Replaced the line in MIME.st as shown.
    | arr |
    arr := string subStrings: $..

I'm running Gnu-Smalltalk 2.3.3, if you need me to install the latest version I can. (2.3.3. is packaged with Gentoo Linux so that is why I'm on 2.3.3)


I got this error output after updating MIME.st and running the program again. Is the problem something that is obvious?

Thanks


~/projects_smalltalk $ gst pop1.st
Loading package TCP
Loading package SUnit
SUnitTest->14 run, 14 passed, 0 failed, 0 errors
TestSuitesScriptTest->10 run, 10 passed, 0 failed, 0 errors
Loading package NetClients
Recompiling classes...
New messages: 2
bytes 3240
ids (1 2 )
sizes LookupTable (
        1->1620
        2->1620
)
Object: RemoveDotStream new "<-0x4c6217d0>" error: Invalid argument -2: must be positive
SystemExceptions.InvalidArgument(Exception)>>#signal
SystemExceptions.InvalidArgument(Exception)>>#signal:
SystemExceptions.InvalidArgument class(SystemExceptions.InvalidValue class)>>#signalOn:reason:
NetClients.RemoveDotStream(Stream)>>#skip:
NetClients.MIME.MimeScanner(NetClients.MIME.SimpleScanner)>>#skip:
NetClients.MIME.MimeScanner>>#scanToBoundary:
NetClients.MIME.MimeEntity>>#parseMultipartBodyFrom:
NetClients.MIME.MimeEntity>>#parseBodyFrom:
NetClients.MIME.MimeEntity>>#readFrom:
NetClients.MIME.MimeEntity class>>#readFrom:
NetClients.MIME.MimeEntity class(NetClients.MIME.MessageElement class)>>#readFromClient:
NetClients.POP.POPProtocolInterpreter>>#popRetrieve:
NetClients.POP.POPClient>>#getNewMailMessages:delete:
[] in UndefinedObject>>#executeStatements
BlockClosure>>#ensure:
UndefinedObject>>#executeStatements
Object: POPProtocolInterpreter new "<-0x4c624248>" error: Protocol error: format=flowed
NetClients.ProtocolError(Exception)>>#signal
NetClients.ProtocolError(Exception)>>#signal:
NetClients.POP.POPProtocolInterpreter(NetClients.NetProtocolInterpreter)>>#protocolError:
[] in NetClients.POP.POPProtocolInterpreter>>#checkResponse:
NetClients.POP.POPProtocolInterpreter>>#checkResponse:ifError:
NetClients.POP.POPProtocolInterpreter>>#checkResponse:
NetClients.POP.POPProtocolInterpreter(NetClients.NetProtocolInterpreter)>>#checkResponse
NetClients.POP.POPProtocolInterpreter>>#popQuit
NetClients.POP.POPClient>>#logout
NetClients.POP.POPClient(NetClients.NetClient)>>#close
[] in UndefinedObject>>#executeStatements<disabled>
BlockClosure>>#ensure:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]