Tivoweb Space Used Internal Server Error

General Discussion

Tivoweb Space Used Internal Server Error

Postby steveroe » Mon Jan 02, 2012 4:36 pm

Hi all,

Running Tivoweb 1.94, the "Space Used" module gives me the following error in the "DailyData" column:

Code: Select all
INTERNAL SERVER ERROR
--cut here--
action_spaceused '/' ''
syntax error in expression " / 745.1"
    while executing
"expr $amount / $mbperhr"
    (procedure "::action_spaceused" line 287)
    invoked from within
"::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
"eval {::action_$action $chan $part $env}"
--cut here-


Looks like $amount hasn't gained a value somewhere, any ideas?
steveroe
TiVo lover
TiVo lover
 
Posts: 311
Joined: Tue Feb 15, 2011 11:04 pm
Location: Oxford

Re: Tivoweb Space Used Internal Server Error

Postby mrtickle » Mon Jan 02, 2012 6:53 pm

Autospace bombs and dies with the same error sometimes. I think it's when a recording or new live buffer segment is created but doesn't have a length yet - can happen if you're unlucky and it tries to get the value at the wrong time.

In this case it's trying to divide null by 745.1 instead of <size> by 745.1

Just reload the page and see if it goes away!
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: Tivoweb Space Used Internal Server Error

Postby steveroe » Mon Jan 02, 2012 11:39 pm

Hmmm. I've never had anything but this error on this page, i.e. it's never worked for me since I started with Tivoweb in October (just finally annoyed me enough to post about it!)
steveroe
TiVo lover
TiVo lover
 
Posts: 311
Joined: Tue Feb 15, 2011 11:04 pm
Location: Oxford

Re: Tivoweb Space Used Internal Server Error

Postby nick1austin » Tue Jan 03, 2012 12:30 am

Thread here seems to describe the same problem & suggests a fix:
http://archive2.tivocommunity.com/tivo-vb/showthread.php?t=253697
nick1austin
TiVo lover
TiVo lover
 
Posts: 217
Joined: Wed Feb 16, 2011 7:03 pm
Location: Weston-super-Mare

Re: Tivoweb Space Used Internal Server Error

Postby mrtickle » Tue Jan 03, 2012 7:07 am

nick1austin wrote:Thread here seems to describe the same problem & suggests a fix:
http://archive2.tivocommunity.com/tivo-vb/showthread.php?t=253697


What a helpful person in that thread that was :wink:
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: Tivoweb Space Used Internal Server Error

Postby steveroe » Tue Jan 03, 2012 9:26 am

Well found!. Thanks and thanks.
steveroe
TiVo lover
TiVo lover
 
Posts: 311
Joined: Tue Feb 15, 2011 11:04 pm
Location: Oxford

Re: Tivoweb Space Used Internal Server Error

Postby mrtickle » Tue Jan 03, 2012 7:05 pm

Actually I've noticed I made a few more tweaks since then. And I've tidied it a bit more today.

Try this one:
20120103-spaceused.zip
space used
(4.49 KiB) Downloaded 222 times

I've maintained it a bit. The Info and Info+ modules in TiVoweb went off in a different direction, and TiVoweb+ went further. A few people however prefer the layout of this space module. TiVoweb+ even has a go at accounting for the Clips space (reserved area of disc, only used once for Dossa and Joe) but gets the size of this wrong on tivos where you've reclaimed the space.

For comparison here's my take on the Info+ module for Tivoweb:
17-a-infoplus-UKdefault.zip
Info+
(5.58 KiB) Downloaded 220 times

again you need to edit the bitrates lines 422-426 to your tivo's values.

These could both potentially read all the values from your tivo, but as it's an edit-once then forget operation (unless you're constantly tweaking your bitrates) I've never bothered.
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: Tivoweb Space Used Internal Server Error

Postby mrtickle » Sat Jan 21, 2012 12:49 pm

mrtickle wrote:Autospace bombs and dies with the same error sometimes. I think it's when a recording or new live buffer segment is created but doesn't have a length yet - can happen if you're unlucky and it tries to get the value at the wrong time.


I have created a fix for Autospace, and posted it on tivocommunity here:
http://www.tivocommunity.com/tivo-vb/sh ... ost8911852
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: Tivoweb Space Used Internal Server Error

Postby Furbag » Thu Jan 26, 2012 11:04 pm

Just noticed mine does the same .......havent got a scoobys what to do with the zip file mind you :lol: :lol:
Furbag
TiVo lover
TiVo lover
 
Posts: 298
Joined: Wed Nov 22, 2006 12:30 pm

Re: Tivoweb Space Used Internal Server Error

Postby millsb » Thu Jan 26, 2012 11:54 pm

Furbag wrote:....havent got a scoobys what to do with the zip file mind you :lol: :lol:

Look out for the next release of altepg for the answer to that.
millsb
AltEPG Team
AltEPG Team
 
Posts: 974
Joined: Sat Mar 05, 2011 11:16 am


Return to General

Who is online

Users browsing this forum: No registered users and 40 guests

cron