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 <denes1...@yahoo.ca> 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 <mdipie...@cs.depaul.edu> 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 web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to