View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Mar 26, 2012 9:27 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
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


Last edited by tscholl on Tue Mar 27, 2012 9:42 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: Re: find_orphans.py
PostPosted: Mon Mar 26, 2012 11:19 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
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.


Top
 Profile  
 
 Post subject: Re: find_orphans.py
PostPosted: Tue Mar 27, 2012 2:52 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
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.


Top
 Profile  
 
 Post subject: Re: find_orphans.py
PostPosted: Tue Mar 27, 2012 8:47 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Do you have a config.xml?


Top
 Profile  
 
 Post subject: Re: find_orphans.py
PostPosted: Tue Mar 27, 2012 9:41 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
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 !!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu