Examples in gambas 2.5.0 don't open

View: New views
4 Messages — Rating Filter:   Alert me  

Examples in gambas 2.5.0 don't open

by Mike Brett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Martin, Jason. However, I've changed the permissions of the
examples to "-rwxrwxrwx" (owner root, group root) which I would have
thought would be enough for anybody, and I still can't get them to open.
They won't open even when I'm root. I was advised by a friend to try
'tail' to trap any sysloggable messages from gambas but nothing showed up.

The example folders contain the class files as plain text plus a binary
gambas project file it shows as MIME type
application/x-extension-gambas which I imagine is what it should.

Any further thoughts, please?

[Context is Gambas 2.5.0 on Fedora 8 (rpms from the LDRWEB site). None
of the examples will open, despite the fact that the files are in the
appropriate folders. I just get "This project does not exist" messages.
(The installation placed the examples in /usr/share/gambas2/examples)

Indeed if I 'Open Project' and navigate to the various examples folders,
they won't open from there either. I can highlight a .gambas file and
click OK and nothing happens.]

Thank you    - Mike -

-------- Original Message --------
Subject: Re: [Gambas-user] Beginners problem : Gambas compiled package
installation
Date: Mon, 12 May 2008 17:14:02 +0200
From: Martin Senftleben <linux@...>

Am Montag 12 Mai 2008 schrieb Jason Hackney:
> I had a similar problem from within Ubuntu. I just ran gambas as
> the superuser to get the examples working.

Maybe you just need to change the access rights. By default, the files
in this folder are only accessible to root. The access rights should
be set at least to "r--r--r--" (readable to all), or chmod 555.
If you want to edit the example projects, you probably need to move
them into your home folder and give them read- and write-access
(chmod 666).
You can also leave them in the default location and use the "save as"
option in Gambas in order to make a copy which you can work on.

Martin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Examples in gambas 2.5.0 don't open

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mardi 13 mai 2008, Mike Brett wrote:

> Thanks Martin, Jason. However, I've changed the permissions of the
> examples to "-rwxrwxrwx" (owner root, group root) which I would have
> thought would be enough for anybody, and I still can't get them to open.
> They won't open even when I'm root. I was advised by a friend to try
> 'tail' to trap any sysloggable messages from gambas but nothing showed up.
>
> The example folders contain the class files as plain text plus a binary
> gambas project file it shows as MIME type
> application/x-extension-gambas which I imagine is what it should.
>
> Any further thoughts, please?
>
> [Context is Gambas 2.5.0 on Fedora 8 (rpms from the LDRWEB site). None
> of the examples will open, despite the fact that the files are in the
> appropriate folders. I just get "This project does not exist" messages.
> (The installation placed the examples in /usr/share/gambas2/examples)
>
> Indeed if I 'Open Project' and navigate to the various examples folders,
> they won't open from there either. I can highlight a .gambas file and
> click OK and nothing happens.]
>
> Thank you    - Mike -
>
> -------- Original Message --------
> Subject: Re: [Gambas-user] Beginners problem : Gambas compiled package
> installation
> Date: Mon, 12 May 2008 17:14:02 +0200
> From: Martin Senftleben <linux@...>
>
> Am Montag 12 Mai 2008 schrieb Jason Hackney:
> > I had a similar problem from within Ubuntu. I just ran gambas as
> > the superuser to get the examples working.
>
> Maybe you just need to change the access rights. By default, the files
> in this folder are only accessible to root. The access rights should
> be set at least to "r--r--r--" (readable to all), or chmod 555.
> If you want to edit the example projects, you probably need to move
> them into your home folder and give them read- and write-access
> (chmod 666).
> You can also leave them in the default location and use the "save as"
> option in Gambas in order to make a copy which you can work on.
>
> Martin
>

I looked at the "examples" packages at LDRWEB, and they are not correctly
packaged. The guy who did that forgot to package the hidden files that are
alwyas included in a gambas project directory (.project for example, that
identify a gambas project).

I have modified the "How to package Gambas" page on gambasdoc.org to explain
that.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Examples in gambas 2.5.0 don't open

by Mike Brett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

An update for Fedora 8 users.  Luigi Carlotto at LDRWEB has upgraded his
package to 2.6.0 as of today and resolved the "non-opening examples"
problem.

However, potential users should note this build still has no help system
in place, which for a beginner like me is a bit unfortunate ......   :)

- Mike -


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: Examples in gambas 2.5.0 don't open

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mercredi 14 mai 2008, Mike Brett wrote:
> An update for Fedora 8 users.  Luigi Carlotto at LDRWEB has upgraded his
> package to 2.6.0 as of today and resolved the "non-opening examples"
> problem.
>
> However, potential users should note this build still has no help system
> in place, which for a beginner like me is a bit unfortunate ......   :)
>
> - Mike -
>

Strange that he couldn't package the help files.

You can try to get the gambas2-ide rpm from Mandriva, uncompress it, and copy
by hand the help directory inside in /usr/share/gambas2.

Or you can use the online help, this is the same help, usually more recent.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user
LightInTheBox - Buy quality products at wholesale price