Example projects generate errors in Gambas

Bug #121949 reported by conz
6
Affects Status Importance Assigned to Milestone
gambas (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gambas

Running any of the sample projects that ship with Gambas under Ubuntu 7.04 causes an exception within the Gambas interpreter. Similar things happen when you try and write a Gambas application.

The same/similar version of Gambas which ships with FC6 doesn't present this problem, so I suspect it's a Ubuntu specific packaging issue.

Revision history for this message
Paul21 (pdvalentini) wrote :

This bug is still present in Hardy.

"Cannot load class 'xxx': Unable to load class file"

Apparently there is a permissions issue with '/usr/share/gambas2/examples'

See http://ubuntuforums.org/archive/index.php/t-405707.html for further details.

Revision history for this message
Steven Harms (sharms) wrote :

Is this still an issue in Intrepid or Jaunty?

Changed in gambas:
status: New → Incomplete
Revision history for this message
Con Zymaris (conz-cybersource) wrote :

Steven Harms wrote 48 minutes ago: (permalink)

Is this still an issue in Intrepid or Jaunty?

----

Yes, but if you load one of the example apps and then save them into your home directory, this by-passes the problem.

Revision history for this message
Marco Ciampa (ciampix) wrote :

Confirmed: this is still an issue in Jaunty so I think for Intrepid...

Revision history for this message
Paul21 (pdvalentini) wrote :

Con Zymaris wrote on 2009-01-11:

Yes, but if you load one of the example apps and then save them into your home directory, this by-passes the problem.

----

Still a bug though.

Confirmed on Jaunty.

Another workaround could be giving writing permissions to examples directory by running:
sudo chmod -R a+w /usr/share/gambas2/examples/

But It's a dirty one, since any user could change examples' code.

Changed in gambas (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Does this also happen starting with Ubuntu 10.04 LTS?

Revision history for this message
conz (conz) wrote : Re: [Bug 121949] Re: Example projects generate errors in Gambas

On Fri, Oct 05, 2012 at 03:44:52AM -0000, Thomas Hotz wrote:
> Does this also happen starting with Ubuntu 10.04 LTS?

Hi Thomas.

This isn't something I've tested.

--
___________________________________________________________________________
Con Zymaris <email address hidden> 1/130-132 Stawell St, Richmond, 3121
Cyber IT Solutions || Phone: 03 9428 6922 || http://www.cyber.com.au/
Australia's Leading Linux and Open Source Solutions Company

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.