[Gambas-user] [Gambas Bug Tracker] Bug #736: Gambas Not Launch at all since REV 7305

bugtracker at ...3416... bugtracker at ...3416...
Sun Sep 13 12:50:49 CEST 2015


http://gambaswiki.org/bugtracker/edit?object=BUG.736&from=L21haW4-

Fabien BODARD reported a new bug.

Summary
-------

Gambas Not Launch at all since REV 7305

Type             : Bug
Priority         : High
Gambas version   : 3.8.90 (TRUNK)
Product          : Language


Description
-----------

The new relative path routine seem to be bugged . 

So Picture[] return a null and crash some Poject.Module routines.

After investigation the path called look like : 

gb.gui: warning: unable to load icon img/draw/text-bottom.png:
Picture._get.96 FImageProperty.FImageProperty.0
FImageProperty. at ...3503... FMain._new.49 Project.Main.336

I've tryed to walk on this path with dir ... it look like to not exist on all relative try (../img, ./img, img/


so is the problem is a missing unloaded component (like gb.form.stock ?)


as dirty workaround i've just enforced picture to send me a white small picture ... in gb.gui.base in picture.class

line 92

'If Error Then Return Null
    If Error Then
    hpict = New Picture(10, 10, color.white)
    
    Return hPict
     'Error "gb.gui: warning: unable to load icon "; Path; ": "; System.Backtrace.Join(" ")
    
    Endif

It's a berk hack.


System information
------------------

[System]
Gambas=3.8.90 r7286
OperatingSystem=Linux
Kernel=4.1.6-1-ARCH
Architecture=x86_64
Distribution=Arch Linux
Desktop=KDE5
Theme=Proxy
Language=fr_FR.UTF-8
Memory=3861M

[Libraries]
Cairo=libcairo.so.2.11400.2
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.8.13
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.405.0
GTK+2=libgtk-x11-2.0.so.0.2400.28
GTK+3=libgtk-3.so.0.1600.6
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.52.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.0
SDL=libSDL-1.2.so.0.11.4

[Environment]
APPMENU_DISPLAY_BOTH=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DACUpCEKHE,guid=4db2d3c2bbbcaa70bdb1ec8c55f5346b
DESKTOP_SESSION=plasma
DISPLAY=:0
GB_GUI=gb.qt5
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
HOME=<home>
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=fr_FR.UTF-8
LC_COLLATE=C
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_IM_MODULE=compose
QT_NO_GLIB=1
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/855,unix/<hostname>:/tmp/.ICE-unix/855
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/bin/ksshaskpass
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=/tmp/xauth-1000-_0
XCURSOR_SIZE=0
XCURSOR_THEME=Oxygen_White
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/lib/kf5/start_kdeinit_wrapper






More information about the User mailing list