| Issue 33: | karrigell crash | |
| 1 person starred this issue and may be notified of changes. | Back to list |
with karrigell when refresh webpage, python.exe crashes
Feb 7, 2009
Project Member
#1
mkleehammer
Status:
Investigating
Feb 8, 2009
winxp python2.54 karrigell2.40 pyodbc2.13
code:
# -*- coding:utf-8 -*-
import pyodbc
cnxt_str = "DSN=datang;UID=datang;PWD=datang"
sql_select = "select * from bp_j_stat_rtj order by item_code asc"
try:
cursor = pyodbc.connect(cnxt_str).cursor()
rows = cursor.execute(sql_select).fetchall()
except:
print u"找不到服务器!"
raise SCRIPT_END
print "<TABLE border = 1>"
for rec in rows:
print "<TR>"
print "<TD>", rec[3], "</TD>"
print "<TD>", rec[2], "</TD>"
print "<TD>", rec[4], "</TD>"
print "</TR>"
print "</TABLE>"
first succeed, refresh this page down
Feb 8, 2009
sorry
Feb 8, 2009
btw, ceODBC no problem http://ceodbc.sourceforge.net/
Dec 31, 2009
I've got to be honest here, I can't really make sense of the language :) What database are you using? The code only shows the DSN, not the reset of the connection information. Also, can you create a script *outside* of the web application to reproduce this?
Sep 6, 2010
Closing due to lack of response. Sorry. Please retest with 2.1.8 and reopen if you are still having problems.
Status:
Invalid
Nov 21, 2010
(No comment was entered for this change.)
Status:
NoFix
|