I've a script of Python 2.6.6 under Ubuntu 10.10 and i would pass it to
XP like exe.
My script use wxPython and read some files jpg that are in the same
directory of the script.
Before to use Pyinstaller 1.4, i did:
cd /source/linux
python Make.py
make
But "make" returned this error that i did
On 09/12/2010 15:17, Uwe Grauer wrote:
On 12/07/2010 04:35 PM, Ale Ghelfi wrote:
(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 :
You are not using the current kinterbasdb ve
i try this :
actual_encoding = ... # whatever
def decode(s):
return s.decode(actual_encoding)
db = sqlite3.connect(...)
db.text_factory = decode
but now the error is :
>>> rowset = cur.fetchall()
Traceback (most recent call last):
File "", line 1, in
rowset = cur.fetchall()
Fil
(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 :
>>> c =
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
Traceback (most recent call last)
I try to connect a database sqlite by sqlite3, but return an error.
>>> rowset = cur.fetchall()
Traceback (most recent call last):
File "", line 1, in
rowset = cur.fetchall()
OperationalError: Could not decode to UTF-8 column 'DATO' with text
'Document n°10'
What's happend? thank you
--