You are here

Strange error in my WebGrab++.config.xml file

3 posts / 0 new
Last post
mikhoul
Offline
mikhoul's picture
Joined: 6 years
Last seen: 5 years
Strange error in my WebGrab++.config.xml file

I've installed WebGrabPlus on 2 computers, on the first one with Windows 7 everything work fine but on the second
computer I have an error in the WebGrab++.config.xml .

From my understanding it has to do with the encoding of the file but I don't know why it happen since on the first computer everything work fine ?

The second computer use Windows 10 x86

Here's the short log file and XML file

[        ]
[        ]              WebGrab+Plus/w MDB & REX Postprocess -- version V2.1.5             
[        ]
[        ]                                 Jan van Straaten                                
[        ]                              Francis De Paemeleere                              
[        ]
[        ]             thanks to Paul Weterings and all the contributing users             
[        ] --------------------------------------------------------------------------------
[        ]
[        ] Job started at 29/01/2018 00:16:18
[  Debug ]
[  Debug ] Running  on: Microsoft Windows NT 6.2.9200.0
[  Debug ] Environment: 4.0.30319.42000
[  Debug ]
[  Debug ] Loading timezone data
[  Debug ] Embedded timezones source: timezone.timezonesdata.txt
[  Debug ] Reading config file: C:\Users\Thérèse\AppData\Local\WebGrab+Plus\WebGrab++.config.xml
[        ] Job finished at 29/01/2018 00:16:19 done in 0s
[Critical] Config syntax exception:
[Critical]       file: C:\Users\Thérèse\AppData\Local\WebGrab+Plus\WebGrab++.config.xml
[Critical]    message:
[Error   ] WG.Common.InvalidConfigException: [Error   ] Corrupt config file[Error   ] Il existe un caractère non valide dans l'encodage donné. Ligne 3, position 22.
   à WGconsole.Config..ctor(String ConfigurationFilePath)
[Critical] For detailed info, see log file C:\Users\Thérèse\AppData\Local\WebGrab+Plus\WebGrab++.log.txt
[Critical] Execution stopped

============================

<?xml version="1.0"?>
<settings>
<filename>C:\Users\Thérèse\AppData\Local\\WebGrab+Plus\guide.xml</filename>
<mode>m</mode>
<postprocess grab="y" run="n">mdb </postprocess>
<proxy>automatic</proxy>
<user-agent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; yie9)</user-agent>
<logging>off</logging>
<retry time-out="5">5</retry>
<skip>6,1</skip>
<timespan>1, 18:00 24:00</timespan>
<update>i</update>
    <channel update="i" site="tvhebdo.com" site_id="tva/CFTM" xmltv_id="CFTM">CFTM</channel>
     <channel update="i" site="tvhebdo.com" site_id="series/SERP" xmltv_id="Séries Plus">Séries Plus</channel>
</settings>

===================

As you can see the error is that the username have an accent in the path and even if I change the location I have a second error that happen with "Série Plus" channel name.

I've even tried to process the file with this HTML converter: https://www.textfixer.com/html/html-character-encoding.php but it was not effective.

Why it work on my Windows 7 x64 machine and not on my Windows 10 x86 ?

Best Regards !

 

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 12 years
Last seen: 8 months
Is the support helpful?
support us

First of all, read our Rules & Guidelines

Second. Do wat those rules & guidelines tell you. In your case, I would upload both log and config files from both machines.

mikhoul
Offline
mikhoul's picture
Joined: 6 years
Last seen: 5 years

I've found the error the path had to be encode with % to be valid (since the path contained accents) so I used this online tool to encode it: https://www.freeformatter.com/url-encoder.html#ad-output

 

Regards  smiley

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