[Gambas-user] Error after project is compiled
OK, I think this is a problem with my setup or the OS, but I need help finding the source. I just downloaded build 3230. It's installed and running fine. When I open my project in the IDE and run it, it runs well and exits normally. When I navigate to PROJECT -> MAKE -> EXECUTABLE, everything seems to compile fine. Then, when I run the file, I get: $ ./jiggler.gambas ERROR: #2: Cannot load class 'FJiggler': Unable to load class file 0: ? Anybody have an idea what the problem is? I've actually been seeing it for a while and thought it had something to do with Gambas, but since I've upgraded Gambas, the problem hasn't gone away. Also, I did check permissions, there doesn't seem to be anything amiss with file/directory permissions. Nothing obvious, anyway. The OS is crunchbang linux on a netbook. /etc/lsb-release says Ubuntu 9.04 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error after project is compiled
2010/9/20 Benoît Minisini ... > Send your project. > > Attached. jiggler.tar.gz Description: GNU Zip compressed data -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error after project is compiled
I'm going to have to get back with you on this. That machine is having other problems as well as this--I am considering a full re-install of the OS. By the way, all of my other projects on that machine compile to an executable and run without a hitch. So, I'm not sure why it's just this one. Jussi, thanks for the script. I've been meaning to put together something like that, but haven't really been properly motivated. 2010/10/8 Benoît Minisini > > I have used these commands to clear old installation. > > *sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > > /usr/local/bin/gbi3 > > sudo rm -rf /usr/local/lib/gambas3 > > sudo rm -rf /usr/local/share/gambas3* > > > > In fact I have this on script for compiling Gambas: > > *#!/bin/sh > > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > > /usr/local/bin/gbi3 > > sudo rm -rf /usr/local/lib/gambas3 > > sudo rm -rf /usr/local/share/gambas3 > > cd ~/trunk > > ./reconf-all && ./configure -C && make && sudo make install > > sudo -k* > > > > Jussi > > > > There is a reference on a gb.qt.component file in the compilation > installation. Can you find that file on your hard disk? > > -- > Benoît Minisini > > > -- > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Installing GridEditor Component
I'm having a bit of trouble getting the GridEditor component intsalled into 2.7. Followed the directions at Gareth's site ( http://gambasrad.org/software/gambas-grideditor/documentation/how-to/installing-grideditor ). The project compiles without errors. Make -> Executable goes through the messages "Loading information on component" ... without errors. Nothing appears beyond this. Project -> Properties -> Components does not list GridEditor. How do I track down where I'm getting a misfire here? -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Installing GridEditor Component
I figured out what happened here... ~/.local/lib/gambas2/GridEditor.component ~/.local/share/gambas2/info/GridEditor.list these were linked to: ~/Documents/source/GridEditor/.component ~/Documents/source/GridEditor/GridEditor.gambas which was there because I copied my home directory from a previous install. In the new install I put it somewhere else (trying to organize a little better), but the links remained and were not being overwritten. Deleted the links in ~./local and all went fine. I was nearly going to go insane! -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] SQLite with GridEditor
Anybody using these two together? I made an ultra-simple SQLite database to help me pick through and learn what GridEditor does. When I get to: [FTest] with grid ... .open [DBGridEditor & DBConnection] I get "Query Failed: SQL error or missing database." and it doesn't occur until $conn.Rollback is issued from within the DBGridEditor class. It looks like the database is being opened and the first query is being sent and a result is returned just dandy. Then Reload() is called and Rollback is ultimately issued. >From the terminal: The initial query issues normally, then sending 'rollback' results in the error: 'SQL error: cannot rollback - no transaction is active', which makes sense. I'm not familiar with MySQL (and I realize I'm trying to use GE with a DB for which it may not have been explicitly intended--my apologies to Gareth, MySQL is serious overkill for what I'm trying to accomplish). Any thoughts? -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] clipboard
Beren, I don't know if you're absolutely tied to GTK or non-KDE libraries, but this may help if you are considering inserting a browser into your project: http://www.gambasdoc.org/help/comp/gb.qt.kde.html/webbrowser -j- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb.qt.kde.html
You can read the link a user clicks on with the .link property. Not sure if it can be read before clicking on it though. Or, the .path property... says it returns or sets the URL displayed by the browser. Not sure if either of those is what you're looking for. Not sure about the other question. You could select the text in the window, but it doesn't look like you could get the source that rendered the text in the window. I could be missing something though, so not sure on this one. Perhaps in lieu of present functionality this could be a feature request? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] EXEC vs. SHELL
What Doriano typed only needs some minor touching up. I'd be happy to assist with any English cleanup for that or anything further...however, being rather pressed for time at the moment, I may not be able to get to it until late tomorrow evening. > > As to your English, we might ask some native speaker on the list to look > through it. > > Regards > > Rolf > -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] GridEditor
I know I'm beating this up, but I am getting incredibly frustrated trying to figure out how this thing works. Gambas 2.12 / Ubuntu 8.10 The first image is with gb.qt & gb.qt.ext components enabled (gtk disabled). - I only see a partial toolbar and no grid displays. The second image is with gb.gtk & gb.gtk.ext components enabled (qt disabled). - I get a grid, but no toolbar. - Also, clicking on three different fields in the grid consecutively causes a signal 11. I switched from SQLite to MySQL and made a super-simple database with one table to try to poke my way through this but I seem to be struggling with the basics. Any help is greatly appreciated. I could further attach the code and dump the database if that would help. <><>-- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] GridEditor
Attached is the relevant code/database. It's all very small. Essentially, I'm trying to decipher how GridEditor works--so I've added some notes to the source while I pick through it. I figured out the signal 11, it was in the SQL I was successfully malforming. :-) -jason > > >> I could further attach the code and dump the database if that would > help. > >> > > > > Yes, please provide your project source code and a sql dump of a piece of > your > > database, so that I can reproduce the problems. If it is too big (> > 256K), > > send it to my private e-mail, not the mailing-list. > pomegranate.sql.gz Description: GNU Zip compressed data testGridEditor-0.0.1.tar.gz Description: GNU Zip compressed data -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] GridEditor
Attached is the code that will cause the Sig11. This is the error I'm seeing: (testGridEditor:14683): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height -3 (testGridEditor:14683): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed To reproduce: Double-click a field in the Legs column to edit. Change the value to be empty. Double-click the next field in the Legs column to edit. That should raise the Signal 11. Take care, -jason testGridEditor-0.0.0.tar.gz Description: GNU Zip compressed data -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] GridEditor
Wow, thanks for the expedient response, Benoît! -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Stack Overflow
> I'm getting a stack overflow error when running the attached application. > I'm not sure how to resolve this. > > Basically, uncomment the code in question (a quick search for "baggage" > will find the section), then on the form that runs, attempt to change the > Baggage text field. What I don't understand is that I basically copied and > pasted Seat 1, ... Seat 8, Baggage. Why am I not getting the problem with > the other fields? > > By the way, I've got Gambas 2.5 (ubuntu) and I'm hoping it's just a problem > with an out-of-date compile. > > Thanks! > gb_project.tar.gz Description: GNU Zip compressed data - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Stack Overflow
I am a most humble user as well :-) I do appreciate the input from testing however, it can lead me in the right direction. On Sat, Aug 16, 2008 at 12:37 PM, Kari Laine <[EMAIL PROTECTED]> wrote: > Hi, > > I tested project in Gambas 2.7 SUSE 10.3 x86 and I did not get stack error > or any others. Can you be more specific in what situation the error occurs. > I can test it but not fix as I am a humble user :-) > > Best Regards > Kari Laine This is how it breaks: 1) Uncomment the code block dealing with the baggage weight. It starts with: "PUBLIC SUB txtBaggageWeight_Change()" 2) Either compile or run from IDE. 3) On the form that appears, you can tab to the Baggage field or double-click it (select it somehow) and start typing a number (I haven't implemented much error-checking yet, so don't type an alpha character--that will make my application angry :) 4) Gaze in awe at "Stack Overflow". 5) Repeat until the euphoria wears off. I'd really like to know if this works on 2.5, but I have a feeling I'm the last one using 2.5 right now :) Like I mentioned before, the code for Baggage is essentially the same as the 9 fields above it on the form with the appropriate corrections for variable names. So, I think there may be a few problems: 1) Poor code/technique (I am trying to learn this thing after all), which has a very high probability. 2) Some bug in 2.5 that has been squashed by 2.7 (I think this is also very likely) 3) Gremlins. If it's meaningful, my setup is x86, kubuntu, and gb 2.5. I am trying to compile 2.7, but the kde, qt, and odbc libraries are giving me a headache. So I've suspended that plan for now. Cheers! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Stack Overflow
Thank you. Obviously I overlooked that one. Your humble servant ;-) Jason On Sat, Aug 16, 2008 at 2:10 PM, Kari Laine <[EMAIL PROTECTED]> wrote: > Hi Jason, > > I found the problem. It is yours not Benoit's :-) > > txtBaggageWeight is stored wrong value. The propably right sub is > following. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
First of all, I bought this book. Mr. Rittinghouse obviously worked very hard on it and I felt he deserves a little something for his effort. Does anyone know if Mr. Rittinghouse plans on releasing an updated version of this book? There are inconsistencies, errors, and just plain outdated information throughout the current version. Just two examples: 1) There are some details omitted (or just not well clarified for a beginner) in the chapter regarding drawing. 2) The CASE/SELECT information could be more complete. I'd really, REALLY like to see some sort of reference (I know, that would be a book in itself!!) Otherwise, it's a decent book (I've been using it primarily as a reference). I'd love to help make it better. I have a knack for finding mundane nuggets of goodness that can be cleaned up. Jason p.s. John, if you're out there, I'm serious about the offer to help. On Sun, Aug 31, 2008 at 11:47 AM, Kari Laine <[EMAIL PROTECTED]> wrote: > Hi, > > Sometime ago I found a nice book about Gambas. Sorry if everybody > already know this. > Search GooGle for "gambas beginner guide". > > Here is one of the links > http://www.linuxinet.com/free-linux-ebooks/free-linux-programming-ebooks-beginner-039-s-guide-gambas.html > > Best Regards > Kari Laine - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Drawing Persistence
How do you make an image in the Drawing Area persistent? That is, I draw a box. Then open a popup (which appears directly over my drawing). Close the popup when I'm done and parts of my drawing (which were covered by the popup) are blanked out--needing to be redrawn by calling the initial drawing event. I thought the Refresh method was the way to go, but using that causes the drawing to flash. Or rather, it draws the image, then clears immediately. Jason - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Drawing Persistence
Hey Rob, thanks for the direction. Got it working now. I was confusing how clear, cached, and refresh work with each other. I think I got 'em all set now. :-) Cheers. > You want the Cached property. > > http://www.gambasdoc.org/help/comp/gb.qt/drawingarea/cached > > Rob - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
I'm not certain how much the publisher cares. Feel free to let me know if this has already been hashed over. Excerpt from page 2 of the book: "All rights reserved. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the author, John W. Rittinghouse." Without diving into technicalities, I think that just about covers it. And trying to find a way around it will likely take more effort than just creating a new/original work from the community. I originally offered to assist with getting the dead-tree version of the book up-to-date without knowing Mr. Rittinghouse's personal concern that will likely prevent him from continuing work on the book. It was from that thought that the wiki idea was brought up by John (allbasic). I'm personally not very interested in wiki since wiki doesn't travel well on airplanes (I fly for a living) or to hotels with spotty internet access. I have a strong preference for paper. My offer still stands. I'd be willing to offer my time to help edit a [new] book for Gambas. I do a fair job at spell checking and some general grammar cleanup. This is my feeling: I think what may be best is not to attempt to use/revise/rehash this book out of respect for Mr. Rittinghouse, but perhaps to create a new book altogether (paper, electronic, whatever). I started creating some very basic documentation (based almost exclusively on gambasdoc.org/help) for my personal use, but what I really want--and probably what most everyone learning Gambas wants--is a lot of good examples. Respectfully, Jason - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Nice book of Gambas
Looks like Ron_1st already covered most of my thoughts :-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Base Conversion
A cursory look through the docs didn't turn up anything... Is there a function to convert base, say base 10 to base 36? Or base 16 to base 36. I want to get to base 36 from either base10 or base16. It shouldn't be too difficult to hack something together, but was wondering if I'm overlooking something that's already there. Thanks! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Base Conversion
Thanks. There was a python snippet I found on wikipedia earlier. Maybe I'll knock something together in the next few days when I get a little more free time. On Sun, Nov 16, 2008 at 2:27 PM, Pablo Vera <[EMAIL PROTECTED]> wrote: > Here is a VB6 code to convert to and from base36, it should work almost > the same in Gambas: > > > ' Support functions > > ' Get a base36 digit > Private Function D36(ByVal N As Integer) As String > D36 = Chr$(N + IIf(N <= 9, 48, 55)) > End Function > > ' base36 Logarithm > Private Function Log36(ByVal X As Double) As Double > Log36 = Log(X) / Log(36#) > End Function > > > ' Convert a base10 number (Num10) to base36 with a maximum of RNum digits > ' > Public Function ToBase36(ByVal Num10 As Long, ByVal RNum As Integer) As > String > Dim Num36 As String, Base As Long, Mult As Integer, E As Integer > Num36 = String$(RNum, "0") > > If Num10 > 0 Then >E = Int(Log36(Num10)) > >Do > Base = 36 ^ E > Mult = Int(Num10 / Base) > Mid$(Num36, RNum - E, 1) = D36(Mult) > > Num10 = Num10 - Mult * Base > E = E - 1 >Loop Until E < 0 > End If > > ToBase36 = Num36 > End Function > > > ' Convert a base36 number (Num36) back to base10 > ' > Public Function ToBase10(ByVal Num36 As String) As Long > Dim Num10 As Long, I As Integer, D As Long, C As String, E As Integer > Num10 = 0 > > E = Len(Num36) > For I = E To 1 Step -1 >C = UCase$(MID$(Num36, I, 1)) >If C >= "A" And C <= "Z" Then > D = ASc(C) - 55 >ElseIf C >= "0" And C <= "9" Then > D = ASc(C) - 48 >Else > D = 0 >End If >Num10 = Num10 + D * (36 ^ (E - I)) > Next I > > ToBase10 = Num10 > End Function > > Pablo > _ > > > > Jason Hackney wrote: > > A cursory look through the docs didn't turn up anything... Is there a > > function to convert base, say base 10 to base 36? Or base 16 to base 36. > I > > want to get to base 36 from either base10 or base16. > > > > It shouldn't be too difficult to hack something together, but was > wondering > > if I'm overlooking something that's already there. > > > > Thanks! > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] how to edit data in table view
I know this is a few months on now, but I was wondering if anybody has downloaded Fabien's project? I tried running it but, still don't have the ability to edit the TableView. I created a new project (using Gambas 2.8) and copied the source of FMain.class into my project and created what I assumed was just a form with a TableView on it. I get the balloon messages, but cannot edit. On Wed, Aug 13, 2008 at 12:10 PM, Fabien Bodard wrote: > this way :) > > I've mad this short exemple for you... and others. But i think i need > to make a complete tutorial on gridview and table view. > > Regards, Fabien Bodard -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] TableView Editing
Gambas 2.8... I've slightly modified Fabien's example posted on August 13, 2008. 1) I'm getting a "Null Object" when attempting to execute the following line inside a TableView Click event: TableView1.Edit(["a", "b", "c", "d"], FALSE) 2) Say I click on Col 0, Row 0. The contents of that cell are selected. I edit the cell contents then press TAB and it appears the contents are apparently saved, but the next column's cell does not get selected. In other words, I click on 0,0 then press TAB. I expect Col 1, Row 0 to be selected. But it is not. Using the left and right arrow keys, I can cursor through the cells and their contents (but none is selected)--which is as expected. Just wondered if the TAB functionality was a feature or a bug? Or possibly something that has been addressed more recently. Thanks, Jason -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TableView Editing
> Just wondered if the TAB functionality was a feature or a bug? Or possibly > something that has been addressed more recently. > This happens in qt and gtk. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Gambas SVN download/compile
On the off chance that someone other than myself would like to automate downloading the source from SVN and compiling, I've attached a bash script that does it for Ubuntu 8.10. I have had to do it a number of times in the past couple days so I figured I'd put together a relatively crude script. Some notes: -) It's based heavily on this page: http://gambasdoc.org/help/install/ubuntu?show by Gareth Bult. -) I am doing this on an ASUS Eee PC running the latest eeebuntu (standard edition). -) The script automatically downloads (and downgrades) a correct libtool package for 32-bit systems. -) I did't get too enchanted with trapping errors and such (I just needed something that worked) -) You will have to edit the HOMEDIR variable to reflect your home directory. -) Finally, make sure you run the script as superuser. I'm open to suggestions for making it better if anyone finds it interesting. Cheers, Jason gb-checkout.sh.gz Description: GNU Zip compressed data -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Grideditor
Is anyone using GridEditor with the latest SVN? -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] 1795
Do we still have to downgrade libtool to compile the latest snapshot? I have been able to compile 1794 using the downgraded libtool, but tried 1795 today and now I'm getting very strange messages from 'make': make all-recursive make[1]: Entering directory `/home/hackney/trunk' Making all in main make[2]: Entering directory `/home/hackney/trunk/main' make all-recursive make[3]: Entering directory `/home/hackney/trunk/main' Making all in libltdl make[4]: Entering directory `/home/hackney/trunk/main/libltdl' make all-am make[5]: Entering directory `/home/hackney/trunk/main/libltdl' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo ltdl.c ./libtool: line 467: CDPATH: command not found ./libtool: line 1145: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.4 Debian-2.2.4-0ubuntu4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 Debian-2.2.4-0ubuntu4 libtool: and run autoconf again. make[5]: *** [ltdl.lo] Error 63 make[5]: Leaving directory `/home/hackney/trunk/main/libltdl' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/hackney/trunk/main/libltdl' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/hackney/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/hackney/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hackney/trunk' make: *** [all] Error 2 The one that bugs me is the line that says, "This is libtool 2.2.4 ..." but "libtool --version" returns: ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-4 (1.1220.2.493 2008/02/01 16:58:18) Am I missing something? Do I just need a kick in the head? :-) -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] 1795
Uh... disregard. Made the mistake of thinking a Debian package was interchangeable with an Ubuntu package. Got it fixed. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Grideditor
Oh yeah, I was wondering if there was any status update regarding if/when it will be included in the IDE. Sorry about hitting "reply-all" on the last post. ;-) -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Grideditor
I would love a tutorial even if it just points out how thickheaded I am. My problem was two things: Since I'm not really familiar with GridEditor, I don't know what it should look like once it's installed as a component. I expected icons of some sort, but all I see are three question marks in the toolbox. Is that correct? Second, with build 1794 I was getting errors when adding as a component to my project. I would get an IDE error telling me that the project could not be compiled. When I deselected GridEditor, the error went away. (I did upgrade the project from 1.0 to 3.0 and made a new executable). And third, (I know I said two), does GridEditor depend on gb.qt? I've been using gtk+ pretty much exclusively. I think some of my trouble was that gb.qt did not compile with 1794. Now (in 1795, the only compenent not surviving the make process is gb.qte--I hope that's not a problem). -Jason On Sun, Jan 11, 2009 at 4:05 PM, richard terry wrote: > On Sun, 11 Jan 2009 10:02:07 pm Gareth Bult wrote: > > Hi, > > > > Yes, me ... > If you noted my previous post on us all contributing to simple code > examples, > perhaps you could write us a tutorial? > > Maybe benoit can come up with a simple frame work we can put these examples > in > and it can be included with the one I posted. > > Regards > > Richard > > > > :) > > > > Gareth. > > > > > > - Original Message - > > From: "Jason Hackney" > > To: "Gambas Mailing List" > > Sent: Sunday, 11 January, 2009 4:41:18 AM GMT +00:00 GMT Britain, > Ireland, > > Portugal Subject: [Gambas-user] Grideditor > > > > Is anyone using GridEditor with the latest SVN? > > > --- > >--- Check out the new SourceForge.net Marketplace. > > It is the best place to buy or sell services for > > just about anything Open Source. > > http://p.sf.net/sfu/Xq1LFB > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > -- > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Grideditor
Uhh ... obviously I didn't make it past this part, "Tick the Box and click Ok" when installing. The other bits I'm having trouble with I need to iron out. Thanks! -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] HTML in Text Label
I'm trying to insert some basic HTML into a text label and from the docs, "" should work, but it displays the text . Meanwhile , , etc. seems to work well. Also, TextLabel1.alignment = 3 has the result I want. Am I missing something? Jason -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Compiling Error
reconf and configure work, but running make gives me this: make[4]: Entering directory `/home/hackney/trunk/gb.db.odbc/src' make[4]: Leaving directory `/home/hackney/trunk/gb.db.odbc/src' make[3]: Leaving directory `/home/hackney/trunk/gb.db.odbc' make[2]: Leaving directory `/home/hackney/trunk/gb.db.odbc' make[1]: Leaving directory `/home/hackney/trunk' make[4]: *** No rule to make target `gb.db.odbc.component', needed by `all-am'. Stop. make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 hack...@seattle:~$ Everything seemed to work prior to this, so I'm confused a bit. What happened? Also, there was no installation of Gambas on this computer prior to this. The libraries (2.2.11-16 Ubuntu) are installed, I double-checked. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Error
Thanks, Benoît. :-) -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user