[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-dev] [bug #31783] AttributeError: 'str' object has no attribute

From: anonymous
Subject: [Jailkit-dev] [bug #31783] AttributeError: 'str' object has no attribute 'trim'
Date: Sat, 27 Nov 2010 15:31:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Ubuntu/10.10 Chromium/7.0.517.44 Chrome/7.0.517.44 Safari/534.7


                 Summary: AttributeError: 'str' object has no attribute
                 Project: Jailkit
            Submitted by: None
            Submitted on: Sat 27 Nov 2010 03:31:46 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



I use: jailkit-2.13

I made the change for PREFIX in jk-check.in manually, however I still get

Traceback (most recent call last):
  File "/usr/sbin/jk_check", line 290, in <module>
  File "/usr/sbin/jk_check", line 287, in main
    activateConfig(configfile, verbose)
  File "/usr/sbin/jk_check", line 236, in activateConfig
    jails = testrealpasswd()
  File "/usr/sbin/jk_check", line 216, in testrealpasswd
    if (rpw[6].trim() != chrootsh):
AttributeError: 'str' object has no attribute 'trim'

I changed the trim in question to strip, and then it works. Not sure if this
is an appropriate fix ?

Thanks for making a nice piece of software :)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]