PDA

View Full Version : TivoWebPlus v 1.2.2 Problems



moored99
18-04-2006, 12:34 PM
I have installed TivoWebPlus all the way up to 1.2.2 and I am getting the following error when I click on Logs. Can somebody shed some light I also get this error (no value given for parameter "dst" to "get_tzoffset") in other menu options.


INTERNAL SERVER ERROR
--cut here--
action_logs '/' ''
no value given for parameter "dst" to "get_tzoffset"
while executing
"get_tzoffset $time"
(procedure "ftime" line 2)
invoked from within
"ftime [expr [file mtime $log]] "%b %d %H:%M:%S""
(procedure "::action_logs" line 33)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

thomson
18-04-2006, 03:27 PM
I have installed TivoWebPlus all the way up to 1.2.2

Where did you get v1.2.2 from? You may wish to try the version from the Uploads area (http://minnie.tuhs.org/twiki/bin/view/Uploads/WebHome) of minnie if you are not already doing so.

thomson
18-04-2006, 03:33 PM
no value given for parameter "dst" to "get_tzoffset"

This error means that you are running TivoWebPlus modules against an httpd-tt.tcl from a TivoWeb distribution. The newer distributions do not have a dst parameter for the get_tzoffset() function.

moored99
19-04-2006, 07:49 AM
I got the original from http://minnie.tuhs.org/twiki/pub/Uploads/WebHome/tivowebplus-1.2.2-oztivo.tgz

moored99
19-04-2006, 08:13 AM
This error means that you are running TivoWebPlus modules against an httpd-tt.tcl from a TivoWeb distribution. The newer distributions do not have a dst parameter for the get_tzoffset() function.

So what do I need to do?

thomson
19-04-2006, 08:21 AM
So what do I need to do?

1. Stop any running TivoWeb service (using the Restart->Quit option)
2. cd /var/hack
3. mv TivoWebPlus TWP.old
4. tar xvfz tivowebplus-1.2.2-oztivo.tgz
5. cd TivoWebPlus
6. setpri fifo 1 $$
7. ./tivoweb

Some of the above steps may fail with an error (eg 3 and 6) depending on how the system is setup, but this should result in a stable TivoWebPlus installation. You can then copy any missing modules into the new /var/hack/TivoWebPlus/modules directory, but do not copy any of the old files (ie httpd-tt.tcl) into the /var/hack/TivoWebPlus directory.

moored99
19-04-2006, 09:05 AM
Did all that to the letter and it has done the same thing any other sugestions.

thomson
19-04-2006, 01:53 PM
Did all that to the letter and it has done the same thing any other sugestions.

I have no other suggestion... that package was designed to just work and that is what it should do. It could be that an old TivoWeb has not been shut down, you may like to edit the tivoweb.cfg to start it on a different port (say 8080).

If you are still having trouble you could do the following and attach the listing.txt file to your next post. Please also post another description of the errors that are being encountered:

1. cd /var/hack/TivoWebPlus
2. ls -lR . > listing.txt

Update: I found and rewrote a Upgrade To TivoWebPlus (http://minnie.tuhs.org/twiki/bin/view/Software/UpgradeToTiVoWebPlus) wiki entry (hopefully this will not upset the original authors). The version uploaded there contains a small bug fix to the Theme module as well as an update to it so that it automatically updates the configuration file with the selected theme. It also includes the setpri binary which is automatically called from the tivoweb startup script.

petestrash
19-04-2006, 06:44 PM
Update: I found and rewrote a Upgrade To TivoWebPlus (http://minnie.tuhs.org/twiki/bin/view/Software/UpgradeToTiVoWebPlus) wiki entry (hopefully this will not upset the original authors). The version uploaded there contains a small bug fix to the Theme module as well as an update to it so that it automatically updates the configuration file with the selected theme. It also includes the setpri binary which is automatically called from the tivoweb startup script.

Not that it matters, but setpri is already included on the oztivo image and is called in rc.sysinit.author.

Peter.

moored99
19-04-2006, 09:43 PM
I have no other suggestion... that package was designed to just work and that is what it should do. It could be that an old TivoWeb has not been shut down, you may like to edit the tivoweb.cfg to start it on a different port (say 8080).

If you are still having trouble you could do the following and attach the listing.txt file to your next post. Please also post another description of the errors that are being encountered:

1. cd /var/hack/TivoWebPlus
2. ls -lR . > listing.txt

Update: I found and rewrote a Upgrade To TivoWebPlus (http://minnie.tuhs.org/twiki/bin/view/Software/UpgradeToTiVoWebPlus) wiki entry (hopefully this will not upset the original authors). The version uploaded there contains a small bug fix to the Theme module as well as an update to it so that it automatically updates the configuration file with the selected theme. It also includes the setpri binary which is automatically called from the tivoweb startup script.

I deleted the 1.2.2 web site and uploaded the b version and that fixed the problem. Thanks for your support.

moored99
19-04-2006, 09:55 PM
Just one more thing the http://minnie.tuhs.org/twiki/bin/view/Software/UpgradeToTiVoWebPlus

in this explanation the sysntax needs to be modified from

# Start TiVoWebPlus
/hack/tivowebplus/tivoweb &

to

# Start TiVoWebPlus
/hack/TivoWebPlus/tivoweb &

As it is case sensitive.

petestrash
20-04-2006, 12:49 AM
I have corrected the wiki.

Being a community wiki, feel free to fix anything yourself that you find is either wrong or you feel should be explained better.

Peter.

thomson
20-04-2006, 11:56 AM
Not that it matters, but setpri is already included on the oztivo image and is called in rc.sysinit.author.

I do not have access to an OzTivo image, but I am guessing that only the more recent images have this... you also need to ensure that the setpri command is issued before the telnet daemon is started (which I doubt is the case) otherwise anything started from the command line will be run at high priority (and cause glitches in the Tivo when various features of TivoWeb are accessed). This is typically not a problem after a reboot, but for people that stop and start services from the command line it is something that they need to be aware of.

petestrash
20-04-2006, 01:31 PM
My bad,

After re-checking this, it looks like it is not on the current image, was only on 1.3 (and was run after telnet had started).

Peter.

thomson
28-04-2006, 06:20 PM
If anyone is interested there is a new TivoWebPlus bundle (v1.2.2d) located here (http://minnie.tuhs.org/twiki/bin/view/Software/UpgradeToTiVoWebPlus) that should contain most of the modules that are available in TivoWeb on the OzTivo image. I do not know of any remaining issues but feel free to bring up any bugs/feature requests if you find it is lacking in a particular area.

FYI: If anybody really, really needs the MfsStream module then did get a copy working with TWP, but the whole mechanism (using tyhttp) to transfer files seems a little flakey and from forum feedback seems to have always had issues with larger files. I would suggest you use the Extract module which should activate as soon as MFS-FTP has been installed.

thomson
01-05-2006, 06:04 PM
New TivoWebPlus bundle located here (http://minnie.tuhs.org/twiki/bin/view/Software/UpgradeToTiVoWebPlus). It includes alpha transparent PNG support for IE 5.5+ (should notice an improvement in the quality of images in the User Interface module).