Results 1 to 5 of 5

Thread: problems

  1. #1
    Constant Bitrate forevertheuni's Avatar
    Join Date
    Jul 2004
    Location
    Portugal,Mealhada
    Posts
    137

    problems

    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!!

  2. #2
    FLAC jbors's Avatar
    Join Date
    Nov 2003
    Posts
    957
    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

  3. #3
    Constant Bitrate forevertheuni's Avatar
    Join Date
    Jul 2004
    Location
    Portugal,Mealhada
    Posts
    137
    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!!

  4. #4
    Constant Bitrate forevertheuni's Avatar
    Join Date
    Jul 2004
    Location
    Portugal,Mealhada
    Posts
    137
    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!!

  5. #5
    FLAC jbors's Avatar
    Join Date
    Nov 2003
    Posts
    957
    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

Similar Threads

  1. Still having XMPCR problems
    By rjoek in forum RR Bug Tracker
    Replies: 15
    Last Post: 09-23-2005, 02:08 PM
  2. DWW-700M/MTS12000 Motorized In Dash LCD Problems
    By techy101 in forum LCD/Display
    Replies: 17
    Last Post: 06-29-2005, 08:12 PM
  3. Audio problems, Epia Sound, and FAQ stuff
    By gothate in forum Newbie
    Replies: 2
    Last Post: 06-16-2005, 05:04 PM
  4. Hard drive shock problems.
    By Mikesz in forum General Hardware Discussion
    Replies: 8
    Last Post: 03-21-2005, 04:37 PM
  5. Dell Inspiron 8200 & Lilliput TS problems?
    By bkpsu in forum LCD/Display
    Replies: 1
    Last Post: 08-15-2004, 02:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •