Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Invalid font #10... Post ReplyPost New Topic
<< Prev Page of 3
Author
Message << Prev Topic | Next Topic >>
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 5879
Posted: 02 March 2018 at 8:03am | IP Logged Quote Grogster

This is new.
My invalid font messages have stopped since 5.0406 as mentioned above by Geoff.
Has anyone else who WAS seeing those messages, seen them resurface?

__________________
Smoke makes things work. When the smoke gets out, it stops!


Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
rhiemann
Newbie
Newbie


Joined: 24 November 2017
Location: Germany
Online Status: Offline
Posts: 11
Posted: 02 March 2018 at 5:53pm | IP Logged Quote rhiemann

I have to correct myself:

I changed the const from 8 to 31 than it worked for this button!

It just does not like the 8.

I changed the code from
CONST  HEADER=1,BUTTONS=2,ASSAY=3,RESULTS=4,SETTINGS=5,SETTINGSSUB1=6,SETTINGSSUB2=7,SETTINGSSUB3=8,SETTINGSSUB4=9,SETTINGSSUB5 =10,SETTINGSSUB6=11,REFERENCE=20


to
CONST  HEADER=8,BUTTONS=2,ASSAY=3,RESULTS=4,SETTINGS=5,SETTINGSSUB1=6,SETTINGSSUB2=7,SETTINGSSUB3=1,SETTINGSSUB4=9,SETTINGSSUB5 =10,SETTINGSSUB6=11,REFERENCE=20


than it throws the error at
PAGE HEADER


with "Invalid font number #8"


The error shows up randomly. Sometimes it works, somtimes not.
If I do not use number 8 for a page than everything is fine. Quite strange.

Thanks
Rico
Back to Top View rhiemann's Profile Search for other posts by rhiemann
 
Geoffg
Guru
Guru
Avatar

Joined: 06 June 2011
Location: Australia
Online Status: Offline
Posts: 2336
Posted: 02 March 2018 at 11:37pm | IP Logged Quote Geoffg

Thanks, the original issue was caused by an array holding details of all controls not being correctly initialised. I thought that I had tracked down all occurrences of
this but perhaps not.

This could take some time to find.
Back to Top View Geoffg's Profile Search for other posts by Geoffg Visit Geoffg's Homepage
 
rhiemann
Newbie
Newbie


Joined: 24 November 2017
Location: Germany
Online Status: Offline
Posts: 11
Posted: 21 March 2018 at 12:11am | IP Logged Quote rhiemann

Last week I got same kind of error again but at a different position.

CONST  HEADER=1,BUTTONS=2,ASSAY=3,RESULTS=4,SETTINGS=5,SETTINGSSUB1=6,SETTINGSSUB2=7,SETTINGSSUB3=30,SETTINGSSUB4=9,SETTINGSSUB 5=10,SETTINGSSUB6=11,REFERENCE=20


I got the message
"Invalid font number #12"

The trigger for that error was

REFERENCE=20


It was the 12. value that was defined in that row. This might explain invalid font #12 ????
Changing the line to

REFERENCE=21

solved the issue.

CONST  HEADER=1,BUTTONS=2,ASSAY=3,RESULTS=4,SETTINGS=5,SETTINGSSUB1=6,SETTINGSSUB2=7,SETTINGSSUB3=30,SETTINGSSUB4=9,SETTINGSSUB 5=10,SETTINGSSUB6=11,REFERENCE=21

Back to Top View rhiemann's Profile Search for other posts by rhiemann
 
GoodToGo!
Senior Member
Senior Member
Avatar

Joined: 23 April 2017
Location: Australia
Online Status: Offline
Posts: 152
Posted: 21 March 2018 at 12:14am | IP Logged Quote GoodToGo!

Thatís a strange one...

GTG!

__________________
...... Don't worry mate, it'll be GoodToGo!
Back to Top View GoodToGo!'s Profile Search for other posts by GoodToGo!
 
Geoffg
Guru
Guru
Avatar

Joined: 06 June 2011
Location: Australia
Online Status: Offline
Posts: 2336
Posted: 21 March 2018 at 6:25pm | IP Logged Quote Geoffg

GoodToGo! wrote:
Thatís a strange one...

I agree.

It is in my bug list but I cannot spot the cause... very frustrating.
Back to Top View Geoffg's Profile Search for other posts by Geoffg Visit Geoffg's Homepage
 
GoodToGo!
Senior Member
Senior Member
Avatar

Joined: 23 April 2017
Location: Australia
Online Status: Offline
Posts: 152
Posted: 23 March 2018 at 6:00pm | IP Logged Quote GoodToGo!

rhiemann wrote:


CONST  HEADER=1,BUTTONS=2,ASSAY=3,RESULTS=4,SETTINGS=5,SETTINGSSUB1=6,SETTINGSSUB2=7,SETTINGSSUB3=30,SETTINGSSUB4=9,SETTINGSSUB 5=10,SETTINGSSUB6=11,REFERENCE=20



CONST  HEADER=1,BUTTONS=2,ASSAY=3,RESULTS=4,SETTINGS=5,SETTINGSSUB1=6,SETTINGSSUB2=7,SETTINGSSUB3=30,SETTINGSSUB4=9,SETTINGSSUB 5=10,SETTINGSSUB6=11,REFERENCE=21



This might seem like a stupid question, but is it possible the space between "SETTINGSSUB" AND "5=10" IN "SETTINGSSUB 5=10" is causing issues?

Cheers,
GTG!

__________________
...... Don't worry mate, it'll be GoodToGo!
Back to Top View GoodToGo!'s Profile Search for other posts by GoodToGo!
 
rhiemann
Newbie
Newbie


Joined: 24 November 2017
Location: Germany
Online Status: Offline
Posts: 11
Posted: 23 March 2018 at 8:13pm | IP Logged Quote rhiemann

This is a forum issue. I post the original line without a space here but the forum adds the space. Original code has no space.
So I do not think so ;)
Rico


Edited by rhiemann on 23 March 2018 at 8:13pm
Back to Top View rhiemann's Profile Search for other posts by rhiemann
 
GoodToGo!
Senior Member
Senior Member
Avatar

Joined: 23 April 2017
Location: Australia
Online Status: Offline
Posts: 152
Posted: 23 March 2018 at 9:20pm | IP Logged Quote GoodToGo!

Damn. Thought we might have been on to something there......

Have you tried splitting the line into separate CONST's?
i.e.
CONST HEADER=1
CONST BUTTONS=2
CONST ASSAY=3
CONST RESULTS=4
etc. etc......

Or changing them to DIM's?

Like Grogs, the issues I was having with the "Invalid Font" Bug got sorted out way back in the (not so) long, long ago......

GTG!

Edited by GoodToGo! on 23 March 2018 at 9:21pm


__________________
...... Don't worry mate, it'll be GoodToGo!
Back to Top View GoodToGo!'s Profile Search for other posts by GoodToGo!
 


If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Search the forums using Google.
<< Prev Page of 3
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1563 seconds.
Privacy Policy     Process times : 0.02, 0, 0, 0.14