On Nov 15, 2009, at 6:02 AM, Jacek Kałucki wrote:

> It's because in dImage._setValue() method, in the following code
>            try:
>                isFile = os.path.exists(val)
>            except TypeError:
>
> val is type of buffer and there is not TypeError but  
> UnicodeDecodeError
> exception raised.
> Any advice please?

        Try this: change line 282 to read:

        except (TypeError, UnicodeDecodeError):

...and let me know if that takes care of the problem, or if there are  
other errors.



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to