Page 1 of 1

Problems with ChannelMap Module

PostPosted: Mon May 07, 2012 6:31 am
by regatta
I am using AltEPG 1.0d, Tivowebplus 2,1 b3 and the ChannelMap module. Everytime the channel lineup changes, I have to restore my channel mapping, so this module is seriously useful for me. When I take the option to restore channel map from saved, it dies after a few seconds with the following error..

-------INTERNAL SERVER ERROR------ --cut here--action:RestoreChannelMap, path:/, env:RestoreChannelMapVerify {Yes, I'm POSITIVE, Restore Channel Map from Saved}, code:'NONE'
list element in quotes followed by "]" instead of space
while executing
"foreach {_k _v} $env { set $_k [set _v] } "
("uplevel" body line 1)
invoked from: "uplevel { foreach {_k _v} $env { set $_k [set _v] } }"
(procedure "eval_env" line 2)
invoked from: "eval_env"
(procedure "action_listchan" line 4)
invoked from: "action_listchan $chan "/" "set ReturnString \[h1 \"It is Done - Commit the changes to make them Active\"\]""
(procedure "MOD::action_RestoreChannelMap" line 6)
invoked from: "$cmd $chan $path $env"
--cut here--

With the old version of Tivoweb, this module worked very well, but it always fails when using Tivowebplus. I have tried rebooting the Tivo, but it still fails.
Anyone have any ideas?

Many thanks and regards, Neal.

Re: Problems with ChannelMap Module

PostPosted: Mon May 07, 2012 9:23 am
by mrtickle
Hmm. I think the path of least resistance would be to fire up the old tivoweb (a version of which is in the AltEPG image) for the occasions when you need it. I do the opposite, I use my patched tivoweb most of the time, and tivowebplus for Spitfire's new updated chanprefs modules (http://www.tivocommunity.com/tivo-vb/sh ... p?t=485175 and http://www.tivocommunity.com/tivo-vb/sh ... p?t=484619).

Re: Problems with ChannelMap Module

PostPosted: Mon May 07, 2012 10:16 am
by millsb
There are 2 bugs in the TWP21b3 ChannelMap.itcl module which prevent restore from saved from working: there is a syntax error that is causing the specific problem you've reported - exactly as it says, there should be a space before the final \] on line 4 of action_listchan. But also the restore script fails because it doesn't declare and initialise a necessary global variable.

I've managed to get my copy working with a couple of patches. If you want full details let me know. I don't know whether there is an official (Spitfires?) fix for this.

Re: Problems with ChannelMap Module

PostPosted: Tue May 08, 2012 5:59 am
by regatta
Thanks guys for the information. I have kind of got used to Tivowebplus now, so wouldlike to stick with that if possible. Millsb, thanks for your kind offer of the modified channelmap module. Yes please!

Re: Problems with ChannelMap Module

PostPosted: Tue May 08, 2012 12:02 pm
by millsb
My patched version of ChannelMap.itcl is here:

http://millsb.dyndns.org/tivo_public/al ... elMap.itcl

(not under config control yet!)