Massimo,
I teach at UCSC; here is the class web
page:
https://sites.google.com/a/ucsc.edu/luca/classes/cmps-183-hypermedia-and-the-web/cmps-183-fall-2012
Thank you for the help; I will do this next time a student package does not
load properly!
Luca
On Friday, November 9, 2012 8:18:21 AM UTC-8, Massimo Di Pierro wrote:
Hello Luca,
where do you teach?
Look into gluon/admin.py app_install. There is a try...except. Try replace
except Exception:
if did_mkdir:
rmtree(path)
return False
with
except Exception:
import traceback
print traceback.format_exc()
if did_mkdir:
rmtree(path)
return False
Also if you open a ticket about this, I will make sure better errors are
reported via admin.
I have apps that allows students to upload projects w2p and bulk install
them, bulk register and test them. Need polishing.
Remind me in a couple of weeks and I will be happy to share them.
Massimo
On Friday, 9 November 2012 00:08:32 UTC-6, Luca wrote:
I am using web2py to teach a class on web development, and sometimes the
students submit .w2p packages as assignments that cannot be loaded. When I
or the TAs try to load them, we get the unable to install application
message.
What can cause this message?
The packages open without problem when I tar xfvz them, so it's not clear
to me what the problem is.
Many thanks!
--