Re: [Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2
It took longer time than I expected but now I have been pooking arround a bit more. The ppa I am using is ppa:gambas-team/gambas3. And when I try to configure gb.jit the output is checking for llvm-config... /usr/bin/llvm-config checking for LLVM, version between 3.1 and 3.5... no configure: WARNING: gb.jit is disabled The output of pata@rpi2:~/Hämtningar/gambas3-3.8.2/gb.jit$ llvm-config --version is 3.6.2 I have llvm-3.5 installed but there are to many symlinks from llvm-3.6 to llvm under /usr/bin for me to sort it out, so I guess I will have to disable JIT until it works with newer versions of llvm. /Patrik 2015-11-02 6:16 GMT+01:00 Patrik Karlsson: > Im on the road now so Ill get back to you on this one in about a week. > Den 1 nov 2015 18:35 skrev "Benoît Minisini" >: > >> Le 31/10/2015 23:39, Patrik Karlsson a écrit : >> > I built in from source and now the IDE starts ok, >> >> It may be a problem in the packaging so...Which ppa did you use? >> >> > however, gb.jit was >> > disabled. >> > Is it possible to solve that one? >> > >> >> It depends on your distribution. 'gb.jit' requires LLVM between 3.1 and >> 3.5. Did you install it? >> >> -- >> Benoît Minisini >> >> >> -- >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Fabien BODARD reported a new bug. Summary --- A crash when i try to launch gambas via a rdesktop distant x connection Type : Bug Priority : Medium Gambas version : 3.8 Product : QT4 component Description --- I use x2go to open a distant xterminal and then try to launch gambas via this terminal. [New Thread 0xaeee9b40 (LWP 23628)] X Error: BadAtom (invalid Atom parameter) 5 Major opcode: 20 (X_GetProperty) Resource id: 0x0 Program received signal SIGSEGV, Segmentation fault. 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so (gdb) bt #0 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so #1 0xb72ff0b6 in ?? () from /usr/lib/gambas3/gb.qt4.so #2 0xb72ffd46 in ?? () from /usr/lib/gambas3/gb.qt4.so #3 0xb73011fc in ?? () from /usr/lib/gambas3/gb.qt4.so #4 0x080518c1 in ?? () #5 0x0807f1c1 in ?? () #6 0x080511d7 in ?? () #7 0x08051827 in ?? () #8 0x0804b5b1 in ?? () #9 0xb7e30a83 in __libc_start_main (main=0x804ae76, argc=1, argv=0xb574, init=0x80797d0, fini=0x8079840, rtld_fini=0xb7fed180 <_dl_fini>, stack_end=0xb56c) at libc-start.c:287 #10 0x0804b714 in ?? () Program received signal SIGSEGV, Segmentation fault. 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so (gdb) bt #0 0xb72f2d2f in ?? () from /usr/lib/gambas3/gb.qt4.so #1 0xb72ff0b6 in ?? () from /usr/lib/gambas3/gb.qt4.so #2 0xb72ffd46 in ?? () from /usr/lib/gambas3/gb.qt4.so #3 0xb73011fc in ?? () from /usr/lib/gambas3/gb.qt4.so #4 0x080518c1 in ?? () #5 0x0807f1c1 in ?? () #6 0x080511d7 in ?? () #7 0x08051827 in ?? () #8 0x0804b5b1 in ?? () #9 0xb7e30a83 in __libc_start_main (main=0x804ae76, argc=1, argv=0xb574, init=0x80797d0, fini=0x8079840, rtld_fini=0xb7fed180 <_dl_fini>, stack_end=0xb56c) at libc-start.c:287 #10 0x0804b714 in ?? () -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas3 segfaults on Ubuntu MATE for the Raspberry Pi 2
Le 13/11/2015 19:19, Patrik Karlsson a écrit : > It took longer time than I expected but now I have been pooking arround a > bit more. > The ppa I am using is ppa:gambas-team/gambas3. > > And when I try to configure gb.jit the output is > checking for llvm-config... /usr/bin/llvm-config > checking for LLVM, version between 3.1 and 3.5... no > configure: WARNING: gb.jit is disabled > > The output of pata@rpi2:~/Hämtningar/gambas3-3.8.2/gb.jit$ llvm-config > --version > is 3.6.2 > > I have llvm-3.5 installed but there are to many symlinks from llvm-3.6 to > llvm under /usr/bin for me to sort it out, so I guess I will have to > disable JIT until it works with newer versions of llvm. > > /Patrik > To force the use of LLVM 3.5 when there are different versions of LLVM installed, you have to configure the source package that way: $ LLVM_CONFIG=llvm-config-3.5 ./configure -C -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection
http://gambaswiki.org/bugtracker/edit?object=BUG.841=L21haW4- Comment #1 by Benoît MINISINI: I need debugging information... Or a way to reproduce the crash on my system. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #842: IDE Crash when rename a Form beginning on "_"
http://gambaswiki.org/bugtracker/edit?object=BUG.842=L21haW4- Jorge CARRIÓN reported a new bug. Summary --- IDE Crash when rename a Form beginning on "_" Type : Bug Priority : Low Gambas version : 3.8 Product : Unknown Description --- Click on "new proyect". Select qt project. Is created with fMain. Create another form called myform (or whatever) then rename the new form to "_myform". The ide crash with this message: Unknown item: /home/user/userfolder/projectname/.src/Form1.form._TreeView._get.79 [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.16.0-38-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=GNOME Theme=Cleanlooks Language=es_ES.UTF-8 Memory=7927M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CINNAMON_VERSION=2.6.13 CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-NPO8vnuwiV,guid=b28a7a3e8f1ed97c16cbec335646088e DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7800 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-cMfHnU GNOME_KEYRING_PID=2529 GPG_AGENT_INFO=/run/user/1000/keyring-cMfHnU/gpg:0:1 HOME= LANG=es_ES.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2539,unix/:/tmp/.ICE-unix/2539 SHELL=/bin/bash SSH_AGENT_PID=2675 SSH_AUTH_SOCK=/run/user/1000/keyring-cMfHnU/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=e628335a80f946a6457cca0f555e0703-1447430285.836229-1475514355 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_VTNR=8 -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New gb.web.form component
This is starting to look really cool Benoît :) Good job! Some years ago I made a system for a company in PHP that heavily relied on forms. It's purpose was to keep track of projects, customers, warehouse, carried out and pending repair tasks, employees, and so forth. With this I could make it in Gambas in much shorter time :) Perhaps you could add a set of predefined Web-GUI styles (that are CSS files) and ability to make custom styles that are remembered by the IDE. I.e. Google material, bootstrap, amazon, github, and so on... -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New gb.web.form component
All controls and controls elements should have a specific CSS class (whose name begins with "gw-") that will allow to customize their apparence. If there is a "style.css" file in the root folder of your project, it will be automatically used by the gb.web.form component to generate the web site stylesheet. That way, you can customize the look of everything as you like. As for widget themes, I will make one default, and let Gambas users define the others! Yes, I understand this. I was just thinking it could be handy with a dropdown list with some extra styles besides the default one - kind of like with the editor styles. I found two bugs. See attached picture. If I put a timer and set Enabled to true and hit run, the page does not load.-- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New gb.web.form component
Le 13/11/2015 22:19, Moviga Technologies a écrit : > > > This is starting to look really cool Benoît :) Good job! > > Some years ago I made a system for a company in PHP that heavily relied > on forms. It's purpose was to keep track of projects, customers, > warehouse, carried out and pending repair tasks, employees, and so > forth. With this I could make it in Gambas in much shorter time :) > > Perhaps you could add a set of predefined Web-GUI styles (that are CSS > files) and ability to make custom styles that are remembered by the IDE. > > > I.e. Google material, bootstrap, amazon, github, and so on... > All controls and controls elements should have a specific CSS class (whose name begins with "gw-") that will allow to customize their apparence. If there is a "style.css" file in the root folder of your project, it will be automatically used by the gb.web.form component to generate the web site stylesheet. That way, you can customize the look of everything as you like. As for widget themes, I will make one default, and let Gambas users define the others! -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb.args
On 2015-11-13 11:55, Fabien Bodard wrote: > Hi, > > I've a big problem as i can't understand the gb.args usage even > with the doc :-/ > > > Is there someone that can give me a tips ... or maybe this class must > be rewritten. Hi Fabien, This is a code snippet (and accompanying notes) from my application GambasLearning (an aid for people to learn Gambas). The example is quite simple and a lot more can be done with arguments (like my app gbEdit (texteditor) allows opening files from commandline like this 'gbEdit mytext.txt'), but this should get you started in understanding how it works: Notes: Using gb.args it becomes easy to in for example a terminal do a -V and get version returned without the application starting. Both version and help are default in Gambas when adding gb.args component. But how to add an argument? This code snippet goes into a module that has been made startup class. It adds 3 arguments to the application being: -a (-> about) -r (-> revison) -s (->state) When installed and started from menu the application will launch FMain When installed and started from terminal without argument the application will launch FMain When run from terminal with arguments the application will not launch but return the arguments information. To test: 1. Open a new project (ArgTest) with a form FMain (no code needed) 2. Make a module named Start and make it starup class 3. Add the code below to the module start 4. Make a installation package 5. Install the installation package to your system 6. Start the application from menu (-> FMain should show) 6. Open a terminal and type ArgTest -a (-> should return about information and NOT launch FMain) 7. In terminal type ArgTest -h (-> this will give you the list of arguments, try them all) Public Sub Main() Dim bA, bR, bS As Boolean Args.Begin(Application.Name & " ") bA = Args.Has("a", "about", "Display About " & Application.Name) bR = Args.Has("r", "revision", "Display revision number") bS = Args.Has("s", "state", "Display application state") Args.End() If bA Then Print "Application to test gb.args\nBy W.J.L. Raets, The Netherlands" Else If bR Then Print "Rev. (#010)" Else If bS Then Print "Developer release" Else '--Start the main application-- FMain.Show Endif Endif Endif End If you have any further questions just post me a mail. gbWilly -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb.args
On Fri, 13 Nov 2015 11:55:51 +0100 Fabien Bodardwrote: > Hi, > > I've a big problem as i can't understand the gb.args usage even > with the doc :-/ > > > Is there someone that can give me a tips ... or maybe this class must > be rewritten. > > > > -- > Fabien Bodard > > -- > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Fabien, Attached is a demo program with lots of comments. Make the executable and run it from a terminal with the -h argument. cheers bruce -- B Bruen demo_gbargs-0.0.2.tar.gz Description: Binary data -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] gb.args
Hi, I've a big problem as i can't understand the gb.args usage even with the doc :-/ Is there someone that can give me a tips ... or maybe this class must be rewritten. -- Fabien Bodard -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user