You are here

Error while running WG++

5 posts / 0 new
Last post
turalo
Offline
turalo's picture
Joined: 8 years
Last seen: 8 years
Error while running WG++

Hi guys,

 

I'm new to this, I have installed wg++ on linux, all went well untill I wanted to use wg+ for the first time, then I got this strange error, I have searched on google but was unable to find anything. I hope you guys can help me out. Thanks in advance. :

 

root@tttr:/wg++# mono WebGrab+Plus.exe "$(pwd)"   

          WebGrab+Plus/w MDB & REX Postprocess -- version 1.1.1/55.27           

                                Jan van Straaten                                
                             Francis De Paemeleere                              

            thanks to Paul Weterings and all the contributing users             
--------------------------------------------------------------------------------

corrupt config file - /wg++/WebGrab++.config.xml
Invalid data
execution stopped

System.Xml.XmlException: Invalid data ---> System.Text.DecoderFallbackException: Exception of type 'System.Text.DecoderFallbackException' was thrown.
  at System.Text.DecoderExceptionFallbackBuffer.Fallback (System.Byte[] bytesUnknown, Int32 index) [0x00000] in <filename unknown>:0
  at System.Text.UTF8Encoding.Fallback (System.Object provider, System.Text.DecoderFallbackBuffer& buffer, System.Byte[]& bufferArg, System.Byte* bytes, Int64 byteIndex, UInt32 size, System.Char* chars, System.Int32& charIndex) [0x00000] in <filename unknown>:0
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte* bytes, Int32 byteCount, System.Char* chars, Int32 charCount, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] in <filename unknown>:0
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] in <filename unknown>:0
  at System.Text.UTF8Encoding+UTF8Decoder.GetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00000] in <filename unknown>:0
  at System.Xml.NonBlockingStreamReader.ReadBuffer () [0x00000] in <filename unknown>:0
  at System.Xml.NonBlockingStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count) [0x00000] in <filename unknown>:0
  at System.Xml.XmlStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Xml.XmlStreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32 count) [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained) [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.PeekChar () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadName (System.String& prefix, System.String& localName) [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadAttributes (Boolean isXmlDecl) [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at Mono.Xml.EntityResolvingXmlReader.Read () [0x00000] in <filename unknown>:0
  at Mono.Xml.Schema.XsdValidatingReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlValidatingReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
  at System.Xml.XmlDocument.Load (System.String filename) [0x00000] in <filename unknown>:0
  at WGconsole.Config..ctor (System.String Path) [0x00000] in <filename unknown>:0
root@tttr:/wg++#

turalo
Offline
turalo's picture
Joined: 8 years
Last seen: 8 years

Thanks for fast reaction. hereby the file.

I have also tried the simple version, and got same error there. This file is the full version.

Attachments: 
turalo
Offline
turalo's picture
Joined: 8 years
Last seen: 8 years

I think, the problem was in the channels lines, i have first used the dummy it worked.

after that was cookie error, I have solved that.

but now, after it shows added, when I check guide.xml it's empty.

where does it write it thene ?

:/wg++# mono WebGrab+Plus.exe "$(pwd)"

          WebGrab+Plus/w MDB & REX Postprocess -- version 1.1.1/55.27           

                                Jan van Straaten                                
                             Francis De Paemeleere                              

            thanks to Paul Weterings and all the contributing users             
--------------------------------------------------------------------------------

processing ~/wg++/guide.xml ......
update requested for - 1 - out of - 1 - channels for 1 day(s)
update mode - full - for all channels

      i=index  .=same  c=change  g=gab  r=replace  n=new

channel (xmltv_id=NPO 1) site -- TVGIDS.NL -- mode full
innnnnnnnnnnnnnnnnnnnnnnnnnn
   Summary for update of
NPO 1
     missing shows added       0
     changed shows updated     0
     new shows added           27
     unchanged shows inspected 0
     total after update        27

job finished at 2/14/2016 1:06:36 AM done in 6 seconds

turalo
Offline
turalo's picture
Joined: 8 years
Last seen: 8 years

Yes, you are right, I have removed them all, just to test, and it worked.

Indeed some lines were containing special characters.

 

now I'm missing the info. the guide.xml is empty.

 

turalo
Offline
turalo's picture
Joined: 8 years
Last seen: 8 years

All working now :)

it was sent to :  ~/wg++/wg++/guide.xml

 

all working :) thanks

and not to forget BIG BIG BIG thanks to the makers.
Dankje wel MAN :)))

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