[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncomfortable console warnings


The server's MySQL version is mysql-server-core-5.7 5.7.42-0ubuntu0.18...
and it's not something I can change, I'm afraid.

On the other hand, I feel tied to Qt5 because Qt6 has certain issues with
my system.

1. The gb.qt6.webkit package, which I used to develop an HTML editor,
doesn't exist in Qt6. This isn't a big problem, just switching to textEdit).

2. If I link the gb.qt6.Ext component, the program crashes at startup: Just
create a new project with the gb.form, gb.image, gb.qt6, and gb.qt6.Ext
components and try to run it: It generates a segmentation fault (11).

It seems I'm doomed to receive warnings :D

Best Regards
[System]
Gambas=3.20.2 972c02e (master)
OperatingSystem=Linux
Distribution=Linux Mint 22.1 (Xia)
Kernel=6.8.0-55-generic
Architecture=x86_64
Cores=4
Memory=31858M
Language=es_ES.UTF-8
Platform=x11
Desktop=CINNAMON
DesktopResolution=96
DesktopScale=8
WidgetTheme=proxy
Font=Ubuntu,11
DarkTheme=False
[Programs]
dpkg=Programa de gestión de paquetes de Debian `dpkg' versión 1.22.6
(amd64).
gcc=gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
git=git version 2.43.0
msgmerge=msgmerge (GNU gettext-tools) 0.21
rpmbuild=RPM version 4.18.2
trans= [1mTranslate Shell       0.9.7.1
[Libraries]
Cairo=libcairo.so.2.11800.0
Curl=libcurl.so.4.8.0
DBus=libdbus-1.so.3.32.4
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2409.32
GStreamer=libgstreamer-1.0.so.0.2402.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2409.32
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.134.0.0
QT5=libQt5Core.so.5.15.13
QT6=libQt6Core.so.6.4.2
RSvg=librsvg-2.so.2.50.0
SDL=libSDL2-2.0.so.0.3000.0
SQLite3=libsqlite3.so.0.8.6
[Environment]
CINNAMON_VERSION=6.4.8
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.qt6
GDMSESSION=cinnamon
GDM_LANG=es_ES
GIO_LAUNCHED_DESKTOP_FILE=<home>/.local/share/applications/Gambas.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=18742
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES=xapp-gtk3-module
GTK_MODULES=gail:atk-bridge
HOME=<home>
LANG=es_ES.UTF-8
LANGUAGE=es_ES.UTF-8
LOGNAME=<user>
PATH=/opt/pycharm-community-2024.3.2/bin:<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1261,unix/<hostname>:/tmp/.ICE-unix/1261
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/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=cinnamon
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
force_s3tc_enable=true




El jue, 20 mar 2025 a las 0:50, Benoît Minisini (<
benoit.minisini@xxxxxxxxxxxxxxxx>) escribió:

> Le 19/03/2025 à 08:16, Jorge Carrión a écrit :
> > Hi everyone,
> >
> > For the past few days, I've been receiving many uncomfortable warnings
> > in the console from Qt and MySQL.
> > The Qt warnings are: "Using QCharRef with an index pointing outside the
> > valid range of a QString. The corresponding behavior is deprecated, and
> > will be changed in a future version of Qt." It occurs frequently, and I
> > haven't been able to pinpoint the exact cause. I think it has something
> > to do with the use of the DrawingArea... but I'm not sure.
> >
> > I'm using Qt5 because with Qt6 I get a lot of errors, and there are
> > applications that I can't run without any warning or message. They just
> > freeze.
>
> As far as I remember, the warning comes from a bug inside QT5. But I
> don't have it anymore on my Manjaro (Qt 5.5.16).
>
> As for QT6, you should not have any errors at all. Please give more
> details. At least I don't have any on my Manjaro (Qt 6.8.2).
>
> So I guess these problems may disappear when Mint will upgrade its
> packages.
>
> >
> > The MySQL warnings are: "WARNING: MYSQL_OPT_RECONNECT is deprecated and
> > will be removed in a future version." and they occur when connecting to
> > a database.
>
> It's a stupid warning printed by MySQL on some version. It should
> disappear as soon as that option is removed.
>
> I don't have it on Manjaro, but this is MariaDB that is in use. Can you
> look on Mint what exactly is used? MySQL or MariaDB? And in which version?
>
> Regards,
>
> --
> Benoît Minisini.
>
>
>

Follow-Ups:
Re: Uncomfortable console warningsT Lee Davidson <t.lee.davidson@xxxxxxxxx>
References:
Uncomfortable console warningsJorge Carrión <shordi@xxxxxxxxx>
Re: Uncomfortable console warningsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>