You are here

Can not generate a merge-xmltv.xml file

8 posts / 0 new
Last post
schalkse
Offline
Joined: 5 years
Last seen: 5 years
Can not generate a merge-xmltv.xml file

Hi all,

Just installed Wegrab, all is working except merging.
I followed the guide. But when I run the run.sh in order to generate the xml file I get:
...

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

Group (0) :
update requested for - 1 - out of - 1 - channels for 4 day(s)
( 1/1 ) MERGE-XMLTV -- chan. (xmltv_id=dummy) -- mode Force
Job finished at 19/01/2019 13:43:50 done in 0s
Unhandled Exception

Index was outside the bounds of the array.

at WGconsole.Program.ConsoleApplication (System.String[] args) [0x01cfa] in <274ad6f9740e441a95b86a1d1148edca>:0
at WGconsole.Program.Main (System.String[] args) [0x00016] in <274ad6f9740e441a95b86a1d1148edca>:0
For detailed info, see log file /Users/tommondelaers/.wg++/./WebGrab++.log.txt
Execution stopped

The .ini file has the following content:

Running OS X 10.14.
Ini file included
Anyone any idea how to resolve it?

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 4 hours

for ur subpage.format use the full path to ur files,not a partial one.
like..
C:\Users\xxx\xxx or whatever its is.

schalkse
Offline
Joined: 5 years
Last seen: 5 years

Am on a mac. Can not put C:\
full path is /Volumes/Macintosh\ HD/Users/MYUSERAME/.wg++/guide.xml

Still getting the same error.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 4 hours

no idea abt a mac filesystem as never owned one but this looks weird to me..

/Volumes/Macintosh\ HD/Users/MYUSERAME/.wg++/guide.xml

ur actual file path has both foreward and backyard slashes in it and spaces?

can u create a channel.xml list from the files u want to merge?
this has to be done first and the channel lines added to ur wg config.xml

schalkse
Offline
Joined: 5 years
Last seen: 5 years

It has to be like this in unix. A space is done by adding a backslash.
Users/MYUSERAME/.wg++/guide.xml will resolve at the same file in terminal.So with or without "/Volumes/Macintosh\ HD" is the same.

Yeah, all done that. Channels added in my config file. Its downloading my mpg each day without a problem. But I get my EPG from multiple sources and want to merge them.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 4 hours

so why in ur log and error above do i see dummy as a channel name?

this channel surely dont exist in one of ur source xml file?

upload ur log file.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 4 hours

also in ur merge ini u post the channel.xml section is still enabled,did u remember to disable this again before u actually merge ur xml files?

schalkse
Offline
Joined: 5 years
Last seen: 5 years

Hi Blackbear,

Am still trying to generate the xml file for the first time. In order to do that, you need to put the dummy channel.

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