FS#75489 - [smem] name 'xrange' is not defined

Attached to Project: Community Packages
Opened by jozef riha (jose1711) - Tuesday, 02 August 2022, 09:21 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 22:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
smem calls xrange which is not available in python3.

Additional info:
* smem 1.5-3
* upstream seems dead - Debian uses its own patch (smem-xrange-fix.patch)

Steps to reproduce:
execute smem --bar pid -c "pss uss"

Results in:
File "/usr/bin/smem", line 649, in showbar
for n in xrange(len(rc)):
NameError: name 'xrange' is not defined. Did you mean: 'range'?
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 01 April 2023, 22:02 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Pkg dropped to the AUR

Loading...