I have a system running MythBuntu (MythTV 0.28 on Ubuntu 14.04 LTS).
I have used the find_orphans.py script many times in the past, and it ran with no problems. However it no longer runs. This started sometime last year.
The error message (below) seems to indicate that a module named builtins is missing from MythTV. If that interpretation is correct, how can I restore the missing module, and where should it go? If that isn’t the problem, what do I need to do?
Error message:
Traceback (most recent call last):
File "./Find_orphans.py", line 3, in <module>
from MythTV import MythDB, MythBE, Recorded, MythError
File "/usr/lib/python2.7/dist-packages/MythTV/__init__.py", line 36, in <module>
from .utility import *
File "/usr/lib/python2.7/dist-packages/MythTV/utility/__init__.py", line 2, in <module>
from .enum import EnumValue, Enum, BitwiseEnum
File "/usr/lib/python2.7/dist-packages/MythTV/utility/enum.py", line 9, in <module>
from builtins import int
ImportError: No module named builtins
find_orphans script won't run [Solved]
Moderator: Forum Moderators
- dizygotheca
- Developer
- Posts: 267
- Joined: Wed Sep 03, 2014 9:02 am
Re: find_orphans script won't run
Try
https://askubuntu.com/questions/697226/ ... d-builtins
or use the 16.04 package
https://lists.gt.net/mythtv/users/611123#611123
https://askubuntu.com/questions/697226/ ... d-builtins
Code: Select all
$ sudo apt-get install pip
$ sudo pip install future
https://lists.gt.net/mythtv/users/611123#611123
Re: find_orphans script won't run
Installing future fixed the problem. find_orphans.py runs normally now.
For the record, I had to install pip-python, not pip:
$ sudo apt-get install pip-python
$ sudo pip install future
For the record, I had to install pip-python, not pip:
$ sudo apt-get install pip-python
$ sudo pip install future