[Chandler-dev] Failed to convert file contents to Unicode dialog box - FYI

Robin Dunn robin at alldunn.com
Mon Jun 26 13:49:21 PDT 2006


Mike Taylor wrote:
> With the current Chandler trunk when you run Functional Tests or try to 
> go to the Accounts dialog you may get a dialog box with the following:
> 
>     "Failed to convert file contents to Unicode"
> 
> What is happening is that the wx mime-type handler is being initialized 
> (because of a xrc dialog request) and it is scanning *many* files to 
> pre-load mime-types.  When it gets to a file that seems to only be found 
> in Ubuntu Breezy (or systems upgraded from Breezy) it chokes because the 
> file is encoded.
> 
> For now you can just press Ok and let Chandler continue.
> 
> If you are developing and want to work-around the issue, Robin suggests 
> adding the following to the chandler startup code:
> 
>     wx.log.SetActiveTarget(wx.LogStdErr())

Looks like I made some capitalization errors when I typed that last 
time.  It should be: wx.Log.SetActiveTarget(wx.LogStderr())

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the chandler-dev mailing list