You are here

Download ok, Rex formatting give error

10 posts / 0 new
Last post
masterke
Offline
Donator
Joined: 6 years
Last seen: 1 month
Download ok, Rex formatting give error

when I download my 270 channels the download is perfect, when I want to work with rex to make the xml file with the options I want in my file I get an error with the message "index was out of range" and it stops after this message.
so the file through rex is not been done.
what can give this message error ???
have somebody also have this error been seen and what have you do to fix this so the rex file works to get my xml file that I want.
if you need more info ask me please so we can get an solution.
greets
and Thanks for the help to have this again working on my ubuntu linux server.

the error:

Debug ] 79158 shows in 269 channels
[ Debug ] 0 updated shows
[ Debug ] 79158 new shows added
[ Info ]
[ Info ]
[ ] Job finished at 04/11/2024 02:21:17 done in 2h 28m 34s
[ Info ] Job (REX Version: 3.4.1) started at 04/11/2024 02:21:17
[ Info ] Starting REX Postprocess
[ Info ] 79158 shows to process ..
[Critical]
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
[Critical]
at System.Collections.Generic.List`1.get_Item(Int32 index)
at  .–. . (String, String, List`1, String& , String& )
at  .–. . (String, Dictionary`2, Char, String[]& , String[]& )
at  .–. . (XmlNode,  ,  )
at  .–. ()
at  .–..ctor(String[])
at  .—. (String[])
[Critical] Unhandled Exception
[Critical] Execution stopped

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 min

upload your rex.config.xml

masterke
Offline
Donator
Joined: 6 years
Last seen: 1 month

i am sick home for a couple days and have yesterday with some search on the forum a couple of hours test and changed the rex file and I have it working,
possible did I have a fault in my rex file that gives me the error,
with the right line like I found in the MDB topic on this forum I have now a working grab and rex config and perfect result,
I'm gonna change it a bit so I get for series also the season and episode numbers in my output text so I can see it in my dreambox receiver in the EPG what episode it is.
so it is solved the problem, I had to have a beter look in the topics to understand how the new rex file works.

datalife
Offline
Donator
Joined: 3 years
Last seen: 1 week

I have upload to the last version 5.3 and I have the same error in rex postprocess.
the incriminate error is this

{'description'}\n{\n• Anno di produzione: 'productiondate'}{\n• Regia: 'director(, )'}{\n• Attori: 'actor(, )[max_elements=3]'}

If I reduce the request in only two elements (indifferent productiondate, director or actor) all is OK,

{'description'}\n{\n• Anno di produzione: 'productiondate'}

when I insert the third element, the problem returns

where am I wrong?

Thnks

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours
datalife
Offline
Donator
Joined: 3 years
Last seen: 1 week

Thanks now is ok, but when there are 3 actors in the end of the list there are strange symbols.

Example with 3 actors
• Attori: Mark Harmon, Sasha Alexander, Michael Weatherly<!?

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 9 hours

can you post your rex.config line ?

datalife
Offline
Donator
Joined: 3 years
Last seen: 1 week

This is my rex.config file, the line is

{'description()'}\n{\n• Anno di produzione: 'productiondate()'}{\n• Regia: 'director(, )'}{\n• Attori: 'actor(, )[max_elements=3]'}

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

Hi .. this is a bug in the REX code ... I have fixed it . Install the evaluation version 5.3.0.1 .. https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/eval...

Small remark .. the first \n between } { , does nothing . In fact, text between sections is not allowed, but \n is considered a white space and doesnot create a warning .

datalife
Offline
Donator
Joined: 3 years
Last seen: 1 week

Thanks, perfect.
There are still some bugs to fix, but now the "max elemnet" code is ok.

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