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

[Gambas-bugtracker] Bug #2979: Backend reports for WebForm


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

Omar MORENO reported a new bug.

Summary
-------

Backend reports for WebForm

Type             : Request
Priority         : Medium
Gambas version   : 3.19
Product          : Reporting component


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

Greetings.

I have a console-type gambas executable that generates a report with the gb.report2 component which works very well from the command line of an Ubuntu terminal:  

./lib_reportx.gambas arg1 arg2

I have also tested it from a gb.gui type desktop program and it works well with the Shell and Exec commands.

I also did another test by converting it into a library that I then import into the desktop program and it works fine.

I already know that gb.web.gui and gb.gui are not compatible components in the same project, but if lib_reportx.gambas is an independent program, why does it not work when trying to run it from a WebForm type program (gb.web.gui) with Shell or Exec commands as if from the terminal...

It would be nice if Webform had a version of this library or at least be able to run it with Shell or Exec.

Thank you very much for any possible solution for webform.


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

[System]
Gambas=3.20.0 6fff986 (master)
OperatingSystem=Linux
Distribution=Ubuntu 24.04.1 LTS (Noble Numbat)
Kernel=6.8.0-51-generic
Architecture=x86_64
Cores=4
Memory=7639M
Language=es_PA.UTF-8
Platform=wayland
Desktop=UBUNTU
DesktopResolution=96
DesktopScale=8
WidgetTheme=yaru
Font=Ubuntu Sans,11
[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
msgmerge=msgmerge (GNU gettext-tools) 0.21
rpmbuild=RPM version 4.18.2
[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]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 
DESKTOP_SESSION=ubuntu
DISPLAY=:0
DOTNET_BUNDLE_EXTRACT_BASE_DIR=<home>/.cache/dotnet_bundle_extract
GB_GUI=gb.gtk3
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=6044
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SETUP_DISPLAY=:1
GNOME_SHELL_SESSION_MODE=ubuntu
GSM_SKIP_SSH_AGENT_WORKAROUND=true
GTK_MODULES=gail:atk-bridge
HOME=<home>
IM_CONFIG_PHASE=1
INVOCATION_ID=ed520e381c524d9ca6e6a34fe3b709ba
JOURNAL_STREAM=8:20897
LANG=es_PA.UTF-8
LANGUAGE=es_PA.UTF-8
LC_ADDRESS=es_PA.UTF-8
LC_ALL=es_PA.UTF-8
LC_IDENTIFICATION=es_PA.UTF-8
LC_MEASUREMENT=es_PA.UTF-8
LC_MONETARY=es_PA.UTF-8
LC_NAME=es_PA.UTF-8
LC_NUMERIC=es_PA.UTF-8
LC_PAPER=es_PA.UTF-8
LC_TELEPHONE=es_PA.UTF-8
LC_TIME=es_PA.UTF-8
LOGNAME=<user>
MANAGERPID=2950
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
PAPERSIZE=letter
PATH=<home>/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:<home>/.dotnet/tools
PWD=<home>
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/3201,unix/<hostname>:/tmp/.ICE-unix/3201
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID=3232
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.HPKA02
XDG_ACTIVATION_TOKEN=gnome-shell/Gambas 3/3232-3-<hostname>_TIME798066
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
_=/usr/bin/gnome-session


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----