bugJailkit - Bugs: bug #58919, jk_list printing issue

 
 

bug #58919: jk_list printing issue

Submitter:  Reza Vaghefi <reza>
Submitted:  Sat 08 Aug 2020 07:31:43 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Aug 2020 05:22:36 AM UTC, comment #1: 

thanks for finding this issue, I fixed it in the repository. It should be fixed in the next release

Olivier Sessink <oli4>
Group administrator
Sat 08 Aug 2020 07:31:43 PM UTC, original submission:  

If there are more than 1 item running under jail, jk_list throws the following error:

Traceback (most recent call last):                                                                                                                        File "/usr/sbin/jk_list", line 159, in <module>                                                                                                           main()                                                                                                                                                File "/usr/sbin/jk_list", line 156, in main                                                                                                               printResults(results,wide)                                                                                                                            File "/usr/sbin/jk_list", line 92, in printResults                                                                                                        results.sort()                                                                                                                                      TypeError: '<' not supported between instances of 'ListResult' and 'ListResult'  


I temporary fixed it by commenting out results.sort() in line 92 of jk_list. I am using Python 3.

Reza Vaghefi <reza>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by oli4 (Posted a comment)
  • -email is unavailable- added by reza (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-15 oli4 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code