represent_exception is not called:
Traceback (most recent call last):
File "C:\web2py\hg\gluon\restricted.py", line 173, in restricted
exec ccode in environment
File "C:/web2py/hg/applications/nav3/controllers/appadmin.py", line
305, in <module>
File "C:\web2py\hg\gluon\globals.py", line 96, in <lambda>
self._caller = lambda f: f()
File "C:/web2py/hg/applications/nav3/controllers/appadmin.py", line
124, in insert
if form.accepts(request.vars, session):
File "C:\web2py\hg\gluon\sqlhtml.py", line 898, in accepts
self.vars.id = self.table.insert(**fields)
File "C:\web2py\hg\gluon\sql.py", line 1891, in insert
self._db._adapter.execute(query)
File "C:\web2py\hg\gluon\sql.py", line 202, in execute
return self.cursor.execute(*a, **b)
DataError: ('22018', "[22018] [Microsoft][ODBC SQL Server Driver][SQL
Server]Conversion failed when converting the varchar value 'T' to data
type bit. (245) (SQLExecDirectW)")
On Dec 14, 9:39 am, mdipierro <[email protected]> wrote:
> Can you reproduce this with the latest trunk? Is
> SQLAdapter.represent_exception being called? What does it return?
>
> On Dec 14, 5:51 am, DenesL <[email protected]> wrote:
>
> > About uploads folder, is the problem that hg does not allow empty
> > folders?
> > None of the apps in the hg repository (including welcome) have an
> > uploads folder.
>
> > With rev.30:
>
> > Traceback (most recent call last):
> > File "C:\web2py\hg\gluon\restricted.py", line 173, in restricted
> > exec ccode in environment
> > File "C:/web2py/hg/applications/w3/controllers/appadmin.py", line
> > 304, in <module>
> > File "C:\web2py\hg\gluon\globals.py", line 96, in <lambda>
> > self._caller = lambda f: f()
> > File "C:/web2py/hg/applications/w3/controllers/appadmin.py", line
> > 124, in insert
> > if form.accepts(request.vars, session):
> > File "C:\web2py\hg\gluon\sqlhtml.py", line 898, in accepts
> > self.vars.id = self.table.insert(**fields)
> > File "C:\web2py\hg\gluon\sql.py", line 1875, in insert
> > self._db._adapter.execute(query)
> > File "C:\web2py\hg\gluon\sql.py", line 187, in execute
> > return self.cursor.execute(*a, **b)
> > DataError: ('22018', "[22018] [Microsoft][ODBC SQL Server Driver][SQL
> > Server]Conversion failed when converting the varchar value 'T' to data
> > type bit. (245) (SQLExecDirectW)")
>
> > On Dec 14, 12:59 am, mdipierro <[email protected]> wrote:
>
> > > I think I fixed the two problems in trunk. Please give it a try.
>
> > > For everybody else on these lists... these problems reported in this
> > > thread refer to testing the new DAL in trunk. It is a major rewrite.
> > > We are testing is step by step. None of these problems affect the old
> > > DAL in stable.
>
> > > Massimo
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.