Board index FlightGear Support Tools ATC-pie

How do you access solo mode settings? (PocketSphinx trouble)

ATC-pie is a radar air traffic control simulation program for the FlightGear multi-player network.

How do you access solo mode settings? (PocketSphinx trouble)

Postby AviationGaming » Mon Oct 09, 2017 7:48 pm

I cannot find solo mode settings.

Also I cannot install pocketsphinx.

I type

sudo pip3 install PocketSphinx

Collecting PocketSphinx
Downloading pocketsphinx-0.1.3.zip (29.3MB)
100%|####################| 29.3MB 20kb/s
Complete Output from command python setup.py egg_info:
Traceback (most recent call last):
File"<string>", line 1, in <module>
File "/tmp/pip-build-zxdlhpy1/PocketShinx/setup.py", line 189, in <module>
long_despription=open('README.rst').read(),
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: ascii codec can't decode byte 0xd0 in position 7287: ordinal not in range(128)

---------------------------------------------------------------------------------------------------------------------------------------
Command "python setup.py egg_info failed with erroe code 1 in /tmp/pip-build-zxdlhpyl/PocketSphinx
AviationGaming
 
Posts: 8
Joined: Wed Oct 04, 2017 11:07 pm

Re: How do you access solo mode settings? (PocketSphinx trou

Postby mickybadia » Mon Oct 09, 2017 9:08 pm

AviationGaming wrote in Mon Oct 09, 2017 7:48 pm:I cannot find solo mode settings.


Hard not to find the following too trivial. You know there are menus right?
For system options: System > system set-up > solo tab
For in-game options: Options > solo game options

AviationGaming wrote in Mon Oct 09, 2017 7:48 pm:Also I cannot install pocketsphinx.
sudo pip3 install PocketSphinx
[snip]
UnicodeDecodeError: ascii codec can't decode byte 0xd0 in position 7287: ordinal not in range(128)

Nothing to do with Pie here, but similar error again (you should remember that one). but this time it is the installation script itself that is failing, because it is written in Python too. As I said in an earlier post, you should change your Python default encoding scheme because this will be happening often --> Google.
Until then you can still play solo giving mouse instructions.
mickybadia
 
Posts: 368
Joined: Tue Sep 24, 2013 9:12 am

Re: How do you access solo mode settings? (PocketSphinx trou

Postby AviationGaming » Tue Oct 10, 2017 10:38 pm

I got both to work! I wasn't able to set python3's default coding scheme to utf-8 though. Which is weird, because it should be utf-8 in the first place.

Thanks for the tips! I have you to thank for ALL this. :D :)


I have one more question: can you use the speech recognition in solo mode?
AviationGaming
 
Posts: 8
Joined: Wed Oct 04, 2017 11:07 pm

Re: How do you access solo mode settings? (PocketSphinx trou

Postby mickybadia » Wed Oct 11, 2017 6:57 am

Glad we could work around your problem.
Yes, the ascii setting is rather surprising, and I am guessing will prove inconvenient too. It's already bitten you once afterwards so I would fix that if I were you.

AviationGaming wrote in Tue Oct 10, 2017 10:38 pm:I have one more question: can you use the speech recognition in solo mode?

Yes, actually only in solo mode.
(What else would you use it for?)
mickybadia
 
Posts: 368
Joined: Tue Sep 24, 2013 9:12 am


Return to ATC-pie

Who is online

Users browsing this forum: No registered users and 1 guest