http://gambaswiki.org/bugtracker/edit?object=BUG.966&from=L21haW4-
Zainudin AHMAD reported a new bug. Summary ------- Project-property >> Libraries | Description always "WARNING!Library not found" Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Description always "WARNING!Library not found" Reproduce the bug: - Extract (test-app and libtest project) to the /tmp directory (attach project) - Open test-app project - (Project-property dialog show) click the cancel button - (Do not close the test-app) open libtest project - Make executable (libtest project) - (Back to test-app) open-property project dialog - Description still: WARNING! Library not found (attach pic) - Click the reset button is no different My Patch (attach Patch) : diff -urNaX /tmp/gambas-patch-ignore a/.src/Project/Library/CLibraryInfo.class b/.src/Project/Library/CLibraryInfo.class --- a/.src/Project/Library/CLibraryInfo.class 2016-02-03 17:38:25.000000000 +0700 +++ b/.src/Project/Library/CLibraryInfo.class 2016-07-19 08:42:47.000000000 +0700 @@ -20,6 +20,16 @@ Static Public Sub _get(sPath As String) As CLibraryInfo Dim hLib As CLibraryInfo = $cAll[sPath] + + '// If hLib And if Not hLib.Exist Then hLib = Null + If hLib Then + If hLib.NotFound Then + If Exist(SolvePath(sPath)) Or If Exist(hLib.Path) Then hLib = Null + Else + If Not Exist(SolvePath(sPath)) And Not Exist(hLib.Path) Then hLib = Null + Endif + Endif + If Not hLib Then hLib = New CLibraryInfo(sPath) $cAll[sPath] = hLib System information ------------------ [System] Gambas=3.8.90 r7814 OperatingSystem=Linux Kernel=3.2.0-102-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Vgcrq9f3RB,guid=82b381f2122303eb902de4e80000002e DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-wFo0bM GNOME_KEYRING_PID=1866 HOME=<home> LANG=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME=<user> MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD=<home> SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1857 SSH_AUTH_SOCK=/tmp/keyring-wFo0bM/ssh TZ=:/etc/localtime USER=<user> XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=<home>/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1468684489.111762-783474923 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1824 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user