[Gambas-user] Possible bug in Gambas

Grahame White grahame at ...457...
Sun May 30 11:07:37 CEST 2004


On Sunday 30 May 2004 02:48, Héctor Fernández López wrote:
> El Domingo, 30 de Mayo de 2004 03:30, Héctor Fernández López escribió:
> > El Domingo, 30 de Mayo de 2004 03:24, Héctor Fernández López escribió:
> > > Hi, i'm experimenting the same error of 'solitaire' reported Grahame
> > > White <grahame at ...457...> in some projects i've running
> > > in 0.91 version.  The error occurs on executing the project, and it
> > > says: ERROR: #2: Cannot load class 'CmdLine': Unable to load class
> > > file where CmdLine is the classname.  This error is only raised when
> > > a class does not have a Form with his same name.  Hope this could be
> > > fixed as early as you can.  Bye.
> >
> > I forgive say that the error appears in gambas 0.93b
>
> I was testing Read Only projects, so i changed permissions, and now it
> runs well.  Sorry about this tension minutes.  So, the problem with
> solitaire is that the class is Read Only or something like that.

I wish that were the problem. One of the first things I did was to check 
the permissons of all the files in the project archive and they all had 
the same permissions :

grahame at ...468...:~/source_code/solitaire$ ls -l
total 76
-rw-r--r--    1 grahame  grahame       409 May 26 16:24 CBoardDesign.class
-rw-r--r--    1 grahame  grahame       133 May 27 23:46 CMove.class
-rw-r--r--    1 grahame  grahame       561 May 29 20:16 FBoardSelect.class
-rw-r--r--    1 grahame  grahame       379 May 28 22:43 FBoardSelect.form
-rw-r--r--    1 grahame  grahame     10139 May 29 21:09 FGameArea.class
-rw-r--r--    1 grahame  grahame      1204 May 28 22:22 FGameArea.form
-rw-r--r--    1 grahame  grahame       657 May 29 20:54 Global.class
-rw-r--r--    1 grahame  grahame      5305 May 29 20:16 MBoards.module
-rw-r--r--    1 grahame  grahame      2461 May 28 23:09 ball.png
-rw-r--r--    1 grahame  grahame       183 May 27 21:47 new.png
-rw-r--r--    1 grahame  grahame       250 May 27 21:48 quit.png
-rw-r--r--    1 grahame  grahame       228 May 27 21:47 redo.png
-rw-r--r--    1 grahame  grahame       225 May 27 21:47 undo.png

I've tried deleting the Global.class file and recreating it from scratch 
but still no go. I tried importing the file from a known working backup of 
the project.

I spent about 2 hours trying out various things last night but I still 
can't get the solitaire project to work again.

Grahame




More information about the User mailing list