Closed GoogleCodeExporter closed 9 years ago
Friend showed me how to get a stack trace with gdb. Here it is:
#0 0x00002aaaafbf3661 in GetDataString (cur=0x8408d0, iCol=<value optimized
out>) at /tmp/pyodbc-2.1.7/src/getdata.cpp:188
#1 0x00002aaaafbf389a in GetData (cur=0x918940, iCol=1) at
/tmp/pyodbc-2.1.7/src/getdata.cpp:585
#2 0x00002aaaafbee12a in Cursor_fetch (cur=0x8408d0) at
/tmp/pyodbc-2.1.7/src/cursor.cpp:977
#3 0x00002aaaafbee1f8 in Cursor_fetchlist (cur=0x8408d0, max=-1) at
/tmp/pyodbc-2.1.7/src/cursor.cpp:1009
#4 0x00002aaaaab9c6a3 in call_function (f=0x693570, throwflag=<value optimized
out>) at Python/ceval.c:3690
#5 PyEval_EvalFrameEx (f=0x693570, throwflag=<value optimized out>) at
Python/ceval.c:2389
#6 0x00002aaaaab9dc4f in PyEval_EvalCodeEx (co=0x2aaaaaf44648, globals=<value
optimized out>, locals=<value optimized out>, args=0x0, argcount=0, kws=0x0,
kwcount=0,
defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2968
#7 0x00002aaaaab9dc92 in PyEval_EvalCode (co=0x918940, globals=0x8c8,
locals=0x4cc) at Python/ceval.c:522
#8 0x00002aaaaabc1401 in run_mod (fp=0x692dc0, filename=0x7fffffffebc7
"segfault.py", start=<value optimized out>, globals=0x63bf50, locals=0x63bf50,
closeit=1,
flags=0x7fffffffe8a0) at Python/pythonrun.c:1335
#9 PyRun_FileExFlags (fp=0x692dc0, filename=0x7fffffffebc7 "segfault.py",
start=<value optimized out>, globals=0x63bf50, locals=0x63bf50, closeit=1,
flags=0x7fffffffe8a0)
at Python/pythonrun.c:1321
#10 0x00002aaaaabc16c4 in PyRun_SimpleFileExFlags (fp=<value optimized out>,
filename=0x7fffffffebc7 "segfault.py", closeit=1, flags=0x7fffffffe8a0) at
Python/pythonrun.c:931
#11 0x00002aaaaabccdcc in Py_Main (argc=<value optimized out>,
argv=0x7fffffffe9c8) at Modules/main.c:599
#12 0x0000003bfc21d994 in __libc_start_main () from /lib64/libc.so.6
#13 0x0000000000400629 in _start ()
Original comment by nickreta...@gmail.com
on 21 Apr 2010 at 12:05
OK, that's fantastic. I'll look at that.
I'm pretty sure I need to port the 3.1 Unicode support back to the 2.1.x
branch. I'm going to make a v2unicode
branch to test with. Did you build your own? If so, I'll let you know when
the branch is ready and you can try to
reproduce it.
Original comment by mkleehammer
on 21 Apr 2010 at 6:34
I just installed it with `pip install pyodbc`, which compiles it automatically.
Original comment by nickreta...@gmail.com
on 21 Apr 2010 at 9:01
Is there another branch I should be using?
Original comment by nickreta...@gmail.com
on 23 Apr 2010 at 9:32
Some information from Vertica Help:
Regarding the odd error message you reported. This is a result of
mismatching the character sizes between the connection and the
application, e.g. by the setting of WideCharSizeOut and WideCharSizeIn
in the connection parameters.
What is displayed in your case is every other character of the string.
Your reported odd string said:
Err nai eso Dfra
E.r.r. .n.a.i. .e.s.o. .D.f.r.a.
Error: Invalid Session ID format
Original comment by nickreta...@gmail.com
on 28 Apr 2010 at 8:34
Can you test this with 2.1.8? I believe I've fixed the Unicode issues.
Original comment by mkleehammer
on 6 Sep 2010 at 5:37
Sorry, I don't work on this project anymore.
Original comment by nickreta...@gmail.com
on 7 Sep 2010 at 7:35
Original comment by mkleehammer
on 7 Sep 2010 at 2:06
Original comment by mkleehammer
on 21 Nov 2010 at 4:44
Original issue reported on code.google.com by
nickreta...@gmail.com
on 20 Apr 2010 at 11:58