[Gambas-devel] Gambas 1.9.46 Help

José Luis Redrejo jredrejo at ...176...
Tue Nov 14 12:54:03 CET 2006


In Debian we have the same behaviour, there is not "which" text in the
answer:

jose at ...477...:~$ which firefox
/usr/bin/firefox
jose at ...477...:~$

So, we share the bug and, obviously, we'll share the fix, unless Benoît
offers a better solution.


2006/11/14, Luca Germano <lucagermano at ...255...>:
>
> Hi to all.
> I'm using Gambas 1.9.46 on Ubuntu 6.10 kernel 2.6.17-10 generic.
> I have had a problem using Gambas Help. No help is shown after clik into ?
> menu help or pressing F1.
> Starting Gambas from console after pressing F1 button the following
> message
> is shown:
> "sh: file:///usr/local/share/gambas2/help/tree/index.html: No file or
> directory "
> Looking into Gambas source code I find a possible reason of this
> malfunction
> into the function
> "CheckProgram" at line 3073 of ProjectModule.
> This function try to check if a specified browser is installed using shell
> command "which". On Ubuntu this command not return "which:" with the
> installation path of the browser but only the installation path or the
> NULL
> string if the browser is not installed. To avoid this I change the check
> in
> this manner
> bError = Trim(File.Load(sTemp)) LIKE ""
> With this new check the Gambas Help works fine.
> The problem now is to check if on other Linux distribution the shell
> command
> "which" works in the same manner as on Ubuntu.
> It would be nice also that in case of no browser available on the machine,
> an error message reports the need of a browser to use Gambas Help.
>
> Best regards,
> Luca
>
> _________________________________________________________________
> Aggiungi i tuoi nuovi contatti di Hotmail anche in Messenger.Con un click!
> http://join.msn.com/hotmail/features-std#6
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20061114/bbfa07b7/attachment.html>


More information about the Devel mailing list