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

Reply via email to