undefined methods, errors and ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

undefined methods, errors and ...

Andreas Petermann-2
Hi list,

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?

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!

regards
Andreas

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: undefined methods, errors and ...

Janko Mivšek
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
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida