[Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'.
error; gbr3: no project file in '/usr/local/bin/gambas3'. ulusoy$ gambas3 gbr3: no project file in '/usr/local/bin/gambas3'. ulusoy$ cd /usr/local/bin/ ulusoy /usr/local/bin$ dir bugpointgbs3.gambas llvm-config llvm-mc llvm-stress gambas3gbw3 llvm-cov llvm-nm llvm-stub gambas3.gambasgbx3 llvm-diff llvm-objdump llvm-tblgen gba3llc llvm-dis llvm-prof macho-dump gbc3lli llvm-dwarfdump llvm-ranlib opt gbi3llvm-ar llvm-extract llvm-readobj gbr3llvm-as llvm-ld llvm-rtdyld gbs3llvm-bcanalyzer llvm-link llvm-size ulusoy@ulusoy-HP-G62:/usr/local/bin$ gambas3 version: 3.3.1 Distribution: Ubuntu 12.04.1 LTS 32 bit + Xubuntu lubuntu kubuntu GUI component: ubuntu - xfce- lxde - QT4 Abdurrahman ULUSOY Ulusoy Mekatronik -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Raspberry Gambas3 WiringPi
Hello, i think this might be interesting for gambas3 users on Raspberry PI. Gambas3-example using Gordons wiringpi library https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/ to drive GPIO on a raspberry. If there would be sufficient general interest, maybe a gambas-component gb.raspi would make sense. wally wiringpi_so_gb3_002-0.0.1.tar.gz Description: application/compressed-tar -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'.
Did you install binaries from some repository? Or did you compile from sources? I would guess you installed incorrectly packaged binaries. Jussi On Thu, Sep 27, 2012 at 2:39 PM, abdurrahman ulusoy uluso...@yahoo.comwrote: error; gbr3: no project file in '/usr/local/bin/gambas3'. ulusoy$ gambas3 gbr3: no project file in '/usr/local/bin/gambas3'. ulusoy$ cd /usr/local/bin/ ulusoy /usr/local/bin$ dir bugpointgbs3.gambas llvm-config llvm-mc llvm-stress gambas3gbw3 llvm-cov llvm-nm llvm-stub gambas3.gambasgbx3 llvm-diff llvm-objdump llvm-tblgen gba3llc llvm-dis llvm-prof macho-dump gbc3lli llvm-dwarfdump llvm-ranlib opt gbi3llvm-ar llvm-extract llvm-readobj gbr3llvm-as llvm-ld llvm-rtdyld gbs3llvm-bcanalyzer llvm-link llvm-size ulusoy@ulusoy-HP-G62:/usr/local/bin$ gambas3 version: 3.3.1 Distribution: Ubuntu 12.04.1 LTS 32 bit + Xubuntu lubuntu kubuntu GUI component: ubuntu - xfce- lxde - QT4 Abdurrahman ULUSOY Ulusoy Mekatronik -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Installation of Gambas3 in Suse12.2
Hi Carl, I guess that the packager forgot a requirement. See http://gambasdoc.org/help/install?v3 So, open YaST2, search for libcurl and install libcurl4 and libcurl-devel. Let's see if this helps. Matti Am 27.09.2012 06:21, schrieb Carl Nilsson: Dear Moderator: I have installed Suse 12.2 mainly because I want to run gambas on Linux as an alternative to VB6 on Win2K in a modest embedded system. I'm a newbie at Linux (and gambas) but used zypper to (apparently successfully) install gambas3 from /munix9:/gambas/openSUSE_12.2/. However I got the message could not install gambas3-examples gambas3-gb-net-curl because nothing provides gambas3-net = 3.2.1 needed by gambas3-examples gambas3-gb-net-curl-3.21-6-21.i586 Now, as a newbie I'm pretty interested in examples in general, so Question 1 is whether or not I should concern myself about that and Question 2 is how would I go about remedying that omission. I take it gambas3-net = 3.2.1 is some sort of dependency - how widely needed I am unsure. A quick google search suggests that gambas3-gb-net-curl (or at least one version) is a component package for net-curl - is part of a Fedora package for X86 64 machines. I am 32 bit (i586) at this stage, so maybe I can ignore the whole bit - and I don't need my gambas project to work on/with the net or with URLs, which I gather is what cURL refers to. Helpful comments? Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Bug with autocompletion
OK, I got it. Write following text: If 1=2 The And then hit tab. -- Crash. This can be fixed by adding this to CompleteItem() sub: If IsNull(gvwComp.Current) = True Then gvwComp.MoveTo(0, 0) Endif Thought, I don't know root reason for this bug, and so this may not be the desired fix. Jussi On Wed, Sep 26, 2012 at 6:56 PM, Jussi Lahtinen jussi.lahti...@gmail.comwrote: This happens with Gambas 3 rev 5201. I don't know how to reproduce it, but it has happened with autocompletion when I press Tab. [13] Null object. FCompletion.CompleteItem.730 Any clue? Jussi -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Bug with autocompletion
Damn... I see, it was fixed already. Forgot to svn update. Jussi On Thu, Sep 27, 2012 at 10:15 PM, Jussi Lahtinen jussi.lahti...@gmail.comwrote: OK, I got it. Write following text: If 1=2 The And then hit tab. -- Crash. This can be fixed by adding this to CompleteItem() sub: If IsNull(gvwComp.Current) = True Then gvwComp.MoveTo(0, 0) Endif Thought, I don't know root reason for this bug, and so this may not be the desired fix. Jussi On Wed, Sep 26, 2012 at 6:56 PM, Jussi Lahtinen jussi.lahti...@gmail.comwrote: This happens with Gambas 3 rev 5201. I don't know how to reproduce it, but it has happened with autocompletion when I press Tab. [13] Null object. FCompletion.CompleteItem.730 Any clue? Jussi -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 333 by flynetin...@gmail.com: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 1) I have an application with a report that was working properly and as of the latest version of shrimp, the report comes out with a different spacing. For this reason the reports out messy and several pages. In previous versions the report was correct. What may have changed for this to happen? How I can fix it? thanks 2) [System] OperatingSystem=Linux Kernel=3.2.0-31-generic Architecture=i686 Memory=1797872 kB DistributionVendor=Ubuntu DistributionRelease=Ubuntu 12.04.1 LTS Desktop=Gnome [Gambas 3] Version=3.3.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Attached the code used Attachments: reporte.tar.gz 7.4 KB -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] TableView Data from database
I'm using a Table view to view data from an SQLite database. I would use a dataview but I only need to display some database fields not all of them. This is the code I have so far: Public Sub Form_Open() Dim sResult As Result Dim id As Integer TableView1.Columns.Count = 3 TableView1.Rows.Count = 10 TableView1.Columns[0].Title = (ID) TableView1.Columns[0].Width = (TableView1.Width / 10) * 2 TableView1.Columns[1].Title = (Location) TableView1.Columns[1].Width = (TableView1.Width / 10) * 4.5 TableView1.Columns[2].Title = (Days Left) TableView1.Columns[2].Width = (TableView1.Width / 10) * 2 sResult = DB.Edit(inventory, id = 1, ID) sResult!id = ID sResult!location = TableView1.Columns[1]. sResult.Update I obviously get an error at runtime on the second to last line as I'm not sure how to put data from the database into the table column. I believe I asked this question before using a dataview on how to display only some data from the database as using a dataview would be easier but I never got a response so I'm trying a table view as it has more options--at least I think so. Any help would be appreciated. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Embeded HTTP server
Hi, In revision #5209, I have added an experimental new feature to the interpreter, which is an... embedded HTTP server. At the moment, you can only use it from the command line. By running the interpreter with the '-H' option, the current project is run as a CGI script from an embedded HTTP server. In other words, provided that your application is a CGI script, running it with the '-H' option transforms it into a running local web site. For example: $ cd /path/to/my/cgi/script/project $ GB_HTTPD_PORT=8000 gbx3 -H ... [Hit ^C to stop it] $ Note the GB_HTTPD_PORT environmental variable that is needed, otherwise the embedded HTTP server will try the port 80, which is reserved to root. How does it work? gbx3 -H will just run the embedded HTTP server, and when a request arrives, it will fork and run the Gambas interpreter normally. As many initialization have already been done by the HTTP server (all components have been loaded), the CGI script should run faster than when it is run from a normal HTTP server like Apache. Another variable is GB_HTTPD_TIMEOUT, which is how many seconds a CGI script can run before being killed by the HTTP server. I made that feature so that we will be able to debug web application directly from the IDE. Actually I don't know if this is possible. I mean: running a CGI script step by step like a normal program while the HTTP server is running and serving other HTTP request from the same CGI script! Anyway, even if it is not possible at the moment, that feature will allow to run a Gambas project as a full standalone http server serving a complete website. I hope some of you will find that interesting. :-) Regards, -- Benoît Minisini -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Embeded HTTP server
Le 28/09/2012 00:54, Adrien Prokopowicz a écrit : Wow, that sounds great ! Thanks Benoît ! :-) I will try it out right now, and see what I can already do with that. Just one little question : as you say that the interpreter makes many initializations, is the project (and all its data, and maybe translation files) loaded as well ? This can affect a lot the execution time. At the moment, the HTTP server is run just after the .project file has been loaded, analyzed, and the required components loaded. When it forks to actually run the project, the _init() functions of all exported classes from components written in Gambas are called, the main hooks are run, and then the Main() function of the startup class is run. As for translation files, they are always loaded the later as possible (when the first translated string of the component or the project is needed). I will see if apache can redirect the HTTP request to the interpreter, so that Apache will handle serving static files (CSS/JS/Images ...) and rewrite some URLs. It could be a workaround until the gb.httpd server can handle all that. gb.httpd is intended to serve only what is inside the project. I think it could be modified so that it serves static files located inside the project without running the CGI script. Regards, -- Benoît Minisini -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Installation of Gambas3 in Suse12.2
Matti: Thank you for your helpful reply. (I'm not exactly sure how this mailing list works - I presume you and other subscribers receive this posting). Your reference to the install guide below is seems most helpful. I am hard-pressed for time at the moment, but will try again when I can. Late last night, I did use Yast to find a gb-net-curl for i586 and got that installed. Then my gambas examples showed, but I think I am only half-way there. I cannot seem to get the components (widgets) to show for the examples and my form remains blank for any example. Nor do the libraries list. So I will try deleting the installation and starting again on the basis of the help/install file below.My next question is that your install/help file relates to Suse 10.2. I have a reliable install of 10.0 on one computer and a new install of 12.2 on the one on which I am trying out gambas. Not 100% confident of the 12.2 install at the moment, but seems to work. (Boots to a rather blank green screen (KDE desktop) , no icons, no gecko, just enough on the taskbar at the bottom to get going). Anyway, should your install instructions for gambas3 apply equally well to Suse 12.2 as 10.2 and have Opensuse got their gambas distro right now or do the comments about not using their gambas installation still apply? I might add that I do not necessarily need the latest and the best from either openSUSE or gambas for what I have to do. I thought choosing the latest in each case might make thinks easier for a newbie to both, but I'm open to installing earlier versions if that seemed desirable. The gambas software I hope to write is really a translation (or porting) of my existing VB6 software that runs on Win 2K. It is heavy on serial ports, comms and some (arithmetical) calculations, uses timers, but that's about all. At this stage I really just wanted to make sure gambas could do the job. Thanks for your time. Carl At 04:23 AM 28/09/2012, you wrote: Hi Carl, I guess that the packager forgot a requirement. See http://gambasdoc.org/help/install?v3 So, open YaST2, search for libcurl and install libcurl4 and libcurl-devel. Let's see if this helps. Matti Am 27.09.2012 06:21, schrieb Carl Nilsson: Dear Moderator: I have installed Suse 12.2 mainly because I want to run gambas on Linux as an alternative to VB6 on Win2K in a modest embedded system. I'm a newbie at Linux (and gambas) but used zypper to (apparently successfully) install gambas3 from /munix9:/gambas/openSUSE_12.2/. However I got the message could not install gambas3-examples gambas3-gb-net-curl because nothing provides gambas3-net = 3.2.1 needed by gambas3-examples gambas3-gb-net-curl-3.21-6-21.i586 Now, as a newbie I'm pretty interested in examples in general, so Question 1 is whether or not I should concern myself about that and Question 2 is how would I go about remedying that omission. I take it gambas3-net = 3.2.1 is some sort of dependency - how widely needed I am unsure. A quick google search suggests that gambas3-gb-net-curl (or at least one version) is a component package for net-curl - is part of a Fedora package for X86 64 machines. I am 32 bit (i586) at this stage, so maybe I can ignore the whole bit - and I don't need my gambas project to work on/with the net or with URLs, which I gather is what cURL refers to. Helpful comments? Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net