I got the problem. appliances is an old app and it sets the content disposition to .tar even if the app is a .w2p. web2py can upload both .tar and .w2p but, on some systems, it gets confused when the extension is wrong. I think I fixed it in appliances.
Massimo On Jul 3, 12:20 pm, Yarko Tymciurak <yark...@gmail.com> wrote: > BTW - also renaming the download to spreadsheet.w2p works fine - web2py is > able to install it, and it also runs no problems. > > Massimo - talk about backwards compatibility - since appliances (still) > generates *.tar files, why not have application install tolerate the *.tar > files, as it has in the past? > > On Fri, Jul 3, 2009 at 12:17 PM, Yarko Tymciurak <yark...@gmail.com> wrote: > > Here's what I found: > > > - this downloads a tar file; web2py 1.65 is able to install it that way; > > > I just untarred, and moved to my web2py/appliances.- it runs; it edits; > > (authentication wasn't enables, so login gave invalid function, but that's > > it. > > > I recall an issue w/ old Firefox's and incomplete downloads (Fedora just > > upgraded me to Firefox 3.5 the other day; I think it's just the release > > candidate) > > > My spreadsheet.tar is 65798 bytes; > > > Here are some checksums: > > > $ ls -l sp* > > -rw-rw-r--. 1 yak007 yak007 65798 2009-07-02 22:09 spreadsheet.tar > > $ sha1sum spreadsheet.tar > > f0630cc59ea064783618cb5500fb65fc8b9c57cd spreadsheet.tar > > $ sha256sum spreadsheet.tar > > b7cae50943cd5f8c02565b8be7b08bde003b4578a401b4afe83c28a4ca82d3f6 > > spreadsheet.tar > > $ > > > - Yarko > > > On Fri, Jul 3, 2009 at 9:23 AM, Fran <francisb...@googlemail.com> wrote: > > >> On Jul 3, 2:44 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > >> > Is it possible the app is called "spreadsheet" and you have > >> > "Spreadsheet" in the URL? Capitalizaiton sometimes matters. > > >> No, not the issue. > > >> Now I'm getting this error: > >> File "C:/Bin/web2py/applications/spreadsheet/controllers/ > >> default.py", line 5, in index > >> sheet = Sheet.loads(session.psheet) > >> File "C:\Bin\web2py\applications\spreadsheet\modules\sheet.py", line > >> 44, in loads > >> sheet=cPickle.loads(data) > >> TypeError: object cannot be interpreted as an index > > >> I managed to get it to install by renaming as .w2p instead of .tar. > >> One time I named app as 'sheet' & get the error as: > >> File "C:/Bin/web2py/applications/sheet/controllers/default.py", line > >> 5, in index > >> sheet = Sheet.loads(session.psheet) > >> File "C:\Bin\web2py\applications\sheet\modules\sheet.py", line 44, > >> in loads > >> sheet=cPickle.loads(data) > >> ImportError: No module named a > > >> (Yes it truncates there in every ticket) > > >> I added .w2p as 'spreadsheet' & it gives the 'index' error. > > >> I think the download corruption could be a mime file-type issue...my > >> browser seems to think it's an XML document... > > >> F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---