About the first problem: Could you check the if at line 661 in sql.py is executed? It should be.
About the second problem: This is a mercurial problem. I guess the uploads folder is not there and should be created. Massimo On Dec 13, 7:53 pm, DenesL <denes1...@yahoo.ca> wrote: > _db_codec problem gone but got a couple new mssql problems with rev.27 > on winXP: > > Traceback (most recent call last): > File "C:\web2py\hg\gluon\restricted.py", line 184, in restricted > exec ccode in environment > File "C:/web2py/hg/applications/w2/controllers/appadmin.py", line > 308, in <module> > File "C:\web2py\hg\gluon\globals.py", line 103, in <lambda> > self._caller = lambda f: f() > File "C:/web2py/hg/applications/w2/controllers/appadmin.py", line > 128, in insert > if form.accepts(request.vars, session): > File "C:\web2py\hg\gluon\sqlhtml.py", line 903, in accepts > self.vars.id = self.table.insert(**fields) > File "C:\web2py\hg\gluon\sql.py", line 1954, 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 'F' to data > type bit. (245) (SQLExecDirectW)") > > and > > Traceback (most recent call last): > File "C:\web2py\hg\gluon\restricted.py", line 184, in restricted > exec ccode in environment > File "C:/web2py/hg/applications/w2/controllers/appadmin.py", line > 308, in <module> > File "C:\web2py\hg\gluon\globals.py", line 103, in <lambda> > self._caller = lambda f: f() > File "C:/web2py/hg/applications/w2/controllers/appadmin.py", line > 128, in insert > if form.accepts(request.vars, session): > File "C:\web2py\hg\gluon\sqlhtml.py", line 858, in accepts > newfilename = field.store(source_file, original_filename) > File "C:\web2py\hg\gluon\sql.py", line 2652, in store > dest_file = open(pathfilename, 'wb') > IOError: [Errno 2] No such file or directory: 'C:\\web2py\\hg\ > \applications\\w2/databases\\..\\uploads\ > \test.uplo1.acf8c8d3cccc62d9.4152524f424154482e545854.TXT' -- 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.