[web2py] Re: 1.91.4 error reading version file

2010-12-28 Thread reyelts
Both downloads were done using Linux, which wouldn't be playing around with the names like Windows. The downloads were done to a clean/empty directory, so no infection from a prior file, either.

Re: [web2py] Re: 1.91.4 error reading version file

2010-12-28 Thread Jonathan Lundell
On Dec 28, 2010, at 8:34 AM, reyelts wrote: Both downloads were done using Linux, which wouldn't be playing around with the names like Windows. The downloads were done to a clean/empty directory, so no infection from a prior file, either. What does unzip -l show you on the downloaded .zip?

[web2py] Re: 1.91.4 error reading version file

2010-12-27 Thread reyelts
So is this a packaging error when building the source package for download from web2py.com? On Dec 25, 5:22 pm, Jonathan Lundell jlund...@pobox.com wrote: On Dec 25, 2010, at 1:40 PM, reyelts wrote: Either the code should be looking for the name 'version' (since that's what is shipped) or

Re: [web2py] Re: 1.91.4 error reading version file

2010-12-27 Thread Jonathan Lundell
On Dec 27, 2010, at 7:39 AM, reyelts wrote: So is this a packaging error when building the source package for download from web2py.com? I got VERSION just now when I downloaded it. http://www.web2py.com/examples/static/web2py_src.zip Is 'version' repeatable for you? What OS and file system,

[web2py] Re: 1.91.4 error reading version file

2010-12-27 Thread reyelts
I do wget --no-clobber --directory-prefix=blah http://www.web2py.com/examples/static/web2py_src.zip; followed by unzip -o -q... to unravel the file. For both web2py_src.zip and web2py_win.zip, I got version. In both cases, other file names with uppercase characters were extracted normally (like

Re: [web2py] Re: 1.91.4 error reading version file

2010-12-27 Thread Jonathan Lundell
On Dec 27, 2010, at 12:13 PM, reyelts wrote: I do wget --no-clobber --directory-prefix=blah http://www.web2py.com/examples/static/web2py_src.zip; followed by unzip -o -q... to unravel the file. For both web2py_src.zip and web2py_win.zip, I got version. In both cases, other file names with

[web2py] Re: 1.91.4 error reading version file

2010-12-27 Thread mart
this works for me on ac os x: import string from urllib2 import Request, urlopen, URLError, HTTPError url = 'http://www.web2py.com/examples/static/web2py_src.zip' req = Request(url) try: oFile = urlopen(req) latestVersion = string.strip(string.split(string.split(string.split(oFile.read(),

[web2py] Re: 1.91.4 error reading version file

2010-12-27 Thread mart
and this to download ad extract to unique location: from time import strftime, localtime import string from urllib2 import Request, urlopen, URLError, HTTPError from zipfile import ZipFile,ZipExtFile, ZIP_STORED, ZipInfo dateTimeStamp = '{0}'.format(strftime('%y%m%d%H%M%S',