On Thursday, July 6, 2017 at 2:31:03 AM UTC-7, Dave S wrote: > > > > On Thursday, July 6, 2017 at 2:27:05 AM UTC-7, Dave S wrote: >> >> >> On Tuesday, July 4, 2017 at 11:55:21 PM UTC-7, Massimo Di Pierro wrote: >>> >>> Please help us test the new web2py: >>> >>> >>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip >>> >>> >>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_osx.zip >>> >>> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_win.zip >>> >>> Personally and on behalf of the community: thanks to everybody who has >>> contributed! >>> >>> It has been a year but we piled up a huge number of small changes and >>> bug fixes. >>> >>> >> Are there still pull requests pending on the book? >> >> > > Oh, and my progress report: > > Some simple tests done so far, including an fpdf page. Server and client > are both on an older Fedora system with a recent Firefox, Python > 2.7.something. > > The only problems I've seen are the me-toos I posted (manage button, graph > links) > > On Windows (with the web2py_win package), 2 apps being ported have had DAL-related errors.
For one, where I copied the storage.sqlite file over, <type 'exceptions.KeyError'> 'Column QuarterMaster.IssueYr not found (SQLTABLE)'Version web2py™ Version 2.15.0-beta+timestamp.2017.07.05.06.50.17 Python Python 2.7.9: C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\web2py.exe (prefix: ) Traceback 1. 2. 3. 4. 5. 6. 7. 8. Traceback (most recent call last): File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "<string>", line 77, in <module> File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\sqlhtml.py", line 3400, in __init__ "Column %s not found (SQLTABLE)" % colname) KeyError: 'Column QuarterMaster.IssueYr not found ( For the other, my controller does the usual "form = SQFORM(db.tab2)", where tab2 has a field "partof" ref tab1, and a string field I want to get autofocus, so I set the widget, and I set the default value for a boolean field according to a request.vars value. I get a format error: 4. 35. 36. 37. 38. 39. 40. Traceback (most recent call last): File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "C:/Users/Dave/web2py_win/web2py_win-2.15.0b1/web2py/applications/shortcuts/controllers/default.py" <http://127.0.0.1:8000/admin/default/edit/shortcuts/controllers/default.py>, line 178, in <module> File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\globals.py", line 406, in <lambda> self._caller = lambda f: f() File "C:/Users/Dave/web2py_win/web2py_win-2.15.0b1/web2py/applications/shortcuts/controllers/default.py" <http://127.0.0.1:8000/admin/default/edit/shortcuts/controllers/default.py>, line 56, in addsegment form = SQLFORM(db.segment) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\sqlhtml.py", line 1406, in __init__ inp = self.widgets.options.widget(field, default) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\sqlhtml.py", line 324, in widget options = requires[0].options() File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\validators.py", line 600, in options self.build_set() File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\validators.py", line 586, in build_set records = self.dbset(table).select(*fields, **dd) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\objects.py", line 2211, in select return adapter.select(self.query, fields, attributes) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\adapters\sqlite.py", line 82, in select return super(SQLite, self).select(query, fields, attributes) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\adapters\base.py", line 760, in select return self._select_aux(sql, fields, attributes, colnames) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\adapters\base.py", line 739, in _select_aux return processor(rows, fields, colnames, cacheable=cacheable) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\adapters\base.py", line 305, in parse for row in rows File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\adapters\base.py", line 231, in _parse value = self.parse_value(value, fit, ft, blob_decode) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\adapters\base.py", line 198, in parse_value return self.parser.parse(value, field_itype, field_type) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\parsers\__init__.py", line 101, in parse return self.registered[field_itype](value, field_type) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\parsers\__init__.py", line 76, in __call__ return self.call(value, field_type) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\parsers\__init__.py", line 70, in _call_with_extras return self.f(self.parser, value, **extras) File "C:\Users\Dave\web2py_win\web2py_win-2.15.0b1\web2py\gluon\packages\dal\pydal\parsers\sqlite.py", line 19, in _decimal value = ('%.' + decimals + 'f') % value ValueError: unsupported format character ' ' (0x20) at index 2 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.