On Sat, 2012-09-22 at 00:53 +0200, Benoît Minisini wrote:
> Le 22/09/2012 00:18, jm a écrit :
> > So when I typed gambas2 and it didn't work,
> > I typed gambas2 --help.
> >
> > Naturally that won't work because it a sym link.
> >
> > But nearly all other Linux commands do something
> > when you t
Le 22/09/2012 00:53, Benoît Minisini a écrit :
>>
>> If gambas had --help, and also something like a -v n
>> for verbosity level n in command line, then it will
>> be easier to debug in environments where the IDE
>> has not started up yet.
>> If the verbose messages are cleverly worded in unique wa
Le 22/09/2012 00:18, jm a écrit :
> So when I typed gambas2 and it didn't work,
> I typed gambas2 --help.
>
> Naturally that won't work because it a sym link.
>
> But nearly all other Linux commands do something
> when you type --help.
>
> e.g
> firefox --help
> konqueror --help
> ssh --help
> ls -
Did you try to install libqt3-mt?
e.g
> firefox --help
> konqueror --help
> ssh --help
> ls --help
>
> Anyway I then tried gbr2 --help after realizing what was
> happening.
>
True, thought --help works with gbx2, gbc2, gbs2, gbs3, gbx3, gbr3 and
gbc3, which are command line programs.
> That
So when I typed gambas2 and it didn't work,
I typed gambas2 --help.
Naturally that won't work because it a sym link.
But nearly all other Linux commands do something
when you type --help.
e.g
firefox --help
konqueror --help
ssh --help
ls --help
Anyway I then tried gbr2 --help after realizing wh
So, gambas2 is not packed correctly in Ubuntu repository.
But in fact with my system launching gambas2 gives error message of missing
qt library (when I uninstall the libs)... so I think there is yet something
else wrong with your system.
But check that anyway.
Jussi
On Fri, Sep 21, 2012 at 11
> Thats why I was originally posting to ask if more could be
> done for the command line options to output more verbose
> messages for the rainy day when things go wrong
> so that we may debug in silence.
>
I don't know what kind of messages you expect to get...
We already got this "ERROR: #49: No
On Fri, 2012-09-21 at 21:02 +0300, Jussi Lahtinen wrote:
> OK, seems that there is no working version of Gambas2 in Ubuntu repository.
> I have no clue what is going on...
>
> Jussi
I can understand your view point.
Thats why I was originally posting to ask if more could be
done for the command
OK, seems that there is no working version of Gambas2 in Ubuntu repository.
I have no clue what is going on...
Jussi
On Fri, Sep 21, 2012 at 10:40 AM, jm wrote:
> Jussi,
>
> Finally some difference!
>
>
> miniand@miniand:~$ cd /usr/bin
> miniand@miniand:/usr/bin$ ls -l gam*
>
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
Le 20/09/2012 17:41, jm a écrit :
> Sorry Jussi,
> same result:
> ...
Please try what is explained in the "Reporting a problem" page on the
website, as if you have got a crash (§5). Just replace 'gbx3' by 'gbx2',
'gbc3' by 'gbc2', and so on...
Regards,
--
Benoît Minisini
Try;
set args /usr/bin/gambas2
Jussi
On Thu, Sep 20, 2012 at 6:41 PM, jm 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$ where
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) 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)
>
I'll elaborate b
Please do exactly what I told, and send results.
Jussi
On Thu, Sep 20, 2012 at 5:57 PM, jm 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
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 exec
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 wrote:
> On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote:
> > Or here is something you could do:
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
Oh and BTW, if you want to compile Gambas executables without IDE, use gbc3.
Jussi
On Wed, Sep 19, 2012 at 3:57 PM, jm 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
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
On Wed, Sep 19, 2012 at 6:
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 f
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 t
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
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 r
24 matches
Mail list logo