[SOLVED] [history plugin by Novik65 bug]

randac56

Member
May 25, 2018
915
0
16
Hi,

I am using firefox 12 (with ubuntu, so no desktop notifications enabled).
I am also using the latest commit from http://rutorrent.googlecode.com/svn/trunk/plugins/history/ with following:
Code:
svn co http://rutorrent.googlecode.com/svn/trunk/plugins/history
When I enable the history plugin and open up the [Settings...] dialog and press [OK], I get following error:

Code:
[05/07/2012 04:42:14] JS error: [https://[hidden-ip-address]/rutorrent/js/jquery.js : 5235] $$("not_autoclose") is null

If I change any settings in [Settings...] dialog, they do indeed get saved. However, I do still see the same error above. And the most annoying issue is that I can no longer reopen [Settings...] dialog without having to refreshing [Ctrl+F5] the page. When I try to re-open [Settings...] dialog I see the same error as above. So, I can open the [Settings..] dialog once without error (even though it produces the error when I click [OK]), but I can't even load the [Settings...] dialog once I have revived the error upon clicking [OK].


Anyone else experiencing this error? Any workarounds available? I did briefly search for threads on this topic and couldn't find any, if anyone else can please let me know.

Thanks
 

randac56

Member
May 25, 2018
915
0
16
Quote :
Did you clear cache?​


I just cleared my cache and restarted firefox browser but it looks like the problem still exists.

I still get same error, but it looks like the "error number" has changed:
Code:
[05/07/2012 05:33:51] JS error: [https://[hidden-ip-address]/rutorrent/js/jquery.js : 6999] $$("not_autoclose") is null


Is this problem browser related? Should I try a different browser?

Thanks

edit:
one more note: aside from this problem, the plugin functions just fine. I can still see the history tab with correct information.
I don't change my settings very often, so I can live with this bug, but it is still annoying having to reload every time I need to change something.

Also I noticed that
The problem seems to occur at line #18 in the code:
http://code.google.com/p/rutorrent/source/browse/trunk/plugins/history/init.js?r=2058#18
 

randac56

Member
May 25, 2018
915
0
16
Quote :
Did you install ruTorrent from SVN or tarball?​

Hey,

I used the autodl-irssi script for ruTorrent install.
It seems that the script used svn but uses tarballs as backup (line #5109 and #4947) http://pastebin.com/pZYUd44j

I have the rutorrent version 3.4 and if tarballs are selected, it should give me version 3.2 (line #35: RUTORRENT_VERSION="3.2").
So I think the script used svn.

Thanks
 

randac56

Member
May 25, 2018
915
0
16
Quote:
1) Fixed.
2) Please, use project's page for error's reporting.​


Hey Novik65,

First off please accept my apologizes for not posting the bug in the project's page.
Also thank you very much for fixing the bug so quickly. I am truly surprised.
I think this project has gained a new level of respect in my eyes.

Thanks again.