On Dec 10, 2009, at 10:33 AM, Thadeus Burgess wrote:

> I am able to install .w2p.gz apps using the latest devel version.
> 
> Also, when he says <application_name> the brackets mean insert a real
> app name. He just decided to not include his app name to be more
> understandable for us.
> 
> The problem could be anything (see thats why using catchall exceptions
> don't benefit!). For debugging, personally I would edit the admin app
> and disable the try:catch statements, to determine the real error.

app_install() should probably return a message along with its failure flag.

It doesn't seem to me that .w2p.gz should work, given the app_install logic:

    if filename[-4:] == '.w2p':
        extension = 'w2p'
    elif filename[-7:] == '.tar.gz':
        extension = 'tar.gz'
    else:
        extension = 'tar'
    upname = apath('../deposit/%s.%s' % (app, extension), request)


--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to