Hello rdb

In this post he python environment variables are printed in 2 cases :
python and panda3D execution.


Below you will find the environment variables when it is launched with python, 
the display in wx is OK

.....$ python ./testWX.py

Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
*****************************************************
***************os.environ****************************
CLUTTER_IM_MODULE=xim
COLORTERM=gnome-terminal
COMPIZ_BIN_PATH=/usr/bin/
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DcBJm6Okyy
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GDMSESSION=ubuntu
GDM_LANG=en_US
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Aymrpp
GNOME_KEYRING_PID=1975
GPG_AGENT_INFO=/run/user/1000/keyring-Aymrpp/gpg:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=overlay-scrollbar:unity-gtk-module
HOME=/home/philippe
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_ADDRESS=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=philippe
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;
 
35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
OLDPWD=/home/philippe
PAPERSIZE=a4
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/philippe/gameeditor-svn/code/test/wx
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
SELINUX_INIT=YES
SESSION=ubuntu
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/philippe-X751LJ:@/tmp/.ICE-unix/2109,unix/philippe-X751LJ:/tmp/.ICE-unix/2109
SHELL=/bin/bash
SHLVL=1
SSH_AUTH_SOCK=/run/user/1000/keyring-Aymrpp/ssh
TERM=xterm
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1977
USER=philippe
VTE_VERSION=3409
WINDOWID=67108875
XAUTHORITY=/home/philippe/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/philippe
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_VTNR=7
XMODIFIERS=@im=ibus
_=/usr/bin/python
***************os.environ****************************

****************************************************************************************************
****************************************************************************************************


You will find the environment variables when it is launched with panda3d, the 
display in wx is KO.

.....$ /usr/bin/panda3d '/home/philippe/gameeditor-
svn/code/test/wx/testWX.p3d'

:AppRunner: Total Panda3D disk space used: 231 MB
:AppRunner: Configured max usage is: 2048 MB
:display: loading display module: libpandagl.so
:display: loading display module: libp3tinydisplay.so
Known pipe types:
  glxGraphicsPipe
  TinyXGraphicsPipe
  TinyOffscreenGraphicsPipe
(all display modules loaded.)
:ShowBase: Default graphics pipe is glxGraphicsPipe (OpenGL).
:display: Created output of type glxGraphicsWindow
:display: Unable to set window properties: !undecorated !fixed_size 
:ShowBase: Successfully opened window of type glxGraphicsWindow (OpenGL)
:pnmtext: Loaded font Perspective Sans Regular
:ShowBase: __dev__ == False
:audio: NullAudioManager
:audio: NullAudioManager
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: 
non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: 
non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: 
saw unknown, expected number

(p3dpython:3754): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
  '/etc/pango/pango.modules'
You should create this file by running:
  pango-querymodules > '/etc/pango/pango.modules'

(p3dpython:3754): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderFc', script='latin'

*****************************************************
***************os.environ****************************
DISPLAY=:0
DYLD_LIBRARY_PATH=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64
HOME=/home/philippe
LANG=en_US.UTF-8
LANGUAGE=en_US
LD_LIBRARY_PATH=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64
MOREPY_ROOT=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64
PANDA3D_ROOT=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64
PANDA_PRC_PATH=/home/philippe/.panda3d/prc:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64
PATH=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PRC_PATH=/home/philippe/.panda3d/prc:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64
PYTHONHOME=
PYTHONPATH=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/morepy/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64:/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/panda3d/cmu_1.9/linux_amd64
SQLITE_ROOT=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/sqlite/cmu_1.9/linux_amd64
TEMP=/tmp/
USER=philippe
WX_ROOT=/home/philippe/.panda3d/hosts/runtime.panda3d.org_0f5faf88846080ae/wx/cmu_1.9/linux_amd64
XAUTHORITY=/home/philippe/.Xauthority
***************os.environ****************************
*****************************************************

:display: Closing glxGraphicsWindow
:ShowBase: User closed main window.
:ShowBase: Exiting ShowBase.
:AppRunner: Normal exit with status None.
Successfully joined thread: 0

****************************************************************************************************
****************************************************************************************************

If you need more information tell me.

Philippe

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579902

Title:
  linux trusty panda3d 1.9.2 issue during p3d execution : wx failed to
  choose a font

To manage notifications about this bug go to:
https://bugs.launchpad.net/panda3d/+bug/1579902/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to