On Tuesday, February 6, 2018 at 1:57:29 PM UTC-8, Dave S wrote:
>
> [...]
>
I think this is on 2.14.6; I may be able to test newer web2py's tonight.
> Am I doing something wrong, or was there a hiccup in intersection?
>
>
Downloading 2.16.1 and blindly copying my 2.14.6 copy to the new
environment, I get
Traceback (most recent call last):
File "C:\Users\Dave\web2py_win\web2py_win -2.16\web2py\gluon\restricted.py",
line 219, in restricted
exec(ccode, environment)
File "C:/Users/Dave/web2py_win/web2py_win
-2.16/web2py/applications/shortcuts/controllers/default.py"
<http://127.0.0.1:8000/admin/default/edit/shortcuts/controllers/default.py>,
line 275, in <module>
File "C:\Users\Dave\web2py_win\web2py_win -2.16\web2py\gluon\globals.py",
line 419, in <lambda>
self._caller = lambda f: f()
File "C:/Users/Dave/web2py_win/web2py_win
-2.16/web2py/applications/shortcuts/controllers/default.py"
<http://127.0.0.1:8000/admin/default/edit/shortcuts/controllers/default.py>,
line 198, in fromto
runs1 = db((db.run.id == db.segment.partof) & segq1).select("run.id",
"run.description", "run.distance","run.duration", orderby =
db.run.id|db.run.duration, distinct=True)
File "C:\Users\Dave\web2py_win\web2py_win
-2.16\web2py\gluon\packages\dal\pydal\objects.py", line 2250, in select
return adapter.select(self.query, fields, attributes)
File "C:\Users\Dave\web2py_win\web2py_win
-2.16\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.16\web2py\gluon\packages\dal\pydal\adapters\base.py", line 762, in select
return self._select_aux(sql, fields, attributes, colnames)
File "C:\Users\Dave\web2py_win\web2py_win
-2.16\web2py\gluon\packages\dal\pydal\adapters\base.py", line 741, in
_select_aux
return processor(rows, fields, colnames, cacheable=cacheable)
File "C:\Users\Dave\web2py_win\web2py_win
-2.16\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.16\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.16\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.16\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.16\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.16\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.16\web2py\gluon\packages\dal\pydal\parsers\sqlite.py", line 19, in _decimal
value = ('%.' + decimals + 'f') % value
ValueError: unsupported format character ' ' (0x20) at index 2
/dps
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.