[wxPython-dev] Errors on embedded platform

Markus Kuhnla kuhnla at comas.de
Tue Nov 13 03:11:41 PST 2007


Hi Robin,

thank you for your answer.

I tested both versions Unicode and Ansi with the same result. The server 
is Xfbdev from Xorg version 1.4.

I will make the suggested test with getenv and post the results.


Greetings

Markus

Robin Dunn schrieb:
> 
> I just took another look at wxPyTedtDisplayAvailable and it calls 
> XOpenDisplay with a NULL parameter, so there shouldn't be any troubles 
> with converting from unicode values as I initially guessed.  The docs 
> say, "On a POSIX-conformant system, if the display_name is NULL, it 
> defaults to the value of the DISPLAY environment variable." so it should 
> be allowed, but I suppose if your embedded platform is using a 
> non-standard X it could be a problem.  You might try replacing that NULL 
> with getenv("DISPLAY") to see if it makes any difference.
> 
> 


-- 
*******************************************
*     COMAS GmbH, Markus Kuhnla           *
*                                         *
* Kontakt                                 *
* =======                                 *
*                                         *
*   Markus Kuhnla                         *
*   C/O COMAS GmbH                        *
*   Friolzheimer Str. 5                   *
*   D-70499 Stuttgart                     *
*                                         *
*   Fon...: +49 (0)711 838892-31          *
*   Fax...: +49 (0)711 838892-39          *
*   E-mail: kuhnla at comas.de               *
*******************************************




More information about the wxpython-dev mailing list