From: Jorge G. <go...@ie...> - 2003-07-30 19:41:55
|
Hi! We have a machine here with Windows XP and we're having some error messages when trying to query the database. Is there some secret to make it work? We're using pyPgSQL 2.4 compyled for Python 2.2 from the SF website. The same packages were installed on a Windows 98 from a client of mine and everything is working perfectly. I can also access the server from my application in a Linux machine. All GRANTs were successful for both users (the W98 and WXP users) and the database in both servers are configured equally. The error message makes me think there's something missing or misbehaving with pyPgSQL here. ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Documents and Settings\juliano.G2CTECH\Desktop\Relat\relatorios.py", line 912, in AtualizarTela dados = query.ExecutaBusca(ordenarPor[pagina], filtros) File "C:\Documents and Settings\juliano.G2CTECH\Desktop\Relat\FazBuscas.py", line 107, in ExecutaBusca self.dados.execute(sql_query) File "C:\PYTHON22\Lib\site-packages\pyPgSQL\PgSQL.py", line 2612, in execute self.__makedesc__() File "C:\PYTHON22\Lib\site-packages\pyPgSQL\PgSQL.py", line 2327, in __makedesc__ _tn, _pl, _ia, _bt = _cache.getTypeInfo(_typ) File "C:\PYTHON22\Lib\site-packages\pyPgSQL\PgSQL.py", line 789, in getTypeInfo _res = self.__conn.conn.query("SELECT typname, typprtlen, typelem " libpq.OperationalError: ERROR: Attribute "typprtlen" not found ---------------------------------------------------------------------- Any hints? Thanks in advance, -- Godoy. <go...@ie...> |