View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 17, 2011 8:52 pm 
Offline
Joined: Mon Jun 19, 2006 8:50 am
Posts: 20
Because W.O.W has moved to digital cable I am creating a new 7.1 system to replace my existing R4C7 system.

While trying out the MythArchive I am getting the following error:

[root@MythtvTwo plat-linux3]# more /myth/tmp/logs/mythburn.log
Traceback (most recent call last):
File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 76, in <module>
import CDROM
ImportError: No module named CDROM

The line in mythburn.py throwing the error is:
import CDROM

I'm not a Python programmer, but on my old system there are files:
/usr/lib/python2.4/plat-linux2/CDROM.py and CDROM.pyc

CDROM.py seems to contain codes used in the script (i.e. CDROM_DRIVE_STATUS = 0x5326 )

I can not file any files CDROM* on the new 7.1 system.
Does anyone know if the absance of these files is the reason for the error?
If so did I miss a step, or were they accidently omitted?

Thanks in advance!

(I made sure yo change the archive setup to point /dev/sr0 and ensured all the permissions on /dev, /dev/sr0 and /dev/scd0 were 777. So I don't think that's the problem)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2011 9:00 pm 
Offline
Joined: Mon Jun 19, 2006 8:50 am
Posts: 20
At the risk of answering my own question I copied CDROM.py and CDROM.pyc from /usr/lib/python2.4/plat-linux2 on my R5C7 box to /usr/lib/python2.6/plat-linux3 on my R7.1 box and MythArchive seems to be running.

It's an old box so it will be a good while before I know the results, but I will post them here.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2011 11:45 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
This is fixed in the python2 package.
Code:
sudo pacman -Syu


Britney


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 19, 2011 11:21 pm 
Offline
Joined: Mon Jun 19, 2006 8:50 am
Posts: 20
Thanks that seems to have cleared it up!

Having other problems, but I'll start a new thread.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 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