Try to grab latest versions from CVS (pymedia, pycar). There were some changes in pymedia 1.3.7
Hi I followed the guides and I'm having this problem when python pycar.py .
python pycar.py .
Looking for translation file for language: ('pt_PT', 'iso-8859-15')
Encodings found and used: ['ISO-8859-15', 'utf-8']
Application pycar
Background tasker started
Module music imported
Load module: music
Removable /mnt/cdrom
Removable /mnt/hda
Error executing
pymedia.removable.cd.init()
rootDirs= val( 'params', 'audio_root' )
rootDirs+= [ pymedia.removable.cd.CD(x).getName() for x in range( pymedia.removable.cd.getCount() ) ]
root= menu.cache.setRoot( rootDirs )
menu.cache.registerArea( val( 'areas', 'filelist' ) )
menu.cache.registerArea( val( 'areas', 'iconlist' ) )
audio.aFileList.init( self, root, pymedia.audio.acodec.extensions+ ['cdda'] )
audio.aFileList.setRoot( root )
audio.playLists.init( self )
pos= audio.playLists.load( val( 'params', 'playlistDir' ) )
audio.player.setInfoRenderer( val( 'areas', 'infoRenderer' ) )
audio.player.start()
audio.player.setPlayList( audio.playLists.getActive() )
if pos!= -1:
audio.player.startPlayback( pos )
within ModuleHelper.execute
!! Exception happened during creation or parse of app
Traceback (most recent call last):
File "pycar.py", line 246, in ?
mainTest( s )
File "pycar.py", line 148, in mainTest
config.parse()
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/parser.py", line 855, in parse
self.parseNode( self.node[ 2 ] )
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/parser.py", line 846, in parseNode
app= self.processNodeByName( appNode )
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/parser.py", line 101, in processNodeByName
element.parse()
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/parser.py", line 159, in parse
target[ obj.id ]= obj.load()
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/parser.py", line 809, in load
NodeElement.load( self )
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/parser.py", line 79, in load
self.execute( 'onLoad', None, None, None )
File "/home/forevertheuni/Area51/pycar/pycar-1.2.3-pre2-src/pycar/menu/generic.py", line 221, in execute
exec( s1 )
File "<string>", line 9, in ?
AttributeError: 'module' object has no attribute 'extensions'
Background tasker stopped
forevertheuni@h5n1:~/Area51/pycar/pycar-1.2.3-pre2-src$
In a world without Gates and Windows there are no fences or walls!!
Try to grab latest versions from CVS (pymedia, pycar). There were some changes in pymedia 1.3.7
Car pc integration with ease
Car mediacenter
how can I build it for linux?
python setup.py build
Traceback (most recent call last):
File "setup.py", line 2, in ?
import py2exe
ImportError: No module named py2exe
In a world without Gates and Windows there are no fences or walls!!
this is from the pycar123.tgz package in the .iso
python pycar.py .
Looking for translation file for language: ('pt_PT', 'iso-8859-15')
Encodings found and used: ['ISO-8859-15', 'utf-8']
Background tasker started
Application pycar
Module music imported
Load module: music
Removable
Removable /mnt/cdrom
Error executing
pymedia.removable.cd.init()
rootDirs= val( 'params', 'audio_root' )
useCD= val( 'params', 'useCD' )
if useCD== 'enabled':
rootDirs+= [ pymedia.removable.cd.CD(x).getName() for x in range( pymedia.removable.cd.getCount() ) ]
root= menu.cache.setRoot( rootDirs )
menu.cache.registerArea( val( 'areas', 'filelist' ) )
menu.cache.registerArea( val( 'areas', 'iconlist' ) )
audio.aFileList.init( self, root, pymedia.audio.acodec.extensions+ ['cdda'] )
audio.aFileList.setRoot( root )
audio.playLists.init( self )
pos= audio.playLists.load( val( 'params', 'playlistDir' ) )
audio.player.setInfoRenderer( val( 'areas', 'infoRenderer' ) )
audio.player.start( self.app )
audio.player.setPlayList( audio.playLists.getActive() )
if pos!= -1:
audio.player.startPlayback( pos )
within ModuleHelper.execute
!! Exception happened during creation or parse of app
Traceback (most recent call last):
File "pycar.py", line 251, in ?
mainTest( s )
File "pycar.py", line 151, in mainTest
config.parse()
File "/home/forevertheuni/Area51/pycar/pycar/pycar/parser.py", line 861, in parse
self.parseNode( self.node[ 2 ] )
File "/home/forevertheuni/Area51/pycar/pycar/pycar/parser.py", line 852, in parseNode
app= self.processNodeByName( appNode )
File "/home/forevertheuni/Area51/pycar/pycar/pycar/parser.py", line 99, in processNodeByName
element.parse()
File "/home/forevertheuni/Area51/pycar/pycar/pycar/parser.py", line 160, in parse
target[ obj.id ]= obj.load()
File "/home/forevertheuni/Area51/pycar/pycar/pycar/parser.py", line 815, in load
NodeElement.load( self )
File "/home/forevertheuni/Area51/pycar/pycar/pycar/parser.py", line 77, in load
self.execute( 'onLoad', None, None, None )
File "/home/forevertheuni/Area51/pycar/pycar/pycar/menu/generic.py", line 220, in execute
exec( s1 )
File "<string>", line 11, in ?
AttributeError: 'module' object has no attribute 'extensions'
Background tasker stopped
In a world without Gates and Windows there are no fences or walls!!
Let me post the latest distro. It is pretty much ready now.
And also there is a tutorial available:
http://indashpc.org/vbullettin/viewtopic.php?t=127
Car pc integration with ease
Car mediacenter
Bookmarks