On Feb 9, 2010, at 8:16 PM, mdipierro wrote: > I have never seen this. Let me know if you find out what the problem > is.
OK; tomorrow. This is on Linux. Looking at app_install, I see this: > upfile = open(upname, 'wb') > upfile.write(fobj.read()) > upfile.close() > path = apath(app, request) > os.mkdir(path) > did_mkdir = True > w2p_unpack(upname, path) > if extension != 'tar': > os.unlink(upname) > fix_newlines(path) > return upname > except Exception: > if did_mkdir: > rmtree(path) > return False But os.mkdir() will fail if the directory exists. > > On Feb 9, 6:58 pm, Jonathan Lundell <jlund...@pobox.com> wrote: >> On Feb 9, 2010, at 4:07 PM, Richard wrote: >> >>> I often do this and my only problem is when updating modules, which >>> requires me to restart the server so web2py uses the new versions. >> >> Hmm. I uninstalled the app, and then installed it from scratch (not >> compiled). Worked fine. >> >> I then installed it a second time, to simulate an upgrade, and got a flash: >> unable to install application >> >> >> >>> On Feb 10, 10:00 am, Jonathan Lundell <jlund...@pobox.com> wrote: >>>> Should I be able to upgrade a deployed app by installing the new version >>>> over the old one? If not, how? -- 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.