473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Help with Kinterbasdb SQL Error -206 Column unknown

I'm a newbie with Python, and trying to connect to the Interbase/Firebird
'EMPLOYEE.GDB' file to play with it.

Can anyone help with this?
I'm running Firebird 1.5rc4
Python 2.3.2
kinterbasdb 3.1_pre6-win32-FB1.5-py2.3.exe
winXP Pro SP1

I run the same code at home and it works fine. The only difference is, at
home I'm running Interbase 5.5.

Code follows. . .

Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license()" for more information.

************************************************** **************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
************************************************** **************

IDLE 1.0
import kinterbasdb
con = kinterbasdb.connect( host='localhost',
database='c:/Data/FireBirdIB/employee.gdb',
user='SYSDBA',
password='masterkey',
dialect=3
) cur = con.cursor()
cur.execute("SELECT * FROM EMPLOYEE;")
Traceback (most recent call last):
File "<pyshell#10>", line 1, in -toplevel-
cur.execute("SELECT * FROM EMPLOYEE;")
File "C:\Python23\Lib\site-packages\kinterbasdb\__init__.py", line 1444, in
execute
self.description = _k.execute(self._C_cursor, sql, params)
OperationalError: (-206, 'Unable to determine field precison from system
tables: Dynamic SQL Error. SQL error code = -206. Column unknown.
FIELD_SPEC.RDB$FIELD_PRECISION. At line 1, column 19.. ')


Thanks for any help
Ruben
Jul 18 '05 #1
3 6641
R Baumann <ry**@9yahoo.com> pisze:
import kinterbasdb
con = kinterbasdb.connect(

host='localhost',
database='c:/Data/FireBirdIB/employee.gdb',
user='SYSDBA',
password='masterkey',
dialect=3
)


Try with dialect 1. If this will not help, check database integrity
(i.e. with IBConsole).

--
Jarek Zgoda
Unregistered Linux User #-1
http://www.zgoda.biz/ JID:zg***@chrome.pl http://zgoda.jogger.pl/
Jul 18 '05 #2
"R Baumann" <ry**@9yahoo.com> wrote in message news:<vr************@corp.supernews.com>...
I'm a newbie with Python, and trying to connect to the Interbase/Firebird
'EMPLOYEE.GDB' file to play with it. [but] OperationalError: (-206, 'Unable to determine field precison from system
tables: Dynamic SQL Error. SQL error code = -206. Column unknown.
FIELD_SPEC.RDB$FIELD_PRECISION. At line 1, column 19.. ')


Here:
http://sourceforge.net/forum/message.php?msg_id=2287846
Jul 18 '05 #3

"David Rushby" <wo**********@rocketmail.com> wrote in message
news:78**************************@posting.google.c om...
"R Baumann" <ry**@9yahoo.com> wrote in message

news:<vr************@corp.supernews.com>...
I'm a newbie with Python, and trying to connect to the Interbase/Firebird 'EMPLOYEE.GDB' file to play with it.

[but]
OperationalError: (-206, 'Unable to determine field precison from system
tables: Dynamic SQL Error. SQL error code = -206. Column unknown.
FIELD_SPEC.RDB$FIELD_PRECISION. At line 1, column 19.. ')


Here:
http://sourceforge.net/forum/message.php?msg_id=2287846


Thanks David! Will look into updating to latest & greatest Firebird and
working with the same versions/data etc., on both home and work computers.
Might make all the difference in the world. :-)

Ruben
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Maurice LING | last post by:
Hi, I've been using FB1.5 and access the database using Kinterbasdb + Python. My connection is established using kinterbasdb.connect() method and the parameters host, dns, database, user,...
5
by: xuatla | last post by:
Hi, I encountered the following compile error of c++ and hope to get your help. test2.cpp: In member function `CTest CTest::operator+=(CTest&)': test2.cpp:79: error: no match for 'operator='...
1
by: Dave | last post by:
I am having problems accessing DTS after install SP4 and was wondering if someone could offer some advice. I installed SP4 and got the following error after it competed. Unable to write to...
5
by: Marc Violette | last post by:
<Reply-To: veejunk@sympatico.ca> Hello, I'm hoping someone can help me out here... I'm a beginner ASP.NET developper, and am trying to follow a series of exercises in the book entitled...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
1
by: Petr Jakes | last post by:
I am trying to insert "timestamp" to the Firebird database using standard library datetime module example given in the "KInterbasDB Usage Guide" http://tinyurl.com/mplo4 , section "Example Programs...
0
by: Almad | last post by:
Hi, I uploaded my application on our production server running FreeBSD and I found it crashing at startup. Problem is in connecting to my Firebird database: kinterbasdb.connect(with either...
0
by: DarkBlue | last post by:
Sorry to interrupt the regular programming here . As has been reported on some websites the maintainer of kinterbasdb David Rushby has died last month after a diving accident. Kinterbasdb is...
12
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.