Opened 5 years ago

Closed 9 months ago

#12734 closed Bug Report - General (Unverified)

MythArchive in 'buntu 16.04 beta: AttributeError: 'Process' object has no attribute 'set_ionice'

Reported by: J.Pilk@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.28.0
Severity: medium Keywords: psutil
Cc: Ticket locked: no


Attempt to create dvd hangs on startup:

Setting process priority to 17
Setting ionice level to idle
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/", line 5298, in <module>
  File "/usr/share/mythtv/mytharchive/scripts/", line 5225, in main
AttributeError: 'Process' object has no attribute 'set_ionice'

Probably something upstream. I didn't see this with 0.28-pre on other platforms. Easy near-workaround by commenting the line out.

Change History (2)

comment:1 Changed 4 years ago by J.Pilk@…

I've just found this ticket again, after encountering the same problem on another box. *buntu seems to have python-util 3.4.2-1, which I have installed, and also python3-psutil, but I see python --version 2.7.12. The documents I have seen don't suggest that the package I have is only for python3. but I also came across a recent report of 'psutil versioning weirdness' in 16.04

The 'easy near-workaround' above is likely to work properly for me, but only because I use a modified version of that prepends 'ionice -c3' to many of the io-intensive commands.

comment:2 Changed 9 months ago by Stuart Auchterlonie

Resolution: Unverified
Status: newclosed

Closing all old tickets in trac.

If your issue still persists, please open an issue in Github

and reference the existing trac ticket.

Note: See TracTickets for help on using tickets.