Page 2 of 2

Re: 2.3.6Beta1 rss delete not working

Posted: May 27th, 2019, 5:23 pm
by bl0m5t3r
I just registered to file a bug report on the same problem, but figured i'd do a search for the bug first. :)
The delete button/trashcan icon doesn't do anything, i've tried both chrome and firefox as i though it maybe some script is getting blocked or something.

Really hope you find a solution, let me know if it helps if i can provide you with anything (logs/ini/etc)
For now i'm disabling the rows by using the checkmark at the start of the row, that works fine. (as does saving/editing, anything but deleting)
It's been a bug for serveral releases now, i remember having troubles already a few months back but didn't pay much attention to it and thought i had a browser problem.

Just did some testing, and it seems to not work specifically for that Filterlist.
I created a new RSS filterlist, added some bogus filters, and on that new list i could add and then delete them as much a i want.
I do not want to lose / recreate my old list though, it's quite extensive and would be a pain in the ass to recreate.
but maybe it will help you pinpoint the problem.

Re: 2.3.6Beta1 rss delete not working

Posted: May 29th, 2019, 4:07 am
by safihre
Oke can you try the following: before clicking the trash bin, right click on the page and select Inspect Element. It will open Developers tools. There, open the console tab.
Click the trash icon. Is anything shown in the console?
In the network tab of the Developers tools, does it show anything when you click the trash icon?

Second, enable Debug logging in the Status window (on the main page, not Config) and then try the trash icon again. Go back to Status and Interface settings window and download the log by clicking Show Logging. Does it show anything special near the end?

Re: 2.3.6Beta1 rss delete not working

Posted: June 6th, 2019, 3:57 pm
by AnonyMouse
If I just edit the ini and delete the fitler I want to ditch from the config, will that be ok, or do I need to update all the enumerations (i.e. if there end up being holes in the number sequence will something break)?

Re: 2.3.6Beta1 rss delete not working

Posted: June 7th, 2019, 9:00 am
by safihre
Should be fine if you manually delete I think.

Re: 2.3.6Beta1 rss delete not working

Posted: September 30th, 2019, 11:26 am
by bl0m5t3r
Sorry for the super late reply but i checked as you asked (console, network, debug + log).
I get an error in the console, which is probably the main thing, the rest shows nothing.

console:

Code: Select all

jQuery.Deferred exception: $(...).tablesort is not a function
mightThrow staticcfg-js-jquery-3.2.1.min.js?v=2.3.9:2
resolve-<-process< staticcfg-js-jquery-3.2.1.min.js?v=2.3.9:2
 undefined jquery-3.2.1.min.js:2
TypeError: $(...).tablesort is not a function rss:10056:41
A quick google, suggests it might be a close bracket missing somewhere. but i'll leave that up to you :)
Hope it helps.

ps. i'm on 2.3.9 now, but the problem seem to persist.
ps2. removed my domain for privacy reasons.
ps3. removed http part, as i'm not allowed to post links.
ps4. had to remove port numbers and more before it would not see it as a link .. hope there is still enough useful info avail. otherwise let me know.

Re: 2.3.6Beta1 rss delete not working

Posted: October 2nd, 2019, 1:12 am
by safihre
Could it maybe be a timing thing.. Very strange..

Re: 2.3.6Beta1 rss delete not working

Posted: December 16th, 2019, 11:47 am
by greffter
I am experiencing this exact same problem - the "Clear Downloaded" button does nothing for me and has not for months. Here is my info

Environment
Running SABnzbd 2.3.9 [03c10dc] in a docker container on a Synology NAS behind a reverse proxy

From console

Code: Select all

jquery-3.2.1.min.js?v=2.3.9:2 jQuery.Deferred exception: $(...).tablesort is not a function TypeError: $(...).tablesort is not a function
    at HTMLDocument.<anonymous> (https://domainRedacted/sabnzbd/config/rss/?feed=domainRedacted:6400:34)
    at mightThrow (https://domainRedacted/sabnzbd/staticcfg/js/jquery-3.2.1.min.js?v=2.3.9:2:16093)
    at process (https://domainRedacted/sabnzbd/staticcfg/js/jquery-3.2.1.min.js?v=2.3.9:2:16754) undefined
jQuery.Deferred.exceptionHook @ jquery-3.2.1.min.js?v=2.3.9:2
jquery-3.2.1.min.js?v=2.3.9:2 Uncaught TypeError: $(...).tablesort is not a function
    at HTMLDocument.<anonymous> (?feed=domainRedacted:6400)
    at mightThrow (jquery-3.2.1.min.js?v=2.3.9:2)
    at process (jquery-3.2.1.min.js?v=2.3.9:2)
When I hit the "Clear Download" button nothing is updated in the Network log in Developer tools

lastly, in the debug logs, there are the following lines which I don't believe are relevant, but you would know better than I

Code: Select all

2019-12-16 11:39:41,184::DEBUG::[interface:481] API-call from 172.17.0.1 [okhttp/3.11.0] {'output': u'json', 'apikey': u'<HASH>1b42a90', 'mode': u'history'}
2019-12-16 11:39:46,321::DEBUG::[interface:1753] RSS READOUT = False
Would be great to get this fixed

Re: 2.3.6Beta1 rss delete not working

Posted: December 17th, 2019, 9:37 am
by jcfp
greffter wrote: December 16th, 2019, 11:47 am

Code: Select all

jquery-3.2.1.min.js?v=2.3.9:2 Uncaught TypeError: $(...).tablesort is not a function
Would be great to get this fixed
This was caused by a packaging bug that has already been fixed. Time to update that docker container...

Re: 2.3.6Beta1 rss delete not working

Posted: December 30th, 2019, 4:48 pm
by bl0m5t3r
YEY!

i updated maybe a week ago (ubuntu repository), but the version number stayed on 2.3.9.
I was already a bit confused, but let it be.

Today i was updating some rss rules, and tried to click the trashbin like i always do.
and wow .. the line actually got deleted! so it seems to be fixed in the latest version.
I guess @jcfp "updated the docker contrainer"? not sure what that means, but i'm happy it's solved.

Thanks!