[Gambas-user] Red no entry sign on Debug

John Rose john.aaron.rose at ...626...
Mon Mar 9 17:55:41 CET 2015


Fabien,

Thanks for that. I shouldn't have had 13 CamsMaskBoxes: 12 were required
and there were errors on their tag values from 10 onwards.

A related question: I want these CamsMaskBoxes only to contain values
with . or x characters. However, when I have them defined on the  form
with their Text property set to contain the correct number of characters
(as specified in the Value of each one's corresponding
StartPositionValueBox) then each of these CamsMaskBoxes is shown as
blank at runtime. I've set the mask property as [.x][.x] etc i.e the
number of [.x] is the same as the corresponding StartPositionValueBox.
Is this a problem with my understanding of the Mask property? If so,
would it be better to make them TextBoxes or do something else?

John

PS I've top posted this time as you are top posting. Tobi requested me
on another query not to do bottom posting. Is top or bottom posting
preferred for this mailing list?



On 09/03/15 16:40, Fabien Bodard wrote:
> The error is in the maskbox 13... the last braket is not closed.
>
> Benoit ... an idea will be to display the control name when an error
> occur... and maybe we can be more explicit on the error.
>
> 2015-03-09 17:28 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>:
>> this is the capture
>>
>> 2015-03-09 15:30 GMT+01:00 Charlie Reinl <Karl.Reinl at ...9...>:
>>> Am Montag, den 09.03.2015, 13:01 +0000 schrieb John Rose:
>>>> On 09/03/15 12:57, Fabien Bodard wrote:
>>>>> So we really need a pièce of code that  show the problem.
>>>>> Le 9 mars 2015 08:34, "John Rose" <john.aaron.rose at ...626...> a écrit :
>>>>>
>>>>>> On 08/03/15 22:52, adamnt42 at ...626... wrote:
>>>>>>> On Sun, 08 Mar 2015 19:58:56 +0000
>>>>>>> John Rose <john.aaron.rose at ...626...> wrote:
>>>>>>>
>>>>>>>> I compiled and saved a project OK. When I try to run it within the IDE,
>>>>>>>> all it does is to display a red no entry sign near the bottom of the
>>>>>>>> screen. It does not display an icon in Ubuntu's Unity Launcher let alone
>>>>>>>> open the form: screenshot attached. AFAIK I've never seen this behaviour
>>>>>>>> before. The first few lines of code are:
>>>>>>>> ' Gambas class file
>>>>>>>>
>>>>>>>> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
>>>>>> 0, 0]
>>>>>>>> Private aCams As String[] = []
>>>>>>>> Private sPrinted As String
>>>>>>>> ' Private sPlain As String = ""
>>>>>>>> ' Private sCyphered As String = ""
>>>>>>>> ' Private iLimitation As Integer
>>>>>>>> ' Private sLimitation As String
>>>>>>>> Private aExecParameters As String[]
>>>>>>>> Private fResults As File
>>>>>>>> Private sResultsPath As String
>>>>>>>>
>>>>>>>> Public Sub Form_Open()
>>>>>>>>   Inc Application.Busy
>>>>>>>>   Me.Title = "Lorenz with Chi2 Limitation: Version " &
>>>>>> Application.Version
>>>>>>>>   Me.Center()
>>>>>>>>   Me.Show
>>>>>>>>   StartPositionValueBox1.SetFocus()
>>>>>>>> Finally
>>>>>>>>   Application.Busy = 0
>>>>>>>> Catch
>>>>>>>>   Message.Warning(ERROR.Text)
>>>>>>>>
>>>>>>>> I don't see anything significantly different in this code from that used
>>>>>>>> in my other projects.
>>>>>>>>
>>>>>>>> If people insist on my attaching a stripped down project, then I will do
>>>>>>>> so. However, it may just be something obvious: it's always a fair amount
>>>>>>>> of work to create stripped down projects from actual ones.
>>>>>>>> --
>>>>>>>>
>>>>>>>> John
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> This would be indicative of something failing in the initialisation of
>>>>>> the application.
>>>>>>> Try expanding the traceback panel, both horizontally and vertically.
>>>>>>> Also the error message in the bubble is probably transparent due to
>>>>>> theme settings.
>>>>>>> Try a diffferent desktop theme and see if you can read the error.
>>>>>>>
>>>>>>> hth
>>>>>>> bruce
>>>>>> Bruce,
>>>>>>
>>>>>> I don't understand what you meant by the 'traceback panel'. I've tried
>>>>>> expanding the Console area in both directions, but that made no
>>>>>> difference. I've tried other desktop themes (original was 'Select a
>>>>>> Theme', which I've left alone for all my projects) but that made no
>>>>>> difference.
>>>>>> I noticed that the red no entry icon appears in a small rectangular area
>>>>>> at the top right corner of the Console output, the rest of that small
>>>>>> area being blank.
>>> Salut John,
>>>
>>> I made a screenshot from the 'traceback panel'.mentioned by Bruce.
>>> If I click on Maskbox.UnpdateMaskandSeparator a balloon raise saying
>>> "Bad Mask" (sorry couldn't make the screenshot with that ballon)
>>>
>>> So you havr to check your Teeth mask entries.
>>>
>>> --
>>> Amicalement
>>> Charlie
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for all
>>> things parallel software development, from weekly thought leadership blogs to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>>
>> --
>> Fabien Bodard
>
>




More information about the User mailing list