You are here

Strange "F0" appearing...

7 posts / 0 new
Last post
ankont
Offline
ankont's picture
Has donated long time ago
Joined: 9 years
Last seen: 4 years
Strange "F0" appearing...

Hello! I just recently reinstalled my PC (I had a problem with my TV setup last months), and now I have noticed that the program (with the latest build) has some problems in its output. With a siteini it cannot get the titles, and with another, it seems that the result of the calculate command isn't correct. Instead of a number I get "F0"!!! See the example below from the log:

Debugging information SiteIni
Element:  TEMP_6
Modify
     command & arguments : calculate(type=element format="F0" debug)
     Expression-1            : 'temp_5' "ος κύκλος" @
     Element value before operation:
empty element before the operation!
     String composer result for Expression-1 :
     Expression-1 expanded   : θυμάμαι - 1ος κύκλος|επ. #1.24|il prοcessο>> "ος κύκλος" @
     Calculate "ος κύκλος" @ (index-of)
     Result = F0
     Element value after operation:
F0

I will keep searching for any bugs from the siteini part, however F0 should not be the output of any calculate command, right? laugh

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 11 years
Last seen: 9 min
Is the support helpful?
support us

Hi Ankont
 
format value is withtout ""    Try format=F0
Jan

ankont
Offline
ankont's picture
Has donated long time ago
Joined: 9 years
Last seen: 4 years

It seems that you have cleaned a lot of code in the latest builds... :-P
The removal of quotes fixed this one... but I have another issue:

Element:  TEMP_5
Modify
     command & arguments : addend( ~ " - κύκλος " debug)
     Expression-1            : ος κύκλος
     evaluation condition:
     according to jim - κύκλος 5
     ~ (contains) -κύκλος
     Result = False
     evaluation condition:
     επ. #5.9
     ~ (contains) -κύκλος
     Result = False
     evaluation condition:
     the dream
     ~ (contains) -κύκλος
     Result = False
     Operation modify not applied!

In here, the "contains" check removes the spaces, so it cannot find the string! Any suggestions for that one? ;-)

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 11 years
Last seen: 9 min
Is the support helpful?
support us
Hi, That looks like trouble! I'll look into it. Give me a day or two. Jan
WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 11 years
Last seen: 9 min
Is the support helpful?
support us

Hi Ankont,
 
I couldn't resist looking into it right away. The error is introduced with beta 55.1 (a stupid error in an internal regex). It should work with the current upgrade 1.1.1/54
The next beta , coming soon, will have the bug fixed.
 
Jan

ankont
Offline
ankont's picture
Has donated long time ago
Joined: 9 years
Last seen: 4 years

OK! I will stay in 54 then for now... ;-)

ankont
Offline
ankont's picture
Has donated long time ago
Joined: 9 years
Last seen: 4 years

Check out this one, probably a bug... (I'm in version 54.2.1 now)
Unless it is required that the "element end" has to be there all the time... Then, my example is not valid.

Debugging information SiteIni
Element:  DESCRIPTION
html source written to : C:\ProgramData\ServerCare\WebGrab\html.source.htm
scrub strings:
     type & arguments : single(debug)
     blockstart   (bs): <div class="detail">
     elementstart (es): </h2>
     elementend   (ee): <br/><br/>
     blockend     (be): <div

Separated html block(s), number of blocks = 1
----------begin--block----------

      <h2>URBANIA - LE QUÉBEC EN 12 LIEUX</h2>
      "Urbania" uses an original approach and an irreverent tone as it explores
 little known or rarely visited places in Canada, illustrating their various human,
 historical, social, visual or sound aspects.
      
      <div
----------end----block----------

Separated Element(s) (es) applied
----------begin--element----------

      "Urbania" uses an original approach and an irreverent tone as it explores
 little known or rarely visited places in Canada, illustrating their various human,
 historical, social, visual or sound aspects.
      
      <div</h2>
----------end----element----------

Separated Element(s) (es) and (ee) applied of block 0
----------begin--element----------
"Urbania" uses an original approach and an irreverent tone as it explores
 little known or rarely visited places in Canada, illustrating their various human,
 historical, social, visual or sound aspects.
      
      <div</h2>
----------end----element----------

Elements , type single applied
----------begin--element----------
"Urbania" uses an original approach and an irreverent tone as it explores
 little known or rarely visited places in Canada, illustrating their various human,
 historical, social, visual or sound aspects.
      
      <div</h2>
----------end----element----------
Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl