| 17 | |
| 18 | Bugs: |
| 19 | * Setting a Parent to a GIS Location causes an error on MySQL/Python25 (sqlite on Python26 fine) |
| 20 | {{{ |
| 21 | Traceback (most recent call last): |
| 22 | File "gluon/restricted.py", line 186, in restricted |
| 23 | exec ccode in environment |
| 24 | File "/home/web2py/applications/eden/controllers/gis.py", line 1672, in <module> |
| 25 | File "gluon/globals.py", line 96, in <lambda> |
| 26 | self._caller = lambda f: f() |
| 27 | File "/home/web2py/applications/eden/controllers/gis.py", line 491, in location |
| 28 | output = shn_rest_controller(module, resource) |
| 29 | File "/home/web2py/applications/eden/models/01_crud.py", line 1891, in shn_rest_controller |
| 30 | res, req = s3xrc.parse_request(module, resource, session, request, response) |
| 31 | File "applications/eden/modules/s3xrc.py", line 2798, in parse_request |
| 32 | debug=self.debug) |
| 33 | File "applications/eden/modules/s3xrc.py", line 2780, in request |
| 34 | debug=self.debug) |
| 35 | File "applications/eden/modules/s3xrc.py", line 1755, in __init__ |
| 36 | self.resource.load() |
| 37 | File "applications/eden/modules/s3xrc.py", line 600, in load |
| 38 | self.__set = self.__db(self.__query).select(self.table.ALL, limitby=limitby) |
| 39 | File "gluon/sql.py", line 3214, in select |
| 40 | rows = response(query) |
| 41 | File "gluon/sql.py", line 3209, in response |
| 42 | db._execute(query) |
| 43 | File "gluon/sql.py", line 978, in <lambda> |
| 44 | self._execute = lambda *a, **b: self._cursor.execute(*a, **b) |
| 45 | File "/var/lib/python-support/python2.5/MySQLdb/cursors.py", line 166, in execute |
| 46 | self.errorhandler(self, exc, value) |
| 47 | File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 35, in defaulterrorhandler |
| 48 | raise errorclass, errorvalue |
| 49 | ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near |
| 50 | }}} |