[Seaside] Seaside file upload oddness when file includes trailing
ckasmire at yahoo.com
Fri Oct 20 21:45:04 UTC 2006
With Notepad I create a text file such as: 'text file
with no training cr' and save it as 'nocr.txt'.
Then open that file and edit it by adding a cr at the
end of the file and saving it as: 'withcr.txt'
Starting with a clean image (seaside-2.6) that I just
I start seaside: 'WAKom startOn: 8080'.
Open my browser on seaside and navigate to 'tests'>
'alltests' > 'upload'.
select 'upload', choose the file named 'nocr.txt' and
then click the 'submit' button. Everything works -
anchor with file name and file contents show.
Do the same with the file: 'withcr.txt' and nothing
happens (the little hourglass cursor shows seemingly
forever). If I choose another file (without a
trainling cr) and hit 'submit' then the new file will
work fine - showing the contents, etc.
No effect on squeak.
The problem is not with a specific file. I can load
jpegs, text files, html files, etc. They all work as
long as there is no trailing cr.
This is on Windows 2000 with opera 9.01. I also tried
it with Firefox and same thing.
Thanks for your help,
--- William Harford <seaside at harford.org> wrote:
> I just tried it using Windows and have no
> I am using something that mostly resembles
> Try installing a version of seaside closer to 2.6a3
> into a fresh
> image and see if you see a difference.
> Have you tried a variety of files ? If it is small
> can you send the
> file you are having trouble with to the list and
> maybe we could try
> and duplicate.
> On Oct 20, 2006, at 2:09 PM, William Harford wrote:
> > Chuck,
> > Works fine for me on my Mac.
> > What type of file are you trying to upload?
> > That page displays the contents of the file you
> are uploading so
> > displaying a non-text file might be problematic.
> > What do you mean by "hang". Can you still access
> the app. Is squeak
> > taking up 100% of your CPU time ? Does it require
> a restart?
> > Thanks
> > Will
> > On Oct 20, 2006, at 1:59 PM, Chuck Kasmire wrote:
> >> Maybe this has been addressed somewhere but it
> >> that when I try to upload a file that has a
> >> carriage return in it, seaside 'hangs' - waiting
> >> forever for a response.
> >> I am using (on Windows):
> >> Squeak3.8-6555full
> >> Seaside2.6b1-mb.79
> >> Scriptaculous-lr.137
> >> I have tried this with both Opera and Firefox
> >> same result.
> >> In seaside going to '[tests], 'allcanvastests',
> >> 'upload':
> >> find a file that loads properly, then edit the
> file to
> >> add a trailing carriage return. Then try to load
> >> Seaside seems to 'hang' endlessly waiting...
> >> I hope this can be reproduced.
> >> Thanks,
> >> Chuck Kasmire
> >> Do You Yahoo!?
> >> Tired of spam? Yahoo! Mail has the best spam
> protection around
> >> http://mail.yahoo.com
> >> _______________________________________________
> >> Seaside mailing list
> >> Seaside at lists.squeakfoundation.org
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Seaside