Opened 10 years ago
Closed 6 years ago
#12734 closed Bug Report - General (Unverified)
MythArchive in 'buntu 16.04 beta: AttributeError: 'Process' object has no attribute 'set_ionice'
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | 0.28.0 |
| Severity: | medium | Keywords: | psutil |
| Cc: | Ticket locked: | no |
Description
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/mythburn.py", line 5298, in <module>
main()
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5225, in main
p.set_ionice(psutil.IOPRIO_CLASS_IDLE)
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 by , 10 years ago
comment:2 by , 6 years ago
| Resolution: | → Unverified |
|---|---|
| Status: | new → closed |
Closing all old tickets in trac.
If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues
and reference the existing trac ticket.
Note:
See TracTickets
for help on using tickets.

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 mythburn.py that prepends 'ionice -c3' to many of the io-intensive commands.