Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load the protocol configuration file: Failed to open file #1

Open
aabeling opened this issue Oct 10, 2016 · 2 comments
Open

Comments

@aabeling
Copy link

Hi,

I am getting the follwing error with log-level=debug in fgfs:

Parse I/O channel request: generic,socket,in,20,,9009,udp,from_fgcontroller777
  protocol = generic
Reading communication protocol from Path "/usr/share/games/flightgear/Protoco/from_fgcontroller777.xml"
Unable to load the protocol configuration file: Failed to open file
 at /usr/share/games/flightgear/Protocol/from_fgcontroller777.xml
Parse I/O channel request: generic,socket,out,5,192.168.1.37,9010,udp,to_fgcontroller777
  protocol = generic
Reading communication protocol from Path "/usr/share/games/flightgear/Protocol/to_fgcontroller777.xml"
Unable to load the protocol configuration file: Failed to open file

at /usr/share/games/flightgear/Protocol/to_fgcontroller777.xml

I am using FlightGear version: 2016.3.1

Best regards
Achim

@emcrispim
Copy link
Owner

emcrispim commented Oct 11, 2016

Hello Achim,

did you copy the xml files
(to_fgcontroller777.xml,from_fgcontroller777.xml to
the /usr/share/games/flightgear/Protocol/ directory ?

Please send me the command line applied.

Regards

Eduardo Crispim

On Mon, Oct 10, 2016 at 6:18 PM, Achim Abeling notifications@github.com
wrote:

Hi,

I am getting the follwing error with log-level=debug in fgfs:

Parse I/O channel request: generic,socket,in,20,,9009,udp,from_fgcontroller777
protocol = generic
Reading communication protocol from Path "/usr/share/games/flightgear/Protoco/from_fgcontroller777.xml"
Unable to load the protocol configuration file: Failed to open file
at /usr/share/games/flightgear/Protocol/from_fgcontroller777.xml
Parse I/O channel request: generic,socket,out,5,192.168.1.37,9010,udp,to_fgcontroller777
protocol = generic
Reading communication protocol from Path "/usr/share/games/flightgear/Protocol/to_fgcontroller777.xml"
Unable to load the protocol configuration file: Failed to open file

at /usr/share/games/flightgear/Protocol/to_fgcontroller777.xml

I am using FlightGear version: 2016.3.1

Best regards
Achim


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AOLDADhZ47ZbbBtV5SVWSaYNWEWNUWUGks5qynODgaJpZM4KSy-U
.

@aabeling
Copy link
Author

Hi,

I found the solution in the meantime.
The command line had to be

fgfs --generic=socket,in,20,,9009,udp,from_fg777controller --generic=socket,out,5,$DEVICE_IP,9010,udp,to_fg777controller --telnet=9000

instead of

fgfs --generic=socket,in,20,,9009,udp,from_fgcontroller777 \ --generic=socket,out,5,android-device-ip,9010,udp,to_fgcontroller777 \ --telnet 9000

as it is defined in the README.md and http://wiki.flightgear.org/FG777Controller. The readme and wiki should be corrected.

Now it works. Great stuff.

Best regards
Achim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants