Project

General

Profile

Uncaught TypeError: Cannot read property 'afterLoad' of null http://192.168.0.3:9981/static/tvh.js.gz 1

Added by Peter Wislander over 7 years ago

Here are the contents of the file. Obvoiusly erronous. Look at first line.

window.undefined=window.undefined;Ext={version:"3.4.1.1",versionDetail:{major:3,minor:4,patch:1.1}};Ext.apply=function(d,e,b){if(b){Ext.apply(d,b)}if(d&&e&&typeof e=="object"){for(var a in e){d[a]=e[a]}}return d};(function(){var g=0,f=Object.prototype.toString,y=navigator.userAgent.toLowerCase(),n=function(e){return e.test(y)},s=document,q=s.documentMode,u=s.compatMode=="CSS1Compat",a=n(/opera/),H=n(/\bchrome\b/),z=n(/webkit/),d=!H&&n(/safari/),F=d&&n(/applewebkit\/4/),D=d&&n(/version\/3/),B=d&&n(/version\/4/),j=!a&&n(/msie/),G=j&&((n(/msie 7/)&&q!=8&&q!=9&&q!=10)||q==7),E=j&&((n(/msie 8/)&&q!=7&&q!=9&&q!=10)||q==8),C=j&&((n(/msie 9/)&&q!=7&&q!=8&&q!=10)||q==9),i=j&&((n(/msie 10/)&&q!=7&&q!=8&&q!=9)||q==10),J=j&&n(/msie 6/),K=j&&(J||G||E||C),c=!z&&n(/gecko/),M=c&&n(/rv:1\.8/),L=c&&n(/rv:1\.9/),m=K&&!u,h=n(/windows|win32/),A=n(/macintosh|mac os x/),p=n(/adobeair/),v=n(/linux/),r=/^https/i.test(window.location.protocol),b=[],w=[],o=Ext.emptyFn,x=Ext.apply({},{constructor:o,toString:o,valueOf:o}),l=function(){var ........................................................................................
...
...

Tvheadend is really well written. Handles concurrency like a king. Doesn't even help to service tvheadend restart, pkill tvheadend and so on.

It appears as if tvheadend uses some locking mechanisms, but does it in a totally flawed way. If you kill the service locks should not stay on, at least not on stop and restart.


Replies (2)

RE: Uncaught TypeError: Cannot read property 'afterLoad' of null http://192.168.0.3:9981/static/tvh.js.gz 1 - Added by saen acro over 7 years ago

window.undefined=window.undefined;Ext={
    version: "3.4.1.1",
    versionDetail: {
        major: 3,
        minor: 4,
        patch: 1.1
    }
};Ext.apply=function(d,
e,
b){
    if(b){
        Ext.apply(d,
        b)
    }if(d&&e&&typeofe=="object"){
        for(varaine){
            d[a]=e[a]
        }
    }returnd
};(function(){
    varg=0,
    f=Object.prototype.toString,
    y=navigator.userAgent.toLowerCase(),
    n=function(e){
        returne.test(y)
    },
    s=document,
    q=s.documentMode,
    u=s.compatMode=="CSS1Compat",
    a=n(/opera/),
    H=n(/\bchrome\b/),
    z=n(/webkit/),
    d=!H&&n(/safari/),
    F=d&&n(/applewebkit\/4/),
    D=d&&n(/version\/3/),
    B=d&&n(/version\/4/),
    j=!a&&n(/msie/),
    G=j&&((n(/msie7/)&&q!=8&&q!=9&&q!=10)||q==7),
    E=j&&((n(/msie8/)&&q!=7&&q!=9&&q!=10)||q==8),
    C=j&&((n(/msie9/)&&q!=7&&q!=8&&q!=10)||q==9),
    i=j&&((n(/msie10/)&&q!=7&&q!=8&&q!=9)||q==10),
    J=j&&n(/msie6/),
    K=j&&(J||G||E||C),
    c=!z&&n(/gecko/),
    M=c&&n(/rv: 1\.8/),
    L=c&&n(/rv: 1\.9/),
    m=K&&!u,
    h=n(/windows|win32/),
    A=n(/macintosh|macosx/),
    p=n(/adobeair/),
    v=n(/linux/),
    r=/^https/i.test(window.location.protocol),
    b=[],
    w=[],
    o=Ext.emptyFn,
    x=Ext.apply({

    },
    {
        constructor: o,
        toString: o,
        valueOf: o
    }),
    l=function(){
        var..............................................................................................

JSON Formated

    (1-2/2)