← Back to team overview

agesys-dev team mailing list archive

[Bug 598414] Re: some problem in win32

 

I have the same issue.

E:\eternity>c:\python26\python "run_server.py"
SQL Connection Established on 192.168.1.47:3306
Traceback (most recent call last):
  File "run_server.py", line 6, in <module>
    server.main()
  File "E:\eternity\server\server.py", line 994, in main
    server = ServerHandler(config, db)
  File "E:\eternity\server\server.py", line 533, in __init__
    self.db = DB_Load(self.cursor)
  File "E:\eternity\server\server.py", line 460, in __init__
    rows = cursor.fetchall()
  File "cursor.pyx", line 228, in oursql.Cursor.fetchall (oursqlx\oursql.c:16568
)
  File "statement.pyx", line 550, in oursql._Statement.fetchall (oursqlx\oursql.
c:11377)
  File "statement.pyx", line 422, in oursql._Statement.fetchone (oursqlx\oursql.
c:10076)
  File "statement.pyx", line 234, in oursql._Statement._bind_buffer (oursqlx\our
sql.c:8024)
  File "statement.pyx", line 126, in oursql._Statement._raise_error (oursqlx\our
sql.c:6997)
oursql.InterfaceError: (2036, 'Using unsupported buffer type: 1  (parameter: 3)'
, None)

-- 
some problem in win32
https://bugs.launchpad.net/bugs/598414
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.

Status in oursql python bindings for mysql: New

Bug description:
since 0.90 in windows, if i use execute() to search some data , when i fetch row i have get this exception :

Traceback (most recent call last):
  File "<pyshell#12>", line 1, in <module>
    cur.fetchone()
  File "cursor.pyx", line 185, in oursql.Cursor.fetchone (oursqlx\oursql.c:16162)
  File "statement.pyx", line 422, in oursql._Statement.fetchone (oursqlx\oursql.c:10076)
  File "statement.pyx", line 234, in oursql._Statement._bind_buffer (oursqlx\oursql.c:8024)
  File "statement.pyx", line 126, in oursql._Statement._raise_error (oursqlx\oursql.c:6997)
InterfaceError: (2036, 'Using unsupported buffer type: 3  (parameter: 3)', None)

if i use oursql0.1 these is no problem, i dont know what happen







References