Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pysol issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 475
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Mon Aug 25, 2014 1:02 pm    Post subject: pysol issue Reply with quote

Pysol isn't starting for some reason - even when I enter the full path as root. I get
Code:
/usr/games/bin/pysol: No such file or directory


when I include the pysol.py this is what I got
The last traceback when trying to run it as root
Code:
Traceback (most recent call last):
  File "/usr/games/bin/pysol.py", line 32, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib64/python2.7/site-packages/pysollib/main.py", line 359, in main
    r = pysol_init(app, args)
  File "/usr/lib64/python2.7/site-packages/pysollib/main.py", line 314, in pysol_init
    app.audio.connectServer(app)
  File "/usr/lib64/python2.7/site-packages/pysollib/pysolaudio.py", line 445, in connectServer
    self.mixer.init()
pygame.error: No available audio device


Any suggestions on how to solve the problem as it appears that sound is hard coded now.
Here's what equery shows
Code:
 * Found these USE flags for games-board/pysolfc-2.0-r3:
 U I
 + + extra-cardsets                 : Install extra cardsets
 - - minimal                        : Install a very minimal build (disables,
                                      for example, plugins, fonts, most
                                      drivers, non-critical features)
 + + python_single_target_python2_7 : Build for Python 2.7 only
 + + python_targets_python2_7       : Build with Python 2.7
 - - sound                          : Enable sound support using
                                      dev-python/pygame

Output of lsmod:
Code:
snd_hda_codec         129863  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 
snd_hda_intel          29639  0
snd_pcm                76115  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_hda_codec_hdmi     29323  1
snd_hda_codec_realtek    35658  1
snd_page_alloc          7050  2 snd_pcm,snd_hda_intel
snd_timer              18078  1 snd_pcm
snd                    57639  7 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5058  1 snd
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Mon Aug 25, 2014 2:46 pm    Post subject: Re: pysol issue Reply with quote

To find out the correct executable you could use
Code:
equery f pysolfc | grep bin/
So what if running just
Code:
pysol.py
instead of omitting .py?
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 475
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Mon Aug 25, 2014 7:10 pm    Post subject: Reply with quote

using just pysol.py gets me "File not found"

using the full path the loader starts up then it quits
Last traceback that gave me any clue was the no sound devices found - yet pysol is built with -sound configured. It's given me probs for some time if I enable sound

Alsasound is in the default run level - and works in vlc, aqualung, audacity and the few other apps using sound so I'm completely baffled what's screwed up in pysol that it's depending on sound if not available and the -sound flag is set.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Aug 26, 2014 6:56 am    Post subject: Reply with quote

FastTurtle wrote:
using just pysol.py gets me "File not found"
So you seem to not having
Code:
/usr/games/bin
in your path. Adding your user to the games group should solve this. Regarding the sound device I have no idea, sorry.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum