View previous topic :: View next topic |
Author |
Message |
FastTurtle Guru
Joined: 03 Sep 2002 Posts: 477 Location: Flakey Shake & Bake Caliornia, USA
|
Posted: Mon Aug 25, 2014 1:02 pm Post subject: pysol issue |
|
|
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 |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Aug 25, 2014 2:46 pm Post subject: Re: pysol issue |
|
|
To find out the correct executable you could use Code: | equery f pysolfc | grep bin/ | So what if running just instead of omitting .py? |
|
Back to top |
|
|
FastTurtle Guru
Joined: 03 Sep 2002 Posts: 477 Location: Flakey Shake & Bake Caliornia, USA
|
Posted: Mon Aug 25, 2014 7:10 pm Post subject: |
|
|
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 |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Aug 26, 2014 6:56 am Post subject: |
|
|
FastTurtle wrote: | using just pysol.py gets me "File not found" | So you seem to not having 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 |
|
|
|
|
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
|
|