[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3156: Relative path not working with gb.media and gb.media.form
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3156: Relative path not working with gb.media and gb.media.form
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Sat, 28 Mar 2026 16:47:33 GMT
- To: gbWilly@xxxxxxxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3156&from=L21haW4- Willy RAETS reported a new bug. Summary ------- Relative path not working with gb.media and gb.media.form Type : Bug Priority : Medium Gambas version : Unknown Product : Multimedia components Description ----------- I used an internal mp3 sound file (so inside the executable) combined with gb.sdl2.audio to play a sound. I used relative paths and this works just fine. Someone on the forum made an application that needed an alarm sound, but used gb.media instead. His relative path to the, in the executable included mp3, did NOT work. I tried using gb.media.form and a MediaView. When using a relative path to an to the executable internal video, it correctly shows the name of the video in the MediaView, but when pressing play it returns invalid URI "". Attached a screen with the invalid URI message and a source archive to demonstrate the problem (archive is 3.19.6). People running 3.21.5 have the same issue, so it could be in all versions since who knows when. gbWilly System information ------------------ [System] Gambas=3.19.6 OperatingSystem=Linux Distribution=Debian GNU/Linux 12 (bookworm) Kernel=6.1.0-37-amd64 Architecture=x86_64 Cores=16 Memory=15696M Language=en_US.UTF-8 Platform=x11 Desktop=MATE DesktopResolution=96 DesktopScale=8 WidgetTheme=blackmate Font=Cantarell,11 [Programs] dpkg=Debian 'dpkg' package management program version 1.21.22 (amd64). gcc=gcc (Debian 12.2.0-14+deb12u1) 12.2.0 git=git version 2.39.5 msgmerge=msgmerge (GNU gettext-tools) 0.21 rpmbuild=RPM version 4.18.0 [Libraries] Cairo=libcairo.so.2.11600.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.2406.32 GStreamer=libgstreamer-1.0.so.0.2200.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2406.32 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.126.0.0 QT5=libQt5Core.so.5.15.8 RSvg=librsvg-2.so.2.48.0 SDL=libSDL2-2.0.so.0.2600.5 SQLite 3=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1003/bus DESKTOP_SESSION=lightdm-xsession DISPLAY=:0 GB_GUI=gb.gtk3 GDMSESSION=lightdm-xsession GDM_LANG=en_US.utf8 GIO_LAUNCHED_DESKTOP_FILE_PID=4926 GPG_AGENT_INFO=/run/user/1003/gnupg/S.gpg-agent:0:1 GTK3_MODULES=xapp-gtk3-module GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME=<home> LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TIME=nl_NL.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_FONT_DPI=96 QT_LOGGING_RULES=*.debug=false QT_SCALE_FACTOR=1 SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1474,unix/<hostname>:/tmp/.ICE-unix/1474 SHELL=/bin/bash SSH_AGENT_PID=1519 SSH_AUTH_SOCK=/run/user/1003/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/1003 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=lightdm-xsession XDG_SESSION_ID=4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
| [Gambas-bugtracker] Bug #3156: Relative path not working with gb.media and gb.media.form | <bugtracker@xxxxxxxxxxxxxx> |
| [Gambas-bugtracker] Bug #3156: Relative path not working with gb.media and gb.media.form | <bugtracker@xxxxxxxxxxxxxx> |