[Gambas-user] [Gambas Bug Tracker] Bug #784: gb.logging reports bad callLocation

bugtracker at ...3416... bugtracker at ...3416...
Fri Oct 2 18:13:00 CEST 2015


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

Emanuele SOTTOCORNO reported a new bug.

Summary
-------

gb.logging reports bad callLocation

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


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

Regardless the class / function where the logger has called, the token ever report '[ComplexLogger.Log.60]'. The error derive from Formatter.GetCallLocation function, the line should be modified as:
 While System.Backtrace[iCount] Begins "Logger" Or System.Backtrace[iCount] Begins "Formatter" Or System.Backtrace[iCount] Begins "Complex"

to extract the correct string from System.BackTrace


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

[System]
Gambas=3.8.90 r7375
OperatingSystem=Linux
Kernel=3.19.0-30-generic
Architecture=x86_64
Distribution=Ubuntu 15.04
Desktop=GNOME
Theme=Cleanlooks
Language=it_IT.UTF-8
Memory=3951M

[Libraries]
Cairo=libcairo.so.2.11400.2
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.8.9
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.27
GTK+3=libgtk-3.so.0.1400.13
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.49.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.4.1
SDL=libSDL-1.2.so.0.11.4

[Environment]
CLUTTER_IM_MODULE=xim
COMPIZ_BIN_PATH=/usr/bin/
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Ti5aP8RGHH
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GDM_LANG=it_IT
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=2001
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=overlay-scrollbar:unity-gtk-module
HOME=<home>
IM_CONFIG_PHASE=1
INSTANCE=
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar 
JOB=unity-settings-daemon
LANG=it_IT.UTF-8
LANGUAGE=it_IT
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=<home>
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION=ubuntu
SESSIONTYPE=gnome-session
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=xsession started
UPSTART_INSTANCE=
UPSTART_JOB=unity7
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1214
USER=<user>
XAUTHORITY=<home>/.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/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@...3498...=ibus






More information about the User mailing list