View difference between Paste ID: ULep6Mhi and 7ZGkLL3J
SHOW: | | - or go back to the newest paste.
1-
jQuery(function ($) {
1+
############## XBMC CRASH LOG ###############
2-
    $('#megapixel').bind('input', function () {
2+
3-
        //window.alert("test");
3+
4-
        calc();
4+
5-
    });
5+
6-
	
6+
7-
    $('#flength').bind('input', function () {
7+
8-
        //window.alert("test");
8+
9-
        calc();
9+
10-
    });
10+
11-
    $('#tolerance').bind('input', function () {
11+
12-
        //window.alert("test");
12+
13-
        calc();
13+
14-
    });
14+
15
############### STACK TRACE #################
16-
    $('#cropfactor').change(function () {
16+
17-
        calc();
17+
18-
    });
18+
19
[New LWP 4799]
20-
    calc = function () {
20+
21-
        //window.alert("test");
21+
22-
        var e = document.getElementById("cropfactor");
22+
23-
        var cropf = e.options[e.selectedIndex].value;
23+
24-
        var dV = 0;
24+
25-
        var dH = 0;
25+
26-
        var dD = 0;
26+
27
#0  0x00007f9b4f1d8d13 in poll () from /lib/x86_64-linux-gnu/libc.so.6
28-
        switch (cropf) {
28+
29-
            case "1":
29+
30-
                dV = 24;
30+
31-
                dH = 36;
31+
32-
                dD = Math.sqrt((dV * dV) + (dH * dH));
32+
33-
                break;
33+
34-
            case "1.5":
34+
35-
                dV = 15.6;
35+
36-
                dH = 23.7;
36+
37-
                dD = Math.sqrt((dV * dV) + (dH * dH));
37+
38-
                break;
38+
39-
            case "1.6":
39+
40-
                dV = 14.9;
40+
41-
                dH = 22.3;
41+
42-
                dD = Math.sqrt((dV * dV) + (dH * dH));
42+
43-
                break;
43+
44-
        }
44+
45
#9  __glXInitialize (dpy=0x2f9e030) at glxext.c:902
46-
        document.getElementById('erg-ss-V').value = dV + " mm";
46+
47-
        document.getElementById('erg-ss-H').value = dH + " mm";
47+
48-
        document.getElementById('erg-ss-D').value = dD.toFixed(1) + " mm";
48+
49
#13 glXChooseVisual (dpy=0x2f9e030, screen=0, attribList=0x7fff428154a0) at glxcmds.c:1249
50-
        var fl = $(flength).val();
50+
51
#15 0x00007f9b5293d4e0 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
52-
        dV = 2 * Math.atan(dV / 2 / fl) * 180 / Math.PI;
52+
53-
        dH = 2 * Math.atan(dH / 2 / fl) * 180 / Math.PI;
53+
54-
        dD = 2 * Math.atan(dD / 2 / fl) * 180 / Math.PI;
54+
55
#19 0x0000000000e00a17 in CWinSystemX11GL::SetFullScreen(bool, RESOLUTION_INFO&, bool) ()
56-
        document.getElementById('erg-FOV-V').value = dV.toFixed(4) + "°";
56+
57-
        document.getElementById('erg-FOV-H').value = dH.toFixed(4) + "°";
57+
58-
        document.getElementById('erg-FOV-D').value = dD.toFixed(4) + "°";
58+
59
#23 0x0000000000673a02 in main ()
60-
        var mp = parseFloat($(megapixel).val());
60+
61
62-
        var pV = Math.sqrt(mp) * Math.sqrt(1 / 1.5) * 1000;
62+
63-
        var pH = Math.sqrt(mp) * Math.sqrt(1.5) * 1000;
63+
64-
        var pD = Math.sqrt((pV * pV) + (pH * pH));
64+
65
13:59:42 T:140305200154528  NOTICE: Starting XBMC (11.0 Git:Unknown), Platform: Linux (Debian GNU/Linux 7.8 (wheezy), 3.16.0-0.bpo.4-amd64 x86_64). Built on Jun 15 2012
66-
        document.getElementById('erg-p-V').value = pV.toFixed(0);
66+
67-
        document.getElementById('erg-p-H').value = pH.toFixed(0);
67+
68-
        document.getElementById('erg-p-D').value = pD.toFixed(0);
68+
69
13:59:42 T:140305200154528  NOTICE: special://home/ is mapped to: /home/xbmc/.xbmc
70-
        var erg = +cropf * +mp;
70+
71
13:59:42 T:140305200154528  NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
72-
        var tol = parseFloat($(tolerance).val());
72+
73
13:59:42 T:140305200154528  NOTICE: Log File is located: /home/xbmc/.xbmc/temp/xbmc.log
74-
        var speed = 360 / 24 / 60 / 60;
74+
75
13:59:43 T:140305200154528  NOTICE: Setup SDL
76-
        var sspeed_V = dV * tol / pV / speed;
76+
77-
        var sspeed_H = dH * tol / pH / speed;
77+
78-
        var sspeed_D = dD * tol / pD / speed;
78+
79
13:59:43 T:140305200154528  NOTICE: Getting hardware information now...
80-
        document.getElementById('o-ss-V').value = sspeed_V.toFixed(1) + " s";
80+
81-
        document.getElementById('o-ss-H').value = sspeed_H.toFixed(1) + " s";
81+
82-
        document.getElementById('o-ss-D').value = sspeed_D.toFixed(1) + " s";
82+
83
13:59:43 T:140305200154528  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
84-
    };
84+
85
13:59:43 T:140305200154528  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
86-
$(document).ready(function () {
86+
87-
    $("#erg").keydown(function (e) {
87+
88-
        // Allow: backspace, delete, tab, escape, enter and .
88+
89-
        if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 110, 190]) !== -1 ||
89+
90-
        // Allow: Ctrl+A
90+
91-
        (e.keyCode == 65 && e.ctrlKey === true) ||
91+
92-
        // Allow: Ctrl+C 
92+
93-
        (e.keyCode == 67 && e.ctrlKey === true) ||
93+
94-
        // Allow: home, end, left, right
94+
95-
        (e.keyCode >= 35 && e.keyCode <= 39)) {
95+
96-
            // let it happen, don't do anything
96+
97-
            return;
97+
98-
        }
98+
99-
        // Ensure that it is a number and stop the keypress
99+
100-
        if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
100+
101-
            e.preventDefault();
101+
102-
        }
102+
103-
    });
103+
104-
});
104+
105
13:59:43 T:140305200154528  NOTICE: Log level changed to 1
106-
$(document).ready(function () {
106+
107-
    $("#numbers").keydown(function (e) {
107+
108-
        // Allow: backspace, delete, tab, escape, enter and .
108+
109-
        if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 110, 190]) !== -1 ||
109+
110-
        // Allow: Ctrl+A
110+
111-
        (e.keyCode == 65 && e.ctrlKey === true) ||
111+
112-
        // Allow: Ctrl+C 
112+
113-
        (e.keyCode == 67 && e.ctrlKey === true) ||
113+
114-
        // Allow: Ctrl+V 
114+
115-
        (e.keyCode == 86 && e.ctrlKey === true) ||
115+
116-
        // Allow: home, end, left, right
116+
117-
        (e.keyCode >= 35 && e.keyCode <= 39)) {
117+
118-
            // let it happen, don't do anything
118+
119-
            return;
119+
120-
        }
120+
121-
        // Ensure that it is a number and stop the keypress
121+
122-
        if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
122+
123-
            e.preventDefault();
123+
124-
        }
124+
125-
    });
125+
126-
});
126+
127
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in weather.wunderground has been installed.'
128-
});############## XBMC CRASH LOG ###############
128+
129
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.themoviedb.org has been installed.'
130
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.artists.allmusic.com has been installed.'
131
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in xbmc.metadata has been installed.'
132
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in service.xbmc.versioncheck has been installed.'
133
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in skin.confluence has been installed.'
134
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in visualization.glspectrum has been installed.'
135
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in script.module.pil has been installed.'
136
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in xbmc.gui has been installed.'
137
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in visualization.milkdrop has been installed.'
138
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in visualization.dxspectrum has been installed.'
139
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in xbmc.core has been installed.'
140
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in screensaver.rsxs.solarwinds has been installed.'
141
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in screensaver.xbmc.builtin.slideshow has been installed.'
142
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.common.htbackdrops.com has been installed.'
143
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.yahoomusic.com has been installed.'
144
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.common.allmusic.com has been installed.'
145
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.tvdb.com has been installed.'
146
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.common.last.fm has been installed.'
147
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.common.themoviedb.org has been installed.'
148
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in xbmc.python has been installed.'
149
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.common.imdb.com has been installed.'
150
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in xbmc.addon has been installed.'
151
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in screensaver.rsxs.plasma has been installed.'
152
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in visualization.waveform has been installed.'
153
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in script.module.pysqlite has been installed.'
154
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in metadata.common.hdtrailers.net has been installed.'
155
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Plug-in visualization.itunes has been installed.'
156
13:59:43 T:140305200154528   DEBUG: ADDON: cpluff: 'Not all directories were successfully scanned.'
157
13:59:43 T:140305200154528   DEBUG: LoadMappings - loaded node "Motorola Nyxboard Hybrid"
158
13:59:43 T:140305200154528   DEBUG: LoadMappings - loaded node "Pulse-Eight CEC Adaptor"
159
13:59:43 T:140305200154528   DEBUG: CPeripheralBusUSB - initialised udev monitor: 15
160
13:59:44 T:140305200154528    INFO: LIRC Initialize: using: /dev/lircd
161
13:59:44 T:140305200154528    INFO: LIRC Initialize: connect failed: No such file or directory
162
13:59:44 T:140304806250240   DEBUG: Thread XBMC Peripherals start, auto delete: 0
163
13:59:44 T:140305200154528   DEBUG: Failed to connect to LIRC. Retry in 10s.
164
13:59:44 T:140305200154528  NOTICE: Enabled Joystick: Microsoft Microsoft® 2.4GHz Transceiver v6.0
165
13:59:44 T:140305200154528  NOTICE: Details: Total Axis: 37 Total Hats: 0 Total Buttons: 75
166
13:59:44 T:140305200154528   DEBUG: OnLostDevice - notify display change event
167
13:59:44 T:140305200154528    INFO: XRANDR: /usr/lib/xbmc/xbmc-xrandr --output HDMI1 --mode 0x46
168
169
170
############### END LOG FILE ################
171
172
############ END XBMC CRASH LOG #############