[aida] undefined methods, errors and ...

Janko Mivšek janko.mivsek at eranova.si
Sat Aug 9 11:12:17 CEST 2008


Hi Andreas,

Andreas Petermann wrote:

> i mentioned this problem some time ago, perhaps anybody knows the answer 
> now. When i request a file, which is stored in homedir, i get sometimes 
> an error message, that the response is not a streamed one. I have tryed 
> out this on several platforms but always the same problem.
> Any hints?

Try with newest Swazoo 2.2beta, which contains a patch for this problem.

> An other problem using Aida are undefined methods. For example creating 
> an methodImage. The #importImage:from: in WebStyle does not work. Only 
> because asFilename is not implemented! The next problem is getting 
> #contentsOfEntireFile does not work, because it is not set to binary 
> when loading non text files via #importImage:from: for example.
> 
> I think when someone new comes to Aida this problems could discourage 
> them to stay!

It is true and this is legacy of Aida coming from VW to Squeak. We need 
to cleanup that and every help such as yours is encouraged.

About 'myfile.st' asFilename, this need to be changed to (SpFilename 
named: 'myfile.st), this is then a portable because it is based on Sport.

I just started a code review to find all above cases and correct them 
accordingly.

Best regards
JAnko


-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list