@Paul
I have smth like this in web2py 1.67.1,, python2.5, linux
{{for image in images:}}
{{=A(IMG(_height="200px",
_src=URL(r=request,f='download',args=[image.file_mini])),
_href=URL(r=request,f='show_image',args=[image.id]))}}
{{pass}}
I cannot reproduce your problem(with more than 20 pics), it just keeps
refreshing
On Mon, Sep 21, 2009 at 11:34 PM, Paul <[email protected]> wrote:
>
> I don't know if you were referring to my problem or Iceberg's...
> regardless, I checked out the latest trunk (rev 1240) and tried my
> application again and was able to reproduce my bug (with essentially
> the same error trace as above).
>
> the view is essentially this:
>
> {{for img in imgs:}}
> {{u=URL(r=request,c='default',f='download', args= img.img_name)}}
> {{=A(IMG(_src=u),_href=u)}}
> {{pass}}
>
> and there are about 10 png's in the 'uploads' directory / in the
> images table. refresh the page ~20 times and it crashes.
>
> Paul
>
> On Sep 21, 5:06 pm, mdipierro <[email protected]> wrote:
>> I cannot reproduce this. Can you try the latest trunk and let me know
>> if you still get before we spend time in debugging?
>>
>> On Sep 21, 10:02 am, Iceberg <[email protected]> wrote:
>>
>> > Thanks for your attention, but the new experimental server might not
>> > be the suspect this time, because my production server is still using
>> > SVN rev1222, which is earlier than the experimental server (sneaky
>> > server) 's birth.
>>
>> > On Sep21, 9:02pm, mdipierro <[email protected]> wrote:
>>
>> > > The trunk uses a new experimental server. It still has come problems.
>> > > I will revert to cherrypy for now
>>
>> > > Massimo
>>
>> > > On Sep 21, 4:16 am, Iceberg <[email protected]> wrote:
>>
>> > > > On Sep11, 5:13pm, zahariash <[email protected]> wrote:
>>
>> > > > > On 11 Wrz, 07:13, mdipierro <[email protected]> wrote:
>>
>> > > > > > please check if it is fixed. I had to change your fix because it
>> > > > > > was
>> > > > > > not python 2.4 compliant.
>>
>> > > > > Revision 1124 works ok. It's fixed.
>>
>> > > > I never saw web2py breaks in my 17 months experience, but I just
>> > > > encountered an web2py out-of-service on my Linux production server.
>> > > > The process is still running, but every request results in an error
>> > > > ticket page, which are all
>> > > > IOError: [Errno 24] Too many open files: '/home/me/web2py_trunk/
>> > > > blahblah'
>>
>> > > > I am using source code version from google svn rev1222. Is the leak
>> > > > found by Zahariash already fixed in this revision?
>>
>> > > > After kill and restart, now everything seems ok. Anyway, I will keep
>> > > > close look to my production server, and come back to you if anything
>> > > > new happened.
>>
>> > > > Iceberg.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---