[Gambas-user] 4028 doesn't run & 4035 Y U No Compile

Bruce Bruen bbruen at ...2308...
Mon Aug 22 09:37:42 CEST 2011


On 22/08/11 16:20, Benoît Minisini wrote:
>> On 22/08/11 11:30, John Spikowski wrote:
>>      
>>> On Mon, 2011-08-22 at 01:58 +0200, Benoît Minisini wrote:
>>>        
>>>>> [DIALOG BOX]
>>>>>
>>>>> This application has raised an unexpected
>>>>>
>>>>>
>>>>> error and must abort.
>>>>>
>>>>> [6] Type mismatch: wanted _IconViewItem, got _IconView_Item instead.
>>>>> ?
>>>>> [END DIALOG]
>>>>>
>>>>>
>>>>> jrs at ...1833...:~$ gambas3
>>>>> gb.qt4: warning: unable to load Qt translation: en_US.UTF-8
>>>>> warning: unable to load 16/cancel
>>>>> ERROR: #6: Type mismatch: wanted _IconViewItem, got _IconView_Item
>>>>> instead
>>>>> 0: ?
>>>>> 1: IconView._RefreshItem.1006
>>>>> 2: _IconView_Item.RefreshView.42
>>>>> 3: _IconView_Item.Text_Write.78
>>>>> 4: IconView.Add.250
>>>>> 5: IconPanel.Count_Write.117
>>>>> 6: IconPanel._new.46
>>>>> 7: FOption.FOption.0
>>>>> 8: FOption.FOption.0
>>>>> 9: FMain._new.41
>>>>> 10: Project.Main.268
>>>>>            
>>>> Make sure that you recompile and reinstall everything.
>>>>
>>>> Regards,
>>>>          
>>> I did the following like I always do.
>>>
>>> cd gambas/trunk
>>> svn up
>>> ./reconf-all&&   ./configure -C&&   make
>>> sudo make install
>>>
>>> This is my first time for Gambas 3 not to run.
>>>        
>> I have got this working on mine with the following mod to my local trunk:
>>
>> At line 473 of _IconView_Item.class change the hItem parameter type to
>> what I think is the proper type, viz _IconView_Item
>>
>> eSVN diff output is
>>
>> Index: _IconView_Item.class
>> ===================================================================
>> --- _IconView_Item.class    (revision 4030)
>> +++ _IconView_Item.class    (working copy)
>> @@ -473,7 +473,7 @@
>>
>>    End
>>
>> -Public Sub _compare(hItem As _IconViewItem) As Integer
>> +Public Sub _compare(hItem As _IconView_Item) As Integer
>>
>>      Dim hParent As IconView = GetIconView()
>>
>>
>> hth
>> Bruce
>>
>>      
> This was fixed in revision #4031. Please run svn update to check that you have
> the last revision each time, especially when I make heavy changes like that!
> :-)
>
> Regards,
>
>
>    
I think that my local trunk is corrupted.  I think that I did an update 
via eSVN while you were committing.  I think I'll chuck eSVN.  I am 
creating a new local trunk (4031) via the published command line 
method.  I'll let you know how we go.
Bruce




More information about the User mailing list