[solved] Password file

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Ruben2
Newbie
Newbie
Posts: 10
Joined: August 26th, 2021, 9:14 am

[solved] Password file

Post by Ruben2 »

Hello there,
I have 31 passwords in my password file and I always get the messsage that I should reduce it to a maximum of 30 because of the number of passwords. How do I switch this one message (if possible) off?
Thanks
I use Linux Mint Cinnamon and always have the latest version
:)
Last edited by Ruben2 on December 15th, 2021, 10:40 am, edited 2 times in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: Password file "Your password file contains more than 30 passwords,

Post by sander »

As you're running from source, change the value "30" in https://github.com/sabnzbd/sabnzbd/blob ... sc.py#L786 to something you like

But ... you know why the warning is there, right?
Ruben2
Newbie
Newbie
Posts: 10
Joined: August 26th, 2021, 9:14 am

Re: Password file

Post by Ruben2 »

Actually I am a nitwit concerning GitHub etc., is there a simpler way?
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: Password file

Post by sander »

No need for github.
On your disk, find the file misc.py in sub directory sabnzbd.
In that file, in the line "if len(pws) > 30:", change the value 30 to something you think is better.
Ruben2
Newbie
Newbie
Posts: 10
Joined: August 26th, 2021, 9:14 am

Re: Password file

Post by Ruben2 »

Thank you very much, that did the trick. And yes, I know why there's a maximum but come on, 31? ;))
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: Password file

Post by sander »

Ruben2 wrote: December 15th, 2021, 10:39 am Thank you very much, that did the trick.
Cool. May the source be with you! ;)
Ruben2 wrote: December 15th, 2021, 10:39 am And yes, I know why there's a maximum but come on, 31? ;))
31 is better? Or 32? Or .. 50, or 100? In the past we've seen users with 100's of passwords in the password file ... complaining about slow speed ... :)

Good that it works for you.
User avatar
safihre
Administrator
Administrator
Posts: 5390
Joined: April 30th, 2015, 7:35 am
Contact:

Re: [solved] Password file

Post by safihre »

There is a simpelere way:
In Config > Specials > disable "helpfull_warnings"
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: [solved] Password file

Post by sander »

safihre wrote: December 16th, 2021, 9:20 am There is a simpelere way:
In Config > Specials > disable "helpfull_warnings"
Ah, that's helpful / helpfull.

I had searched for "max" and/or "password" in sabnzbd.ini ... which I did not find.
Ruben2
Newbie
Newbie
Posts: 10
Joined: August 26th, 2021, 9:14 am

Re: [solved] Password file

Post by Ruben2 »

Thank you.
Post Reply