LinHES Forums
http://forums.linhes.org/

find_orphans.py - Resolved
http://forums.linhes.org/viewtopic.php?f=21&t=22557
Page 1 of 1

Author:  tscholl [ Mon Mar 26, 2012 9:27 pm ]
Post subject:  find_orphans.py - Resolved

Tried running find_orphans.py on a fairly new box created from the 7.2 cd. I get the following error when trying to run the script.
Code:
[root@mythtv2 ~]# find_orphans.py
Traceback (most recent call last):
  File "/usr/LH/bin/find_orphans.py", line 222, in <module>
    DB = MythDB()
  File "/usr/lib/python2.6/site-packages/MythTV/database.py", line 930, in __init__
    raise MythDBError(MythError.DB_CREDENTIALS)
MythTV.exceptions.MythDBError: Could not find database login credentials


find_orphans.py runs fine on my other box which has been was upgraded from R6 to R7.2

Not sure where to start ...
Tim

Author:  brfransen [ Mon Mar 26, 2012 11:19 pm ]
Post subject:  Re: find_orphans.py

You are probably missing either /usr/share/mythtv/config.xml or ~/.mythtv/config.xml. Generate one by running
Code:
systemconfig.py -m hostype
as root or sudo.

Author:  tscholl [ Tue Mar 27, 2012 2:52 pm ]
Post subject:  Re: find_orphans.py

Quote:
You are probably missing either /usr/share/mythtv/config.xml or ~/.mythtv/config.xml. Generate one by running
Code: systemconfig.py -m hostype
as root or sudo.


I ran systemconfig.py -m hostype But I am still getting the same error.

Author:  brfransen [ Tue Mar 27, 2012 8:47 pm ]
Post subject:  Re: find_orphans.py

Do you have a config.xml?

Author:  tscholl [ Tue Mar 27, 2012 9:41 pm ]
Post subject:  Re: find_orphans.py

Yes there is a config.xml at "/usr/share/mythtv/config.xml" but it did not create one in /root/.mythtv/

I copied the one from "/usr/share/mythtv/config.xml to /root/.mythtv/config.xml

After copying the find_orphans.py to now runs.

Thanks !!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/