Jussi,

Finally some difference!


        miniand@miniand:~$ cd /usr/bin
        miniand@miniand:/usr/bin$ ls -l gam*
        lrwxrwxrwx 1 root root      14 Dec  6  2011 gambas2 ->
        gambas2.gambas
        -rwxr-xr-x 1 root root  427530 Dec  6  2011
        gambas2-database-manager.gambas
        -rwxr-xr-x 1 root root 2372105 Dec  6  2011 gambas2.gambas
        -rwxr-xr-x 1 root root    5600 Dec  5  2011 gamma4scanimage
        miniand@miniand:/usr/bin$ whereis gbr2
        gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz
        miniand@miniand:/usr/bin$ gdb gbr2
        GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02
        Copyright (C) 2012 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later
        <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute
        it.
        There is NO WARRANTY, to the extent permitted by law.  Type
        "show copying"
        and "show warranty" for details.
        This GDB was configured as "arm-linux-gnueabi".
        For bug reporting instructions, please see:
        <http://bugs.launchpad.net/gdb-linaro/>...
        Reading symbols from /usr/bin/gbr2...(no debugging symbols
        found)...done.
        (gdb) set args /usr/bin/gambas2
        (gdb) run
        Starting program: /usr/bin/gbr2 /usr/bin/gambas2
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library
        "/lib/arm-linux-gnueabi/libthread_db.so.1".
        ERROR: #49: Not a directory: /usr/bin/gambas2/.project
        [Inferior 1 (process 1145) exited with code 01]
        (gdb) bt
        No stack.
        (gdb) ^CQuit
        (gdb) bt 
        No stack.
        (gdb) quit
        miniand@miniand:/usr/bin$ 


On Thu, 2012-09-20 at 18:45 +0300, Jussi Lahtinen wrote: 
> Try;
> set args /usr/bin/gambas2
> 
> Jussi
> 
> 
> 
> On Thu, Sep 20, 2012 at 6:41 PM, jm <j...@martindale-electric.co.uk> wrote:
> 
> > Sorry Jussi,
> > same result:
> >
> >
> > miniand@miniand:~$ cd /usr/bin
> > miniand@miniand:/usr/bin$ ls gam*
> > gambas2  gambas2-database-manager.gambas  gambas2.gambas
> > gamma4scanimage
> > miniand@miniand:/usr/bin$ whereis gbr2
> > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz
> > miniand@miniand:/usr/bin$ gdb gbr2
> > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02
> > Copyright (C) 2012 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
> > <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show
> > copying"
> > and "show warranty" for details.
> > This GDB was configured as "arm-linux-gnueabi".
> > For bug reporting instructions, please see:
> > <http://bugs.launchpad.net/gdb-linaro/>...
> > Reading symbols from /usr/bin/gbr2...(no debugging symbols
> > found)...done.
> > (gdb) set args /usr/bin
> > (gdb) run
> > Starting program: /usr/bin/gbr2 /usr/bin
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library
> > "/lib/arm-linux-gnueabi/libthread_db.so.1".
> > ERROR: #45: File or directory does not exist
> > [Inferior 1 (process 1074) exited with code 01]
> > (gdb) bt
> > No stack.
> > (gdb) ^CQuit
> > (gdb) bt
> > No stack.
> > (gdb) quit
> > miniand@miniand:/usr/bin$
> >
> >
> > On Thu, 2012-09-20 at 18:18 +0300, Jussi Lahtinen wrote:
> > > Please do exactly what I told, and send results.
> > >
> > > Jussi
> > >
> > >
> > >
> > > On Thu, Sep 20, 2012 at 5:57 PM, jm <j...@martindale-electric.co.uk>
> > wrote:
> > >
> > > > Hi Jussi,
> > > >
> > > > Just to re-iterate - I tried numerous different options
> > > > including gbx gbr running compiled pre-made serial port
> > > > sample, with and without project files, command line
> > > > etc. etc. all have same result.
> > > >
> > > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote:
> > > > > You tried to launch Gambas executable with gbx, for that you need to
> > use
> > > > > gbr.
> > > > > gbx is for running source code or evaluating, not for executables.
> > > > >
> > > > > Jussi
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm <j...@martindale-electric.co.uk>
> > > > wrote:
> > > > >
> > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote:
> > > > > > > Or here is something you could do:
> > > > > > >
> > > > > > > gdb gbr3
> > > > > > > set args /usr/local/bin/gambas3 (or what ever is your install
> > path)
> > > > > > > run
> > > > > > >
> > > > > > > You may need to kill the process with Ctrl + c in debugger.
> > > > > > > Then with bt, you will get backtrace.
> > > > > > > Send it here, so we can see what is happening.
> > > > > > >
> > > > > > > Jussi
> > > > > >
> > > > > >
> > > > > > (gdb) run
> > > > > > Starting program: /usr/bin/gbx2
> > > > > > [Thread debugging using libthread_db enabled]
> > > > > > Using host libthread_db library
> > > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1".
> > > > > > ERROR: #45: File or directory does not exist
> > > > > > [Inferior 1 (process 12262) exited with code 01]
> > > > > > (gdb)
> > > > > >
> > > > > > bt gives the message no stack.
> > > > > >
> > > > > > (I tried many different ways of running gdb and all give
> > > > > > same answer as above - including set args)
> > > > > >
> > > > > > hmm.. not sure which file or directory its looking for.
> > > > > >
> > > > > > >
> > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen <
> > > > > > jussi.lahti...@gmail.com>wrote:
> > > > > > >
> > > > > > > > gambas3 is just program made with Gambas, if it is in infinite
> > > > loop,
> > > > > > > > interpreter cannot know about it.
> > > > > > > > It just does what it is commanded to do. Just like in any other
> > > > > > > > programming language.
> > > > > > > >
> > > > > > > > Try to run something else to see whether anything works.
> > > > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for
> > executing
> > > > Gambas
> > > > > > > > executables like gambas3.
> > > > > > > >
> > > > > > > > What example "gbx3 --help" says?
> > > > > > > >
> > > > > > > > Jussi
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm <
> > > > j...@martindale-electric.co.uk
> > > > > > >wrote:
> > > > > > > >
> > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Benoît Minisini wrote:
> > > > > > > >> > Le 19/09/2012 13:55, jm a écrit :
> > > > > > > >> > > Hi,
> > > > > > > >> > >
> > > > > > > >> > > Gambas runs on Linux and I was just wondering if it can do
> > > > more
> > > > > > > >> > > with regards to error messages when it is run.
> > > > > > > >> > >
> > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu.
> > > > > > > >> > > Gambas2 seems to download and install from repository.
> > > > > > > >> > > When run nothing happens.
> > > > > > > >> > > When run from command line it does nothing.
> > > > > > > >> > > (Reading raspberry pi forums where they use ARM and have
> > > > gambas
> > > > > > > >> working,
> > > > > > > >> > >   this type of error is down to missing libs.)
> > > > > > > >> > >
> > > > > > > >> > > Doing "gambas2 --help" does nothing.
> > > > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help
> > > > > > > >> > > message on Ubuntu Linux.)
> > > > > > > >> > >
> > > > > > > >> > > I was just wondering if it is possible to make gambas
> > > > > > > >> > > behave more like other applications so that its command
> > > > > > > >> > > line responses are more in line with expectations
> > > > > > > >> > > in a Linux environment.
> > > > > > > >> > >
> > > > > > > >> > > e.g.
> > > > > > > >> > > gambas3 --help : generate command line options
> > > > > > > >> >
> > > > > > > >> > That's possible, even if gambas3 has no command line
> > options.
> > > > > > > >> >
> > > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that
> > > > > > > >> > > prints a message before checking for a dependent lib
> > > > > > > >> > > so that if it crashed a meaningful guess can be made as to
> > > > > > > >> > > where to look for a fix.
> > > > > > > >> >
> > > > > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI
> > > > program.
> > > > > > If
> > > > > > > >> > you have missing libs, gambas3 is not compiled. And if it
> > is,
> > > > you
> > > > > > will
> > > > > > > >> > have error messages on the command line when running it.
> > > > > > > >>
> > > > > > > >> Strange - no error messages at all.
> > > > > > > >> When I run gambas2 from command line, nothing happens as in
> > the
> > > > > > command
> > > > > > > >> line is completely frozen probably in an infinite loop and
> > unable
> > > > to
> > > > > > > >> show an IDE or output an error message. So it would be good if
> > > > > > > >> for example gambas started with a message like "initialising"
> > when
> > > > > > > >> a parameter like -v for verbose is used
> > > > > > > >> so that at least we know that part has worked.
> > > > > > > >> (Emitting even more detailed message such as which buttons
> > were
> > > > > > > >> pressed with a parameter  "-v2 level" where level is a number
> > is
> > > > > > another
> > > > > > > >> desirable option. Increasing level of reporting can quickly
> > find
> > > > more
> > > > > > > >> complex faults - such as infinite event loops. I know many of
> > > > these
> > > > > > > >> messages are reported to IDE, but there should be an option to
> > > > get it
> > > > > > > >> reported to the console - that is the Linux/Unix way - the
> > > > console and
> > > > > > > >> command line is king - even for a GUI IDE. Driving the IDE
> > should
> > > > also
> > > > > > > >> be command line driven. e.g. options to compile gambas
> > programs
> > > > should
> > > > > > > >> be available as standard from command line options for example
> > > > without
> > > > > > > >> need for IDE to kick into life.)
> > > > > > > >>
> > > > > > > >> I had a Genesi smartbook that did the same freeze thing on
> > their
> > > > > > Ubuntu
> > > > > > > >> distro. At the time I didn't need to go forward with it, so I
> > > > dropped
> > > > > > > >> investigating. The MK802 however I must get going because the
> > plan
> > > > > > > >> for now is to use OpenBox as the window manager and Gambas as
> > the
> > > > main
> > > > > > > >> application.
> > > > > > > >>
> > > > > > > >> No doubt I will be trying to compile gambas3 soon for MK802
> > > > > > > >> and sort it somehow. In the mean time I thought I make the
> > > > suggestion
> > > > > > > >> for improved command line options - noting that gambas does
> > not
> > > > appear
> > > > > > > >> to have many options.
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> >  If you try to
> > > > > > > >> > open a project which need components that are not install,
> > you
> > > > will
> > > > > > have
> > > > > > > >> > errors message boxes.
> > > > > > > >> >
> > > > > > > >> > So maybe you should try to give more details on how you
> > > > installed
> > > > > > gambas
> > > > > > > >> > on your system, and more details on your system
> > > > > > > >>
> > > > > > > >> Gambas2 downloaded from the default repository of Lubuntu
> > 12.04
> > > > > > > >> that came with the distro, by using synaptic.
> > > > > > > >> That would point the finger at the maintainers there but as
> > its
> > > > old
> > > > > > > >> its not worth pursuing. I'll probably try to compile gambas3.
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> >  (no idea what a MK802
> > > > > > > >> > is...). ARM systems are quite different.
> > > > > > > >>
> > > > > > > >> It is the rage in ARMs at the moment - full ARM computer on a
> > USB
> > > > > > stick:
> > > > > > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC
> > > > > > > >> (around $50 on ebay)
> > > > > > > >>
> > > > > > > >> >
> > > > > > > >> > Regards,
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > > > >> 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
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > ------------------------------------------------------------------------------
> > > > 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
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > 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





------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to