kinterbasdb error connection

A

Ale Ghelfi

(i'm under Ubuntu 10.10 amd64 and python 2.6 and kinterbasdb 3.2 )
I try to connect my database of firebird 2.5 by kinterbasdb.
But python return this error :
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
Traceback (most recent call last):
File "<pyshell#22>", line 1, in <module>
c =
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
File "/usr/lib/pymodules/python2.6/kinterbasdb/__init__.py", line
435, in connect
return Connection(*args, **keywords_args)
File "/usr/lib/pymodules/python2.6/kinterbasdb/__init__.py", line
612, in __init__
b.dsn, b.dpb, b.dialect, timeout
OperationalError: (-902, 'isc_attach_database: \n I/O error during
"open" operation for file "/media/VINACCIA.FDB"\n Error while trying to
open file\n Permission denied')

By terminal of Ubuntu this is the permission of database:
$ls -l /media/VINACCIA.FDB
-rw-r--r-- 1 grappale grappale 1720320 2010-12-06 17:33 /media/VINACCIA.FDB

Where am i wrong? Please. Thank you!
 
U

Uwe Grauer

kinterbasdb 3.2.3 is the Really current version for Ubuntu 10.10 AMD64.
Kinterbasdb 3.3.0 exists only for ubuntu 10.10 i386
I've check in the repository.

AFAIK 3.2.3 doesn't work for FB 2.5.
If you don't get 3.3.0 from the ubuntu repositories you could
do a manual install for 3.3.0

Uwe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top