RE: [Sqlrelay-discussion] error loading libraries
Brought to you by:
mused
|
From: Davide C. <dav...@re...> - 2006-04-10 16:49:13
|
Il giorno lun, 10/04/2006 alle 17.28 +0100, Pedro Barbosa ha scritto: > I already solved the problem, thanks to anyone who where about to help :) >=20 > Does anyone ever had this error when querying a db: global name > '_SQLRCursor__getRowRange' is not defined ?? Hi Pedro, I had the same problem. 1. edit /usr/lib/python2.3/site-packages/SQLRelay/PySQLRDB.py (this is the path on my debian servers) 2. search for this line: rc=3D__getRowRange(self.cur_row, size) end change it in: rc=3Dself.__getRowRange(self.cur_row, size) PS: you have to do the same for __getRow and similar method 3. recompile with: cd /usr/lib/python2.3/site-packages python ../compileall.py SQLRelay/ --=20 Davide Corio dav...@re... Redomino S.r.l. C.so Monte Grappa 90/b - 10145 Torino - Italy Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/ |