SeedboxCreator / SeedboxCreationScript

Scripts and related items for creating a fully featured Seedbox on various Linux platforms.
88 stars 41 forks source link

autodl-irssi error #11

Closed crjs closed 9 years ago

crjs commented 10 years ago

Hi, I tried the script in an OVH server, tried Ubuntu 12.04 x64 and Debian 7.6 x64 fresh installs, same error in both. I tried Chrome and IE, 2 computers, and cleared my browser cache.

[16.07.2014 22:09:13] WebUI started. [16.07.2014 22:09:20] Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): AutodlFilesDownloader.downloadAllFiles: Exception info: name = TypeError; message = Cannot read property 'msie' of undefined; [16.07.2014 22:09:20] AutodlIrssiTab._getNewLines: Exception info: name = TypeError; message = Cannot read property 'msie' of undefined; [16.07.2014 22:09:21] AutodlIrssiTab._getNewLines: Exception info: name = TypeError; message = Cannot read property 'msie' of undefined; [16.07.2014 22:09:22] AutodlIrssiTab._getNewLines: Exception info: name = TypeError; message = Cannot read property 'msie' of undefined;

And it gives one of those errors every one sec.

quagmire2106 commented 10 years ago

Same error for me. tried a Fresh Install 4 times........... AutodlIrssiTab._getNewLines: Exception info: name = TypeError; message = Cannot read property 'msie' of undefined This script worked perfectly until 3 days ago this error started. Seems like something has to be updated. :(

quagmire2106 commented 10 years ago

I found the fix, its easy and works Can be fixed by replacing if ($.browser.msie) with $.browser={ msie: ( navigator.appName == 'Microsoft Internet Explorer') ? true : false }

so line 28 would actually be

if ($.browser={ msie: ( navigator.appName == 'Microsoft Internet Explorer') ? true : false }) The file is located at /var/rutorrent/rutorrent/plugins/autodl-irssi/ filename ....AutodlFilesDownloader.js....... fix line 28

imagamer2k commented 9 years ago

I'm getting this same error...I tried the advice offered by quagmire2106, above, and it didn't work for me. I installed the script (without any errors during the install) on an SYS server, Ubuntu 14.04LTS.

Please help! :)

Thanks

imagamer2k commented 9 years ago

I figured it out...I edited my line 28 to read if (navigator.appName == 'Microsoft Internet Explorer' && navigator.userAgent.match(/msie 6/i))

it is now loading without error.