[Gambas-user] debian Picture.Load() errors

bb adamnt42 at gmail.com
Sun Aug 22 12:17:51 CEST 2021


On Sun, 2021-08-22 at 10:57 +0100, Bruce Steers wrote:
> On Sun, 22 Aug 2021 at 10:45, bb <adamnt42 at gmail.com> wrote:
> 
> > On Sun, 2021-08-22 at 10:27 +0100, Bruce Steers wrote:
> > > I'm getting Picture.Load() errors on Debian
> > > 
> > > Having to convert something like
> > > myObject.Picture = Picture.Load("icon:/22/play")
> > > into
> > > myObject.Picture = Stock["22/play"]
> > > just to fix it.
> > > 
> > > I thought it was just an old bug as i was using Debian10 and the
> > > old
> > > gambas
> > > 3.12
> > > But i just installed the new debian11 and the repo gambas 3.15
> > > and
> > > getting
> > > the error on there.
> > > 
> > > could it be missing a package?
> > > 
> > > Cheers
> > > BruceS
> > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > What UI?
> > 
> 
> MATE and GNOME (i'm guessing all)
> gtk3 and qt5 tested , same error
> 
> [System]
> Gambas=3.15.2
> OperatingSystem=Linux
> Kernel=5.10.0-8-amd64
> Architecture=x86_64
> Distribution=<hostname> 11.0
> Desktop=MATE
> Theme=fusion
> Language=en_GB.UTF-8
> Memory=3820M
> 
> [Libraries]
> Cairo=libcairo.so.2.11600.0
> Curl=libcurl.so.4.7.0
> DBus=libdbus-1.so.3.19.13
> GDK2=libgdk-x11-2.0.so.0.2400.33
> GDK3=libgdk-3.so.0.2404.20
> GStreamer=libgstreamer-1.0.so.0.1804.0
> GTK+2=libgtk-x11-2.0.so.0.2400.33
> GTK+3=libgtk-3.so.0.2404.20
> OpenGL=libGL.so.1.7.0
> Poppler=libpoppler.so.102.0.0
> QT5=libQt5Core.so.5.15.2
> SDL=libSDL-1.2.so.0.11.4
> SQLite=libsqlite3.so.0.8.6
> 
> [Environment]
> CLUTTER_BACKEND=x11
> CLUTTER_IM_MODULE=ibus
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> DESKTOP_SESSION=mate
> DISPLAY=:0
> GB_GUI=gb.qt5
> GDMSESSION=mate
> GIO_LAUNCHED_DESKTOP_FILE=<home>/.local/share/applications/gambas3.de
> sktop
> GIO_LAUNCHED_DESKTOP_FILE_PID=2561
> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
> GTK3_MODULES=xapp-gtk3-module
> GTK_IM_MODULE=ibus
> GTK_MODULES=gail:atk-bridge:canberra-gtk-module
> GTK_OVERLAY_SCROLLING=0
> HOME=<home>
> LANG=en_GB.UTF-8
> LANGUAGE=en_GB.UTF-8
> LC_ALL=en_GB.UTF-8
> LOGNAME=<user>
> MATE_DESKTOP_SESSION_ID=this-is-deprecated
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> PWD=<home>
> QT_ACCESSIBILITY=1
> QT_AUTO_SCREEN_SCALE_FACTOR=0
> QT_IM_MODULE=ibus
> QT_LOGGING_RULES=*.debug=false
> QT_SCALE_FACTOR=1
> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-
> unix/1890,unix/<hostname>:/tmp/.ICE-unix/1890
> SHELL=/bin/bash
> SSH_AGENT_PID=2027
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> TZ=:/etc/localtime
> USER=<user>
> XAUTHORITY=<home>/.Xauthority
> XDG_CURRENT_DESKTOP=MATE
> XDG_DATA_DIRS=/usr/share/mate:/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_CLASS=user
> XDG_SESSION_DESKTOP=mate
> XDG_SESSION_ID=1
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SESSION_TYPE=x11
> XDG_VTNR=7
> XMODIFIERS=@im=ibus
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
I have seen quite a lot of complaints elsewhere (outside Gambas) about
that Debian release, especially for both gtk and qt5.
Why it should affect what you are seeing is beyond me, but ...?
I'd tend to wait a bit before changing code and see if they get their
testic.. oops, I mean ducks sorted out.

cheers
b

Oh and p.s. I tried the new version, broke it in approx 2 minutes with
a python app, 2.1 minutes with a couple of MXLinux utilities and
severed its pretty little head from a system backup. No problems since.



More information about the User mailing list