os.stat UnicodeEncodeError:

2011-03-22 Thread Sandy Oz
Hello everyone, I'm running into a problem with file names containing Unicode chars. Here is the error that I get when calling os.path.isfile: File "/usr/lib/python2.6/genericpath.py", line 29, in isfile st = os.stat(path) UnicodeEncodeError: 'ascii' codec can't encode characters in p

Help with python-twain module

2011-02-01 Thread Sandy Oz
Hello everyone, Really need help with the python-twain module. I installed the module for python 2.6 on a win-xp 32bit machine. I ran the demo app and got a python core crash when calling SourceManager.OpenSource(). I've managed to run the scanner I'm using on a Linux machine with python-