JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 19.07.2019, 17:41
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,208
Default A general filter bug

A general filter bug, and a bug in adding links. UNABLE the addition of some links.

see:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

19.07.19 15.51.15 <--> 19.07.19 17.41.57 jdlog://2782186935451/
Reply With Quote
  #2  
Old 19.07.2019, 17:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

working fine. your java crashes agani and again because of not enough native memory
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 347696 bytes for Chunk::new
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 19.07.2019, 17:52
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,208
Default

Quote:
Originally Posted by Jiaz View Post
working fine. your java crashes agani and again because of not enough native memory
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 347696 bytes for Chunk::new

I know, but it's the most common errors when updating or running,, too much memory usage by JD2 = MEMORY LEAKS!!!
Now I have repeated this and still the same error of filters, logs and unknowns.
Reply With Quote
  #4  
Old 19.07.2019, 17:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

Quote:
Originally Posted by djmakinera View Post
too much memory usage by JD2 = MEMORY LEAKS!!!
That's not the case. But I give up this discussion.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 19.07.2019, 17:57
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,208
Default

Two installations have stopped working after the few latest updates, everything is broken.

See: **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #6  
Old 19.07.2019, 17:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

I'm sorry but
1.) there have been no real changes
2.) I don't know what your screenshot wants to show me

I offer help via Teamviewer but I'm sick of helping and finally it's completely something different
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 19.07.2019, 18:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

3.) Please enter a VALID Pattern when using Regex in Searchfield. THANKS!
Your regex is invalid!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 19.07.2019, 18:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 19.07.2019, 18:21
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,208
Default

But how fast can turn on or off Regex when searching for different names? No use of advanced settings every time
Reply With Quote
  #10  
Old 19.07.2019, 18:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

either don't use regex or enter valid regex. You can also use eventscripter and create button to toggle this option.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 19.07.2019, 21:03
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 884
Default

Quote:
Originally Posted by djmakinera View Post
But how fast can turn on or off Regex when searching for different names? No use of advanced settings every time
"Downloadlist Bottombar Button Pressed" + Eventscripter + keyboard shortcut
Keyboard shortcut is very fast!

Quote:
Originally Posted by Jiaz View Post
You can also use eventscripter and create button to toggle this option.
Done.

Script example:
Code:
// Filterregex on/off
// Trigger: Downloadlist Bottombar Button Pressed
// EventTriggername: Filterregex

if (name == "Filterregex") {
    var filterregex = callAPI("config", "get", "org.jdownloader.settings.GeneralSettings", null, "filterregex");
    if (filterregex == false) {
        callAPI("config", "set", "org.jdownloader.settings.GeneralSettings", null, "filterregex", true);
    } else {
        callAPI("config", "set", "org.jdownloader.settings.GeneralSettings", null, "filterregex", false);
    }
}
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.

Last edited by thecoder2012; 19.07.2019 at 21:17.
Reply With Quote
  #12  
Old 19.07.2019, 21:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

thanks @thecoder2012 I knew it only takes a few minutes for you to create a script
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 20.07.2019, 07:50
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,150
Default

nice script @thecoder2012
script works, but toggling the setting via API calls does not REFRESH the existing filter. one has to type something new into the textbox or cut/paste. Also you do not know the status within the button state. Personally I would like to see this outside of event scripter and core feature with dedicated button GUI editor with status indicator, as you have these said limitations of status and refreshing issue.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 20.07.2019 at 07:57.
Reply With Quote
  #14  
Old 20.07.2019, 18:19
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,208
Default

It does not work for me. When entering e.g.
Code:
name (
searches for all packages

Trigger - none
Edit script - Copy/Paste. Save
Reply With Quote
  #15  
Old 21.07.2019, 12:36
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 884
Default

Quote:
Originally Posted by djmakinera View Post
It does not work for me. When entering e.g.
Code:
name (
searches for all packages
It works in my tests if regex is off.



Quote:
Originally Posted by djmakinera View Post
Trigger - none
Edit script - Copy/Paste. Save
Trigger is required in this case without script modification.





Quote:
Originally Posted by raztoki View Post
script works, but toggling the setting via API calls does not REFRESH the existing filter.
Sure but my script is only for the advanced settings as fast switch. As answer for the last user question "But how fast can turn on or off Regex".

Quote:
Originally Posted by raztoki View Post
one has to type something new into the textbox or cut/paste. Also you do not know the status within the button state.
Our human memory is not enough?

Quote:
Originally Posted by raztoki View Post
Personally I would like to see this outside of event scripter
It's not really helpful for all cases. Except in this case, maybe. Ticket #87258 is already online.

Quote:
Originally Posted by raztoki View Post
and core feature with dedicated button GUI editor with status indicator, as you have these said limitations of status and refreshing issue.
And this wrote you as developer. Really funny. It's already clear but a lot of work in the jd java code.
I'm more for status indicator with event scripter than dedicated button GUI.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.

Last edited by thecoder2012; 21.07.2019 at 12:39.
Reply With Quote
  #16  
Old 21.07.2019, 13:22
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,150
Default

heh its not that hard, i've created features within the menu system before.
memory can be bad, checkbox is good no? ;p
he probably had regex enabled and not escaped the pattern.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #17  
Old 22.07.2019, 11:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

Quote:
Originally Posted by raztoki View Post
he probably had regex enabled and not escaped the pattern.
Yes, that's exactly the case and still he doesn't understand that when using regex,...well..maybe he ..should enter valid patterns?!...
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 22.07.2019, 11:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

Quote:
Originally Posted by djmakinera View Post
It does not work for me. When entering e.g.
Code:
name (
searches for all packages

Trigger - none
Edit script - Copy/Paste. Save
...maybe you should enter a valid pattern and escape the ( ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 22.07.2019, 12:58
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,208
Default

After all, the normal name does not require any pattern and God knows what? Not everything has to be based on regular expressions!
Reply With Quote
  #20  
Old 22.07.2019, 13:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,029
Default

@djmakinera: if you're using regex, then you must specify valid pattern
( is start of a group, so you have to escape it!
no, not everything has to use regex, but it's your decision if you're using regex or not.
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 02:25.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.