On 30 May 2006 at 11:03, Michael Bayer wrote:

> thats very strange, --verbose should have everything dumping out.  do 
> you have sqlite installed ?  

yes


> if you just run with no dburi at all 
> what do you get ?  (maybe windows is making somehting different, not 
> sure)


works fine, I see the sql statements.

So I suspect there's an exception in the the driver, before sql statements 
would 
be emitted. But the exception details are trapped somewhere.

commenting out the sys.stdout assignement to Logger() doesn't change a thing.

So, there must be an exception, but it's trapped by unittest.. I can't see how 
to get 
unittest to raise exceptions to top level so I can see them.

--



btw, with firebird, testdelete "hangs" for a while. Looks like some kind of 
timeout::

testdelete (__main__.QueryTest) ... ERROR
Traceback (most recent call last):
  File "test\query.py", line 207, in ?
    testbase.main()
  File "E:\prj\src\sqlalchemy\test\testbase.py", line 356, in main
    runTests(suite)
  File "E:\prj\src\sqlalchemy\test\testbase.py", line 347, in runTests
    runner.run(suite)
  File "D:\Python24\lib\unittest.py", line 695, in run
    test(result)
  File "E:\prj\src\sqlalchemy\test\testbase.py", line 320, in __call__
    return self.do_run(result)
  File "E:\prj\src\sqlalchemy\test\testbase.py", line 306, in do_run
    test(result)
  File "E:\prj\src\sqlalchemy\test\testbase.py", line 320, in __call__
    return self.do_run(result)
  File "E:\prj\src\sqlalchemy\test\testbase.py", line 306, in do_run
    test(result)
  File "D:\Python24\lib\unittest.py", line 260, in run
    testMethod()
  File "test\query.py", line 105, in testdelete
    self.users.insert().execute(user_id = 7, user_name = 'jack')
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\sql.py", line 505, in execute
    return self.execute_using(self.engine, *multiparams, **params)
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\sql.py", line 459, in execute_using

    return self.compile(engine=engine, parameters=compile_params).execute(*multi
params, **params)
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\sql.py", line 366, in execute
    return e.execute_compiled(self, *multiparams, **params)
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\engine\base.py", line 462, in execu
te_compiled
    connection = self.contextual_connect(close_with_result=True)
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\engine\base.py", line 475, in conte
xtual_connect
    return Connection(self, close_with_result=close_with_result, **kwargs)
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\engine\base.py", line 177, in __ini
t__
    self.__connection = connection or engine.raw_connection()
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\engine\base.py", line 493, in raw_c
onnection
    return self.connection_provider.get_connection()
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\engine\default.py", line 34, in get
_connection
    return self._pool.connect()
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\pool.py", line 84, in connect
    return ConnectionFairy(self).checkout()
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\pool.py", line 130, in __init__
    self.connection = pool.get()
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\pool.py", line 102, in get
    return self.do_get()
  File "e:\prj\src\sqlalchemy\lib\sqlalchemy\pool.py", line 226, in do_get
    return self._pool.get(self._max_overflow > -1 and self._overflow >= self._ma
x_overflow, self._timeout)
  File "D:\Python24\lib\Queue.py", line 128, in get
    self.not_empty.wait(remaining)
  File "d:\python24\lib\threading.py", line 222, in wait
    _sleep(delay)
KeyboardInterrupt


-- 
Brad Clements,                [EMAIL PROTECTED]    (315)268-1000
http://www.murkworks.com                          
AOL-IM or SKYPE: BKClements




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to