Is LOAD broken in Web2Py github repo?

53 views
Skip to first unread message

mjm

unread,
Jul 9, 2013, 4:45:38 PM7/9/13
to web...@googlegroups.com
LOADed components don't seem to work anymore in the development version of w2p (2.6.0-development+timestamp.2013.07.08.01.37.54). 

As a test I modified the welcome to have this controller:

def loaded():
    return SQLFORM.grid(db.auth_user, csv=False)

And this view:

{{extend 'layout.html'}}
{{=LOAD('default','loaded',ajax=True)}}

The page shows only the text "Loading".

Regular w2p (2.5.0) works fine. 

Anthony

unread,
Jul 9, 2013, 5:28:52 PM7/9/13
to web...@googlegroups.com
Did you update to the latest web2py.js?

Marcel Maré

unread,
Jul 10, 2013, 1:38:49 AM7/10/13
to web...@googlegroups.com
Just to make sure I did a fresh git checkout, so I should have the latest of everything. Emptied Safari's caches. Had the same problem in Firefox.

Marcel Maré
--
 
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/nAldbxLjcIo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Niphlod

unread,
Jul 10, 2013, 2:57:08 AM7/10/13
to web...@googlegroups.com
please pack a minimal app so we can check what's going on

Marcel Maré

unread,
Jul 10, 2013, 6:05:20 AM7/10/13
to web...@googlegroups.com
I already did in my original post: it's the Welcome app plus a minimal controller+view. 

Marcel J. Maré

Niphlod

unread,
Jul 10, 2013, 7:49:27 AM7/10/13
to web...@googlegroups.com
there's no attachment to the post ..... "pack an app" means "click on the pack button on the admin app to create an archive" .... so we can test EXACTLY your app.

Anthony

unread,
Jul 10, 2013, 8:06:58 AM7/10/13
to web...@googlegroups.com
And you're sure you've got the new version of web2py.js in the app (i.e., you didn't create the new app based on an old version of welcome.w2p that might still be on your system)? To be sure, make sure the contents look like this: https://code.google.com/p/web2py/source/browse/applications/welcome/static/js/web2py.js.

Anthony

"Marcel J. Maré"

unread,
Jul 10, 2013, 11:22:09 AM7/10/13
to web...@googlegroups.com
LOAD works again. Don't ask me why. Caching in browser/PyCharm/Dropbox? GitHub? Brainfart? 

I feel bad wasting your time, guys. Sorry.

Marcel
Reply all
Reply to author
Forward
0 new messages