Re: [Gambas-user] Usb
Use dbus component for reliable usb detection. Have a look at these links http://gambasdoc.org/help/comp/gb.dbus?v3http://udisks.freedesktop.org/docs/1.0.5/Device.html#Device:DeviceFile From: Kende Kriszti nSent: Tue, 30 Jul 2013 15:25:07 To: gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Usb > >> is it possible to list all the usb devices on a system? > >> > > Yeah, the lsusb command is your friend. > > > > I should have said usb drive I was thinking using dev some how > No problem, I use this for pendrives: Dim item, dev, name As String For Each item In Dir("/dev/disk/by-id", "usb-*", gb.Link) dev = Stat("/dev/disk/by-id/" & item).Link dev = "/dev/" & Right(dev, - RInStr(dev, "/")) If Len(dev) = 8 name = Right(item, -4) name = Left(name, RInStr(name, "_")) Print dev & " " & Replace(name, "_", " ") Endif Next This not work with HDDs. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Hello gambas-user
Hello gambas-user, how are you? i started slowly too but now im rolling high http://bitly.com/14xv61F this was on the news and not enough people saw it -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Create an application with root/sudo previlege
Any help please... From: sundar_imaSent: Wed, 21 Mar 2012 16:11:07 To: gambas-user@lists.sourceforge.net Subject: [Gambas-user] Create an application with root/sudo previlege I am creating an application which calls bash scripts many time with sudo/root privilege. Though i can execute bash script with either kdesu or gksu, it asks password many times. Instead it would be nice if any one help me on opening an application with sudo/root access. I have searched in google and found only this link on the subject http://old.nabble.com/Re%3A-Gambas-app-run-as-root-p29871170.html http://old.nabble.com/Re%3A-Gambas-app-run-as-root-p29871170.html . However when i tried (last example by Joe1962) the example, i got an error in "Global.root = TRUE" line. In AutoIT adding a line "#include Admin" will solve the problem. -- View this message in context: http://old.nabble.com/Create-an-application-with-root-sudo-previlege-tp33522274p33522274.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] How to call .class file from main file
For every button click i need to call .class file. how do i do that? searched on the net but found no good example. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Delete sentance between words in a file.
How do i delete a sentence/line between two matching words? For example i have a long paragraph starting with ABC-Start and ending with XYZ-End. I need to delete all the words including ABC-Start & XYZ-End. I have gone through the gambas documentation and found replace string function. However it did not do the job as i expected. Any help is appreciated. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Load hidden file to variable?
I need to load file to a variable which is residing in side a hidden folder. So i tried to load it like If Exist("~/.applicationtempfile/.hiddendir/file") = True Then search = File.Load("~/.applicationtempfile/.hiddendir/file") ... rest of coding ... However obove code does not work. Any help??? -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Load hidden file to variable?
Ok. Ifound out the issue where it is. It seems to be associated with file extension. The file i want to load does not have any extension. So I created the same file with ".txt" extension inside the same hidden directory to see the result. This time it loaded fine and did not have an issue. However my problem remain same as gambas could not find the file without extension. How do I overcome this? From: Jussi Lahtinen <jussi.lahti...@gmail.com> Sent: Sat, 31 Mar 2012 21:33:31 To: sundar_...@rediffmail.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Load hidden file to variable? Why it doesn't work? It cannot find the file? Or does it give you error message? Jussi On Sat, Mar 31, 2012 at 18:36, sundar j <sundar_...@rediffmail.com> wrote: I need to load file to a variable which is residing in side a hidden folder. So i tried to load it like If Exist("~/.applicationtempfile/.hiddendir/file") = True Then search = File.Load("~/.applicationtempfile/.hiddendir/file") ... rest of coding ... However obove code does not work. Any help??? -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Load hidden file to variable?
Print Error is False for both if statement and file.load function. I have checked file permission and it is root. I think file permission is not an issue here since it does not even detect file. Also i have tested the same with other file (root permission) and it works perfectly. Again i need not have to edit the file. From: "nando" <nand...@nothingsimple.com> Sent: Mon, 02 Apr 2012 15:56:06 To: sundar_...@rediffmail.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Load hidden file to variable? A hidden file IS hidden by default from normal views. So, the result appears to be correct. (Benoit: maybe a flag is needed for hidden files in call?) Nevertheless, LOAD ought to work with hidden files too. (Are your permissions correct) Files extensions and associations are a windoze thing and don't matter in Linux. ...and it shouldn't make a difference either what the extension is. Make sure your filename without an extension doesn't have a trailing dot because it can make things tricky and work funny to the human point of view. (especially coming from windoze world) So, in Linux: ~/.applicationtempfile/.hiddendir/file is not the same as ~/.applicationtempfile/.hiddendir/file. <==notice the trailing dot but in some versions of windoze/DOS, the two are the same file. It is especially true if you think the dot starts an extension (windoze) or if you understand the dot is just another character in the filename (Linux) Also, filenames and directories can be have spaces in their name. So 'Hello .' is a valid filename or directory name and 'Hello . ' is valid too and ' ' is also valid too so is ' ' (45 spaces, all spaces) How about this: (I'm doing this from memory..so it may be a little off on syntax) TRY search = File.Load("~/.applicationtempfile/.hiddendir/file") 'and on the next line, print the error produced PRINT Error. <===put something from Error. statement to describe the exact error. -Fernando -- Original Message --- From: "sundar j" <sundar_...@rediffmail.com> To: "Jussi Lahtinen " <jussi.lahti...@gmail.com> Cc: mailing list for gambas users <gambas-user@lists.sourceforge.net> Sent: 2 Apr 2012 01:05:37 - Subject: Re: [Gambas-user] Load hidden file to variable? > Ok. Ifound out the issue where it is. It seems to be associated with file > extension. The file i want to load does not have any extension. So I created the > same file with ".txt" extension inside the same hidden directory to see the > result. This time it loaded fine and did not have an issue. However my problem > remain same as gambas could not find the file without extension. How do I > overcome this? > > From: Jussi Lahtinen <jussi.lahti...@gmail.com> > Sent: Sat, 31 Mar 2012 21:33:31 > To: sundar_...@rediffmail.com, mailing list for gambas users <');">gambas-user@lists.sourceforge.net>; > Subject: Re: [Gambas-user] Load hidden file to variable? > Why it doesn't work? It cannot find the file? Or does it give you error message? > > Jussi > > On Sat, Mar 31, 2012 at 18:36, sundar j <');">sundar_...@rediffmail.com>; wrote: > > I need to load file to a variable which is residing in side a hidden folder. So > i tried to load it like > > If Exist("~/.applicationtempfile/.hiddendir/file") = True Then > > search = File.Load("~/.applicationtempfile/.hiddendir/file") > > ... > > rest of coding > > ... > > However obove code does not work. Any help??? > > -- > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user --- End of Original Message --- -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Load hidden file to variable?
Thanks (tobi) for the help. Now i solved the problem. The is not related to gambas. String manipulation was incorrect in my program which resulted the error to look like the "subject". Also i understood the power of print for debugging / tracking errors. From: tobi <tobiasboeg...@googlemail.com> Sent: Mon, 02 Apr 2012 21:28:00 To: sundar_...@rediffmail.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Load hidden file to variable? On Mon, 02 Apr 2012, sundar j wrote: > Print Error is False for both if statement and file.load function. I have checked file permission and it is root. I think file permission is not an issue here since it does not even detect file. Also i have tested the same with other file (root permission) and it works perfectly. Again i need not have to edit the file. > wow, mail citation gets weird now. could we quickly recall? to clarify things to me, too... this all works as expected (gives True): Print Exist("~/") Print Access("~/", gb.Read) and Print File.Load("~/") insistently fails? regards, tobi -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Use public variable from one module to other?
Hi, In my application i need to use many functions which are lengthy. So i have created modules for each function but i have difficulties in getting public variable from one module to other module. Right now what i do is that create temp file and write dynamic variable in to it so that it is accessible to all modules. Is there any way that i can use variable directly instead of creating temp files? -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Function/code for close icon?
Is there any way that we can write function/code for close icon (top right corner of the window). When my program run it creates temp files which needs to be cleared when user click on this icon. Any help? -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Function/code for close icon?
Oh. That was the quickest response i have ever recieved. Thanks for the help. From: tobi <tobiasboeg...@googlemail.com> Sent: Sun, 15 Apr 2012 23:36:26 To: sundar_...@rediffmail.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Function/code for close icon? On Sun, 15 Apr 2012, sundar j wrote: > Is there any way that we can write function/code for close icon (top right corner of the window). When my program run it creates temp files which needs to be cleared when user click on this icon. Any help? > -- > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user For this purpose, you have the Window_Close() event. Regards, Tobi -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Feature Request] Offline Documentation
Is it possible to make online documentation to include in standard installation and make it available from help/F1. It would be nice if examples also included in the offline documentation. -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Shell with wait does not wait till work complettion
In my application I need to copy folder content to other folder using shell cp command (since gambas does not support COPY recurse) with wait option. When copying is in progress TextLabel will indicate "Copy in Progress" . Once copying is complete then TextLable will indicate something else. For some reason wait option in shell command does nothing and I am not able to set the text "Copy in Progress" in TextLabel properly. Is it bug or am I missing some code? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Fw: Shell with wait does not wait till work complettion
TextLabel.Text = "Copy in progress" Shell "cp -r <src> <dst>" Wait TextLabel.Text = "Completed." I used above code in my application. Shell indicated that all files are being copied one-by-one. But TextLable did not display Copy in progress. I did lot of experiment with the above code. Finaly i got it working by adding time delay just before shell command. Now my code looks like this :- TextLabel.Text = "Copy in progress" wait 0.1 Shell "cp -r <src> <dst>" Wait TextLabel.Text = "Completed." I really have no clue why code worked after inserting time delay. From: tobi <tobiasboeg...@googlemail.com> Sent: Mon, 21 May 2012 23:40:35 To: sundar_...@rediffmail.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Shell with wait does not wait till work complettion On Mon, 21 May 2012, sundar j wrote: > In my application I need to copy folder content to other folder using shell cp command (since gambas does not support COPY recurse) with wait option. When copying is in progress TextLabel will indicate "Copy in Progress" . Once copying is complete then TextLable will indicate something else. For some reason wait option in shell command does nothing and I am not able to set the text "Copy in Progress" in TextLabel properly. Is it bug or am I missing some code? > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user What do you mean by "wait option [...] does nothing"? Does the shell give an error? I assume that you have something like: TextLabel.Text = "Copy in progress" Shell "cp -r <src> <dst>" Wait If I remember correctly, using this construct prevents the GUI from refreshing itself, so you won't see anything until the command completes and a new event loop is entered? I think one could help better with more information. Regards, Tobi Follow Rediff Deal ho jaye! to get exciting offers in your city everyday. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Delete/Remove blank line from text file.
In my application i need to use lot of string function to add and remove multiple lines. I do not have any issue with that. However, If i remove certain sentence then it becomes blank line. So how do i remove those blank lines? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Access global variable from other .class
I am trying to write a code for accepting user password in a input box/textbox when user click on button from main form. For user input i have created new form named sudo.form and codes are in sudo.class file. This sudo.class accepts user password through textbox (hidden) and store it in global variable named password. sudo form is shown when user click on button from main form. Now my problem is that how do i access/capture this global variable (password) from main program? For example, accessing module variable (from sudo.module) we do it like: Public Sub function() Dim accept as string . . accept = sudo.password Shell "echo " & accept & " | sudo -S somecommand" . . End Right now i do not have a code to post but will come back later. But the general idea which i am trying to do is explained above. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Access global variable from other .class
I have already tried and tested those option. Thoug it works i kept it as stand by option. But i want my application to be universal and look native. In addition i want to know more on accessing variables from different class file. From: Bruce <bbr...@paddys-hill.net> Sent: Thu, 14 Jun 2012 10:29:40 To: sundar_...@rediffmail.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Access global variable from other .class On Thu, 2012-06-14 at 04:28 +0000, sundar j wrote: > I am trying to write a code for accepting user password in a input box/textbox when user click on button from main form. For user input i have created new form named sudo.form and codes are in sudo.class file. This sudo.class accepts user password through textbox (hidden) and store it in global variable named password. sudo form is shown when user click on button from main form. Now my problem is that how do i access/capture this global variable (password) from main program? For example, accessing module variable (from sudo.module) we do it like: > > Public Sub function() > Dim accept as string > . > . > accept = sudo.password > Shell "echo " & accept & " | sudo -S somecommand" > . > . > End > > Right now i do not have a code to post but will come back later. But the general idea which i am trying to do is explained above. Why not save yourself the bother and just use kdesu, kdesudo, gksu, gksudo or pkexec (whichever fits your distro). As in, for example: Shell "gksu -c somecommand" These all provide the privilege gui and probably much more security than redoing it yourself. hth Bruce -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Package creation failed to include gambas dependencies.
Some how i managed to complete my first project in gambas. Now I am trying to build a .deb package for Ubuntu but struck there. As indicated by Google this question has been asked many time in various forum and threads and (they) found solution. However the solution did not work for me. The question is, how do you make installation package from gambas which can run on other system which does not have gambas installed? I tried to make the .deb package from kubuntu 12.04 with gambas 3.1 installed. The result says success after creating package but when i tried to install it on ubuntu 12.04 it failed with following dependency errors:- sundar@sundar-HCL-ME-Laptop:~$ sudo dpkg -i multibootusb_4.7-1_all.deb [sudo] password for sundar: Selecting previously unselected package multibootusb. (Reading database ... 218672 files and directories currently installed.) Unpacking multibootusb (from multibootusb_4.7-1_all.deb) ... dpkg: dependency problems prevent configuration of multibootusb: multibootusb depends on gambas3-runtime (>= 3.0.90); however: Package gambas3-runtime is not installed. multibootusb depends on gambas3-runtime (= 3.0.90); however: Package gambas3-gb-image is not installed. multibootusb depends on gambas3-gb-image (= 3.0.90); however: Package gambas3-gb-gui is not installed. multibootusb depends on gambas3-gb-gui (= 3.0.90); however: Package gambas3-gb-form is not installed. multibootusb depends on gambas3-gb-form (= 0.9.23); however: Package pmount is not installed. multibootusb depends on fuseiso (>= 20070702); however: Package fuseiso is not installed. dpkg: error processing multibootusb (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for gnome-menus ... Errors were encountered while processing: multibootusb So does gambas include (gambas) dependency packages like gambas3-runtime when we select installation package from IDE? If not what is the solution to it? Why cant there be an official guide/tutorial on creating packages from IDE? I also found another strange issue with the created package. I installed created package on Kubuntu with out dependency error. But when i tried to run from menu it shows error message "This application has raised an unexpected error and must abort" [45] File or directory does not exist. Fmain._new.10 However it works when i run executable from application directory. Regards, Lt J Sundar -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Fw: Package creation failed to include gambas dependencies.
Any help please. I still not able to figure out where i miss out. From: "sundar j" <sundar_...@rediffmail.com> Sent: Tue, 19 Jun 2012 20:11:42 To: <gambas-user@lists.sourceforge.net> Subject: [Gambas-user] Package creation failed to include gambas dependencies. Some how i managed to complete my first project in gambas. Now I am trying to build a .deb package for Ubuntu but struck there. As indicated by Google this question has been asked many time in various forum and threads and (they) found solution. However the solution did not work for me. The question is, how do you make installation package from gambas which can run on other system which does not have gambas installed? I tried to make the .deb package from kubuntu 12.04 with gambas 3.1 installed. The result says success after creating package but when i tried to install it on ubuntu 12.04 it failed with following dependency errors:- sundar@sundar-HCL-ME-Laptop:~$ sudo dpkg -i multibootusb_4.7-1_all.deb [sudo] password for sundar: Selecting previously unselected package multibootusb. (Reading database ... 218672 files and directories currently installed.) Unpacking multibootusb (from multibootusb_4.7-1_all.deb) ... dpkg: dependency problems prevent configuration of multibootusb: multibootusb depends on gambas3-runtime (>= 3.0.90); however: Package gambas3-runtime is not installed. multibootusb depends on gambas3-runtime (= 3.0.90); however: Package gambas3-gb-image is not installed. multibootusb depends on gambas3-gb-image (= 3.0.90); however: Package gambas3-gb-gui is not installed. multibootusb depends on gambas3-gb-gui (= 3.0.90); however: Package gambas3-gb-form is not installed. multibootusb depends on gambas3-gb-form (= 0.9.23); however: Package pmount is not installed. multibootusb depends on fuseiso (>= 20070702); however: Package fuseiso is not installed. dpkg: error processing multibootusb (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for gnome-menus ... Errors were encountered while processing: multibootusb So does gambas include (gambas) dependency packages like gambas3-runtime when we select installation package from IDE? If not what is the solution to it? Why cant there be an official guide/tutorial on creating packages from IDE? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Package creation failed to include gambas dependencies.
> I also found another strange issue with the created package. I installed created package on Kubuntu with out dependency error. But when i tried to run from menu it shows error message > "This application has raised an unexpected error and must abort" > [45] File or directory does not exist. > Fmain._new.10 > However it works when i run executable from application directory. Ok. This is because package.gambas unable to execute shell script which was placed inside project directory. Solved it after using Temp$. Beno t Minisini, Ok got it. Is it not possible to include all dependencies when package is being compiled and compressed right from the IDE. This way i need not have to worry about users knowledge on library dependency (only in linux) and their internet connection. You can provide an option of checkbox or name of the package/library to include dependencies in packaging wizard . Please consider this as feature request. From: Beno t Minisini <gam...@users.sourceforge.net> Sent: Sat, 23 Jun 2012 01:45:50 To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Subject: Re: [Gambas-user] Package creation failed to include gambas dependencies. Le 19/06/2012 16:41, sundar j a écrit : > Some how i managed to complete my first project in gambas. Now I am trying to build a .deb package for Ubuntu but struck there. As indicated by Google this question has been asked many time in various forum and threads and (they) found solution. However the solution did not work for me. > > The question is, how do you make installation package from gambas which can run on other system which does not have gambas installed? I tried to make the .deb package from kubuntu 12.04 with gambas 3.1 installed. The result says success after creating package but when i tried to install it on ubuntu 12.04 it failed with following dependency errors:- > > sundar@sundar-HCL-ME-Laptop:~$ sudo dpkg -i multibootusb_4.7-1_all.deb > [sudo] password for sundar: > Selecting previously unselected package multibootusb. > (Reading database ... 218672 files and directories currently installed.) > Unpacking multibootusb (from multibootusb_4.7-1_all.deb) ... > dpkg: dependency problems prevent configuration of multibootusb: > multibootusb depends on gambas3-runtime (>= 3.0.90); however: > Package gambas3-runtime is not installed. > multibootusb depends on gambas3-runtime (= 3.0.90); however: > Package gambas3-gb-image is not installed. > multibootusb depends on gambas3-gb-image (= 3.0.90); however: > Package gambas3-gb-gui is not installed. > multibootusb depends on gambas3-gb-gui (= 3.0.90); however: > Package gambas3-gb-form is not installed. > multibootusb depends on gambas3-gb-form (= 0.9.23); however: > Package pmount is not installed. > multibootusb depends on fuseiso (>= 20070702); however: > Package fuseiso is not installed. > dpkg: error processing multibootusb (--install): > dependency problems - leaving unconfigured > Processing triggers for desktop-file-utils ... > Processing triggers for bamfdaemon ... > Rebuilding /usr/share/applications/bamf.index... > Processing triggers for gnome-menus ... > Errors were encountered while processing: > multibootusb > > So does gambas include (gambas) dependency packages like gambas3-runtime when we select installation package from IDE? If not what is the solution to it? Why cant there be an official guide/tutorial on creating packages from IDE? > > I also found another strange issue with the created package. I installed created package on Kubuntu with out dependency error. But when i tried to run from menu it shows error message > "This application has raised an unexpected error and must abort" > [45] File or directory does not exist. > Fmain._new.10 > However it works when i run executable from application directory. > > > Regards, > J Sundar There is a problem at the moment: Ubuntu and other Debian-base distributions do not have official gambas3 packages yet. So when you try to install a package made by the IDE, you have these failed dependencies. You must use unofficial repositories to fulfil the required dependencies. -- Benoît Minisini -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/li
[Gambas-user] How to change project description?
I made my first test pakage with out proper description. Since it was for testing, project description set as default "This program is written in Gambs". Now how do i change this description? I gone through all tabs and drop downs but could nopt figure out the way out. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Application not working afer upgrading to 3.2
I have made my application in gambas 3.1.1 under ubuntu 12.04 (using PPA of Kendek). The installation package is also made from gambas 3.3.1. Tested it on live system (and installed) in all *buntus and worked fine. After Kendek upgraded Gambas to 3.2 my application is not working properly. It opens and shows main form but when i click on any button / widgets no action is taking place. The same package i have tested in arch linux with version 3.2 but again same problem persist. I suspect this could be in compatibility between gambas runtime between 3.1.1 and 3.2. Does any one have an issue like mine? Any help is appreciated. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Application not working after upgrading to 3.2
This is in connection with the reply you made on the mailing list http://old.nabble.com/Application-not-working-afer-upgrading-to-3.2-td34150059.html I am facing trouble in posting any mail to mailing list. Even i am not sure about delivery of this mail but trying my luck today. Just run (F5) and click on any button/widget to see the problem. Download the source code from http://www.mediafire.com/?3j28fs6g6lb05xi I have spent lot of time developing this application and recently released it to public. When i start receiving good response this bug is bugging me. Forgive me if i am troubling a lot with my email but i can not simply sit after knowing that my application is not working any more (or helping anyone). :-(( Regards, Sundar -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb3: unable to click on buttons
I had this issue earlier. I think this is related to tabstarp bug which has been fixed in version 3.2.1. Update your gambas3 to version 3.2.1 and it should work. Regards, J Sundar From: Kevin FishburneSent: Mon, 23 Jul 2012 11:07:18 To: gambas-user@lists.sourceforge.net Subject: [Gambas-user] gb3: unable to click on buttons Is this something that was recently corrected? If so I'll compile the latest build. I compiled a few weeks ago on Kubuntu 12.04 and subsequently have been unable to use the mouse to click on buttons. Keyboard navigation works fine. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas3 daily builds PPA
Excellent and thank you for the work. Regards, J Sundar From: Sebastian KuleszSent: Tue, 24 Jul 2012 10:49:59 To: mailing list for gambas users Subject: [Gambas-user] Gambas3 daily builds PPA Hi! I would like to let everybody know that I have setup an Ubuntu PPA for daily builds of Gambas 3. If the svn trunk repo has any new revision within the last 24hs, a new version is built and pushed to the PPA. It can be found here [0] and used by executing: $ sudo add-apt-repository ppa:sebikul/gambas-daily This should help catch those nasty build errors. I'm currently fixing some dependency issues with quantal, but other versions are live (natty currently building). Once everything is set up I will update the version to 3.2.90 and apply for access to the armel and armhf builders. I used the work of Kendek on his "Gambas Pre-Release Versions" [1] but adapted it to be automatic. Thanks for that! I hope you find this useful !! Thanks! [0] https://launchpad.net/~sebikul/+archive/gambas-daily [1] https://launchpad.net/~nemh/+archive/gambas-pre-releases -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user